Opened 11 years ago

Closed 11 years ago

#1070 closed change (fixed (in master))

Auto-repeat the search command

Reported by: MarbleDice Owned by: MarbleDice
Milestone: 3.1.2 beta Keywords: player ui


The search command "s" is usually only used in places where secret doors are expected (at the end of corridors or in corners with doors around them). The search command should auto-repeat to some reasonable value, to give players a good chance of finding something when they suspect something is there.

This could repeat a race/class dependent number of times, to achieve 95% certainty, or any other value. HT Paladins need to search 26 times for 95%, while Kobold Rogues only need to search 5 times.

Magnate suggests simply auto-repeating 20 times for all classes (this is still 90% certainty even for HT Paladins).

Patch sould include other changes:

  • Add a message for searching but finding nothing
  • Prevent fruitless searches (low searching while blinded+confused)
  • Make searching an obvious flag, since all you have to do is hit "s" to discover it

See discussion

Change History (1)

comment:1 Changed 11 years ago by MarbleDice

  • Milestone changed from 3.1.3 to 3.1.2 beta
  • Resolution set to fixed
  • Status changed from new to closed

[cee69cd] (SVN r1886) makes the following changes:

  • The search command auto-repeats 10 times, and disturbs when a secret is found.
  • The search command produces a message on failure, and a special message on failure when searching with a 100% chance.
  • Searches with a 0% chance are prevented before taking a turn.
  • Searching bonuses are considered obvious (since previously all you had to do was search once, anywhere).

Other miscellaneous changes:

  • Player disturbed when repeat-moving runs into a wall.
  • On the character sheet, searching and saving throw are displayed properly for values of 0%.
  • Auto-repeat numbers are configurable per-command, in game-cmd.c's game_cmds[] array.

The player can still search for one or any number of turns by using a command argument, such as INSERT-1-s. Messages are only produced for do_cmd_search, not for "S" searching mode, or for automatic searches performed from perception.

Note: See TracTickets for help on using tickets.