Accept "waiting" on special level des.monster() specifications
Allow specifying "waiting" for monsters created via lua level scripts.
This sets the monster strategy to make it wait for the hero
to be in visual range before allowing the monster to move.
Also makes the monster inside the Mausoleum themed room use this feature,
to prevent out of depth liches bothering the player unprovoked.
For example:
des.monster({ class = "D", waiting = 1 });
This commit is contained in:
@@ -137,7 +137,7 @@ typedef struct {
|
||||
xchar x, y, class, appear;
|
||||
schar peaceful, asleep;
|
||||
short female, invis, cancelled, revived, avenge, fleeing, blinded,
|
||||
paralyzed, stunned, confused;
|
||||
paralyzed, stunned, confused, waiting;
|
||||
long seentraps;
|
||||
short has_invent;
|
||||
} monster;
|
||||
|
||||
Reference in New Issue
Block a user