public class DeliveryMissionIntel extends BaseMissionIntel
BaseMissionIntel.MissionResult, BaseMissionIntel.MissionState
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData
Modifier and Type | Field and Description |
---|---|
protected DeliveryBarEvent |
event |
static Logger |
log |
static float |
PROB_CONSEQUENCES |
static float |
PROB_CONSEQUENCES_ESCROW |
static float |
PROB_PIRATE_ENCOUNTER |
BUTTON_ABANDON, BUTTON_ACCEPT, duration, elapsedDays, missionResult, missionState, randomCancel, randomCancelProb
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, timestamp
LIST_ITEM_TEXT_WIDTH, NEW_DAYS
Constructor and Description |
---|
DeliveryMissionIntel(DeliveryBarEvent event,
InteractionDialogAPI dialog) |
addAbandonButton, addAbandonButton, addAcceptButton, addAcceptButton, addAcceptOrAbandonButton, addAcceptOrAbandonButton, addGenericMissionState, advanceImpl, buttonPressConfirmed, cancel, createCancelledResult, createConfirmationPrompt, doesButtonHaveConfirmDialog, getDuration, getElapsedDays, getImportantIcon, getMissionResult, getMissionState, getNoPenaltyAbandonDays, getPostfixForState, getTimeRemainingFraction, initRandomCancel, initRandomCancel, isAbandoned, isAccepted, isCancelled, isCompleted, isFailed, isPosted, setDuration, setElapsedDays, setMissionResult, setMissionState, shouldRemoveIntel
addBulletPoints, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addMarketTable, addMarketToList, addMarketToList, advance, autoAddCampaignMessage, bullet, buttonPressCancelled, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createDeleteConfirmationPrompt, createLargeDescription, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommMessageSound, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isHidden, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyEnded, notifyEnding, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, reportRemovedIntel, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, storyActionConfirmed, tableRowClicked, unindent
public static float PROB_PIRATE_ENCOUNTER
public static float PROB_CONSEQUENCES
public static float PROB_CONSEQUENCES_ESCROW
public static Logger log
protected DeliveryBarEvent event
public DeliveryMissionIntel(DeliveryBarEvent event, InteractionDialogAPI dialog)
public void missionAccepted()
missionAccepted
in class BaseMissionIntel
public DeliveryBarEvent getEvent()
public void advanceMission(float amount)
advanceMission
in class BaseMissionIntel
public void performDelivery(InteractionDialogAPI dialog)
public boolean hasEnough()
protected void applyTradeValueImpact(float totalReward)
public void endMission()
endMission
in class BaseMissionIntel
public boolean runWhilePaused()
runWhilePaused
in interface EveryFrameScript
runWhilePaused
in class BaseIntelPlugin
protected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
addBulletPoints
in class BaseIntelPlugin
public void createIntelInfo(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
createIntelInfo
in interface IntelInfoPlugin
createIntelInfo
in class BaseIntelPlugin
public java.lang.String getSortString()
getSortString
in interface IntelInfoPlugin
getSortString
in class BaseIntelPlugin
public java.lang.String getName()
getName
in class BaseIntelPlugin
public FactionAPI getFactionForUIColors()
getFactionForUIColors
in interface IntelInfoPlugin
getFactionForUIColors
in class BaseIntelPlugin
public java.lang.String getSmallDescriptionTitle()
getSmallDescriptionTitle
in interface IntelInfoPlugin
getSmallDescriptionTitle
in class BaseIntelPlugin
protected CommodityOnMarketAPI getCommodity()
public void createSmallDescription(TooltipMakerAPI info, float width, float height)
createSmallDescription
in interface IntelInfoPlugin
createSmallDescription
in class BaseIntelPlugin
public java.lang.String getIcon()
IntelInfoPlugin
getIcon
in interface IntelInfoPlugin
getIcon
in class BaseIntelPlugin
public java.util.Set<java.lang.String> getIntelTags(SectorMapAPI map)
IntelInfoPlugin
getIntelTags
in interface IntelInfoPlugin
getIntelTags
in class BaseMissionIntel
public SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation
in interface IntelInfoPlugin
getMapLocation
in class BaseIntelPlugin
protected java.lang.String getMissionTypeNoun()
getMissionTypeNoun
in class BaseMissionIntel
protected BaseMissionIntel.MissionResult createAbandonedResult(boolean withPenalty)
createAbandonedResult
in class BaseMissionIntel
public boolean canAbandonWithoutPenalty()
canAbandonWithoutPenalty
in class BaseMissionIntel
protected BaseMissionIntel.MissionResult createTimeRanOutFailedResult()
createTimeRanOutFailedResult
in class BaseMissionIntel
public MarketAPI getDestination()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.