oolite/Resources/AIs/collectLootAI.plist

20 lines
581 B
Plaintext
Raw Normal View History

{
GLOBAL =
{
ENTER = ("setStateTo: LOOT");
};
LOOT =
{
ENTER = (performCollect);
"ATTACKER_MISSED" = ("exitAIWithMessage: ATTACKED");
ATTACKED = ("exitAIWithMessage: ATTACKED");
"COLLISION" = (exitAI);
"FRUSTRATED" = ("setSpeedTo: 0.0", performIdle, exitAI);
"CARGO_SCOOPED" = ("exitAIWithMessage: CARGO_SCOOPED");
"HOLD_FULL" = ("exitAIWithMessage: HOLD_FULL");
"INCOMING_MISSILE" = (fightOrFleeMissile, "exitAIWithMessage: INCOMING_MISSILE");
"CASCADE_WEAPON_DETECTED" = ("exitAIWithMessage: CASCADE_WEAPON_DETECTED");
"TARGET_LOST" = (exitAI);
};
}