| Interface | Description |
|---|---|
| CallEvent.CallableEvent |
| Class | Description |
|---|---|
| AbortMission |
Assumes BeginMission
|
| AbortWait |
Usage: AbortWait $waitHandle
|
| AcceptMission |
Assumes BeginMission
|
| ActivateAbility |
ActivateAbility
|
| AddAbility |
AddAbility
|
| AddCommodity |
AddCommodity
|
| AddCredits |
AddCredits
|
| AddOption | |
| AddPopGrowth |
Per month can be negative.
|
| AddPotentialContact |
AddPotentialContact
|
| AddRemoveAnyItem |
First param is one of:
RESOURCES
WEAPONS
FIGHTER_CHIP
SPECIAL
SPECIAL catalytic_core 1
SPECIAL ship_bp paragon 1
WEAPONS ionpulser 1
AddRemoveAnyItem
|
| AddRemoveCommodity |
AddRemoveCommodity
|
| AddSelector | |
| AddShip |
AddShip
|
| AddShipToOtherFleet |
RemoveShip
|
| AddStoryPoints |
Gives the player the specified number of story points.
|
| AddText | |
| AddTextSmall |
AddTextSmall "text OR text OR text"
|
| AddXP |
AddXP
|
| AdjustRep |
AdjustRep
|
| AdjustRepActivePerson |
AdjustRepActivePerson
|
| AdjustRepPerson |
AdjustRepActivePerson
|
| AnyNearbyFleetsHostileAndAware |
AnyNearbyFleetsHostileAndAware
|
| ApplyCRDamage |
ApplyCRDamage
|
| ArePatrolsNearby |
ArePatrolsNearby
|
| BaseCommandPlugin | |
| BeginConversation |
Person must have been added to SectorAPI.getImportantPeople().
|
| BeginMission |
Assumes active person is the mission giver.
|
| BroadcastCancelPlayerAction | |
| BroadcastPlayerAction | |
| BroadcastPlayerWaitAction | |
| Call |
Call $reference
|
| CallEvent |
Use "Call" instead; same functionality, more accurate and shorter name.
|
| CaresAboutTransponder |
IsSeenByPatrols
|
| CargoScan | |
| CargoScan.CargoScanResult | |
| CargoScanApplyResult | |
| CheckSetting |
CheckSetting
|
| ClearActiveMission |
Super unused.
|
| ClearText | |
| CustomsInspectionApplyRepLoss | |
| CustomsInspectionApplyResult | |
| CustomsInspectionGenerateResult | |
| CustomsInspectionGenerateResult.CargoInspectionResult | |
| DeactivateAbility |
ActivateAbility
|
| DespawnEntity |
DespawnEntity
|
| DismissDialog | |
| DoCanAffordCheck |
DoCanAffordCheck
|
| DumpMemory |
Usage: AbortWait $waitHandle
|
| DwellerCMD | |
| EndConversation | |
| expire | |
| FireAll | |
| FireAll.OptionAdder | |
| FireBest | |
| FleetDesc | |
| GiveOtherFleetAssignment |
GiveOtherFleetAssignment
|
| HA_CMD |
For hostile activity ("HA") related tasks.
|
| HA_CMD.PLPunExData | |
| HA_CMD.StationKingScript | |
| HailPlayer |
HailPlayer
Equivalent to:
AddText "You're being hailed by the $faction $otherShipOrFleet." $faction.baseColor
$hailing = true 0
The latter changes the "open comm link" text to a yellow "accept the comm request".
|
| HasAttentionOfAuthorities |
Of the local market's faction, if any.
|
| HideFirstPerson | |
| HideMapMarker | |
| HideSecondPerson | |
| HideThirdPerson | |
| HideVisual | |
| Highlight | |
| HighlightComms |
HighlightComms
Changes the "open comm link" option to a yellow color.
|
| HT_CMD |
For Hyperspace Topography ("HT") related tasks.
|
| ImportanceAtLeast |
gte = greater than or equals
ImportanceAtLeast $importance test
|
| IncreaseSmugglingSuspicion |
IncreaseSmugglingSuspicion
|
| InstallCommSniffer | |
| IsSeenByAnyFleet |
IsSeenByAnyFleet
|
| IsSeenByPatrols |
IsSeenByPatrols
|
| IsSoughtByPatrols |
IsSoughtByPatrols
|
| KantaCMD |
KantaCMD
|
| KantaCMD.DelayedInstallItemScript | |
| KantaCMD.FusionLampColorChanger | |
| KantaCMD.KantaFavorTrigger | |
| KantaCMD.TakingBackTheNanoforgeChecker | |
| LPTitheCalc |
LPTitheCalc
|
| MakeFullySurveyed | |
| MakeHostileWhileTOff | |
| MakeNearbyFleetsHostile |
Issues:
The dialog greeting text is still the same
They still try to engage in toll collection
NOT CURRENTLY USED, SHOULDN'T BE AS IT DOESN'T WORK
MakeNearbyFleetsHostile
|
| MakeNearbyFleetsNonHostile |
MakeNearbyFleetsNonHostile
|
| MakeOptionOpenCore |
OpenCoreTab
|
| MakeOtherFleetAggressive |
Doesn't matter unless the other fleet is also hostile or preventing disengage.
|
| MakeOtherFleetAggressiveOnce |
Doesn't matter unless the other fleet is also hostile or preventing disengage.
|
| MakeOtherFleetAllowDisengage | |
| MakeOtherFleetAvoidContact |
MakeOtherFleetAvoidContact
|
| MakeOtherFleetDoThing |
MakeOtherFleetDoThing
|
| MakeOtherFleetGoAway |
MakeOtherFleetGoAway
|
| MakeOtherFleetHostile | |
| MakeOtherFleetImportant | |
| MakeOtherFleetLowRepImpact | |
| MakeOtherFleetNonAggressive | |
| MakeOtherFleetNonHostile | |
| MakeOtherFleetNoRepImpact | |
| MakeOtherFleetPreventDisengage |
Prevents disengaging by player even if not hostile.
|
| MakePlayerImmediatelyAttackable | |
| MarketGainRandomRep |
Does not start an actual conversation, but does set them as the active person (so $heOrShe etc tokens work)
|
| MarketReduceRandomRep |
Does not start an actual conversation, but does set them as the active person (so $heOrShe etc tokens work)
|
| MovePersonToMarket |
Can pass in an invalid person ID to use the active person instead.
|
| NGCAddCargo |
NGCAddCargo
|
| NGCAddCharacterPoints |
NGCAddAptitudePoints
|
| NGCAddCredits |
NGCAddCredits
|
| NGCAddDevStartingScript |
$ngcAddOfficer
$ngcSkipTutorial
|
| NGCAddShip |
NGCAddShip
|
| NGCAddShipSilent |
NGCAddShip
|
| NGCAddStandardStartingScript |
$ngcAddOfficer
$ngcSkipTutorial
|
| NGCCanSkipTutorial |
NGCCanSkipTutorial
|
| NGCDone |
NGCDone
|
| NGCRemoveCargo |
NGCRemoveCargo
|
| NGCRemoveShip |
NGCAddShip
|
| NGCSetAptitude |
NGCSetAptitude
|
| NGCSetCustom |
NGCSetCustom
|
| NGCSetDifficulty |
NGCSetDifficulty
|
| NGCSetSkill |
NGCSetSkill
|
| NGCSetStartingLocation |
NGCSetStartingLocation
|
| NGCSetWithTimePass |
NGCSetDifficulty
|
| NPCWantsComms | |
| OpenCommDirectory |
OpenCoreTab
|
| OpenComms | |
| OpenCoreTab |
OpenCoreTab
|
| PaginatedOptions | |
| PaginatedOptions.PaginatedOption | |
| PaginatedOptionsExample | |
| PauseMusic |
Pauses all music, custom or otherwise.
|
| PickCommsNPC |
OpenCoreTab
|
| Ping | |
| PK_CMD |
For planetkiller ("PK") related tasks.
|
| PLAddEntry |
PLAddEntry
|
| PlayCustomMusic |
Plays custom music with the provided ID.
|
| PlayerFleetHasFragmentShips | |
| PlayerFleetHasShipWithBaseHull |
PlayerFleetHasShipWithId
|
| PlayerFleetHasShipWithId |
PlayerFleetHasShipWithId
|
| PlayerFleetHasShroudedShips | |
| PlayerHasCargo |
PlayerHasCargo
|
| PlaySound |
The sound should be stereo.
|
| PrintDescription | |
| ReinitDialog |
SetActiveMission $missionEventHandle
|
| RemoveCommodity |
AddRemoveCommodity
|
| RemoveContact |
RemoveContact
|
| RemoveOption | |
| RemoveShip |
RemoveShip
|
| RemoveShipWithBaseHull |
PlayerFleetHasShipWithId
|
| RemoveShipWithId |
RemoveShipWithId
|
| RepairAll |
RepairAll
|
| RepairAvailable | |
| RepairEnoughSupplies | |
| RepairNeeded | |
| RepGTE |
gte = greater than or equals
RepGTE
|
| RepIsAtBest |
RepIsAtBest
|
| RepIsAtWorst |
RepIsAtWorst
|
| RepLTE |
lte = less than or equal
RepLTE
|
| ResetActivePerson |
Sets active person to null.
|
| RestoreSavedVisual |
Restores visual saved by SaveCurrentVisual.
|
| ResumeNormalMusic |
Ends custom music playback and restarts whatever the default music would be.
|
| RollProbability |
RollProbability
|
| SaveCurrentVisual |
Saves current visual so it can be restored using RestoreCurrentVisual.
|
| SetActiveMission |
SetActiveMission $missionEventHandle
|
| SetCodexEntryId |
SetCodexEntryId
|
| SetColor |
SetColor $variable color
|
| SetEnabled | |
| SetFlagship | |
| SetHistorianBlurbShownAfterDelay |
SetHistorianBlurbShownAfterDelay
|
| SetLater |
SetLater
|
| SetNearbyFleetsVariable |
SetNearbyFleetsVariable
|
| SetOptionColor |
SetOptionColor
|
| SetOptionText |
SetOptionText optionId newText
|
| SetOtherFleetAllowJump |
SetFleetAllowJump
|
| SetPersonHidden |
SetPersonHidden set person hidden boolean by character id
|
| SetPersonPortrait |
SetPersonPortrait by person id, sprite as defined in settings "characters" section
|
| SetPromptText |
SetPromptText
|
| SetShortcut |
SetShortcut
|
| SetStoryColor |
SetStoryColor
|
| SetStoryOption |
SetStoryColor
|
| SetStoryOption.BaseOptionStoryPointActionDelegate | |
| SetStoryOption.StoryOptionParams | |
| SetTextHighlightColors | |
| SetTextHighlights | |
| SetTooltip | |
| SetTooltipHighlightColors | |
| SetTooltipHighlights |
SetTooltipHighlights
|
| ShowDefaultVisual | |
| ShowFirstPerson |
ShowSecondPerson
|
| ShowImageVisual |
ShowImageVisual
|
| ShowLargePlanet | |
| ShowMapMarker |
ShowIntelMarker
|
| ShowPersonVisual |
ShowPersonVisual
|
| ShowPic |
Parameter is key from settings.json under "illustrations".
|
| ShowRemainingCapacity |
ShowRemainingCapacity
|
| ShowResCost |
ShowResCost
|
| ShowResCost.ResData | |
| ShowSecondPerson |
ShowSecondPerson
|
| ShowThirdPerson |
ShowSecondPerson
|
| ShowThreatPersonVisual | |
| SubCredits |
SubCredits
|
| TakeRepCheck |
TakeRepCheck
|
| TT_CMD |
For Tri-Tachyon (inc) Business (c)
TT_CMD
|
| UnhidePerson |
Unhide person in CommDirectory by id
|
| UninstallCommSniffer | |
| UniqueEncounter |
UniqueEncounter
|
| unset | |
| unsetAll | |
| UpdateMemory |
SetActiveMission $missionEventHandle
|
| Wait | |
| WasHistorianBlurbShown |
SetHistorianBlurbShownAfterDelay
|
| Enum | Description |
|---|---|
| CustomsInspectionGenerateResult.CargoInspectionResultType | |
| DwellerCMD.DwellerStrength |