/* Methods that may be used from old-style script actions or conditions. This plist cannot be extended or overriden by OXPs. */ { action_methods = ( // PlayerEntityLegacyScriptEngine.m "setMissionDescription:", "clearMissionDescription", "clearMissionDescriptionForMission:", "setLegalStatus:", "commsMessage:", "commsMessageByUnpiloted:", "consoleMessage3s:", "consoleMessage6s:", "awardCredits:", "awardShipKills:", "awardEquipment:", "removeEquipment:", "setPlanetinfo:", "setSpecificPlanetInfo:", "awardCargo:", "removeAllCargo", "useSpecialCargo:", "testForEquipment:", "awardFuel:", "messageShipAIs:", "ejectItem:", "addShips:", "addSystemShips:", "addShipsAt:", "addShipsAtPrecisely:", "addShipsWithinRadius:", "spawnShip:", "set:", "reset:", "increment:", "decrement:", "add:", "subtract:", "checkForShips:", "resetScriptTimer", "addMissionText:", "addLiteralMissionText:", "setMissionChoices:", "resetMissionChoice", "clearMissionScreen", "addMissionDestination:", "removeMissionDestination:", "showShipModel:", "setMissionMusic:", "setMissionImage:", "setFuelLeak:", "setSunNovaIn:", "launchFromStation", "blowUpStation", "sendAllShipsAway", "addPlanet:", "addMoon:", "debugOn", "debugOff", "debugMessage:", "playSound:", "setGuiToMissionScreen", // "setBackgroundFromDescriptionsKey:", // Is this ever used from a script? It seems a bad match for future plans of mine. -- Ahruman "setGalacticHyperspaceBehaviourTo:", "setGalacticHyperspaceFixedCoordsTo:", ); ai_methods = ( // Implicitly includes ai_and_action_methods "pauseAI:", "randomPauseAI:", "setDestinationToCurrentLocation", "setDesiredRangeTo:", "performFlyToRangeFromDestination", "setSpeedTo:", "setSpeedFactorTo:", "performIdle", "performStop", "performHold", "setTargetToPrimaryAggressor", "performAttack", "scanForNearestMerchantmen", "scanForRandomMerchantmen", "scanForLoot", "scanForRandomLoot", "setTargetToFoundTarget", "checkForFullHold", "performCollect", "performIntercept", "performFlee", "getWitchspaceEntryCoordinates", "setDestinationFromCoordinates", "performFaceDestination", "performTumble", "fightOrFleeMissile", "setCourseToPlanet", "setTakeOffFromPlanet", "landOnPlanet", "checkTargetLegalStatus", "setDestinationToTarget", "setDestinationWithinTarget", "checkCourseToDestination", "scanForOffenders", "setCourseToWitchpoint", "setDestinationToWitchpoint", "setDestinationToStationBeacon", "performHyperSpaceExit", "performHyperSpaceExitWithoutReplacing", "wormholeEscorts", "wormholeGroup", "wormholeEntireGroup", "commsMessage:", "commsMessageByUnpiloted:", "broadcastDistressMessage", "ejectCargo", "scanForThargoid", "scanForNonThargoid", "becomeUncontrolledThargon", "checkDistanceTravelled", "scanForHostiles", "fightOrFleeHostiles", "suggestEscort", "escortCheckMother", "performEscort", "checkGroupOddsVersusTarget", "groupAttackTarget", "scanForFormationLeader", "messageMother:", "messageSelf:", "setPlanetPatrolCoordinates", "setSunSkimStartCoordinates", "setSunSkimEndCoordinates", "setSunSkimExitCoordinates", "patrolReportIn", "checkForMotherStation", "sendTargetCommsMessage:", "markTargetForFines", "markTargetForOffence:", "scanForRocks", "performMining", "setDestinationToDockingAbort", "requestNewTarget", "rollD:", "scanForNearestShipWithPrimaryRole:", "scanForNearestShipHavingRole:", "scanForNearestShipWithAnyPrimaryRole:", "scanForNearestShipHavingAnyRole:", "scanForNearestShipWithScanClass:", "scanForNearestShipWithoutPrimaryRole:", "scanForNearestShipNotHavingRole:", "scanForNearestShipWithoutAnyPrimaryRole:", "scanForNearestShipNotHavingAnyRole:", "scanForNearestShipWithoutScanClass:", "scanForNearestShipMatchingPredicate:", "setCoordinates:", "checkForNormalSpace", "requestDockingCoordinates", "recallDockingInstructions", "addFuel:", "enterTargetWormhole", "scriptActionOnTarget:", "safeScriptActionOnTarget:", "sendScriptMessage:", "targetFirstBeaconWithCode:", "targetNextBeaconWithCode:", "setRacepointsFromTarget", "performFlyRacepoints", "debugDumpMessages", "dropMessages:", "exitAIWithMessage:", "ai_throwSparks", // Don't use, use throwSparks instead // StationEntity.m/stubs in ShipEntityAI.m "increaseAlertLevel", "decreaseAlertLevel", "launchPolice", "launchDefenseShip", "launchScavenger", "launchMiner", "launchPirateShip", "launchShuttle", "launchTrader", "launchEscort", "launchPatrol", "launchShipWithRole:", "abortAllDockings", // Simulated method "setStateTo:", // ShipEntity.m "fireECM", "becomeExplosion", "becomeEnergyBlast", "abortDocking", "deployEscorts", "dockEscorts", "setTargetToNearestStation", "setTargetToSystemStation", "setUpEscorts", "fireMissile" ); ai_and_action_methods = ( // ShipEntity.m "dealEnergyDamageWithinDesiredRange", "dumpCargo", "switchLightsOn", "switchLightsOff", "doNothing", "spawn:", // ShipEntityAI.m "setAITo:", "switchAITo:", // PlayerEntityLegacyScriptEngine.m "targetNearestHostile", ); query_methods = ( "status_string", "gui_screen_string", "galaxy_number", "planet_number", "score_number", "credits_number", "scriptTimer_number", "shipsFound_number", "commanderLegalStatus_number", "commanderLegalStatus_string", "d100_number", "pseudoFixedD100_number", "d256_number", "pseudoFixedD256_number", "clock_number", "clock_secs_number", "clock_mins_number", "clock_hours_number", "clock_days_number", "fuelLevel_number", "dockedAtMainStation_bool", "foundEquipment_bool", "sunWillGoNova_bool", "sunGoneNova_bool", "missionChoice_string", "dockedTechLevel_number", "dockedStationName_string", "systemGovernment_string", "systemGovernment_number", "systemEconomy_string", "systemEconomy_number", "systemTechLevel_number", "systemPopulation_number", "systemProductivity_number", "commanderName_string", "commanderRank_string", "commanderShip_string", "commanderShipDisplayName_string", "fuelLeakRate_number" ); shader_entity_binding_methods = ( "position", "orientation", "relativePosition", "viewpointOffset", "collisionRadius", "mass", "energy", "maxEnergy", "universalTime", "spawnTime", "timeElapsedSinceSpawn", "throwingSparks" ); shader_ship_binding_methods = ( "isBeacon", "isFrangible", "isCloaked", "isJammingScanning", "hasMilitaryScannerFilter", "messageTime", "groupID", "escortCount", "hasHostileTarget", "weaponRange", "scannerRange", "withinStationAegis", "fuel", "flightPitch", "flightRoll", "flightYaw", "flightSpeed", "maxFlightSpeed", "speedFactor", "damage", "laserHeatLevel", "hullHeatLevel", "entityPersonality", "entityPersonalityInt", "numberOfScannedShips", "destination", "rangeToDestination", "rangeToPrimaryTarget", "laserColor", "isHulk" ); shader_player_ship_binding_methods = ( "massLocked", "atHyperspeed", "velocityVector", "dialForwardShield", "dialAftShield", "dialMissileStatus", "dialFuelScoopStatus", "compassMode", "activeMissile", "dialMaxMissiles", "dialIdentEngaged", "alertCondition", "trumbleCount", // PlayerShipLegacyScriptEngine.m "galaxy_number", "planet_number", "score_number", "credits_number", "scriptTimer_number", "shipsFound_number", "legalStatus_number", "commanderLegalStatus_number", "pseudoFixedD100_number", "pseudoFixedD256_number", "clock_number", "clock_secs_number", "clock_mins_number", "clock_hours_number", "clock_days_number", "fuelLevel_number", "dockedTechLevel_number", "systemGovernment_number", "systemEconomy_number", "systemTechLevel_number", "systemPopulation_number", "systemProductivity_number", "fuelLeakRate_number" ); action_method_aliases = { "setGuiToStatusScreen" = "doNothing"; "initialiseTurret" = "doNothing"; }; query_method_aliases = { "fuel_leak_rate_number" = "fuelLeakRate_number"; "fuel_level_number" = "fuelLevel_number"; "legalStatus_number" = "commanderLegalStatus_number"; }; ai_method_aliases = { "scanForNearestShipWithRole:" = "scanForNearestShipWithPrimaryRole:"; "launchDefenceShip"= "launchDefenseShip"; "setTargetToStation" = "setTargetToNearestStation"; "performDocking" = "doNothing"; "exitAI" = ("exitAIWithMessage:", "RESTARTED"); "throwSparks" = "ai_throwSparks"; }; }