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
52 stars 21 forks source link

Make retouch_object more consistent #133

Closed saltwaterterrapin closed 1 year ago

saltwaterterrapin commented 1 year ago

Applying, throwing, and wielding stuff all worked slightly differently with regards to artifact blast, material hatred, and demons & silver. Furthermore, what things touch your skin was different in different places---you might wear something fine, then have to retouch your equipment for some reason and suddenly get blasted. Now, things are (hopefully) all consistent. In cases of contradiction, I tried to prioritize later and/or Evilhack-specific commits.

Direct skin contact is prevented in the following cases, all of which were sometimes the case already and sometimes weren't: -if you're wearing gloves, you won't contact wielded/thrown/otherwise manipulated objects, or a worn shield -if you're wearing the Hand of Vecna, you won't contact your left ring -if you're wearing a shirt, you won't contact body armor or a cloak -if you're wearing body armor, you won't contact a cloak

If you aren't directly contacting something, you won't suffer damage from its material, or suffer regen penalties as an orc/elf/drow wielding/wearing hated materials. This is unchanged from before. Direct contact has no bearing on artifact blast, just like in vanilla. This is a change from how Evilhack has worked for years. Demons cannot suffer even indirect contact from silver. This is largely unchanged save the fixing of a few edge cases. If you touch an artifact made of a material you hate, you will be blasted if applicable, and material damage will occur separately if you directly contact the artifact.

k21971 commented 1 year ago

Nice job on all of this!