Class GensHannanMachinations
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
com.fs.starfarer.api.impl.campaign.intel.GensHannanMachinations
- All Implemented Interfaces:
IntelInfoPlugin
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,CallEvent.CallableEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fs.starfarer.api.campaign.comm.IntelInfoPlugin
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String
protected FactionAPI
protected IntervalUtil
static String
static String
static float
static float
protected Random
protected boolean
protected long
protected int
static String
static 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
protected void
advanceImpl
(float amount) static boolean
void
createSmallDescription
(TooltipMakerAPI info, float width, float height) void
endMachinations
(TextPanelAPI text) static GensHannanMachinations
get()
getIcon()
40x40, no icon if null.getIntelTags
(SectorMapAPI map) Method NEEDS to handle map being null gracefully.getName()
static boolean
static boolean
protected void
protected void
protected Object
protected void
static void
setAgreedToPayHouseHannanAgain
(boolean value) 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, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createConfirmationPrompt, createDeleteConfirmationPrompt, createIntelInfo, createLargeDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommMessageSound, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getImportantIcon, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortString, getSortStringNewestFirst, getSortStringNewestFirst, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTagsForSort, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isHidden, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, reportRemovedIntel, runWhilePaused, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, setTagsForSort, shouldRemoveIntel, storyActionConfirmed, tableRowClicked, unindent
-
Field Details
-
AGREED_TO_PAY_HOUSE_HANNAN_AGAIN
-
MACHINATIONS_IN_EFFECT
-
KEY
-
UPDATE_PARAM_START
-
UPDATE_PARAM_MACHINATION
-
PROB_ACTION_TAKEN
public static float PROB_ACTION_TAKEN -
PROB_BOUNTY_HUNTER
public static float PROB_BOUNTY_HUNTER -
faction
-
interval
-
random
-
repDamageRemaining
protected int repDamageRemaining -
recent
-
recentIsBountyHunter
protected boolean recentIsBountyHunter -
recentTimestamp
protected long recentTimestamp
-
-
Constructor Details
-
GensHannanMachinations
-
-
Method Details
-
isMachinationsInEffect
public static boolean isMachinationsInEffect() -
isAgreedToPayHouseHannanAgain
public static boolean isAgreedToPayHouseHannanAgain() -
setAgreedToPayHouseHannanAgain
public static void setAgreedToPayHouseHannanAgain(boolean value) -
canRemakeDealWithHouseHannan
public static boolean canRemakeDealWithHouseHannan() -
get
-
advanceImpl
protected void advanceImpl(float amount) - Overrides:
advanceImpl
in classBaseIntelPlugin
-
sendBountyHunter
protected void sendBountyHunter() -
notifyEnding
protected void notifyEnding()- Overrides:
notifyEnding
in classBaseIntelPlugin
-
notifyEnded
protected void notifyEnded()- Overrides:
notifyEnded
in classBaseIntelPlugin
-
readResolve
-
getBaseName
-
getName
- Overrides:
getName
in classBaseIntelPlugin
-
getFactionForUIColors
- Specified by:
getFactionForUIColors
in interfaceIntelInfoPlugin
- Overrides:
getFactionForUIColors
in classBaseIntelPlugin
-
getSmallDescriptionTitle
- Specified by:
getSmallDescriptionTitle
in interfaceIntelInfoPlugin
- Overrides:
getSmallDescriptionTitle
in classBaseIntelPlugin
-
addBulletPoints
- Overrides:
addBulletPoints
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:
-
getMapLocation
- Specified by:
getMapLocation
in interfaceIntelInfoPlugin
- Overrides:
getMapLocation
in classBaseIntelPlugin
-
getFaction
-
endMachinations
-