1 #pragma once 2 3 #include "tag-version.h" 4 5 enum beh_type 6 { 7 BEH_SLEEP, 8 BEH_WANDER, 9 BEH_SEEK, 10 BEH_FLEE, 11 BEH_CORNERED, // wanting to flee, but blocked by an 12 // obstacle or monster 13 #if TAG_MAJOR_VERSION == 34 14 BEH_PANIC, // like flee but without running away 15 BEH_LURK, // stay still until discovered or 16 // enemy close by 17 #endif 18 BEH_RETREAT, // like flee but when cannot attack 19 BEH_WITHDRAW, // an ally given a command to withdraw 20 // (will not respond to attacks) 21 NUM_BEHAVIOURS, // max # of legal states 22 BEH_CHARMED, // hostile-but-charmed; creation only 23 BEH_FRIENDLY, // used during creation only 24 BEH_GOOD_NEUTRAL, // creation only 25 BEH_STRICT_NEUTRAL, 26 BEH_NEUTRAL, // creation only 27 BEH_HOSTILE, // creation only 28 BEH_GUARD, // creation only - monster is guard 29 BEH_COPY, // creation only - copy from summoner 30 }; 31