; KeeperFX Creature States Configuration file

[state0]
Name = Unused
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state1]
Name = ImpDoingNothing
ProcessFunction = imp_doing_nothing
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state2]
Name = ImpArrivesAtDigDirt
ProcessFunction = imp_arrives_at_dig_or_mine
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state3]
Name = ImpArrivesAtMineGold
ProcessFunction = imp_arrives_at_dig_or_mine
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state4]
Name = ImpDigsDirt
ProcessFunction = imp_digs_mines
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state5]
Name = ImpMinesGold
ProcessFunction = imp_digs_mines
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state6]
Name = CreatureCastingPreparation
ProcessFunction = creature_casting_preparation
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE UNCONSCIOUS ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Work
Captive = 0
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state7]
Name = ImpDropsGold
ProcessFunction = imp_drops_gold
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state8]
Name = ImpLastDidJob
ProcessFunction = imp_last_did_job
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state9]
Name = ImpAtImproveDungeon
ProcessFunction = imp_arrives_at_improve_dungeon
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state10]
Name = ImpImprovesDungeon
ProcessFunction = imp_improves_dungeon
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state11]
Name = CrtrPicksUpTrapObject
ProcessFunction = creature_picks_up_trap_object
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state12]
Name = CreatureArmsTrap
ProcessFunction = creature_arms_trap
CleanupFunction = state_cleanup_dragging_object
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state13]
Name = CrtrPicksCrateForWrkshp
ProcessFunction = creature_picks_up_crate_for_workshop
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state14]
Name = MoveToPosition
ProcessFunction = move_to_position
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Move
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state15]
Name = Null15
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Move
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state16]
Name = CrtrDropsCrateInWrkshp
ProcessFunction = creature_drops_crate_in_workshop
CleanupFunction = state_cleanup_dragging_object
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state17]
Name = CreatureDoingNothing
ProcessFunction = creature_doing_nothing
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state18]
Name = CreatureToGarden
ProcessFunction = creature_to_garden
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS SLEEP ANGER_JOB
StateType = Feed
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 59
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state19]
Name = CreatureArrivedAtGarden
ProcessFunction = creature_arrived_at_garden
CleanupFunction = state_cleanup_in_room
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides = OWN_NEEDS SLEEP ANGER_JOB
StateType = Feed
Captive = 0
Transition = 0
FollowBehavior = MatchWorkRoom
BlocksAllStateChanges = 0
SpriteIdx = 59
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state20]
Name = CreatureWantsAHome
ProcessFunction = creature_wants_a_home
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = SLEEP ANGER_JOB
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 58
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state21]
Name = CrtrChooseRoomForLair
ProcessFunction = creature_choose_room_for_lair_site
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = SLEEP ANGER_JOB
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 58
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state22]
Name = CreatureAtNewLair
ProcessFunction = creature_at_new_lair
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = SLEEP ANGER_JOB
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 58
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state23]
Name = PersonSulkHeadForLair
ProcessFunction = person_sulk_head_for_lair
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state24]
Name = PersonSulkAtLair
ProcessFunction = person_sulk_at_lair
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state25]
Name = CreatureGoingToSleep
ProcessFunction = creature_going_home_to_sleep
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS ANGER_JOB FOLLOW
StateType = Sleep
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 54
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state26]
Name = CreatureSleep
ProcessFunction = creature_sleep
CleanupFunction = cleanup_sleep
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS ANGER_JOB
StateType = Sleep
Captive = 0
Transition = 0
FollowBehavior = MatchWorkRoom
BlocksAllStateChanges = 0
SpriteIdx = 54
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state27]
Name = Null27
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state28]
Name = Tunnelling
ProcessFunction = tunnelling
CleanupFunction = none
MoveFromSlabFunction = new_slab_tunneller_check_for_breaches
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state29]
Name = Null29
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state30]
Name = AtResearchRoom
ProcessFunction = at_research_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 56
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state31]
Name = Researching
ProcessFunction = researching
CleanupFunction = state_cleanup_in_room
MoveFromSlabFunction = none
MoveCheckFunction = process_research_function
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = MatchWorkRoom
BlocksAllStateChanges = 0
SpriteIdx = 56
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state32]
Name = AtTrainingRoom
ProcessFunction = at_training_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 57
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state33]
Name = Training
ProcessFunction = training
CleanupFunction = state_cleanup_in_room
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = MatchWorkRoom
BlocksAllStateChanges = 0
SpriteIdx = 57
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state34]
Name = GoodDoingNothing
ProcessFunction = good_doing_nothing
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state35]
Name = GoodReturnsToStart
ProcessFunction = good_returns_to_start
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state36]
Name = GoodBackAtStart
ProcessFunction = good_back_at_start
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state37]
Name = GoodDropsGold
ProcessFunction = good_drops_gold
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state38]
Name = InPowerHand
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Work
Captive = 0
Transition = 1
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state39]
Name = ArriveAtCallToArms
ProcessFunction = arrive_at_call_to_arms
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED SLEEP GETS_SALARY
StateType = Called2Arms
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 62
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state40]
Name = CrtrArrivedAtPrison
ProcessFunction = creature_arrived_at_prison
CleanupFunction = state_cleanup_unable_to_fight
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides = FEED SLEEP FIGHT_CRTR GETS_SALARY ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = OwnNeeds
Captive = 1
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 66
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state41]
Name = CreatureInPrison
ProcessFunction = creature_in_prison
CleanupFunction = cleanup_prison
MoveFromSlabFunction = none
MoveCheckFunction = process_prison_function
Overrides = FEED SLEEP FIGHT_CRTR GETS_SALARY ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = OwnNeeds
Captive = 1
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 66
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state42]
Name = AtTortureRoom
ProcessFunction = at_torture_room
CleanupFunction = state_cleanup_unable_to_fight
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides = FEED SLEEP FIGHT_CRTR GETS_SALARY ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = OwnNeeds
Captive = 1
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 65
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state43]
Name = Torturing
ProcessFunction = torturing
CleanupFunction = cleanup_torturing
MoveFromSlabFunction = none
MoveCheckFunction = process_torture_function
Overrides = FEED SLEEP FIGHT_CRTR GETS_SALARY ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = OwnNeeds
Captive = 1
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 65
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state44]
Name = AtWorkshopRoom
ProcessFunction = at_workshop_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 67
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state45]
Name = Manufacturing
ProcessFunction = manufacturing
CleanupFunction = state_cleanup_in_room
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = MatchWorkRoom
BlocksAllStateChanges = 0
SpriteIdx = 67
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state46]
Name = AtScavengerRoom
ProcessFunction = at_scavenger_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 69
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state47]
Name = Scavengering
ProcessFunction = scavengering
CleanupFunction = state_cleanup_in_room
MoveFromSlabFunction = none
MoveCheckFunction = process_scavenge_function
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = MatchWorkRoom
BlocksAllStateChanges = 0
SpriteIdx = 69
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state48]
Name = CreatureDormant
ProcessFunction = creature_dormant
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_near_dungeon_heart
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state49]
Name = CreatureInCombat
ProcessFunction = creature_in_combat
CleanupFunction = cleanup_combat
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP GETS_SALARY ESCAPE ANGER_JOB FIGHT_OBJECT CALL2ARMS FOLLOW
StateType = FightCrtr
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 1
SpriteIdx = 51
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state50]
Name = CrtrLeavingDungeon
ProcessFunction = creature_leaving_dungeon
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS SLEEP GETS_SALARY
StateType = AngerJob
Captive = 1
Transition = 1
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 61
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state51]
Name = CreatureLeaves
ProcessFunction = creature_leaves
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS SLEEP GETS_SALARY
StateType = AngerJob
Captive = 1
Transition = 1
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 61
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state52]
Name = CrtrInHoldAudience
ProcessFunction = creature_in_hold_audience
CleanupFunction = cleanup_hold_audience
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state53]
Name = PatrolHere
ProcessFunction = patrol_here
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state54]
Name = Patrolling
ProcessFunction = patrolling
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state55]
Name = Null55
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state56]
Name = Null56
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state57]
Name = Null57
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state58]
Name = Null58
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state59]
Name = CrtrKillCreatures
ProcessFunction = creature_kill_creatures
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_kill_creatures
Overrides = OWN_NEEDS SLEEP GETS_SALARY
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 61
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state60]
Name = Null60
ProcessFunction = creature_kill_diggers
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_kill_diggers
Overrides = OWN_NEEDS SLEEP GETS_SALARY
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 61
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state61]
Name = PersonSulking
ProcessFunction = person_sulking
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state62]
Name = Null62
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state63]
Name = Null63
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state64]
Name = AtBarrackRoom
ProcessFunction = at_barrack_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 63
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state65]
Name = Barracking
ProcessFunction = barracking
CleanupFunction = state_cleanup_in_room
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 63
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state66]
Name = CreatureSlapCowers
ProcessFunction = creature_slap_cowers
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Work
Captive = 0
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state67]
Name = CreatureUnconscious
ProcessFunction = creature_unconscious
CleanupFunction = state_cleanup_unconscious
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Unconscious
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 1
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state68]
Name = CrtrPickUpUncnscBody
ProcessFunction = creature_pick_up_unconscious_body
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state69]
Name = ImpToking
ProcessFunction = imp_toking
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state70]
Name = ImpPicksUpGoldPile
ProcessFunction = imp_picks_up_gold_pile
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state71]
Name = MoveBackwrdToPosition
ProcessFunction = move_backwards_to_position
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Move
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state72]
Name = CrtrDropBodyInPrison
ProcessFunction = creature_drop_body_in_prison
CleanupFunction = state_cleanup_dragging_body
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state73]
Name = ImpAtConvertDungeon
ProcessFunction = imp_arrives_at_convert_dungeon
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state74]
Name = ImpConvertsDungeon
ProcessFunction = imp_converts_dungeon
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state75]
Name = CreatureWantsSalary
ProcessFunction = creature_wants_salary
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS ANGER_JOB
StateType = GetsSalary
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 52
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state76]
Name = CreatureTakeSalary
ProcessFunction = creature_take_salary
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_wait_at_door_for_wage
Overrides = OWN_NEEDS ANGER_JOB
StateType = GetsSalary
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 52
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state77]
Name = TunnellerDoingNothing
ProcessFunction = tunneller_doing_nothing
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state78]
Name = CreatureObjectCombat
ProcessFunction = creature_object_combat
CleanupFunction = cleanup_object_combat
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY ESCAPE ANGER_JOB CALL2ARMS FOLLOW
StateType = FightObj
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 51
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state79]
Name = Null79
ProcessFunction = creature_object_combat
CleanupFunction = cleanup_object_combat
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY ESCAPE ANGER_JOB CALL2ARMS FOLLOW
StateType = AngerJob
Captive = 1
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 51
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state80]
Name = CreatureChangeLair
ProcessFunction = creature_change_lair
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides = SLEEP FIGHT_CRTR FIGHT_OBJECT
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 58
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state81]
Name = ImpBirth
ProcessFunction = imp_birth
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state82]
Name = AtTemple
ProcessFunction = at_temple
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides = OWN_NEEDS ANGER_JOB
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 60
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state83]
Name = PrayingInTemple
ProcessFunction = praying_in_temple
CleanupFunction = state_cleanup_in_temple
MoveFromSlabFunction = none
MoveCheckFunction = process_temple_function
Overrides = OWN_NEEDS ANGER_JOB
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = MatchWorkRoom
BlocksAllStateChanges = 0
SpriteIdx = 60
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state84]
Name = Null84
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state85]
Name = CreatureFollowLeader
ProcessFunction = creature_follow_leader
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = GETS_SALARY
StateType = Follow
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state86]
Name = CreatureDoorCombat
ProcessFunction = creature_door_combat
CleanupFunction = cleanup_door_combat
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS FIGHT_CRTR GETS_SALARY ESCAPE ANGER_JOB FIGHT_OBJECT CALL2ARMS FOLLOW
StateType = FightDoor
Captive = 0
Transition = 0
FollowBehavior = JoinCombatOrFollow
BlocksAllStateChanges = 0
SpriteIdx = 51
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state87]
Name = CreatureCombatFlee
ProcessFunction = creature_combat_flee
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY ESCAPE ANGER_JOB FIGHT_OBJECT CALL2ARMS FOLLOW
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 53
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state88]
Name = CreatureSacrifice
ProcessFunction = creature_sacrifice
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state89]
Name = AtLairToSleep
ProcessFunction = at_lair_to_sleep
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS ANGER_JOB
StateType = Sleep
Captive = 0
Transition = 0
FollowBehavior = MatchWorkRoom
BlocksAllStateChanges = 0
SpriteIdx = 54
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state90]
Name = CreatureExempt
ProcessFunction = creature_exempt
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Escape
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 61
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state91]
Name = CreatureBeingDropped
ProcessFunction = creature_being_dropped
CleanupFunction = state_cleanup_unable_to_fight
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state92]
Name = CrtrBeingSacrificed
ProcessFunction = creature_being_sacrificed
CleanupFunction = cleanup_sacrifice
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state93]
Name = CrtrScavengedDisappear
ProcessFunction = creature_scavenged_disappear
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE UNCONSCIOUS ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state94]
Name = CrtrScavengedReappear
ProcessFunction = creature_scavenged_reappear
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state95]
Name = CreatureBeingSummoned
ProcessFunction = creature_being_summoned
CleanupFunction = cleanup_sacrifice
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state96]
Name = CreatureHeroEntering
ProcessFunction = creature_hero_entering
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state97]
Name = ImpArrivesAtReinforce
ProcessFunction = imp_arrives_at_reinforce
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state98]
Name = ImpReinforces
ProcessFunction = imp_reinforces
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state99]
Name = ArriveAtAlarm
ProcessFunction = arrive_at_alarm
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP ANGER_JOB
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 62
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state100]
Name = CrtrPicksUpSpellObject
ProcessFunction = creature_picks_up_spell_object
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Move
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state101]
Name = DropSpellInLibrary
ProcessFunction = creature_drops_spell_object_in_library
CleanupFunction = state_cleanup_dragging_object
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state102]
Name = CreaturePicksUpCorpse
ProcessFunction = creature_picks_up_corpse
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state103]
Name = DropsCorpseInGraveyard
ProcessFunction = creature_drops_corpse_in_graveyard
CleanupFunction = state_cleanup_dragging_object
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state104]
Name = AtGuardPostRoom
ProcessFunction = at_guard_post_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 50
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state105]
Name = Guarding
ProcessFunction = guarding
CleanupFunction = state_cleanup_in_room
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS ANGER_JOB
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = MatchWorkRoom
BlocksAllStateChanges = 0
SpriteIdx = 50
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state106]
Name = CreatureEat
ProcessFunction = creature_eat
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = OwnNeeds
Captive = 1
Transition = 1
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 59
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state107]
Name = CreatureEvacuateRoom
ProcessFunction = creature_evacuate_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state108]
Name = WaitAtTreasureRoomDoor
ProcessFunction = creature_wait_at_treasure_room_door
CleanupFunction = state_cleanup_wait_at_door
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = GetsSalary
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state109]
Name = AtKinkyTortureRoom
ProcessFunction = at_kinky_torture_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_on_head_for_room
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY ANGER_JOB
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state110]
Name = KinkyTorturing
ProcessFunction = kinky_torturing
CleanupFunction = cleanup_torturing
MoveFromSlabFunction = none
MoveCheckFunction = process_kinky_function
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY ANGER_JOB
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state111]
Name = MadKillingPsycho
ProcessFunction = mad_killing_psycho
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS GETS_SALARY
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 68
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state112]
Name = CrtrSrchForGoldToSteal1
ProcessFunction = creature_search_for_gold_to_steal_in_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_attack_any_door
Overrides = OWN_NEEDS SLEEP
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state113]
Name = CreatureVandaliseRooms
ProcessFunction = creature_vandalise_rooms
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_attack_any_door
Overrides = OWN_NEEDS SLEEP
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state114]
Name = CreatureStealGold
ProcessFunction = creature_steal_gold
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_attack_any_door
Overrides = OWN_NEEDS SLEEP
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state115]
Name = SeekTheEnemy
ProcessFunction = seek_the_enemy
CleanupFunction = cleanup_seek_the_enemy
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state116]
Name = AlreadyAtCallToArms
ProcessFunction = already_at_call_to_arms
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED SLEEP GETS_SALARY
StateType = Called2Arms
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 62
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state117]
Name = CreatureDamageWalls
ProcessFunction = creature_damage_walls
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state118]
Name = CrtrAttemptDamageWalls
ProcessFunction = creature_attempt_to_damage_walls
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_can_damage_wall
Overrides = OWN_NEEDS
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state119]
Name = CreaturePersuade
ProcessFunction = creature_persuade
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_persuade
Overrides = OWN_NEEDS SLEEP
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state120]
Name = CrtrChangeToChicken
ProcessFunction = creature_change_to_chicken
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state121]
Name = CrtrChangeFromChicken
ProcessFunction = creature_change_from_chicken
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state122]
Name = ManualControl
ProcessFunction = none
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Work
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state123]
Name = CreatureCannotFindWork
ProcessFunction = creature_cannot_find_anything_to_do
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state124]
Name = CreaturePiss
ProcessFunction = creature_piss
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state125]
Name = CreatureRoar
ProcessFunction = creature_roar
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state126]
Name = CreatureAtChangedLair
ProcessFunction = creature_at_changed_lair
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state127]
Name = CreatureBeHappy
ProcessFunction = creature_be_happy
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = SLEEP
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state128]
Name = GoodLeaveThroughHDoor
ProcessFunction = good_leave_through_exit_door
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state129]
Name = GoodWaitInHeroDoor
ProcessFunction = good_wait_in_exit_door
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state130]
Name = GoodAttackRoom1
ProcessFunction = good_attack_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state131]
Name = CrtrSrchForGoldToSteal
ProcessFunction = creature_search_for_gold_to_steal_in_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 1
ReactToCta = 1

