Class TutorialMissionIntel
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
com.fs.starfarer.api.impl.campaign.tutorial.TutorialMissionIntel
- All Implemented Interfaces:
IntelInfoPlugin
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,CallEvent.CallableEvent
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.fs.starfarer.api.campaign.comm.IntelInfoPlugin
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PlanetAPI
protected PersonAPI
protected SectorEntityToken
protected SectorEntityToken
protected float
protected FactionAPI
protected SectorEntityToken
protected SectorEntityToken
protected PlanetAPI
protected PersonAPI
protected PersonAPI
protected PlanetAPI
protected int
protected SectorEntityToken
static final String
protected SectorEntityToken
protected StarSystemAPI
protected PlanetAPI
static final String
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, tagsForSort, timestamp
Fields inherited from interface com.fs.starfarer.api.campaign.comm.IntelInfoPlugin
LIST_ITEM_TEXT_WIDTH, NEW_DAYS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
protected void
advanceImpl
(float amount) boolean
callEvent
(String ruleId, InteractionDialogAPI dialog, List<Misc.Token> params, Map<String, MemoryAPI> memoryMap) boolean
void
static PersonAPI
createMainContact
(PlanetAPI ancyra) void
createSmallDescription
(TooltipMakerAPI info, float width, float height) protected void
endEvent()
static void
endGalatiaPortionOfMission
(boolean withStipend, boolean didTutorial) getIcon()
40x40, no icon if null.getIntelTags
(SectorMapAPI map) Method NEEDS to handle map being null gracefully.static PersonAPI
protected String
protected String
getName()
boolean
isHidden()
Whether to actually show this piece of intel in the intel screen/show messages or updates for it, despite it being technically known to the player.static boolean
Either this or the tutorial script.protected void
boolean
protected void
saveNag()
protected void
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
addBulletPoints, addDays, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addLogTimestamp, addMarketTable, addMarketToList, addMarketToList, advance, autoAddCampaignMessage, bullet, buttonPressCancelled, buttonPressConfirmed, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, createConfirmationPrompt, createDeleteConfirmationPrompt, createLargeDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getImportantIcon, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortStringNewestFirst, getSortStringNewestFirst, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTagsForSort, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyEnding, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, reportRemovedIntel, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, setTagsForSort, shouldRemoveIntel, storyActionConfirmed, tableRowClicked, unindent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fs.starfarer.api.EveryFrameScript
advance, isDone
-
Field Details
-
TUT_STAGE
- See Also:
-
REASON
- See Also:
-
elapsedDays
protected float elapsedDays -
system
-
ancyra
-
pontus
-
tetra
-
derinkuyu
-
probe
-
inner
-
fringe
-
detachment
-
relay
-
mainContact
-
dataContact
-
jangalaContact
-
jangala
-
faction
-
stage
-
preRecoverFleetSize
protected int preRecoverFleetSize
-
-
Constructor Details
-
TutorialMissionIntel
public TutorialMissionIntel()
-
-
Method Details
-
isTutorialInProgress
public static boolean isTutorialInProgress()Either this or the tutorial script. Returns false at the "deliver report to Jangala" stage.- Returns:
-
createMainContact
-
getJangalaContact
-
getMainContact
-
updateStage
-
endEvent
protected void endEvent() -
notifyEnded
protected void notifyEnded()- Overrides:
notifyEnded
in classBaseIntelPlugin
-
advanceImpl
protected void advanceImpl(float amount) - Overrides:
advanceImpl
in classBaseIntelPlugin
-
callEvent
public boolean callEvent(String ruleId, InteractionDialogAPI dialog, List<Misc.Token> params, Map<String, MemoryAPI> memoryMap) - Specified by:
callEvent
in interfaceCallEvent.CallableEvent
- Overrides:
callEvent
in classBaseIntelPlugin
-
endGalatiaPortionOfMission
public static void endGalatiaPortionOfMission(boolean withStipend, boolean didTutorial) -
saveNag
protected void saveNag() -
addWeaponsToStorage
public void addWeaponsToStorage() -
getWeaponForSlot
-
pick
-
createIntelInfo
- Specified by:
createIntelInfo
in interfaceIntelInfoPlugin
- Overrides:
createIntelInfo
in classBaseIntelPlugin
-
addBulletPoints
- Overrides:
addBulletPoints
in classBaseIntelPlugin
-
getName
- Overrides:
getName
in classBaseIntelPlugin
-
getFactionForUIColors
- Specified by:
getFactionForUIColors
in interfaceIntelInfoPlugin
- Overrides:
getFactionForUIColors
in classBaseIntelPlugin
-
getMainContactPostName
-
getJangalaContactPostName
-
getSmallDescriptionTitle
- Specified by:
getSmallDescriptionTitle
in interfaceIntelInfoPlugin
- Overrides:
getSmallDescriptionTitle
in classBaseIntelPlugin
-
createSmallDescription
- Specified by:
createSmallDescription
in interfaceIntelInfoPlugin
- Overrides:
createSmallDescription
in classBaseIntelPlugin
-
getIcon
Description copied from interface:IntelInfoPlugin
40x40, no icon if null.- Specified by:
getIcon
in interfaceIntelInfoPlugin
- Overrides:
getIcon
in classBaseIntelPlugin
- Returns:
-
getIntelTags
Description copied from interface:IntelInfoPlugin
Method NEEDS to handle map being null gracefully.- Specified by:
getIntelTags
in interfaceIntelInfoPlugin
- Overrides:
getIntelTags
in classBaseIntelPlugin
- Returns:
-
getCommMessageSound
- Specified by:
getCommMessageSound
in interfaceIntelInfoPlugin
- Overrides:
getCommMessageSound
in classBaseIntelPlugin
-
getMapLocation
- Specified by:
getMapLocation
in interfaceIntelInfoPlugin
- Overrides:
getMapLocation
in classBaseIntelPlugin
-
canTurnImportantOff
public boolean canTurnImportantOff()- Specified by:
canTurnImportantOff
in interfaceIntelInfoPlugin
- Overrides:
canTurnImportantOff
in classBaseIntelPlugin
-
getSortTier
- Specified by:
getSortTier
in interfaceIntelInfoPlugin
- Overrides:
getSortTier
in classBaseIntelPlugin
-
getSortString
- Specified by:
getSortString
in interfaceIntelInfoPlugin
- Overrides:
getSortString
in classBaseIntelPlugin
-
runWhilePaused
public boolean runWhilePaused()- Specified by:
runWhilePaused
in interfaceEveryFrameScript
- Overrides:
runWhilePaused
in classBaseIntelPlugin
- Returns:
- whether advance() should be called while the campaign engine is paused.
-
isHidden
public boolean isHidden()Description copied from interface:IntelInfoPlugin
Whether to actually show this piece of intel in the intel screen/show messages or updates for it, despite it being technically known to the player. Something can have "reportMadeVisibleToPlayer" called on it but still be hidden.- Specified by:
isHidden
in interfaceIntelInfoPlugin
- Overrides:
isHidden
in classBaseIntelPlugin
- Returns:
-