Uses of Class
com.fs.starfarer.api.impl.campaign.rulecmd.BaseCommandPlugin
Packages that use BaseCommandPlugin
Package
Description
-
Uses of BaseCommandPlugin in com.fs.starfarer.api.impl.campaign.rulecmd
Subclasses of BaseCommandPlugin in com.fs.starfarer.api.impl.campaign.rulecmdModifier and TypeClassDescriptionclass
Assumes BeginMissionfalse was called earlier. class
Usage: AbortWait $waitHandleclass
Assumes BeginMissionfalse was called earlier. class
ActivateAbilityclass
AddAbilityclass
AddCommodityclass
AddCreditsclass
class
Per month can be negative.class
AddPotentialContactclass
First param is one of: RESOURCES WEAPONS FIGHTER_CHIP SPECIAL SPECIAL catalytic_core 1 SPECIAL ship_bp paragon 1 WEAPONS ionpulser 1 AddRemoveAnyItemclass
AddRemoveCommodityclass
class
AddShipclass
RemoveShipclass
Gives the player the specified number of story points.class
class
AddTextSmall "text OR text OR text"class
AddXPclass
AdjustRepclass
AdjustRepActivePersonclass
AdjustRepActivePersonclass
AnyNearbyFleetsHostileAndAwareclass
ApplyCRDamageApplyCRDamage $entity.fleetPoints 0.2 1 "Vindictive search" The first param is the base number of fleet points for the amount of CR damage to do - so, for an inspection it's based on the fleet points of the inspecting fleet, but it could also just be a flat number, or based on the player fleet if we wanted something like "half your ships take CR damage" The second param is the multiplier for that number (basically, making up for the fact that you can't say "$fleetPoints * 0.2" in rules - so the multiplication happens inside the command. class
ArePatrolsNearbyclass
Person must have been added to SectorAPI.getImportantPeople().class
Assumes active person is the mission giver.class
class
class
class
Call $referenceclass
Use "Call" instead; same functionality, more accurate and shorter name.class
IsSeenByPatrolsclass
class
class
CheckSetting <boolean setting in settings.json>class
Super unused.class
class
class
class
class
ActivateAbilityclass
DespawnEntityCopyright 2015 Fractal Softworks, LLC class
class
DoCanAffordCheckclass
Usage: AbortWait $waitHandleclass
class
class
class
class
class
class
GiveOtherFleetAssignmentclass
For hostile activity ("HA") related tasks.class
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".class
Of the local market's faction, if any.class
class
class
class
class
class
class
HighlightComms Changes the "open comm link" option to a yellow color.class
For Hyperspace Topography ("HT") related tasks.class
gte = greater than or equals ImportanceAtLeast $importance testclass
IncreaseSmugglingSuspicionAn amount of 1 is maxed-out suspicion. class
class
IsSeenByAnyFleetclass
IsSeenByPatrolsclass
IsSoughtByPatrolsclass
KantaCMDclass
LPTitheCalcclass
class
class
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<optional: also know player identity regardless of transponder, defaults to false> class
MakeNearbyFleetsNonHostileclass
OpenCoreTab<optional: onlyShowTargetTabShortcut> class
Doesn't matter unless the other fleet is also hostile or preventing disengage.class
Doesn't matter unless the other fleet is also hostile or preventing disengage.class
class
MakeOtherFleetAvoidContactCopyright 2015 Fractal Softworks, LLC class
MakeOtherFleetDoThingCopyright 2015 Fractal Softworks, LLC class
MakeOtherFleetGoAwayCopyright 2015 Fractal Softworks, LLC class
class
class
class
class
class
class
Prevents disengaging by player even if not hostile.class
class
Does not start an actual conversation, but does set them as the active person (so $heOrShe etc tokens work)class
Does not start an actual conversation, but does set them as the active person (so $heOrShe etc tokens work)class
Can pass in an invalid person ID to use the active person instead.class
NGCAddCargoclass
NGCAddAptitudePointsclass
NGCAddCreditsclass
$ngcAddOfficer $ngcSkipTutorialclass
NGCAddShipclass
NGCAddShipclass
$ngcAddOfficer $ngcSkipTutorialclass
NGCCanSkipTutorialclass
NGCDoneclass
NGCRemoveCargoclass
NGCAddShipclass
NGCSetAptitudeclass
NGCSetCustomclass
NGCSetDifficulty <difficulty, EASY | NORMAL>class
NGCSetSkillclass
NGCSetStartingLocationclass
NGCSetDifficulty <difficulty, EASY | NORMAL>class
class
OpenCoreTab<CoreUITradeMode (optional)> class
class
OpenCoreTab<CoreUITradeMode (optional)> class
class
class
Pauses all music, custom or otherwise.class
OpenCoreTab<CoreUITradeMode (optional)> class
class
For planetkiller ("PK") related tasks.class
PLAddEntryclass
Plays custom music with the provided ID.class
class
PlayerFleetHasShipWithIdclass
PlayerFleetHasShipWithIdclass
class
PlayerHasCargo <cargo id - commodity, weapon, fighter, special item> <optional: quantity, default 1>class
The sound should be stereo.class
class
SetActiveMission $missionEventHandleclass
AddRemoveCommodityclass
RemoveContactclass
class
RemoveShipclass
PlayerFleetHasShipWithIdclass
RemoveShipWithIdclass
RepairAll <useSupplies, true by default> Copyright 2017 Fractal Softworks, LLCclass
class
class
class
gte = greater than or equals RepGTERepLevel class
RepIsAtBestRepLevel class
RepIsAtWorstRepLevel class
lte = less than or equal RepLTERepLevel class
Sets active person to null.class
Restores visual saved by SaveCurrentVisual.class
Ends custom music playback and restarts whatever the default music would be.class
RollProbabilityclass
Saves current visual so it can be restored using RestoreCurrentVisual.class
SetActiveMission $missionEventHandleclass
SetCodexEntryIdSets the id of the entry to show when the Codex is opened, with an expiration of 0. class
SetColor $variable colorclass
class
class
SetHistorianBlurbShownAfterDelayclass
SetLaterclass
SetNearbyFleetsVariableclass
SetOptionColorclass
SetOptionText optionId newTextclass
SetFleetAllowJump <true|false> Copyright 2015 Fractal Softworks, LLCclass
SetPersonHidden set person hidden boolean by character idclass
SetPersonPortrait by person id, sprite as defined in settings "characters" sectionclass
SetPromptText"-" is a special value for no text Copyright 2015 Fractal Softworks, LLC class
SetShortcutclass
SetStoryColorclass
SetStoryColorclass
class
class
class
class
SetTooltipHighlightsclass
class
ShowSecondPersonclass
ShowImageVisualclass
class
ShowIntelMarkerclass
ShowPersonVisual <optional - minimal mode>class
Parameter is key from settings.json under "illustrations".class
ShowRemainingCapacityclass
ShowResCost<optional: consumed> (repeated); optional: width of each panel ShowResCost crew 1000 supplies 100 true 200 = requires 1000 crew, 100 supplis (consumed), each item is 200 pixels wide class
ShowSecondPersonclass
ShowSecondPersonclass
class
SubCreditsclass
TakeRepCheckclass
For Tri-Tachyon (inc) Business (c) TT_CMDclass
Unhide person in CommDirectory by idclass
class
UniqueEncounterclass
class
class
SetActiveMission $missionEventHandleclass
class
SetHistorianBlurbShownAfterDelay -
Uses of BaseCommandPlugin in com.fs.starfarer.api.impl.campaign.rulecmd.academy
Subclasses of BaseCommandPlugin in com.fs.starfarer.api.impl.campaign.rulecmd.academyModifier and TypeClassDescriptionclass
"I'll buy you a pint on coatl station"class
CESetHidden<true|false> class
Does not start an actual conversation, but does set them as the active person (so $heOrShe etc tokens work)class
Does not start an actual conversation, but does set them as the active person (so $heOrShe etc tokens work)class
Does not start an actual conversation, but does set them as the active person (so $heOrShe etc tokens work)class
Unhide the comm directory entities for baird and sebestyen in the Galatia Academy -
Uses of BaseCommandPlugin in com.fs.starfarer.api.impl.campaign.rulecmd.missions
Subclasses of BaseCommandPlugin in com.fs.starfarer.api.impl.campaign.rulecmd.missionsModifier and TypeClassDescriptionclass
BarCMDclass
NotifyEvent $eventHandleclass
class
NotifyEvent $eventHandleclass
NotifyEvent $eventHandleclass
MissionHubCMDclass
ShrineCMD<optional id - either market, or entity> -
Uses of BaseCommandPlugin in com.fs.starfarer.api.impl.campaign.rulecmd.newgame
Subclasses of BaseCommandPlugin in com.fs.starfarer.api.impl.campaign.rulecmd.newgame -
Uses of BaseCommandPlugin in com.fs.starfarer.api.impl.campaign.rulecmd.salvage
Subclasses of BaseCommandPlugin in com.fs.starfarer.api.impl.campaign.rulecmd.salvageModifier and TypeClassDescriptionclass
AddBarEventclass
Icon id is under raidObjectives in settings.json.class
NotifyEvent $eventHandleclass
NotifyEvent $eventHandleclass
class
NotifyEvent $eventHandleclass
HostileFleetNearbyAndAwareclass
HostileFleetNearbyAndAwareclass
class
class
NotifyEvent $eventHandleclass
NotifyEvent $eventHandleclass
class
RemoveBarEventclass
SalvageDefenderInteractionclass
NotifyEvent $eventHandleclass
Actually just generates automated defenses, not salvage.class
SalvageSpecialInteractionclass
NotifyEvent $eventHandleclass