Files
nethack/dat
PatR 4cf6727b4e re-implement pull req #334 - sorting discoveries
The pull request changed \ and ` output to unconditionally show
discoveries in alphabetical order.  That's nearly useless except
when looking at prediscovered weapons and armor that fighter
types start out knowing.

This allows the player to choose sorting order via the new
'sortdiscoveries' option.  In addition to setting it via
config file or 'O', it can be set via 'm' prefix for \ and `.
Choices are:
 o - sort by class, by order of discovery in class (default);
 s - sort by 'sortloot' classification which groups sub-class
     items (so all helmets before any other armor, then all
     gloves, then boots, and so on); within each sub-class, or
     whole class for classes which don't subdivide so usefully,
     partly-discovered types (where a name has been assigned)
     come before fully ID'd types;
 c - sort by class, alphabetically within class;
 a - sort alphabetically across all classes.

Turned out to be a large amount of work for fairly little gain,
although I suspect that 'sortdiscoveries:s' will eventually be
more popular than the default.

Invalidates existing save files so that current sort setting can
persist across save/restore cycles.

Closes #334
2020-12-19 17:45:49 -08:00
..
2018-01-25 23:23:16 -05:00
2019-11-06 18:43:20 +02:00
2020-12-16 19:22:04 -08:00
2020-11-18 11:16:21 -08:00
2020-04-18 19:55:09 +03:00
2019-05-31 18:41:37 -07:00
2019-05-31 18:41:37 -07:00
2020-09-15 03:51:20 -07:00
2019-06-25 03:27:42 -07:00
2002-01-05 21:05:46 +00:00
2020-02-21 21:32:18 +02:00
2015-03-17 18:45:58 +02:00
2015-12-13 13:34:47 -05:00
2019-10-20 11:21:47 -04:00
2020-11-30 16:16:14 -08:00