Opened 9 years ago

Last modified 5 years ago

#1317 new change

Make monster pits / nests depend on flags, not display characters — at Initial Version

Reported by: GabeCunningham Owned by:
Milestone: Future Keywords: dungeon monster


In generate.c, some of the monster pits / nests use flags to restrict the type of creatures (such as undead pits and pits of animals), whereas others check the display character (such as jelly pits and orc pits). For jelly pits, there's currently no better way, but orcs, trolls, etc all have a race flag anyway. Is there a reason why we don't just use that?

In fact, it might be nice for (almost) every monster to have a race or multiple races. Instead of handling it with flags, we could have each monster kind also store its race(s), which would then be used for slays, building pits, etc.

Change History (0)

Note: See TracTickets for help on using tickets.