xNetHack icon indicating copy to clipboard operation
xNetHack copied to clipboard

Wish parser should translate "leather armor" to "light armor"

Open copperwater opened this issue 1 year ago • 0 comments

This would be a backwards-compatibility shim, because probably 99% of the time when someone wishes for "leather armor" in xNetHack, they want to get the base-leather piece of armor that provides 2 AC, not any random object in ARMOR_CLASS that happens to have its material set to leather.

So the token "leather armor" in a wish should:

  • be parsed into LIGHT_ARMOR
  • not have the "leather" mean anything

copperwater avatar Mar 27 '23 21:03 copperwater