goodbye END-CHOOSE
Instead of an additional options file directive to end the last section of a CHOOSE directive, simplify by using an empty-name section, [], instead. So ... CHOOSE one,two [one] ... [two] ... [] ... As with the short-lived END-CHOOSE directive, if no [] is present then the rest of the file is part of the last choice.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.275 $ $NHDT-Date: 1596754606 2020/08/06 22:56:46 $
|
||||
NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.276 $ $NHDT-Date: 1596785361 2020/08/07 07:29:21 $
|
||||
|
||||
General Fixes and Modified Features
|
||||
-----------------------------------
|
||||
@@ -459,11 +459,11 @@ add 'Sokoban' conduct, tracking the number of times the special Sokoban rules
|
||||
reduce verbosity when a mind flayer attacks a headless monster; when a
|
||||
tentacle-to-head attack hits but fails to accomplish anything skip
|
||||
remaining attacks (mind flayer has 3, master mind flayer has 5)
|
||||
add END-CHOOSE directive for run-time config file; CHOOSE section1,section2
|
||||
add section marker [] support to run-time config file; CHOOSE section1,section2
|
||||
followed by [section1] ... [section2] ... forced all the rest of the
|
||||
file to be part of the last section; that still works the same but
|
||||
END-CHOOSE can be used to terminate the last section and revert to
|
||||
common options for the remainder of the file
|
||||
file to be part of the last section; that still works the same, but []
|
||||
can be used to terminate the last section and revert to common options
|
||||
for the remainder of the file
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific New Features
|
||||
|
||||
Reference in New Issue
Block a user