oolite/Resources/AIs/enteringPirateAI.plist
2006-03-05 16:26:25 +00:00

15 lines
413 B
Plaintext

{
GLOBAL = {ENTER = ("setStateTo: CHECK_HOLD"); EXIT = (); UPDATE = (); };
"CHECK_HOLD" = {
ENTER = (checkForFullHold);
"HOLD_FULL" = ("switchAITo: enteringTraderAI.plist");
EXIT = ();
UPDATE = ("setStateTo: STILL_HUNGRY");
};
"STILL_HUNGRY" = {
ENTER = ();
EXIT = ();
"HOLD_FULL" = ("switchAITo: enteringTraderAI.plist");
UPDATE = ("switchAITo: pirateAI.plist");
};
}