cf7ed44372
- Added an AI command 'checkHeatInsulation' (returns either: INSULATION_OK or INSULATION_POOR) - ship_temperature no longer becomes negative (and stays negative) after a witchspace jump from a hot area. (delta_t can be several seconds on the first update after a jump) git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4647 127b21dd-08f5-0310-b4b7-95ae10353056
18 lines
490 B
Plaintext
18 lines
490 B
Plaintext
{
|
|
GLOBAL =
|
|
{
|
|
ENTER = (performIdle, checkForNormalSpace);
|
|
"NORMAL_SPACE" = ("setStateTo: DECIDE_ROUTE");
|
|
"INTERSTELLAR_SPACE" = ("switchAITo: exitingTraderAI.plist");
|
|
};
|
|
"DECIDE_ROUTE" =
|
|
{
|
|
ENTER = ("rollD: 3");
|
|
"ROLL_1" = ("switchAITo: route1traderAI.plist");
|
|
"ROLL_2" = ("switchAITo: route1traderAI.plist");
|
|
"ROLL_3" = ("checkHeatInsulation");
|
|
"INSULATION_OK" = ("switchAITo: route2sunskimAI.plist");
|
|
"INSULATION_POOR" = ("switchAITo: route1traderAI.plist");
|
|
};
|
|
}
|