| name | description |
|---|---|
| wiki_verify_monsters | Instructions for comparing monsters in GnollHackWiki with the GnollHack C code data structures (permonst) to spot mistakes in the documentation. |
Verifying Monsters
When verifying monsters on the GnollHackWiki against the GnollHack C code, compare the monster's documentation with struct permonst defined in include/permonst.h and the data in src/monst.c.
Important Rules
-
NEVER compare item weights. Do not check or update corpse weight (
cwt) or any other weight on the wiki. - Pay attention to which kind of data is present in
struct permonst.
What to Compare
1. Base Properties
-
Difficulty/Level: Compare with
difficultyandmlevel. -
Movement Speed: Compare with
mmove. -
Armor Class (AC): Compare with
ac. -
Magic Cancellation (MC): Compare with
mc. -
Magic Resistance (MR): Compare with
mr. -
Alignment: Compare with
maligntyp.
2. Attributes
-
Base Attributes: Compare with
str,dex,con,intl,wis,cha. -
Resistances: Compare with
mresistsandmresists2. -
Conveys: Compare with
mconveys(what the monster conveys when eaten).
3. Attacks
-
Attacks Array (
mattk): Compare each attack in the matrix foraatyp(attack type, e.g., claw, bite),adtyp(damage type, e.g., physical, fire),damn(number of dice), anddamd(size of dice).
How to Verify
- Locate the monster in
src/monst.c. - Map the fields to the
struct permonstdefinition. - Check the wiki page for discrepancies based on the list above.