Class CBMerc
java.lang.Object
com.fs.starfarer.api.impl.campaign.missions.cb.BaseCustomBountyCreator
com.fs.starfarer.api.impl.campaign.missions.cb.CBMerc
- All Implemented Interfaces:
CustomBountyCreator
,HubMissionWithSearch.GenericRequirement
,HubMissionWithSearch.StarSystemRequirement
- Direct Known Subclasses:
CBMercUW
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fs.starfarer.api.impl.campaign.missions.cb.CustomBountyCreator
CustomBountyCreator.CustomBountyData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic float
static float
static float
static float
Fields inherited from class com.fs.starfarer.api.impl.campaign.missions.cb.BaseCustomBountyCreator
DEFAULT_FREQUENCY, STAGE
Fields inherited from interface com.fs.starfarer.api.impl.campaign.missions.cb.CustomBountyCreator
MAX_DIFFICULTY, MIN_DIFFICULTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBounty
(MarketAPI createdAt, HubMissionWithBarEvent mission, int difficulty, Object bountyStage) protected StarSystemAPI
findSystem
(MarketAPI createdAt, HubMissionWithBarEvent mission, int difficulty, Object bountyStage) float
getFrequency
(HubMissionWithBarEvent mission, int difficulty) int
int
protected boolean
isAggro()
void
Methods inherited from class com.fs.starfarer.api.impl.campaign.missions.cb.BaseCustomBountyCreator
addFleetDescription, addIntelAssessment, addTargetLocationAndDescription, addTargetLocationAndDescriptionBulletPoint, beginFleet, createFleet, getBaseBountyName, getBountyDays, getIconName, getId, getNumCompletedForPerson, getNumCompletedGlobal, getNumCompletedGlobalKey, getNumCompletedPerPersonKey, getRepFaction, getRepPerson, getSystemWithNoTimeLimit, isReduceFrequencyBasedOnNumberOfCompletions, isRepeatableGlobally, isRepeatablePerPerson, notifyAccepted, notifyCompleted, notifyFailed, setRepChangesBasedOnDifficulty, systemMatchesRequirement
-
Field Details
-
PROB_SMALL_FLEET
public static float PROB_SMALL_FLEET -
PROB_SOME_PHASE_IN_SMALL_FLEET
public static float PROB_SOME_PHASE_IN_SMALL_FLEET -
PROB_CARRIER_BASED_LARGE_FLEET
public static float PROB_CARRIER_BASED_LARGE_FLEET -
PROB_SOME_PHASE_IN_LARGE_FLEET
public static float PROB_SOME_PHASE_IN_LARGE_FLEET
-
-
Constructor Details
-
CBMerc
public CBMerc()
-
-
Method Details
-
getFrequency
- Specified by:
getFrequency
in interfaceCustomBountyCreator
- Overrides:
getFrequency
in classBaseCustomBountyCreator
-
getBountyNamePostfix
public String getBountyNamePostfix(HubMissionWithBarEvent mission, CustomBountyCreator.CustomBountyData data) - Specified by:
getBountyNamePostfix
in interfaceCustomBountyCreator
- Overrides:
getBountyNamePostfix
in classBaseCustomBountyCreator
-
findSystem
protected StarSystemAPI findSystem(MarketAPI createdAt, HubMissionWithBarEvent mission, int difficulty, Object bountyStage) -
isAggro
protected boolean isAggro() -
createBounty
public CustomBountyCreator.CustomBountyData createBounty(MarketAPI createdAt, HubMissionWithBarEvent mission, int difficulty, Object bountyStage) - Specified by:
createBounty
in interfaceCustomBountyCreator
- Overrides:
createBounty
in classBaseCustomBountyCreator
-
updateInteractionData
public void updateInteractionData(HubMissionWithBarEvent mission, CustomBountyCreator.CustomBountyData data) - Specified by:
updateInteractionData
in interfaceCustomBountyCreator
- Overrides:
updateInteractionData
in classBaseCustomBountyCreator
-
getMaxDifficulty
public int getMaxDifficulty()- Specified by:
getMaxDifficulty
in interfaceCustomBountyCreator
- Overrides:
getMaxDifficulty
in classBaseCustomBountyCreator
-
getMinDifficulty
public int getMinDifficulty()- Specified by:
getMinDifficulty
in interfaceCustomBountyCreator
- Overrides:
getMinDifficulty
in classBaseCustomBountyCreator
-