public class DistressResponse extends BaseCommandPlugin
Modifier and Type | Field and Description |
---|---|
protected InteractionDialogAPI |
dialog |
protected SectorEntityToken |
entity |
protected FactionAPI |
entityFaction |
protected FactionAPI |
faction |
protected CampaignFleetAPI |
fleet |
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 |
static float |
REP_PER_USE |
static float |
REP_SCAM |
protected TextPanelAPI |
text |
Constructor and Description |
---|
DistressResponse() |
Modifier and Type | Method and Description |
---|---|
protected void |
acceptAid() |
protected void |
cargoPodsScam() |
protected void |
didNotNeedHelp() |
boolean |
execute(java.lang.String ruleId,
InteractionDialogAPI dialog,
java.util.List<Misc.Token> params,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
protected int |
getMaxFuel() |
protected int |
getMaxSupplies() |
protected int |
getNeededFuel() |
protected int |
getNeededSupplies() |
protected int |
getNumUses() |
protected int |
getPayment() |
protected float |
getRepPenalty() |
protected void |
init() |
protected boolean |
isCargoPodsScam() |
protected void |
neverMind() |
protected void |
pay() |
protected boolean |
playerNeedsHelp() |
protected void |
thank() |
protected void |
unrespond() |
doesCommandAddOptions, getEntityMemory, getOptionOrder
public static float REP_PER_USE
public static float REP_SCAM
protected CampaignFleetAPI playerFleet
protected CampaignFleetAPI fleet
protected SectorEntityToken entity
protected FactionAPI playerFaction
protected FactionAPI entityFaction
protected TextPanelAPI text
protected OptionPanelAPI options
protected CargoAPI playerCargo
protected MemoryAPI memory
protected InteractionDialogAPI dialog
protected java.util.Map<java.lang.String,MemoryAPI> memoryMap
protected PersonAPI person
protected FactionAPI faction
public boolean execute(java.lang.String ruleId, InteractionDialogAPI dialog, java.util.List<Misc.Token> params, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
protected void init()
protected int getPayment()
protected int getNumUses()
protected boolean playerNeedsHelp()
protected void cargoPodsScam()
protected boolean isCargoPodsScam()
protected int getNeededFuel()
protected int getNeededSupplies()
protected float getRepPenalty()
protected void didNotNeedHelp()
protected void neverMind()
protected int getMaxFuel()
protected int getMaxSupplies()
protected void pay()
protected void thank()
protected void acceptAid()
protected void unrespond()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.