NetHack / NetHack

Official NetHack Git Repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Metal can be rotten

bitofhope opened this issue · comments

Wizard mode:

>#polyself
Become what kind of monster? [type the name]
>xorn
You turn into a xorn!
>^W
For what do you wish?
>cursed war hammer
r - a war hammer.
>e
What do you want to eat?
>r
Blecch!  Rotten metal!
Everything suddenly goes dark.

Steel doesn't rot. Consider either making metal never be rotten or using different text for "rotten" meals made of non-rotting material.

Suggestion: "Blecch! Spoiled metal!" doesn't specify the expiration mechanism. Who knows what process (which a metal item can undergo) renders a foul ferrous snack unnoshable safely by a metallivore.

Leather and other rottable and eatable materials can still be rotten.

Thanks for the quick fix! I noticed that since b1fd734 it's also possible to eat plastic if poly'd into a fire elemental. I also noticed there's already a function for testing if an item is rottable. I'll make a PR to use that.