1package com.fs.starfarer.api.impl.campaign.missions;
7import com.fs.starfarer.api.Global;
8import com.fs.starfarer.api.campaign.CampaignFleetAPI;
9import com.fs.starfarer.api.campaign.InteractionDialogAPI;
10import com.fs.starfarer.api.campaign.PlanetAPI;
11import com.fs.starfarer.api.campaign.SectorEntityToken;
12import com.fs.starfarer.api.campaign.StarSystemAPI;
13import com.fs.starfarer.api.campaign.econ.MarketAPI;
14import com.fs.starfarer.api.campaign.rules.MemoryAPI;
15import com.fs.starfarer.api.impl.campaign.missions.hub.HubMissionWithSearch;
16import com.fs.starfarer.api.impl.campaign.procgen.themes.MiscellaneousThemeGenerator;
17import com.fs.starfarer.api.ui.SectorMapAPI;
18import com.fs.starfarer.api.ui.TooltipMakerAPI;
19import com.fs.starfarer.api.util.Misc;
20import com.fs.starfarer.api.util.Misc.Token;
24 public static enum Stage {
45 if (nexus !=
null && nexus.
isAlive()) {
52 if (p ==
null)
return null;
75 if (nexus !=
null && nexus.
isAlive()) {
157 info.
addPara(
"Recover information about a Hegemony fleet last seen in a Tri-Tachyon held "
158 +
"system during the first AI War, more than a hundred cycles ago. The fleet is rumored to "
159 +
"have been carrying a planetkiller weapon.", opad);
160 info.
addPara(
"The information should be contained in the data banks of a remnant Nexus"
161 +
" located in the " +
168 info.
addPara(
"You've destroyed a remnant Nexus and recovered information about "
169 +
"a Hegemony fleet estimated to be carrying a planetkiller weapon.", opad);
170 info.
addPara(
"A log entry records "
171 +
"a large Ordo sent in pursuit; its last hyperwave report placed it "
173 ". The log entry dates to the first AI War, more than a hundred cycles ago", opad);
175 info.
addPara(
"A mysterious voice, some kind of AI, provided you with coordinates for the " + pks.
getNameWithLowercaseTypeShort() +
", and implied that the planetkiller weapon could be found there.", opad);
176 info.
addPara(
"Perhaps it brings 'much amusement' to this AI to not provide more detailed instructions.", opad);
179 info.
addPara(
"The data banks of the remnant Nexus contained information about the Hegemony fleet rumored "
180 +
"to be carrying a planetkiller weapon. ", opad);
181 info.
addPara(
"A log entry records "
182 +
"a large Ordo sent in pursuit; its last hyperwave report placed it "
184 ". The log entry dates to the first AI War, more than a hundred cycles ago", opad);
220 return super.getPostfixForState();
224 return "The Scythe of Orion";
232 super.acceptImpl(dialog, memoryMap);
238 super.notifyEnding();
244 Map<String, MemoryAPI> memoryMap) {
245 if (action.equals(
"showNexusSystem")) {
247 if (system !=
null) {
253 }
else if (action.equals(
"hideNexusSystem")) {
257 return super.callAction(action, ruleId, dialog, params, memoryMap);
static SectorAPI getSector()
static boolean gotDataFromMysteryAI()
boolean create(MarketAPI createdAt, boolean barEvent)
static CampaignFleetAPI getNexus()
String getMissionTypeNoun()
void endFailureImpl(InteractionDialogAPI dialog, Map< String, MemoryAPI > memoryMap)
SectorEntityToken getMapLocation(SectorMapAPI map, Object currentStage)
static StarSystemAPI getPKSystem()
void updateInteractionDataImpl()
static boolean startedAtNexus()
boolean addNextStepText(TooltipMakerAPI info, Color tc, float pad)
void addDescriptionForNonEndStage(TooltipMakerAPI info, float width, float height)
StarSystemAPI getNexusSystem()
boolean callAction(String action, String ruleId, InteractionDialogAPI dialog, List< Token > params, Map< String, MemoryAPI > memoryMap)
static boolean startedAtPather()
static MarketAPI getTundraMarket()
void acceptImpl(InteractionDialogAPI dialog, Map< String, MemoryAPI > memoryMap)
static PlanetAPI getTundra()
String getPostfixForState()
void connectWithGlobalFlag(Object from, Object to, String flag)
void setRepPenaltyPerson(Float repPenaltyPerson)
boolean setGlobalReference(String key)
void connectWithEntityNotAlive(Object from, Object to, SectorEntityToken entity)
void setRepPenaltyFaction(Float repPenaltyFaction)
void makeImportant(PersonAPI person, String flag, Enum ... stages)
Set< String > getIntelTags(SectorMapAPI map)
void setSuccessStage(Object id)
void setFailureStage(Object id)
void setStageOnGlobalFlag(Object to, String flag)
void setPersonOverride(PersonAPI personOverride)
transient Object startingStage
void setStartingStage(Object startingStage)
FactionAPI getFactionForUIColors()
void triggerSetGlobalMemoryValue(final String key, final Object value)
void beginStageTrigger(Object ... stages)
static String PK_PLANET_KEY
static String PK_SYSTEM_KEY
static String PK_NEXUS_KEY
static Color getHighlightColor()
VisualPanelAPI getVisualPanel()
String getNameWithLowercaseType()
String getNameWithLowercaseTypeShort()
Map< String, Object > getPersistentData()
MemoryAPI getMemoryWithoutUpdate()
StarSystemAPI getStarSystem()
SectorEntityToken getHyperspaceAnchor()
SectorEntityToken getCenter()
void showMapMarker(SectorEntityToken marker, String title, Color titleColor, boolean withIntel, String icon, String text, Set< String > intelTags)
void removeMapMarkerFromPersonInfo()
boolean getBoolean(String key)