Which scrolls will monsters read?
Solution 1:
Monsters can read scrolls of teleportation, create monster and earth. The source includes code to allow monsters to read scrolls of fire, but it's not compiled into the game executable (it's enclosed in #if 0
).
The relevant source code is in muse.c at line 222 and line 943. The #define
s relating to scrolls (which constitute a complete list of the scrolls possibly used by monsters) are
#define MUSE_SCR_TELEPORTATION 1
#define MUSE_SCR_CREATE_MONSTER 11
#define MUSE_SCR_FIRE 8
#define MUSE_SCR_EARTH 17
which are referenced from the find_defensive
, use_defensive
, find_offensive
and use_offensive
functions in the same file.