NitroHack
NitroHack copied to clipboard
Dungeon Overview: Altars record as "temples", and lawful chars have chaotic altars recorded as to their god
Altars are recorded as "temples" in the dungeon overview:
- Start/resume a lawful character in wizard mode.
- Create a lawful or neutral altar.
- Open the dungeon overview.
This shows "a temple" when it should show up as "an altar".
Somewhat related, lawful characters (e.g. samurai) have chaotic altars shown in their dungeon overview as to their god (e.g. "a temple to Amaterasu Omikami"): just try the same steps as above and create a chaotic altar instead.
Thankfully, the fix is really easy: check for temple rooms properly, and convert the player character's alignment to an amask before checking it against the data in the overview info struct. Here's the fix: https://github.com/tung/NitroHack/commit/3e4a189b6b58e5c2535b823f11df05b9a2913c2e