Remember price quotes that have been seen for types of item
These are displayed in discoveries, and a new 'price_quotes' option allows them to be displayed for un-IDed objects in other contexts too (the idea is that you turn on the option while identifying objects and off for general play). Invalidates existing save files.
This commit is contained in:
@@ -4592,6 +4592,15 @@ user name (on multi-user systems) or specifying a particular character
|
||||
name (on single-user systems) or it might be disabled entirely. Requesting
|
||||
it when not allowed or not possible results in explore mode instead.
|
||||
Default is normal play.
|
||||
.lp price_quotes
|
||||
Whenever the game mentions the name of an object you haven't identified yet,
|
||||
it also mentions the range of buy and sell prices you have seen for that
|
||||
item (to help narrow down what it could be).
|
||||
The price shown is the unit price for one item (even when you are looking at
|
||||
a stack of multiple items).
|
||||
Many players may want to turn this on while identifying objects, and then
|
||||
turn it back off again for general play.
|
||||
Default is off.
|
||||
.lp pushweapon
|
||||
Using the \(oqw\(cq (wield) command when already wielding
|
||||
something pushes the old item into your alternate weapon slot (default off).
|
||||
|
||||
@@ -2901,6 +2901,9 @@ archeologists can identify scrolls by deciphering their labels
|
||||
monster destroy armor -spell first erodes armor
|
||||
iron shoes protect the wearer against certain floor-based traps
|
||||
ring of stealth prevents hero from leaving tracks
|
||||
the game now automatically tracks which sell prices and buy prices you have
|
||||
seen for each type of item; these are visible in the discoveries list,
|
||||
and can also be shown elsewhere using the new 'price_quotes' option
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific New Features
|
||||
|
||||
@@ -40,9 +40,14 @@ To add an entirely new option macro type:
|
||||
iii) an initialization of an element in the allopt[] array, at
|
||||
index opt_xxxx from step ii (xxxx is the option name).
|
||||
|
||||
2. Create the optfn_xxxx() function in options.c. Failure to do that will
|
||||
result in a link error of "undefined function optfn_xxxx." The functions are
|
||||
in options.c in alphabetical sequence by function name.
|
||||
2. If you are adding a boolean option, link it to a global variable
|
||||
(e.g. in flags or iflags) and update optfn_boolean in options.c if
|
||||
necessary.
|
||||
|
||||
3. If you are not adding a boolean option, create the optfn_xxxx()
|
||||
function in options.c. Failure to do that will result in a link error
|
||||
of "undefined function optfn_xxxx." The functions are in options.c in
|
||||
alphabetical sequence by function name.
|
||||
|
||||
The skeletal template for an optn_xxxx() function is:
|
||||
|
||||
@@ -83,7 +88,7 @@ To add an entirely new option macro type:
|
||||
return optn_ok;
|
||||
}
|
||||
|
||||
3. NOTE: If you add (or delete) an option, please update the short
|
||||
4. NOTE: If you add (or delete) an option, please update the short
|
||||
options help (option_help()), the long options help (dat/opthelp)
|
||||
and also the Guidebooks.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user