public class TutorialMissionEvent extends BaseEventPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
TutorialMissionEvent.TutorialMissionStage |
BaseEventPlugin.MarketFilterCampaignEventPlugin.CampaignEventCategory, CampaignEventPlugin.PriceUpdatePluginCampaignEventListener.FleetDespawnReason| Modifier and Type | Field and Description |
|---|---|
protected PlanetAPI |
ancyra |
protected PersonAPI |
dataContact |
protected SectorEntityToken |
derinkuyu |
protected SectorEntityToken |
detachment |
protected float |
elapsedDays |
protected boolean |
ended |
protected SectorEntityToken |
fringe |
protected SectorEntityToken |
inner |
protected PlanetAPI |
jangala |
protected PersonAPI |
jangalaContact |
protected PersonAPI |
mainContact |
protected PlanetAPI |
pontus |
protected SectorEntityToken |
probe |
static java.lang.String |
REASON |
protected SectorEntityToken |
relay |
protected TutorialMissionEvent.TutorialMissionStage |
stage |
protected StarSystemAPI |
system |
protected PlanetAPI |
tetra |
static java.lang.String |
TUT_STAGE |
entity, eventTarget, eventType, faction, market, memory, started, startProbability, statModId| Constructor and Description |
|---|
TutorialMissionEvent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWeaponsToStorage() |
void |
advance(float amount) |
boolean |
callEvent(java.lang.String ruleId,
InteractionDialogAPI dialog,
java.util.List<Misc.Token> params,
java.util.Map<java.lang.String,MemoryAPI> memoryMap)
Called by the CallEvent command (called from rules.csv).
|
static PersonAPI |
createMainContact(PlanetAPI ancyra) |
OnMessageDeliveryScript |
createSetMessageLocationScript(SectorEntityToken entity) |
protected void |
endEvent() |
static void |
endGalatiaPortionOfMission() |
java.lang.String |
getCurrentImage()
The larger image in the message detail.
|
CampaignEventPlugin.CampaignEventCategory |
getEventCategory() |
java.lang.String |
getEventIcon()
Override for the "image" normally specified in events.json.
|
java.lang.String |
getEventName() |
java.awt.Color[] |
getHighlightColors(java.lang.String stageId)
Since multiple reports (possibly from different channels) are possible per stage:
1) All reports must have the highlighted text occur in the same order, which is the order
this method returns them in, and
2) Not all highlights have to occur in every report.
|
java.lang.String[] |
getHighlights(java.lang.String stageId)
Since multiple reports (possibly from different channels) are possible per stage:
1) All reports must have the highlighted text occur in the same order, which is the order
this method returns them in, and
2) Not all highlights have to occur in every report.
|
static PersonAPI |
getJangalaContact() |
PersonAPI |
getMainContact() |
java.util.Map<java.lang.String,java.lang.String> |
getTokenReplacements()
Token values for filling out descriptions from reports.csv.
|
java.lang.String |
getWeaponForSlot(WeaponSlotAPI slot) |
void |
init(java.lang.String type,
CampaignEventTarget eventTarget)
Called when the EventProbability for this event is accessed.
|
boolean |
isDone() |
java.lang.String |
pick(java.lang.String... strings) |
protected void |
saveNag() |
void |
setParam(java.lang.Object param)
Only called when an event is started via CampaignEventManagerAPI.startEvent().
|
void |
startEvent()
Called when the event starts.
|
protected void |
updateStage(TutorialMissionEvent.TutorialMissionStage stage) |
addFactionNameTokens, addPersonTokens, addTokensToList, allowMultipleOngoingForSameTarget, cleanup, findMatchingMarkets, findNearestMarket, getCurrentMessageIcon, getDefaultPriority, getEventTarget, getEventType, getId, getLoggingId, getMemory, getPriceUpdates, getRelatedCommodities, getStageIdForLikely, getStageIdForPossible, getStatModId, getTargetName, getWarningWhenLikelyPriority, getWarningWhenPossiblePriority, increaseRecentUnrest, init, isEventStarted, reportBattleFinished, reportBattleOccurred, reportEconomyMonthEnd, reportEconomyTick, reportEncounterLootGenerated, reportFleetDespawned, reportFleetJumped, reportFleetReachedEntity, reportFleetSpawned, reportPlayerActivatedAbility, reportPlayerClosedMarket, reportPlayerDeactivatedAbility, reportPlayerDidNotTakeCargo, reportPlayerDumpedCargo, reportPlayerEngagement, reportPlayerMarketTransaction, reportPlayerOpenedMarket, reportPlayerOpenedMarketAndCargoUpdated, reportPlayerReputationChange, reportPlayerReputationChange, reportShownInteractionDialog, setProbability, setTarget, showAllMessagesIfOngoing, showLatestMessageIfOngoing, startEvent, useEventNameAsIdpublic static final java.lang.String TUT_STAGE
public static final java.lang.String REASON
protected float elapsedDays
protected boolean ended
protected StarSystemAPI system
protected SectorEntityToken derinkuyu
protected SectorEntityToken probe
protected SectorEntityToken inner
protected SectorEntityToken fringe
protected SectorEntityToken detachment
protected SectorEntityToken relay
protected PersonAPI mainContact
protected PersonAPI dataContact
protected PersonAPI jangalaContact
protected TutorialMissionEvent.TutorialMissionStage stage
public TutorialMissionEvent()
public void init(java.lang.String type, CampaignEventTarget eventTarget)
CampaignEventPlugininit in interface CampaignEventPlugininit in class BaseEventPluginpublic void setParam(java.lang.Object param)
CampaignEventPluginsetParam in interface CampaignEventPluginsetParam in class BaseEventPluginpublic void startEvent()
CampaignEventPluginstartEvent in interface CampaignEventPluginstartEvent in class BaseEventPluginpublic static PersonAPI createMainContact(PlanetAPI ancyra)
public static PersonAPI getJangalaContact()
public PersonAPI getMainContact()
protected void updateStage(TutorialMissionEvent.TutorialMissionStage stage)
protected void endEvent()
public void advance(float amount)
advance in interface CampaignEventPluginadvance in class BaseEventPluginpublic boolean callEvent(java.lang.String ruleId, InteractionDialogAPI dialog, java.util.List<Misc.Token> params, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
CampaignEventPlugincallEvent in interface CampaignEventPlugincallEvent in interface CallEvent.CallableEventcallEvent in class BaseEventPluginpublic static void endGalatiaPortionOfMission()
protected void saveNag()
public void addWeaponsToStorage()
public java.lang.String getWeaponForSlot(WeaponSlotAPI slot)
public java.lang.String pick(java.lang.String... strings)
public OnMessageDeliveryScript createSetMessageLocationScript(SectorEntityToken entity)
public java.util.Map<java.lang.String,java.lang.String> getTokenReplacements()
CampaignEventPlugingetTokenReplacements in interface CampaignEventPlugingetTokenReplacements in class BaseEventPluginpublic java.lang.String[] getHighlights(java.lang.String stageId)
CampaignEventPlugingetHighlights in interface CampaignEventPlugingetHighlights in class BaseEventPluginpublic java.awt.Color[] getHighlightColors(java.lang.String stageId)
CampaignEventPlugingetHighlightColors in interface CampaignEventPlugingetHighlightColors in class BaseEventPluginpublic boolean isDone()
isDone in interface CampaignEventPluginisDone in class BaseEventPluginpublic java.lang.String getEventName()
getEventName in interface CampaignEventPlugingetEventName in class BaseEventPluginpublic CampaignEventPlugin.CampaignEventCategory getEventCategory()
getEventCategory in interface CampaignEventPlugingetEventCategory in class BaseEventPluginpublic java.lang.String getEventIcon()
CampaignEventPlugingetEventIcon in interface CampaignEventPlugingetEventIcon in class BaseEventPluginpublic java.lang.String getCurrentImage()
CampaignEventPlugingetCurrentImage in interface CampaignEventPlugingetCurrentImage in class BaseEventPlugin