\#genocided revision
The #genocided command was revealing extinct monster species when used during normal play. That was not intended, so stop. Change to only reveal them in wizard or explore modes and also during end-of-game disclosure but suppress them during normal play. The full description of #genocided is now dynamically updated for '# ?' during normal play to remove its reference to extinctions. Also, check for skipping wizard mode commands before doing description searching. \#genocided was out of alphabetical order in the full commands list. Both it and #vanquished should have had the GENERALCMD flag; they don't affect game state. Change #genocided to use the sort order currently set for #vanquished, and allow 'm #genocided' to put up the same menu as 'm #vanquished'. (Not quite the same. Sorting by count of monster deaths isn't appropriate for listing genocides where an arbitrary number may have been killed before the genocide occurred. If the preferred order for vanquished is set that way, alphabetical will be used for genocided.) Setting the order via menu for either command sets the order for both, but doing so via #genocided doesn't offer the count-high-to-low and count-low-to-high choices. During disclosure, you can answer 'a' when asked whether to disclose genocided and extinct monster types and like for vanquished monsters, that lets you choose an order at end-of-game. Doing so won't affect disclosing of vanquished monsters--it'll be too late for them. A chunk of this diff is due to moving the #wizborn code out of the middle of #vanquished handling. Guidebook.ms has been updated but Guidebook.tex is lagging.
This commit is contained in:
@@ -656,7 +656,8 @@ list of all discovered objects) and the \(oq\f(CR\`\fP\(cq (knownclass,
|
||||
show a list of discovered objects in a particular class) commands to offer
|
||||
a menu of several sorting alternatives (which sets a new value for the
|
||||
.op sortdiscoveries
|
||||
option); also for \(lq#vanquished\(rq command to offer a sorting menu.
|
||||
option); also for \(lq#vanquished\(rq and \(lq#genocided\(rq commands
|
||||
to offer a sorting menu.
|
||||
.lp ""
|
||||
A few other commands (eat food, offer sacrifice, apply tinning-kit,
|
||||
drink/quaff, dip, tip container) use
|
||||
@@ -1299,7 +1300,19 @@ Force a lock.
|
||||
Autocompletes.
|
||||
Default key is \(oqM-f\(cq.
|
||||
.lp #genocided
|
||||
List any monster types which have been genocided or become extinct.
|
||||
List any monster types which have been genocided.
|
||||
In explore mode and debug mode it also shows types which have become
|
||||
extinct.
|
||||
.lp ""
|
||||
The display order is the same as is used by #vanquished.
|
||||
The \(oqm\(cq prefix brings up a menu of available sorting orders, and
|
||||
doing that for either #genocided or #vanquished changes the order for both.
|
||||
.lp ""
|
||||
If the sorting order is \(lqcount high to low\(rq or \(lqcount low to high\(rq
|
||||
(which are applicable for #vanquished), that will be ignored for #genocided
|
||||
and alphabetical will be used instead.
|
||||
The menu omits those two choices when used for #genocide.
|
||||
.lp ""
|
||||
Autocompletes.
|
||||
Default key is \(oqM-g\(cq.
|
||||
.lp "#glance "
|
||||
@@ -1715,6 +1728,8 @@ list contains at least two types of monsters).
|
||||
Whichever ordering is picked gets assigned to the
|
||||
.op sortvanquished
|
||||
option so is remembered for subsequent #vanquished requests.
|
||||
The \(lq#genocided\(rq command shares this sorting order.
|
||||
.lp ""
|
||||
During end-of-game disclosure, when asked whether to show vanquished
|
||||
monsters answering \(oq\f(CRa\fP\(cq will let you choose from the sort menu.
|
||||
.lp ""
|
||||
@@ -3856,8 +3871,8 @@ lets you refine how it behaves. Here are the valid prefixes:
|
||||
.CC \- "do not disclose it and do not prompt."
|
||||
.ei
|
||||
.ed
|
||||
The listing of vanquished monsters can be sorted,
|
||||
so there are two additional choices for \(oqv\(cq:
|
||||
The listings of vanquished monsters and of genocided types can be sorted,
|
||||
so there are two additional choices for \(oqv\(cq and \(oqg\(cq:
|
||||
.sd
|
||||
.si
|
||||
.CC ? "prompt you and default to ask on the prompt;"
|
||||
@@ -3867,8 +3882,9 @@ so there are two additional choices for \(oqv\(cq:
|
||||
Asking refers to picking one of the orderings from a menu.
|
||||
The \(oq+\(cq disclose without prompting choice,
|
||||
or being prompted and answering \(oqy\(cq rather than \(oqa\(cq,
|
||||
will default to showing monsters in the traditional order,
|
||||
from high level to low level.
|
||||
will default to showing monsters in the order specified by the
|
||||
.op sortvanquished
|
||||
option.
|
||||
.lp ""
|
||||
Omitted categories are implicitly added with \(oqn\(cq prefix.
|
||||
Specified categories with omitted prefix implicitly use \(oq+\(cq prefix.
|
||||
@@ -4490,7 +4506,8 @@ default.
|
||||
Sort the pack contents by type when displaying inventory (default on).
|
||||
Persistent.
|
||||
.lp sortvanquished
|
||||
Controls the sorting behavior for the output of the #vanquished command.
|
||||
Controls the sorting behavior for the output of the #vanquished command
|
||||
and also for the #genocided command.
|
||||
Persistent.
|
||||
.lp ""
|
||||
The possible values are:
|
||||
@@ -4516,7 +4533,8 @@ order by count, high to low; ties are broken by internal monster index;
|
||||
order by count, low to high; ties broken by internal index.
|
||||
.PE
|
||||
Can be interactively set via the \(oq\f(CRm O\fP\(cq command or via using
|
||||
the \(oq\f(CRm\fP\(cq prefix before the #vanquished command.
|
||||
the \(oq\f(CRm\fP\(cq prefix before either the #vanquished command
|
||||
or the #genocided command.
|
||||
.lp "sounds "
|
||||
Allow sounds to be emitted from an integrated sound library (default on).
|
||||
.lp "sparkle "
|
||||
|
||||
Reference in New Issue
Block a user