Chris-plus-alphanumericgibberish / dNAO

Merge of dnethack onto the nethack.alt.org sources.
Other
20 stars 29 forks source link

Implement handling of generic AD type clouds #2256

Closed demogorgon22 closed 4 months ago

demogorgon22 commented 4 months ago

Allow specifying an AD type for generic clouds to do damage with, change display color, and change glyph description. Implement confused stinking cloud scroll effect creating one of these generic clouds from a small pool of elemental AD types. Implemented handling of leaves_cloud zap_data zaps of non AD_DRST adtyp to use generic cloud handling instead of impossibling. This maintains backwards compatibility with handling for old cloud types, including their cmap display glyphs.

image

I did a lot of stuff to make this work that should be noted for technical reasons.

To make sure a "new" AD type cloud is supportable and can actually see use in game without causing issues, here is what needs to happen: