Fix statue and figurine genders in special levels

When a random statue or a figurine was generated in special levels,
the gender was not initialized correctly, so you ended up getting
eg. "dwarf ruler"

It now works correctly, and you can still specifically request
a non-gendered version with the montype-parameter.

For example

des.object({ id = "statue" });
des.object({ id = "statue", montype = "dwarf ruler" });
This commit is contained in:
Pasi Kallinen
2026-05-14 17:38:29 +03:00
parent 342bbc85c4
commit f000fed16d
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -21,6 +21,7 @@ doc: fix a paste error in Guidebook.tex
doc: fix spelling correction in nethack.6
spelling: "Flanian Pobble Bead" to "Flainian Pobble Bead"
obey statue type gender (gnome king statue in minetn-5)
fix statue and figurine genders in special levels in general
Platform- and/or Interface-Specific Fixes