public abstract class HubMissionWithTriggers extends BaseHubMission
BaseHubMission.Abandon, BaseHubMission.Abortable, BaseHubMission.AlwaysTrueChecker, BaseHubMission.ConditionChecker, BaseHubMission.CreditReward, BaseHubMission.DaysElapsedChecker, BaseHubMission.DefeatTriggerAdded, BaseHubMission.EnteredLocationChecker, BaseHubMission.EntityAdded, BaseHubMission.EntityLocationType, BaseHubMission.EntityNotAliveChecker, BaseHubMission.FlagData, BaseHubMission.GlobalBooleanChecker, BaseHubMission.HostilitiesEndedChecker, BaseHubMission.HostilitiesStartedChecker, BaseHubMission.HubMissionResult, BaseHubMission.ImportanceData, BaseHubMission.InCommRelayRangeChecker, BaseHubMission.InHyperRangeOfEntityChecker, BaseHubMission.InRangeOfEntityChecker, BaseHubMission.LocData, BaseHubMission.MadeImportant, BaseHubMission.MapLocationType, BaseHubMission.MarketDecivChecker, BaseHubMission.MemoryBooleanChecker, BaseHubMission.PersonAdded, BaseHubMission.PersonMadeRequired, BaseHubMission.PotentialContactData, BaseHubMission.StageConnection, BaseHubMission.StageData, BaseHubMission.TimeLimitData, BaseHubMission.VariableSet
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData
Modifier and Type | Field and Description |
---|---|
protected MissionTrigger |
currTrigger |
static float |
DEFAULT_MIN_DIST_FROM_PLAYER |
protected boolean |
useQualityInsteadOfQualityFraction |
abandonStage, aborted, addedTags, adjustedRep, baseName, BUTTON_ABANDON, cargoOnAccept, cargoOnSuccess, changes, completedKey, connections, creator, creditReward, currentStage, DEBRIS_AVERAGE, DEBRIS_DENSE, DEBRIS_LARGE, DEBRIS_MEDIUM, DEBRIS_SMALL, DEBRIS_SPARSE, doNotAutoAddPotentialContactsOnSuccess, doNotEndMission, elapsed, END_MISSION_UPDATE, EXTRA_REWARD_PER_MARINE, failStages, flags, genRandom, giverFactionId, giverGender, giverImportance, giverPortrait, giverPost, giverRank, giverTags, giverVoice, GLOBAL_MISSION_REWARD_MULT, hub, iconName, interactionMemory, isBarEvent, largeTitleFont, mapMarkerNameColor, missionId, NEXT_STEP_UPDATE, noPenaltyFailStages, penaltyLimitFaction, penaltyLimitPerson, personOverride, potentialContactsOnMissionSuccess, quality, REMOVE_ON_MISSION_OVER, repPenaltyFaction, repPenaltyPerson, repRewardFaction, repRewardPerson, result, rewardLimitFaction, rewardLimitPerson, rewardMult, sortTier, stages, stageTransitionsRepeatable, startingStage, successStages, timeLimit, tracker, triggers, xpReward
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, timestamp
LIST_ITEM_TEXT_WIDTH, NEW_DAYS
Constructor and Description |
---|
HubMissionWithTriggers() |
Modifier and Type | Method and Description |
---|---|
static void |
addTugsToFleet(CampaignFleetAPI fleet,
int tugs,
java.util.Random random) |
void |
autoAdjustFleetTypeName() |
void |
beginCustomTrigger(BaseHubMission.ConditionChecker condition,
java.lang.Object... stages) |
void |
beginDaysElapsedTrigger(float days,
java.lang.Object... stages) |
void |
beginDaysElapsedTrigger(float days,
java.lang.Object stage,
java.lang.Object... stages) |
void |
beginEnteredLocationTrigger(LocationAPI location,
java.lang.Object... stages) |
void |
beginGlobalFlagTrigger(java.lang.String flag,
java.lang.Object... stages) |
void |
beginInCommRelayRangeTrigger(java.lang.Object... stages) |
void |
beginInRangeOfEntityTrigger(SectorEntityToken entity,
float range,
java.lang.Object... stages) |
void |
beginStageTrigger(java.lang.Object... stages) |
void |
beginWithinHyperspaceRangeTrigger(MarketAPI market,
float rangeLY,
boolean requirePlayerInHyperspace,
java.lang.Object... stages) |
void |
beginWithinHyperspaceRangeTrigger(SectorEntityToken entity,
float rangeLY,
boolean requirePlayerInHyperspace,
java.lang.Object... stages) |
void |
beginWithinHyperspaceRangeTrigger(StarSystemAPI system,
float rangeLY,
boolean requirePlayerInHyperspace,
java.lang.Object... stages) |
protected void |
checkExistingTrigger() |
static CampaignFleetAPI |
createFleet(HubMissionWithTriggers.FleetSize size,
HubMissionWithTriggers.FleetQuality quality,
HubMissionWithTriggers.OfficerNum oNum,
HubMissionWithTriggers.OfficerQuality oQuality,
java.lang.String factionId,
java.lang.String fleetFactionId,
java.lang.String type,
Vector2f locInHyper) |
void |
endTrigger() |
float |
genDelay(float base) |
MissionTrigger |
getCurrTrigger() |
SectorEntityToken |
getEntityFromGlobal(java.lang.String key) |
protected java.lang.Object[] |
getEnums(java.lang.Enum from,
java.lang.Enum to) |
HubMissionWithTriggers.CreateFleetAction |
getPreviousCreateFleetAction() |
protected float |
getQualityFraction()
Where the current quality is relative to min and max quality for this mission giver.
|
static boolean |
isNearCorona(StarSystemAPI system,
Vector2f loc) |
void |
makeHostileAndAggressive(CampaignFleetAPI fleet,
boolean permanent) |
HubMissionWithTriggers.ComplicationSpawn |
pickComplicationSpawnType() |
protected java.lang.Object |
pickEnum(float f,
java.lang.Object... enums) |
static Vector2f |
pickLocationWithinArc(java.util.Random random,
SectorEntityToken entity,
float dir,
float arc,
float minDistToPlayer,
float minDist,
float maxDist) |
void |
setCurrTrigger(MissionTrigger currTrigger) |
void |
setFleetDamageTaken(float damage) |
void |
setFleetSource(MarketAPI... preferred) |
void |
setFleetSource(java.lang.String... preferred) |
void |
setUseQualityInsteadOfQualityFraction(boolean temporarilyUseQualityInsteadOfQualityFraction)
Set to true when methods that auto-adjust fleet strength should do so based on the mission quality
rather than the mission qualityFactor - i.e.
|
void |
triggerAddAbilities(java.lang.String... abilities) |
void |
triggerAddCommodityDrop(java.lang.String commodityId,
int quantity,
boolean dropQuantityBasedOnShipsDestroyed) |
void |
triggerAddCommodityFractionDrop(java.lang.String commodityId,
float fraction) |
void |
triggerAddCustomDrop(CargoAPI cargo) |
void |
triggerAddFighterLPCDrop(java.lang.String wingId,
int quantity) |
void |
triggerAddHullmodDrop(java.lang.String hullmodId) |
void |
triggerAddShips(java.lang.String... variants) |
void |
triggerAddSpecialItemDrop(java.lang.String itemId,
java.lang.String data) |
void |
triggerAddTagAfterDelay(float delay,
StarSystemAPI system,
java.lang.String tag) |
void |
triggerAddTags(SectorEntityToken entity,
java.lang.String... tags) |
void |
triggerAddWeaponDrop(java.lang.String weaponId,
int quantity) |
void |
triggerAutoAdjustFleetQuality(HubMissionWithTriggers.FleetQuality min,
HubMissionWithTriggers.FleetQuality max) |
void |
triggerAutoAdjustFleetSize(HubMissionWithTriggers.FleetSize min,
HubMissionWithTriggers.FleetSize max) |
void |
triggerAutoAdjustFleetStrengthExtreme() |
void |
triggerAutoAdjustFleetStrengthMajor() |
void |
triggerAutoAdjustFleetStrengthModerate() |
void |
triggerAutoAdjustOfficerNum(HubMissionWithTriggers.OfficerNum min,
HubMissionWithTriggers.OfficerNum max) |
void |
triggerAutoAdjustOfficerQuality(HubMissionWithTriggers.OfficerQuality min,
HubMissionWithTriggers.OfficerQuality max) |
void |
triggerComplicationBegin(java.lang.Object stage,
HubMissionWithTriggers.ComplicationSpawn spawnType,
StarSystemAPI system,
java.lang.String factionId,
java.lang.String thing,
java.lang.String thingItOrThey,
java.lang.String thingDesc,
int paymentOffered,
boolean aggressiveIfDeclined,
HubMissionWithTriggers.ComplicationRepImpact repImpact,
java.lang.String failTrigger) |
void |
triggerComplicationEnd(boolean randomizeAndAdjustFleetSize) |
void |
triggerCreateFleet(HubMissionWithTriggers.FleetSize size,
HubMissionWithTriggers.FleetQuality quality,
java.lang.String factionId,
java.lang.String type,
SectorEntityToken roughlyWhere) |
void |
triggerCreateFleet(HubMissionWithTriggers.FleetSize size,
HubMissionWithTriggers.FleetQuality quality,
java.lang.String factionId,
java.lang.String type,
StarSystemAPI roughlyWhere) |
void |
triggerCreateFleet(HubMissionWithTriggers.FleetSize size,
HubMissionWithTriggers.FleetQuality quality,
java.lang.String factionId,
java.lang.String type,
Vector2f locInHyper) |
void |
triggerCreateLargePatrol(MarketAPI from,
java.lang.String factionId,
SectorEntityToken entityToPatrol,
java.lang.Object stage,
float extraSuspicion) |
void |
triggerCreateLargePatrolAroundMarket(MarketAPI market,
java.lang.Object stage,
float extraSuspicion) |
void |
triggerCreateMediumPatrol(MarketAPI from,
java.lang.String factionId,
SectorEntityToken entityToPatrol,
java.lang.Object stage,
float extraSuspicion) |
void |
triggerCreateMediumPatrolAroundMarket(MarketAPI market,
java.lang.Object stage,
float extraSuspicion) |
void |
triggerCreatePatrolAroundMarket(MarketAPI market,
SectorEntityToken entityToPatrol,
java.lang.Object stage,
HubMissionWithTriggers.FleetSize size,
java.lang.String fleetType,
float extraSuspicion) |
void |
triggerCreatePatrolAroundMarket(MarketAPI market,
java.lang.String factionId,
SectorEntityToken entityToPatrol,
java.lang.Object stage,
HubMissionWithTriggers.FleetSize size,
java.lang.String fleetType,
float extraSuspicion) |
void |
triggerCreateSmallPatrol(MarketAPI from,
java.lang.String factionId,
SectorEntityToken entityToPatrol,
java.lang.Object stage,
float extraSuspicion) |
void |
triggerCreateSmallPatrolAroundMarket(MarketAPI market,
java.lang.Object stage,
float extraSuspicion) |
void |
triggerCustomAction(MissionTrigger.TriggerAction action) |
void |
triggerDespawnEntity(SectorEntityToken entity) |
void |
triggerDoNotShowFleetDesc() |
void |
triggerEntityMakeImportant(java.lang.String flag,
java.lang.Enum... stages) |
void |
triggerFleetAddCommanderSkill(java.lang.String skill,
int level) |
void |
triggerFleetAddDefeatTrigger(java.lang.String trigger) |
void |
triggerFleetAddDefeatTriggerPermanent(java.lang.String trigger) |
void |
triggerFleetAddTags(java.lang.String... tags) |
void |
triggerFleetAddTugsFlag(int tugs) |
void |
triggerFleetAllowJump() |
void |
triggerFleetAllowLongPursuit() |
void |
triggerFleetDoNotIntegrateAICores() |
void |
triggerFleetForceAutofitOnAllShips() |
void |
triggerFleetInterceptPlayerNearby(boolean mustBeStrongEnoughToFight,
java.lang.Object... stages) |
void |
triggerFleetInterceptPlayerOnSight(boolean mustBeStrongEnoughToFight,
java.lang.Object... stages) |
void |
triggerFleetInterceptPlayerWithinRange(boolean mustBeStrongEnoughToFight,
float maxRange,
boolean repeatable,
float repeatDelay,
java.lang.Object... stages) |
void |
triggerFleetMakeFaster(boolean navigationSkill,
int numTugs,
boolean allowLongPursuit) |
void |
triggerFleetMakeImportant(java.lang.String flag,
java.lang.Enum... stages) |
void |
triggerFleetMakeImportantPermanent(java.lang.String flag) |
void |
triggerFleetNoAutoDespawn() |
void |
triggerFleetNoJump() |
void |
triggerFleetOnlyEngageableWhenVisibleToPlayer() |
void |
triggerFleetPatherAllowTithe() |
void |
triggerFleetPatherNoDefaultTithe() |
void |
triggerFleetRemoveInflater() |
void |
triggerFleetSetAllWeapons() |
void |
triggerFleetSetAvoidPlayerSlowly() |
void |
triggerFleetSetCommander(PersonAPI commander) |
void |
triggerFleetSetFlagship(ShipVariantAPI variant) |
void |
triggerFleetSetFlagship(java.lang.String variantId) |
void |
triggerFleetSetName(java.lang.String name) |
void |
triggerFleetSetNoFactionInName() |
void |
triggerFleetSetPatrolActionText(java.lang.String patrolText) |
void |
triggerFleetSetPatrolLeashRange(float dist) |
void |
triggerFleetSetShipPickMode(FactionAPI.ShipPickMode mode) |
void |
triggerFleetSetSingleShipOnly() |
void |
triggerFleetSetTravelActionText(java.lang.String travelText) |
void |
triggerFleetSetWarnAttack(java.lang.String warnCommsTrigger,
java.lang.String attackCommsTrigger,
java.lang.Object... stages) |
void |
triggerFleetStopPursuingPlayerUnlessInStage(java.lang.Object... stages) |
void |
triggerFleetUnsetAllowLongPursuit() |
FleetParamsV3 |
triggerGetFleetParams() |
void |
triggerHideCommListing(PersonAPI person) |
void |
triggerIncreaseMarketHostileTimeout(MarketAPI market,
float days) |
void |
triggerMakeAllFleetFlagsPermanent()
Used if a fleet being aggressive/allowed to long-pursue the player/etc needs to persist after
the mission has ended.
|
void |
triggerMakeAlwaysSpreadTOffHostility() |
void |
triggerMakeDiscoverable(float range,
float xp) |
void |
triggerMakeFleetAllowDisengage() |
void |
triggerMakeFleetGoAwayAfterDefeat() |
void |
triggerMakeFleetIgnoredByOtherFleets() |
void |
triggerMakeFleetIgnoreOtherFleets() |
void |
triggerMakeFleetIgnoreOtherFleetsExceptPlayer() |
void |
triggerMakeFleetNotIgnorePlayer() |
void |
triggerMakeHostile() |
void |
triggerMakeHostileAndAggressive() |
void |
triggerMakeHostileToAllTradeFleets() |
void |
triggerMakeHostileToFaction(java.lang.String factionId) |
void |
triggerMakeHostileToPlayerTradeFleets() |
void |
triggerMakeHostileWhileTransponderOff() |
void |
triggerMakeLowRepImpact() |
void |
triggerMakeMissionNodeDiscoverable() |
void |
triggerMakeNonHostile() |
void |
triggerMakeNonHostileToFaction(java.lang.String factionId) |
void |
triggerMakeNonStoryCritical(MarketAPI... markets) |
void |
triggerMakeNonStoryCritical(MemoryAPI... memoryArray) |
void |
triggerMakeNonStoryCritical(java.lang.String... markets) |
void |
triggerMakeNoRepImpact() |
void |
triggerMovePersonToMarket(PersonAPI person,
MarketAPI market,
boolean alwaysAddToComms) |
void |
triggerOrderExtraPatrolPoints(SectorEntityToken... points) |
void |
triggerOrderFleetAttackLocation(SectorEntityToken entity) |
void |
triggerOrderFleetEBurn(float probabilityToEBurn) |
void |
triggerOrderFleetInterceptPlayer() |
void |
triggerOrderFleetInterceptPlayer(boolean makeHostile,
boolean allowLongPursuit) |
void |
triggerOrderFleetMaybeEBurn() |
void |
triggerOrderFleetPatrol(boolean randomizeLocation,
SectorEntityToken... patrolPoints) |
void |
triggerOrderFleetPatrol(SectorEntityToken... patrolPoints) |
void |
triggerOrderFleetPatrol(StarSystemAPI system) |
void |
triggerOrderFleetPatrol(StarSystemAPI system,
boolean randomizeLocation,
SectorEntityToken... patrolPoints) |
void |
triggerOrderFleetPatrol(StarSystemAPI system,
boolean randomizeLocation,
java.lang.String... tags) |
void |
triggerOrderFleetPatrolEntity(boolean moveToNearEntity) |
void |
triggerOrderFleetPatrolHyper(StarSystemAPI system) |
void |
triggerPatrolAllowTransponderOff() |
void |
triggerPickLocationAroundEntity(float dist) |
void |
triggerPickLocationAroundEntity(SectorEntityToken entity,
float dist) |
void |
triggerPickLocationAroundEntity(SectorEntityToken entity,
float minDist,
float maxDist) |
void |
triggerPickLocationAroundEntity(SectorEntityToken entity,
float minDistFromPlayer,
float minDist,
float maxDist) |
void |
triggerPickLocationAroundPlayer(float dist) |
void |
triggerPickLocationAroundPlayer(float minDist,
float maxDist) |
void |
triggerPickLocationAtClosestToEntityJumpPoint(StarSystemAPI system,
SectorEntityToken entity) |
void |
triggerPickLocationAtClosestToEntityJumpPoint(StarSystemAPI system,
SectorEntityToken entity,
float minDistFromEntity) |
void |
triggerPickLocationAtClosestToPlayerJumpPoint(StarSystemAPI system) |
void |
triggerPickLocationAtClosestToPlayerJumpPoint(StarSystemAPI system,
float minDistFromPlayer) |
void |
triggerPickLocationAtInSystemJumpPoint(StarSystemAPI system) |
void |
triggerPickLocationAtInSystemJumpPoint(StarSystemAPI system,
float minDistFromPlayer) |
void |
triggerPickLocationAwayFromPlayer(SectorEntityToken entity,
float arc,
float dist) |
void |
triggerPickLocationAwayFromPlayer(SectorEntityToken entity,
float arc,
float minDist,
float maxDist) |
void |
triggerPickLocationAwayFromPlayer(SectorEntityToken entity,
float arc,
float minDistFromPlayer,
float minDist,
float maxDist) |
void |
triggerPickLocationFromEntityAwayFromPlayer(float arc,
float dist) |
void |
triggerPickLocationFromEntityAwayFromPlayer(float arc,
float minDist,
float maxDist) |
void |
triggerPickLocationFromEntityAwayFromPlayer(float arc,
float minDistFromPlayer,
float minDist,
float maxDist) |
void |
triggerPickLocationFromEntityTowardsPlayer(float arc,
float dist) |
void |
triggerPickLocationFromEntityTowardsPlayer(float arc,
float minDist,
float maxDist) |
void |
triggerPickLocationFromEntityTowardsPlayer(float arc,
float minDistFromPlayer,
float minDist,
float maxDist) |
void |
triggerPickLocationInHyperspace(StarSystemAPI system) |
void |
triggerPickLocationTowardsEntity(SectorEntityToken entity,
float arc,
float dist) |
void |
triggerPickLocationTowardsEntity(SectorEntityToken entity,
float arc,
float minDistFromPlayer,
float minDist,
float maxDist) |
void |
triggerPickLocationTowardsPlayer(SectorEntityToken entity,
float arc,
float dist) |
void |
triggerPickLocationTowardsPlayer(SectorEntityToken entity,
float arc,
float minDist,
float maxDist) |
void |
triggerPickLocationTowardsPlayer(SectorEntityToken entity,
float arc,
float minDistFromPlayer,
float minDist,
float maxDist) |
void |
triggerPickLocationWithinArc(float dir,
float arc,
float minDistFromPlayer,
float minDist,
float maxDist) |
void |
triggerPickLocationWithinArc(SectorEntityToken entity,
float dir,
float arc,
float minDistFromPlayer,
float minDist,
float maxDist) |
void |
triggerPickSetLocation(LocationAPI location,
Vector2f coordinates) |
void |
triggerRandomizeFleetProperties() |
void |
triggerRandomizeFleetStrengthMinor() |
void |
triggerRemoveAbilities(java.lang.String... abilities) |
void |
triggerRemoveTags(SectorEntityToken entity,
java.lang.String... tags) |
void |
triggerRunScriptAfterDelay(float delay,
Script script) |
void |
triggerSaveEntityRef(MemoryAPI memory,
java.lang.String key) |
void |
triggerSaveFleetRef(MemoryAPI memory,
java.lang.String key) |
void |
triggerSaveGlobalEntityRef(java.lang.String key) |
void |
triggerSaveGlobalFleetRef(java.lang.String key) |
void |
triggerSetEntityFlag(java.lang.String flag) |
void |
triggerSetEntityFlag(java.lang.String flag,
java.lang.Object... stages) |
void |
triggerSetEntityFlagPermanent(java.lang.String flag) |
void |
triggerSetEntityFlagPermanent(java.lang.String flag,
java.lang.Object... stages) |
void |
triggerSetEntityToPickedJumpPoint() |
void |
triggerSetFleetAlwaysPursue() |
void |
triggerSetFleetCombatFleetPoints(float combatFleetPointsOverride) |
void |
triggerSetFleetCommander(PersonAPI commander) |
void |
triggerSetFleetComposition(float freighterMult,
float tankerMult,
float transportMult,
float linerMult,
float utilityMult) |
void |
triggerSetFleetCompositionNoSupportShips() |
void |
triggerSetFleetDoctrineComp(int warships,
int carriers,
int phaseShips) |
void |
triggerSetFleetDoctrineOther(int shipSize,
int aggression) |
void |
triggerSetFleetDoctrineQuality(int officerQuality,
int shipQuality,
int numShips) |
void |
triggerSetFleetDoctrineRandomize(float randomizeProb) |
void |
triggerSetFleetExtraSmugglingSuspicion(float extraSuspicion) |
void |
triggerSetFleetFaction(java.lang.String factionId) |
void |
triggerSetFleetFlag(java.lang.String flag) |
void |
triggerSetFleetFlag(java.lang.String flag,
java.lang.Object... stages) |
void |
triggerSetFleetFlagPermanent(java.lang.String flag) |
void |
triggerSetFleetFlagPermanent(java.lang.String flag,
java.lang.Object... stages) |
void |
triggerSetFleetFlagsWithReason(java.lang.String... flags) |
void |
triggerSetFleetFlagsWithReasonPermanent(java.lang.String... flags) |
void |
triggerSetFleetGenericHail(java.lang.String commsTrigger,
java.lang.Object... stages) |
void |
triggerSetFleetGenericHailIfNonHostile(java.lang.String commsTrigger,
java.lang.Object... stages) |
void |
triggerSetFleetGenericHailIfNonHostilePermanent(java.lang.String commsTrigger) |
void |
triggerSetFleetGenericHailPermanent(java.lang.String commsTrigger) |
void |
triggerSetFleetHasslePlayer(java.lang.String hassleType) |
void |
triggerSetFleetMaxNumShips(int num) |
void |
triggerSetFleetMaxShipSize(int max) |
void |
triggerSetFleetMemoryValue(java.lang.String key,
java.lang.Object value) |
void |
triggerSetFleetMinShipSize(int min) |
void |
triggerSetFleetMissionRef(java.lang.String key) |
void |
triggerSetFleetNoCommanderSkills() |
void |
triggerSetFleetNotBusy()
Fleet will respond to WarSimScript orders and get distracted by false sensor readings from a sensor array, etc.
|
void |
triggerSetFleetOfficers(HubMissionWithTriggers.OfficerNum num,
HubMissionWithTriggers.OfficerQuality quality) |
void |
triggerSetFleetProbabilityCombatFreighters(float prob) |
void |
triggerSetFleetQuality(HubMissionWithTriggers.FleetQuality quality) |
void |
triggerSetFleetSize(HubMissionWithTriggers.FleetSize size) |
void |
triggerSetFleetSizeAndQuality(HubMissionWithTriggers.FleetSize size,
HubMissionWithTriggers.FleetQuality quality,
java.lang.String fleetType) |
void |
triggerSetFleetSizeFraction(float fractionOfMax) |
void |
triggerSetFleetType(java.lang.String fleetType) |
void |
triggerSetGlobalMemoryValue(java.lang.String key,
java.lang.Object value) |
void |
triggerSetGlobalMemoryValueAfterDelay(float delay,
java.lang.String key,
java.lang.Object value) |
void |
triggerSetGlobalMemoryValuePermanent(java.lang.String key,
java.lang.Object value) |
void |
triggerSetInflater(FleetInflater inflater) |
void |
triggerSetMemoryValue(HasMemory withMemory,
java.lang.String key,
java.lang.Object value) |
void |
triggerSetMemoryValueAfterDelay(float delay,
HasMemory hasMemory,
java.lang.String key,
java.lang.Object value) |
void |
triggerSetMemoryValueAfterDelay(float delay,
MemoryAPI memory,
java.lang.String key,
java.lang.Object value) |
void |
triggerSetMemoryValuePermanent(HasMemory withMemory,
java.lang.String key,
java.lang.Object value) |
void |
triggerSetPatrol() |
void |
triggerSetPersonMissionRef(java.lang.String key) |
void |
triggerSetPirateFleet() |
void |
triggerSetRemnantConfig() |
void |
triggerSetRemnantConfig(boolean dormant) |
void |
triggerSetRemnantConfigActive() |
void |
triggerSetRemnantConfigDormant() |
void |
triggerSetSmugglerFleet() |
void |
triggerSetStandardAggroNonPirateFlags() |
void |
triggerSetStandardAggroPirateFlags() |
void |
triggerSetStandardHostileNonPirateFlags() |
void |
triggerSetStandardHostilePirateFlags() |
void |
triggerSetTraderFleet() |
void |
triggerSetWarFleet() |
void |
triggerSpawnDebrisField(float radius,
float density,
BaseHubMission.LocData data) |
void |
triggerSpawnDerelict(DerelictShipEntityPlugin.DerelictShipData shipData,
BaseHubMission.LocData data) |
void |
triggerSpawnDerelict(DerelictShipEntityPlugin.DerelictType type,
BaseHubMission.LocData data) |
void |
triggerSpawnDerelict(java.lang.String factionId,
DerelictShipEntityPlugin.DerelictType type,
BaseHubMission.LocData data) |
void |
triggerSpawnDerelictHull(java.lang.String hullId,
BaseHubMission.LocData data) |
void |
triggerSpawnEntity(java.lang.String entityId,
BaseHubMission.LocData data) |
void |
triggerSpawnFleetAtPickedLocation() |
void |
triggerSpawnFleetAtPickedLocation(float range,
java.lang.String flag,
java.lang.String refKey) |
void |
triggerSpawnFleetAtPickedLocation(java.lang.String flag,
java.lang.String refKey)
refKey could be needed if there's no global mission reference set.
|
void |
triggerSpawnFleetNear(SectorEntityToken entity,
float range,
java.lang.String flag,
java.lang.String refKey) |
void |
triggerSpawnFleetNear(SectorEntityToken entity,
java.lang.String flag,
java.lang.String refKey) |
void |
triggerSpawnShipGraveyard(java.lang.String factionId,
int minShips,
int maxShips,
BaseHubMission.LocData data) |
void |
triggerUndoMakeAllFleetFlagsPermanent() |
void |
triggerUnhideCommListing(PersonAPI person) |
void |
triggerUnsetAvoidPlayerSlowly() |
void |
triggerUnsetEntityFlag(java.lang.String flag) |
void |
triggerUnsetFleetAlwaysPursue() |
void |
triggerUnsetFleetFlag(java.lang.String flag) |
void |
triggerUnsetFleetFlagsWithReason(java.lang.String... flags) |
abort, accept, acceptImpl, addAbandonButton, addAbandonButton, addBombardmentInfo, addBulletPoints, addBulletPointsPost, addBulletPointsPre, addCustomRaidInfo, addCustomRaidInfo, addDescriptionForCurrentStage, addDescriptionForNonEndStage, addDisruptRaidInfo, addFailureStages, addFleetDefeatTrigger, addNextStepText, addNoPenaltyFailureStages, addOnAcceptCommodity, addOnAcceptFighterLPCDrop, addOnAcceptHullmodDrop, addOnAcceptSpecialItemDrop, addOnAcceptWeaponDrop, addOnSuccessCommodity, addOnSuccessFighterLPCDrop, addOnSuccessHullmodDrop, addOnSuccessSpecialItemDrop, addOnSuccessWeaponDrop, addPotentialContacts, addResultBulletsAssumingAlreadyIndented, addSpecialItemDropOnlyUseInAcceptImplNotUndoneOnAbort, addStandardMarketDesc, addSuccessStages, addTag, adjustRep, advanceImpl, assignShipName, buttonPressConfirmed, callAction, callEvent, canAbandonWithoutPenalty, checkStageChangesAndTriggers, connectWithCustomCondition, connectWithDaysElapsed, connectWithEnteredLocation, connectWithEntityNotAlive, connectWithGlobalFlag, connectWithHostilitiesEnded, connectWithHostilitiesStarted, connectWithInRangeOfCommRelay, connectWithInRangeOfEntity, connectWithMarketDecivilized, connectWithMemoryFlag, connectWithMemoryFlag, connectWithWithinHyperspaceRange, connectWithWithinHyperspaceRange, create, createAndAbortIfFailed, createConfirmationPrompt, createGiver, createIntelInfo, createSmallDescription, doesButtonHaveConfirmDialog, endAbandon, endAbandonImpl, endFailure, endFailureImpl, endSuccess, endSuccessImpl, ensurePersonIsInCommDirectory, findOrCreateCriminal, findOrCreateCriminalTrader, findOrCreateGiver, findOrCreatePerson, findOrCreateTrader, generateLocation, generateLocationInsideTerrain, genMissionRewardMultAndQuality, genRoundNumber, getAdjustedMarinesRequired, getBaseName, getBaseQuality, getBlurbText, getBombardmentFuel, getChanges, getCreator, getCreditsReward, getCurrentStage, getData, getDayOrDays, getDistanceLY, getDistanceLY, getDistanceLY, getElapsedInCurrentStage, getFactionForUIColors, getFuel, getGenRandom, getGetWithinCommsRangeText, getGetWithinCommsRangeTextShort, getGiverGender, getGlobalMemory, getGoTalkToPersonText, getGoToMarketText, getGoToPlanetTextPre, getGoToPlanetTextShort, getGoToSystemTextShort, getHub, getIcon, getImportantIcon, getImportantPerson, getImportantPersonData, getIntelTags, getLocated, getLocatedUnclear, getMapLocation, getMapLocation, getMapLocationFor, getMarinesRequiredForCustomDefenderStrength, getMarinesRequiredForCustomObjective, getMarinesRequiredToDisrupt, getMarket, getMaxPlayerLevel, getMaxQuality, getMinQuality, getMissionCompletionVerb, getMissionId, getMissionTypeNoun, getName, getNextStepText, getNoPenaltyAbandonDays, getPenaltyLimitFaction, getPenaltyLimitPerson, getPerson, getPersonAtMarketPost, getPersonOverride, getPostfixForState, getQuality, getReason, getRepPenaltyFailureFaction, getRepPenaltyFailurePerson, getRepRewardSuccessFaction, getRepRewardSuccessPerson, getResult, getReturnText, getReturnText, getReturnTextShort, getReturnTextShort, getRewardBonusForMarines, getRewardLimitFaction, getRewardLimitPerson, getRewardMult, getRewardMultFraction, getRoundNumber, getSmallDescriptionTitle, getSortString, getSortTier, getStageDescriptionText, getStartingStage, getTerrainName, getTerrainNameAOrAn, getTerrainType, getTerrainTypeAOrAn, getToCompleteText, getTriggerPrefix, getTriggers, getUnits, getWithoutArticle, getXPReward, hasSpecialName, isAbandoned, isBarEvent, isDevMode, isFailed, isMissionCreationAborted, isOkToOfferMissionRequiringMarines, isSucceeded, makeDiscoverable, makeImportant, makeImportant, makeImportant, makeImportant, makeImportantDoNotShowAsIntelMapLocation, makeImportantDoNotShowAsIntelMapLocation, makeImportantDoNotShowAsIntelMapLocation, makeMissionNodeDiscoverable, makePersonRequired, makePrimaryObjective, makeUnimportant, makeUnimportant, makeUnimportant, makeUnimportant, makeUnimportant, makeUnimportant, makeUnimportant, makeUnimportant, notifyEnded, pickHighImportance, pickImportance, pickLowImportance, pickMediumImportance, pickOne, pickOne, pickOneObject, playerHasEnough, playerLevelIsAtLeast, playerLevelIsMaxed, removeImportanceChanges, removeMemoryFlagChanges, rollProbability, runStageTriggersReturnFleets, runTriggers, sendUpdateForNextStep, sendUpdateToTextPanel, set, setAbandonStage, setCompletedKey, setCreator, setCreditReward, setCreditReward, setCreditReward, setCreditReward, setCreditReward, setCreditRewardApplyRelMult, setCreditRewardWithBonus, setCurrentStage, setDoNotAutoAddPotentialContactsOnSuccess, setEntityMissionRef, setFactionMissionRef, setFailureStage, setFlag, setFlag, setFlag, setFlag, setFlag, setFlag, setFlagWithReason, setGenRandom, setGiverFaction, setGiverImportance, setGiverIsPotentialContactOnSuccess, setGiverIsPotentialContactOnSuccess, setGiverPortrait, setGiverPost, setGiverRank, setGiverTags, setGiverVoice, setGlobalFlag, setGlobalReference, setGlobalReference, setHub, setIconName, setIconName, setMapMarkerNameColor, setMapMarkerNameColorBasedOnStar, setMarketMissionRef, setMemoryValuePermanent, setMissionId, setName, setNoAbandon, setNoPenaltyFailureStage, setNoRepChanges, setPenaltyLimitFaction, setPenaltyLimitPerson, setPersonDoGenericPortAuthorityCheck, setPersonIsPotentialContactOnSuccess, setPersonIsPotentialContactOnSuccess, setPersonMissionRef, setPersonOverride, setPersonTokens, setQuality, setRepChanges, setRepFactionChangesHigh, setRepFactionChangesLow, setRepFactionChangesMedium, setRepFactionChangesNone, setRepFactionChangesTiny, setRepFactionChangesVeryHigh, setRepFactionChangesVeryLow, setRepPenaltyFaction, setRepPenaltyPerson, setRepPersonChangesHigh, setRepPersonChangesLow, setRepPersonChangesMedium, setRepPersonChangesNone, setRepPersonChangesTiny, setRepPersonChangesVeryHigh, setRepPersonChangesVeryLow, setRepRewardFaction, setRepRewardPerson, setRewardMult, setStageInRangeOfEntity, setStageOnCustomCondition, setStageOnDaysElapsed, setStageOnEnteredLocation, setStageOnEntityNotAlive, setStageOnGlobalFlag, setStageOnHostilitiesEnded, setStageOnHostilitiesStarted, setStageOnInRangeOfCommRelay, setStageOnMarketDecivilized, setStageOnMemoryFlag, setStageOnMemoryFlag, setStageOnWithinHyperspaceRange, setStageTransitionsRepeatable, setStartingStage, setStoryMission, setSuccessStage, setTimeLimit, setUseLargeFontInMissionList, setXPReward, shouldSendUpdateForStage, showPersonInfo, spawnDebrisField, spawnDerelict, spawnDerelict, spawnDerelictHull, spawnDerelictOfType, spawnEntity, spawnEntityToken, spawnMissionNode, spawnShipGraveyard, unset, updateInteractionData, updateInteractionDataImpl
addBulletPoints, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addMarketTable, addMarketToList, addMarketToList, advance, autoAddCampaignMessage, bullet, buttonPressCancelled, 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, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isHidden, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyEnding, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, reportRemovedIntel, runWhilePaused, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, shouldRemoveIntel, storyActionConfirmed, tableRowClicked, unindent
protected transient boolean useQualityInsteadOfQualityFraction
public static float DEFAULT_MIN_DIST_FROM_PLAYER
protected transient MissionTrigger currTrigger
public HubMissionWithTriggers.CreateFleetAction getPreviousCreateFleetAction()
public void triggerMovePersonToMarket(PersonAPI person, MarketAPI market, boolean alwaysAddToComms)
public void triggerIncreaseMarketHostileTimeout(MarketAPI market, float days)
public void triggerRunScriptAfterDelay(float delay, Script script)
public void triggerAddTagAfterDelay(float delay, StarSystemAPI system, java.lang.String tag)
public void triggerSetMemoryValueAfterDelay(float delay, HasMemory hasMemory, java.lang.String key, java.lang.Object value)
public void triggerSetMemoryValueAfterDelay(float delay, MemoryAPI memory, java.lang.String key, java.lang.Object value)
public void triggerSetGlobalMemoryValueAfterDelay(float delay, java.lang.String key, java.lang.Object value)
public float genDelay(float base)
public void triggerUnhideCommListing(PersonAPI person)
public void triggerHideCommListing(PersonAPI person)
public void triggerSaveGlobalEntityRef(java.lang.String key)
public void triggerSaveEntityRef(MemoryAPI memory, java.lang.String key)
public void triggerSaveGlobalFleetRef(java.lang.String key)
public void triggerSaveFleetRef(MemoryAPI memory, java.lang.String key)
public SectorEntityToken getEntityFromGlobal(java.lang.String key)
public void triggerCreateFleet(HubMissionWithTriggers.FleetSize size, HubMissionWithTriggers.FleetQuality quality, java.lang.String factionId, java.lang.String type, StarSystemAPI roughlyWhere)
public void triggerCreateFleet(HubMissionWithTriggers.FleetSize size, HubMissionWithTriggers.FleetQuality quality, java.lang.String factionId, java.lang.String type, SectorEntityToken roughlyWhere)
public void triggerCreateFleet(HubMissionWithTriggers.FleetSize size, HubMissionWithTriggers.FleetQuality quality, java.lang.String factionId, java.lang.String type, Vector2f locInHyper)
public void triggerAutoAdjustFleetSize(HubMissionWithTriggers.FleetSize min, HubMissionWithTriggers.FleetSize max)
public void triggerSetFleetSizeFraction(float fractionOfMax)
public void triggerSetFleetCombatFleetPoints(float combatFleetPointsOverride)
public void triggerAutoAdjustFleetQuality(HubMissionWithTriggers.FleetQuality min, HubMissionWithTriggers.FleetQuality max)
public void triggerAutoAdjustOfficerNum(HubMissionWithTriggers.OfficerNum min, HubMissionWithTriggers.OfficerNum max)
public void triggerAutoAdjustOfficerQuality(HubMissionWithTriggers.OfficerQuality min, HubMissionWithTriggers.OfficerQuality max)
public void triggerSetFleetQuality(HubMissionWithTriggers.FleetQuality quality)
public void triggerSetFleetSize(HubMissionWithTriggers.FleetSize size)
public void triggerRandomizeFleetStrengthMinor()
public void triggerAutoAdjustFleetStrengthModerate()
public void triggerAutoAdjustFleetStrengthMajor()
public void triggerAutoAdjustFleetStrengthExtreme()
public void setUseQualityInsteadOfQualityFraction(boolean temporarilyUseQualityInsteadOfQualityFraction)
temporarilyUseQualityInsteadOfQualityFraction
- protected float getQualityFraction()
protected java.lang.Object[] getEnums(java.lang.Enum from, java.lang.Enum to)
protected java.lang.Object pickEnum(float f, java.lang.Object... enums)
public void triggerSetFleetCompositionNoSupportShips()
public void triggerSetFleetComposition(float freighterMult, float tankerMult, float transportMult, float linerMult, float utilityMult)
public void triggerSetFleetDoctrineComp(int warships, int carriers, int phaseShips)
public void triggerAddShips(java.lang.String... variants)
public void triggerSetFleetProbabilityCombatFreighters(float prob)
public void triggerSetFleetDoctrineQuality(int officerQuality, int shipQuality, int numShips)
public void triggerSetFleetDoctrineOther(int shipSize, int aggression)
public void triggerSetFleetDoctrineRandomize(float randomizeProb)
public void triggerSetFleetSizeAndQuality(HubMissionWithTriggers.FleetSize size, HubMissionWithTriggers.FleetQuality quality, java.lang.String fleetType)
public void triggerSetFleetType(java.lang.String fleetType)
public void triggerSetFleetOfficers(HubMissionWithTriggers.OfficerNum num, HubMissionWithTriggers.OfficerQuality quality)
public void triggerFleetSetCommander(PersonAPI commander)
public void triggerSetFleetNoCommanderSkills()
public void triggerSetFleetMaxShipSize(int max)
public void triggerSetFleetMinShipSize(int min)
public void triggerSetFleetMaxNumShips(int num)
public void triggerFleetSetSingleShipOnly()
public void triggerFleetSetFlagship(java.lang.String variantId)
public void triggerFleetSetFlagship(ShipVariantAPI variant)
public void triggerFleetRemoveInflater()
public void triggerFleetSetShipPickMode(FactionAPI.ShipPickMode mode)
public void triggerFleetSetAllWeapons()
public void triggerSetFleetFaction(java.lang.String factionId)
public void triggerFleetSetName(java.lang.String name)
public void triggerFleetSetNoFactionInName()
public void triggerFleetDoNotIntegrateAICores()
public FleetParamsV3 triggerGetFleetParams()
public void triggerSetFleetCommander(PersonAPI commander)
public void triggerFleetMakeImportantPermanent(java.lang.String flag)
public void triggerFleetMakeImportant(java.lang.String flag, java.lang.Enum... stages)
public void triggerEntityMakeImportant(java.lang.String flag, java.lang.Enum... stages)
public void triggerSetFleetFlagsWithReasonPermanent(java.lang.String... flags)
public void triggerSetFleetFlagsWithReason(java.lang.String... flags)
public void triggerUnsetFleetFlagsWithReason(java.lang.String... flags)
public void triggerSetPersonMissionRef(java.lang.String key)
public void triggerSetFleetMissionRef(java.lang.String key)
public void triggerSetFleetMemoryValue(java.lang.String key, java.lang.Object value)
public void triggerSetMemoryValue(HasMemory withMemory, java.lang.String key, java.lang.Object value)
public void triggerSetMemoryValuePermanent(HasMemory withMemory, java.lang.String key, java.lang.Object value)
public void triggerSetGlobalMemoryValue(java.lang.String key, java.lang.Object value)
public void triggerSetGlobalMemoryValuePermanent(java.lang.String key, java.lang.Object value)
public void triggerSetFleetFlagPermanent(java.lang.String flag)
public void triggerSetFleetGenericHailPermanent(java.lang.String commsTrigger)
public void triggerSetFleetGenericHail(java.lang.String commsTrigger, java.lang.Object... stages)
public void triggerSetFleetGenericHailIfNonHostilePermanent(java.lang.String commsTrigger)
public void triggerSetFleetGenericHailIfNonHostile(java.lang.String commsTrigger, java.lang.Object... stages)
public void triggerSetFleetFlag(java.lang.String flag)
public void triggerSetEntityFlagPermanent(java.lang.String flag)
public void triggerSetEntityFlag(java.lang.String flag)
public void triggerSetFleetFlagPermanent(java.lang.String flag, java.lang.Object... stages)
public void triggerSetFleetFlag(java.lang.String flag, java.lang.Object... stages)
public void triggerUnsetFleetFlag(java.lang.String flag)
public void triggerSetEntityFlagPermanent(java.lang.String flag, java.lang.Object... stages)
public void triggerSetEntityFlag(java.lang.String flag, java.lang.Object... stages)
public void triggerUnsetEntityFlag(java.lang.String flag)
public void triggerMakeHostileAndAggressive()
public void triggerMakeFleetIgnoreOtherFleetsExceptPlayer()
public void triggerMakeFleetNotIgnorePlayer()
public void triggerMakeFleetIgnoreOtherFleets()
public void triggerMakeFleetIgnoredByOtherFleets()
public void triggerMakeFleetAllowDisengage()
public void makeHostileAndAggressive(CampaignFleetAPI fleet, boolean permanent)
public void triggerMakeNonHostile()
public void triggerMakeHostile()
public void triggerMakeHostileToPlayerTradeFleets()
public void triggerMakeHostileToAllTradeFleets()
public void triggerMakeHostileWhileTransponderOff()
public void triggerMakeLowRepImpact()
public void triggerMakeAlwaysSpreadTOffHostility()
public void triggerMakeNoRepImpact()
public void triggerPatrolAllowTransponderOff()
public void triggerDoNotShowFleetDesc()
public void triggerFleetForceAutofitOnAllShips()
public void triggerFleetOnlyEngageableWhenVisibleToPlayer()
public void triggerFleetNoJump()
public void triggerFleetAllowJump()
public void triggerSetFleetNotBusy()
public void triggerSetPatrol()
public void triggerSetFleetHasslePlayer(java.lang.String hassleType)
public void triggerSetFleetExtraSmugglingSuspicion(float extraSuspicion)
public void triggerMakeNonHostileToFaction(java.lang.String factionId)
public void triggerMakeHostileToFaction(java.lang.String factionId)
public void triggerSetPirateFleet()
public void triggerSetTraderFleet()
public void triggerSetWarFleet()
public void triggerSetSmugglerFleet()
public void triggerFleetAllowLongPursuit()
public void triggerFleetPatherAllowTithe()
public void triggerFleetPatherNoDefaultTithe()
public void triggerFleetUnsetAllowLongPursuit()
public void triggerFleetSetAvoidPlayerSlowly()
public void triggerUnsetAvoidPlayerSlowly()
public void triggerSetFleetAlwaysPursue()
public void triggerUnsetFleetAlwaysPursue()
public void triggerSetStandardHostilePirateFlags()
public void triggerSetStandardHostileNonPirateFlags()
public void triggerSetStandardAggroPirateFlags()
public void triggerSetStandardAggroNonPirateFlags()
public void triggerRemoveAbilities(java.lang.String... abilities)
public void triggerAddAbilities(java.lang.String... abilities)
public void triggerSetInflater(FleetInflater inflater)
public void triggerSetRemnantConfig()
public void triggerSetRemnantConfigDormant()
public void triggerSetRemnantConfig(boolean dormant)
public void triggerSetRemnantConfigActive()
public void triggerAddCustomDrop(CargoAPI cargo)
public void triggerAddCommodityDrop(java.lang.String commodityId, int quantity, boolean dropQuantityBasedOnShipsDestroyed)
public void triggerAddCommodityFractionDrop(java.lang.String commodityId, float fraction)
public void triggerAddWeaponDrop(java.lang.String weaponId, int quantity)
public void triggerAddFighterLPCDrop(java.lang.String wingId, int quantity)
public void triggerAddHullmodDrop(java.lang.String hullmodId)
public void triggerAddSpecialItemDrop(java.lang.String itemId, java.lang.String data)
public void triggerSpawnFleetAtPickedLocation()
public void triggerSpawnFleetAtPickedLocation(java.lang.String flag, java.lang.String refKey)
flag
- refKey
- public void triggerSpawnFleetAtPickedLocation(float range, java.lang.String flag, java.lang.String refKey)
public void triggerSpawnFleetNear(SectorEntityToken entity, java.lang.String flag, java.lang.String refKey)
public void triggerSpawnFleetNear(SectorEntityToken entity, float range, java.lang.String flag, java.lang.String refKey)
public void triggerPickSetLocation(LocationAPI location, Vector2f coordinates)
public void triggerPickLocationInHyperspace(StarSystemAPI system)
public void triggerPickLocationFromEntityTowardsPlayer(float arc, float dist)
public void triggerPickLocationTowardsPlayer(SectorEntityToken entity, float arc, float dist)
public void triggerPickLocationFromEntityTowardsPlayer(float arc, float minDist, float maxDist)
public void triggerPickLocationTowardsPlayer(SectorEntityToken entity, float arc, float minDist, float maxDist)
public void triggerPickLocationFromEntityTowardsPlayer(float arc, float minDistFromPlayer, float minDist, float maxDist)
public void triggerPickLocationTowardsPlayer(SectorEntityToken entity, float arc, float minDistFromPlayer, float minDist, float maxDist)
public void triggerPickLocationTowardsEntity(SectorEntityToken entity, float arc, float dist)
public void triggerPickLocationTowardsEntity(SectorEntityToken entity, float arc, float minDistFromPlayer, float minDist, float maxDist)
public void triggerPickLocationFromEntityAwayFromPlayer(float arc, float dist)
public void triggerPickLocationFromEntityAwayFromPlayer(float arc, float minDist, float maxDist)
public void triggerPickLocationFromEntityAwayFromPlayer(float arc, float minDistFromPlayer, float minDist, float maxDist)
public void triggerPickLocationAwayFromPlayer(SectorEntityToken entity, float arc, float dist)
public void triggerPickLocationAwayFromPlayer(SectorEntityToken entity, float arc, float minDist, float maxDist)
public void triggerPickLocationAwayFromPlayer(SectorEntityToken entity, float arc, float minDistFromPlayer, float minDist, float maxDist)
public void triggerPickLocationAroundPlayer(float dist)
public void triggerPickLocationAroundPlayer(float minDist, float maxDist)
public void triggerPickLocationAroundEntity(float dist)
public void triggerPickLocationAroundEntity(SectorEntityToken entity, float dist)
public void triggerPickLocationAroundEntity(SectorEntityToken entity, float minDist, float maxDist)
public void triggerPickLocationAroundEntity(SectorEntityToken entity, float minDistFromPlayer, float minDist, float maxDist)
public void triggerPickLocationAtInSystemJumpPoint(StarSystemAPI system)
public void triggerPickLocationAtInSystemJumpPoint(StarSystemAPI system, float minDistFromPlayer)
public void triggerPickLocationAtClosestToPlayerJumpPoint(StarSystemAPI system)
public void triggerPickLocationAtClosestToPlayerJumpPoint(StarSystemAPI system, float minDistFromPlayer)
public void triggerPickLocationAtClosestToEntityJumpPoint(StarSystemAPI system, SectorEntityToken entity)
public void triggerPickLocationAtClosestToEntityJumpPoint(StarSystemAPI system, SectorEntityToken entity, float minDistFromEntity)
public void triggerPickLocationWithinArc(float dir, float arc, float minDistFromPlayer, float minDist, float maxDist)
public void triggerPickLocationWithinArc(SectorEntityToken entity, float dir, float arc, float minDistFromPlayer, float minDist, float maxDist)
public void triggerSetEntityToPickedJumpPoint()
public void triggerFleetSetPatrolActionText(java.lang.String patrolText)
public void triggerFleetSetPatrolLeashRange(float dist)
public void triggerFleetSetTravelActionText(java.lang.String travelText)
public void triggerOrderFleetPatrol(StarSystemAPI system)
public void triggerOrderFleetPatrol(SectorEntityToken... patrolPoints)
public void triggerOrderFleetPatrol(boolean randomizeLocation, SectorEntityToken... patrolPoints)
public void triggerOrderFleetPatrol(StarSystemAPI system, boolean randomizeLocation, SectorEntityToken... patrolPoints)
public void triggerOrderFleetPatrol(StarSystemAPI system, boolean randomizeLocation, java.lang.String... tags)
public void triggerOrderExtraPatrolPoints(SectorEntityToken... points)
public void triggerOrderFleetPatrolEntity(boolean moveToNearEntity)
public void triggerOrderFleetPatrolHyper(StarSystemAPI system)
public void triggerFleetAddDefeatTrigger(java.lang.String trigger)
public void triggerFleetAddDefeatTriggerPermanent(java.lang.String trigger)
public void triggerMakeFleetGoAwayAfterDefeat()
public void triggerOrderFleetInterceptPlayer()
public void triggerOrderFleetInterceptPlayer(boolean makeHostile, boolean allowLongPursuit)
public void triggerOrderFleetMaybeEBurn()
public void triggerOrderFleetEBurn(float probabilityToEBurn)
public void triggerOrderFleetAttackLocation(SectorEntityToken entity)
public void triggerFleetNoAutoDespawn()
public void triggerFleetStopPursuingPlayerUnlessInStage(java.lang.Object... stages)
public void triggerFleetInterceptPlayerWithinRange(boolean mustBeStrongEnoughToFight, float maxRange, boolean repeatable, float repeatDelay, java.lang.Object... stages)
public void triggerFleetInterceptPlayerNearby(boolean mustBeStrongEnoughToFight, java.lang.Object... stages)
public void triggerFleetInterceptPlayerOnSight(boolean mustBeStrongEnoughToFight, java.lang.Object... stages)
public static Vector2f pickLocationWithinArc(java.util.Random random, SectorEntityToken entity, float dir, float arc, float minDistToPlayer, float minDist, float maxDist)
public static boolean isNearCorona(StarSystemAPI system, Vector2f loc)
public void triggerCustomAction(MissionTrigger.TriggerAction action)
public void beginGlobalFlagTrigger(java.lang.String flag, java.lang.Object... stages)
public void beginDaysElapsedTrigger(float days, java.lang.Object... stages)
public void beginDaysElapsedTrigger(float days, java.lang.Object stage, java.lang.Object... stages)
public void beginInCommRelayRangeTrigger(java.lang.Object... stages)
public void beginEnteredLocationTrigger(LocationAPI location, java.lang.Object... stages)
public void beginInRangeOfEntityTrigger(SectorEntityToken entity, float range, java.lang.Object... stages)
public void beginWithinHyperspaceRangeTrigger(SectorEntityToken entity, float rangeLY, boolean requirePlayerInHyperspace, java.lang.Object... stages)
public void beginWithinHyperspaceRangeTrigger(StarSystemAPI system, float rangeLY, boolean requirePlayerInHyperspace, java.lang.Object... stages)
public void beginWithinHyperspaceRangeTrigger(MarketAPI market, float rangeLY, boolean requirePlayerInHyperspace, java.lang.Object... stages)
public void beginStageTrigger(java.lang.Object... stages)
public void beginCustomTrigger(BaseHubMission.ConditionChecker condition, java.lang.Object... stages)
public void endTrigger()
protected void checkExistingTrigger()
public MissionTrigger getCurrTrigger()
public void setCurrTrigger(MissionTrigger currTrigger)
public void triggerSpawnEntity(java.lang.String entityId, BaseHubMission.LocData data)
public void triggerSpawnDebrisField(float radius, float density, BaseHubMission.LocData data)
public void triggerDespawnEntity(SectorEntityToken entity)
public void triggerSpawnDerelictHull(java.lang.String hullId, BaseHubMission.LocData data)
public void triggerSpawnDerelict(java.lang.String factionId, DerelictShipEntityPlugin.DerelictType type, BaseHubMission.LocData data)
public void triggerSpawnDerelict(DerelictShipEntityPlugin.DerelictType type, BaseHubMission.LocData data)
public void triggerSpawnDerelict(DerelictShipEntityPlugin.DerelictShipData shipData, BaseHubMission.LocData data)
public void triggerSpawnShipGraveyard(java.lang.String factionId, int minShips, int maxShips, BaseHubMission.LocData data)
public void triggerMakeMissionNodeDiscoverable()
public void triggerMakeDiscoverable(float range, float xp)
public void triggerFleetAddTags(java.lang.String... tags)
public void triggerAddTags(SectorEntityToken entity, java.lang.String... tags)
public void triggerRemoveTags(SectorEntityToken entity, java.lang.String... tags)
public void triggerMakeNonStoryCritical(MemoryAPI... memoryArray)
public void triggerMakeNonStoryCritical(java.lang.String... markets)
public void triggerMakeNonStoryCritical(MarketAPI... markets)
public void triggerFleetAddCommanderSkill(java.lang.String skill, int level)
public void triggerMakeAllFleetFlagsPermanent()
public void triggerUndoMakeAllFleetFlagsPermanent()
public static CampaignFleetAPI createFleet(HubMissionWithTriggers.FleetSize size, HubMissionWithTriggers.FleetQuality quality, HubMissionWithTriggers.OfficerNum oNum, HubMissionWithTriggers.OfficerQuality oQuality, java.lang.String factionId, java.lang.String fleetFactionId, java.lang.String type, Vector2f locInHyper)
public void triggerCreateSmallPatrolAroundMarket(MarketAPI market, java.lang.Object stage, float extraSuspicion)
public void triggerCreateMediumPatrolAroundMarket(MarketAPI market, java.lang.Object stage, float extraSuspicion)
public void triggerCreateLargePatrolAroundMarket(MarketAPI market, java.lang.Object stage, float extraSuspicion)
public void triggerCreateSmallPatrol(MarketAPI from, java.lang.String factionId, SectorEntityToken entityToPatrol, java.lang.Object stage, float extraSuspicion)
public void triggerCreateMediumPatrol(MarketAPI from, java.lang.String factionId, SectorEntityToken entityToPatrol, java.lang.Object stage, float extraSuspicion)
public void triggerCreateLargePatrol(MarketAPI from, java.lang.String factionId, SectorEntityToken entityToPatrol, java.lang.Object stage, float extraSuspicion)
public void triggerCreatePatrolAroundMarket(MarketAPI market, SectorEntityToken entityToPatrol, java.lang.Object stage, HubMissionWithTriggers.FleetSize size, java.lang.String fleetType, float extraSuspicion)
public void triggerCreatePatrolAroundMarket(MarketAPI market, java.lang.String factionId, SectorEntityToken entityToPatrol, java.lang.Object stage, HubMissionWithTriggers.FleetSize size, java.lang.String fleetType, float extraSuspicion)
public HubMissionWithTriggers.ComplicationSpawn pickComplicationSpawnType()
public void triggerRandomizeFleetProperties()
public void triggerComplicationBegin(java.lang.Object stage, HubMissionWithTriggers.ComplicationSpawn spawnType, StarSystemAPI system, java.lang.String factionId, java.lang.String thing, java.lang.String thingItOrThey, java.lang.String thingDesc, int paymentOffered, boolean aggressiveIfDeclined, HubMissionWithTriggers.ComplicationRepImpact repImpact, java.lang.String failTrigger)
public void triggerComplicationEnd(boolean randomizeAndAdjustFleetSize)
public void autoAdjustFleetTypeName()
public void triggerFleetSetWarnAttack(java.lang.String warnCommsTrigger, java.lang.String attackCommsTrigger, java.lang.Object... stages)
public void triggerFleetAddTugsFlag(int tugs)
public void triggerFleetMakeFaster(boolean navigationSkill, int numTugs, boolean allowLongPursuit)
public static void addTugsToFleet(CampaignFleetAPI fleet, int tugs, java.util.Random random)
public void setFleetDamageTaken(float damage)
public void setFleetSource(MarketAPI... preferred)
public void setFleetSource(java.lang.String... preferred)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.