public class AICores extends BaseCommandPlugin
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
buysAICores |
protected InteractionDialogAPI |
dialog |
protected SectorEntityToken |
entity |
protected FactionAPI |
entityFaction |
protected FactionAPI |
faction |
protected MemoryAPI |
memory |
protected java.util.Map<java.lang.String,MemoryAPI> |
memoryMap |
protected OptionPanelAPI |
options |
protected PersonAPI |
person |
protected CargoAPI |
playerCargo |
protected FactionAPI |
playerFaction |
protected CampaignFleetAPI |
playerFleet |
protected float |
repMult |
protected TextPanelAPI |
text |
protected float |
valueMult |
| Constructor and Description |
|---|
AICores() |
| Modifier and Type | Method and Description |
|---|---|
protected float |
computeCoreCreditValue(CargoAPI cargo) |
protected float |
computeCoreReputationValue(CargoAPI cargo) |
boolean |
execute(java.lang.String ruleId,
InteractionDialogAPI dialog,
java.util.List<Misc.Token> params,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
static float |
getBaseRepValue(java.lang.String coreType) |
protected boolean |
personCanAcceptCores() |
protected boolean |
playerHasCores() |
protected void |
selectCores() |
doesCommandAddOptions, getEntityMemory, getOptionOrderprotected CampaignFleetAPI playerFleet
protected SectorEntityToken entity
protected FactionAPI playerFaction
protected FactionAPI entityFaction
protected TextPanelAPI text
protected OptionPanelAPI options
protected CargoAPI playerCargo
protected InteractionDialogAPI dialog
protected FactionAPI faction
protected boolean buysAICores
protected float valueMult
protected float repMult
public AICores()
public boolean execute(java.lang.String ruleId, InteractionDialogAPI dialog, java.util.List<Misc.Token> params, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
protected boolean personCanAcceptCores()
protected void selectCores()
protected float computeCoreCreditValue(CargoAPI cargo)
protected float computeCoreReputationValue(CargoAPI cargo)
public static float getBaseRepValue(java.lang.String coreType)
protected boolean playerHasCores()