Class DemandCargo
java.lang.Object
com.fs.starfarer.api.impl.campaign.rulecmd.BaseCommandPlugin
com.fs.starfarer.api.impl.campaign.rulecmd.salvage.DemandCargo
- All Implemented Interfaces:
CommandPlugin
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected DemandCargo.DemandData
protected InteractionDialogAPI
protected SectorEntityToken
protected FactionAPI
protected FactionAPI
protected MemoryAPI
protected OptionPanelAPI
protected CampaignFleetAPI
protected PersonAPI
protected CargoAPI
protected FactionAPI
protected CampaignFleetAPI
protected float
protected TextPanelAPI
protected float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
boolean
execute
(String ruleId, InteractionDialogAPI dialog, List<Misc.Token> params, Map<String, MemoryAPI> memoryMap) protected Random
protected void
Methods inherited from class com.fs.starfarer.api.impl.campaign.rulecmd.BaseCommandPlugin
doesCommandAddOptions, getEntityMemory, getOptionOrder
-
Field Details
-
playerFleet
-
otherFleet
-
entity
-
playerFaction
-
entityFaction
-
text
-
options
-
playerCargo
-
memory
-
dialog
-
memoryMap
-
person
-
faction
-
buysAICores
protected boolean buysAICores -
valueMult
protected float valueMult -
repMult
protected float repMult -
data
-
-
Constructor Details
-
DemandCargo
public DemandCargo()
-
-
Method Details
-
execute
public boolean execute(String ruleId, InteractionDialogAPI dialog, List<Misc.Token> params, Map<String, MemoryAPI> memoryMap) -
getRandom
-
computeAndPrintDemands
protected void computeAndPrintDemands() -
selectCores
protected void selectCores()
-