Class AddRaidObjective
java.lang.Object
com.fs.starfarer.api.impl.campaign.rulecmd.BaseCommandPlugin
com.fs.starfarer.api.impl.campaign.rulecmd.salvage.AddRaidObjective
- All Implemented Interfaces:
CommandPlugin
Icon id is under raidObjectives in settings.json.
Actually it seems to work with both; never mind the below -Alex
Note: this method ONLY works when option id "mktRaidNonMarket" is used as the option entering the raid menu.
A standard raid will not include the options added with these. In particular, this is because this command
specifies a trigger to call when going back from the raid menu, and that doesn't make sense in the context of
a "normal" raid.
AddRaidObjective
<optional:show in custom raid menu only> <optional: tooltip>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(String ruleId, InteractionDialogAPI dialog, List<Misc.Token> params, Map<String, MemoryAPI> memoryMap) Methods inherited from class com.fs.starfarer.api.impl.campaign.rulecmd.BaseCommandPlugin
doesCommandAddOptions, getEntityMemory, getOptionOrder
-
Constructor Details
-
AddRaidObjective
public AddRaidObjective()
-
-
Method Details
-
execute
public boolean execute(String ruleId, InteractionDialogAPI dialog, List<Misc.Token> params, Map<String, MemoryAPI> memoryMap)
-