k21971 / EvilHack

A variant of NetHack that is designed to be a much more challenging experience than the original, drawing inspiration and content from various existing variants along with adding unique and never-before-seen custom content.
Other
53 stars 22 forks source link

Whips & Fire Damage #116

Closed saltwaterterrapin closed 1 year ago

saltwaterterrapin commented 1 year ago

I noticed that you couldn't apply whips to pull objects out of water when flying, and when I was checking why I noticed that there was nothing stopping you from applying a leather whip into lava and pulling it out unharmed, which led to me noticing that items with fire oprops could be burnt, and assorted other fire items didn't seem to be handled consistently by the various fire damage functions. These commits would make the use of whips a bit more intuitive, and make the fire_damage and lava_damage functions a bit less idiosyncratic by relying more consistently on is_flammable. They are mostly independent commits, but the whip commit does rely on some minor changes in lava_damage to give grammatical feedback that I put in the other commit.