[state132]
Name = GoodAttackRoom2
ProcessFunction = good_arrived_at_attack_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_attack_any_door
Overrides = OWN_NEEDS SLEEP
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 1
ReactToCta = 1

[state133]
Name = CrtrPretndChickenSetup
ProcessFunction = creature_pretend_chicken_setup_move
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state134]
Name = CreaturePretendChicken
ProcessFunction = creature_pretend_chicken_move
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Idle
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 0

[state135]
Name = CreatureAttackRooms
ProcessFunction = creature_attack_rooms
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_attack_any_door
Overrides = OWN_NEEDS SLEEP
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 51
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state136]
Name = CreatureFreezePrisonrs
ProcessFunction = creature_freeze_prisoners
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state137]
Name = CreatureExploreDungeon
ProcessFunction = creature_explore_dungeon
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state138]
Name = CreatureEatingAtGarden
ProcessFunction = creature_eating_at_garden
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS SLEEP ANGER_JOB
StateType = Feed
Captive = 0
Transition = 0
FollowBehavior = MatchWorkRoom
BlocksAllStateChanges = 0
SpriteIdx = 59
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state139]
Name = LeavesBecauseOwnerLost
ProcessFunction = creature_leaves_or_dies
CleanupFunction = cleanup_creature_leaves_or_dies
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE ANGER_JOB FIGHT_OBJECT CALL2ARMS FOLLOW
StateType = OwnNeeds
Captive = 1
Transition = 1
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 61
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state140]
Name = CreatureMoan
ProcessFunction = creature_moan
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP ANGER_JOB
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state141]
Name = CrtrSetWorkRoomOnPos
ProcessFunction = creature_set_work_room_based_on_position
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED SLEEP FIGHT_CRTR GETS_SALARY CAPTIVE TRANSITION ESCAPE ANGER_JOB FIGHT_OBJECT FIGHT_DOOR CALL2ARMS FOLLOW
StateType = Work
Captive = 1
Transition = 1
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state142]
Name = CreatureBeingScavenged
ProcessFunction = creature_being_scavenged
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = OwnNeeds
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 64
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state143]
Name = CreatureEscapingDeath
ProcessFunction = creature_escaping_death
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY ANGER_JOB FIGHT_OBJECT CALL2ARMS FOLLOW
StateType = Escape
Captive = 1
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state144]
Name = CrtrPresentToDnHeart
ProcessFunction = creature_present_to_dungeon_heart
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Idle
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state145]
Name = CrtrSrchForSpellSteal
ProcessFunction = creature_search_for_spell_to_steal_in_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_attack_any_door
Overrides = OWN_NEEDS SLEEP
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 1
ReactToCta = 1

