Add a new option 'perminv_mode' to augment perm_invent. It handles the same choices as the temporary TTYINV method: show all items other than gold, show full inventory including gold, or only show in-use items (similar to the '*' command). For tty, both the all-except-gold and full-inventory modes can add the poorly named 'sparse' variation which populates unused slots in its fixed grid with the inventory letter that would go in each. For others, the default has been changed from full-inventory to all-except-gold. Note that gold is treated as part of 'all' or of 'in-use' if it is quivered because having the amount be shown on the status line doesn't make that redundant. Changing the default may mess up WinGUI if it assumes that perm_invent is full inventory with gold. Initially I was going to change perm_invent into a compound but this leaves it as an on/off toggle and adds perminv_mode as a separate option for how to show the inventory when the toggle is on. It may make sense to combine them since dual controls is a little confusing, but right now setting perm_invent On when perminv_mode is 'none' changes that to 'all' and changing perminv_mode away from 'none' when perm_invent is Off toggles it to On. Guidebook.mn has been updated but as usual Guidebook.tex is lagging.
251 KiB
251 KiB