[state146]
Name = CreatureStealSpell
ProcessFunction = creature_pick_up_spell_to_steal
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_attack_any_door
Overrides = OWN_NEEDS SLEEP
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state147]
Name = GoodArrivedAtAttackRoom
ProcessFunction = good_arrived_at_attack_room
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_attack_any_door
Overrides = OWN_NEEDS SLEEP
StateType = AngerJob
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 55
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state148]
Name = CreatureGoingToSafetyForToking
ProcessFunction = creature_going_to_safety_for_toking
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = OWN_NEEDS ANGER_JOB
StateType = Sleep
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 54
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 1

[state149]
Name = TimeBomb
ProcessFunction = creature_timebomb
CleanupFunction = cleanup_timebomb
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides = FEED OWN_NEEDS SLEEP FIGHT_CRTR GETS_SALARY ESCAPE CALL2ARMS FOLLOW
StateType = Move
Captive = 1
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 1
Sneaky = 0
ReactToCta = 0

[state150]
Name = GoodWanderToCreatureCombat
ProcessFunction = good_arrived_at_combat
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_attack_any_door
Overrides = OWN_NEEDS SLEEP
StateType = Move
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state151]
Name = GoodWanderToObjectCombat
ProcessFunction = good_arrived_at_attack_dungeon_heart
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = move_check_attack_any_door
Overrides = OWN_NEEDS SLEEP
StateType = Move
Captive = 0
Transition = 0
FollowBehavior = none
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state152]
Name = CreatureDropBodyInLair
ProcessFunction = creature_drop_unconscious_in_lair
CleanupFunction = state_cleanup_dragging_body
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

[state153]
Name = CreatureSaveUnconsciousCreature
ProcessFunction = creature_save_unconscious_creature
CleanupFunction = none
MoveFromSlabFunction = none
MoveCheckFunction = none
Overrides =
StateType = Work
Captive = 0
Transition = 0
FollowBehavior = FollowLeader
BlocksAllStateChanges = 0
SpriteIdx = 0
DisplayThoughtBubble = 0
Sneaky = 0
ReactToCta = 1

