Class SalvageSpecialAssigner
java.lang.Object
com.fs.starfarer.api.impl.campaign.procgen.themes.SalvageSpecialAssigner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static interface
static class
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
static int
static int
static int
static float
static float
protected static Random
static int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
static void
assignSpecials
(SectorEntityToken entity) static void
assignSpecials
(SectorEntityToken entity, boolean onNewGame) static void
assignSpecials
(SectorEntityToken entity, boolean onNewGame, Random random) static void
assignSpecials
(List<BaseThemeGenerator.StarSystemData> systemData, SalvageSpecialAssigner.SpecialCreationContext context) static WeightedRandomPicker<String>
getHabCargo
(Random random) static WeightedRandomPicker<String>
getIndustryCargo
(Random random) static WeightedRandomPicker<String>
getNearbyFactions
(Random random, SectorEntityToken entity) static WeightedRandomPicker<String>
getNearbyFactions
(Random random, SectorEntityToken entity, float rangeLY, float indWeight, float pirateWeight) static WeightedRandomPicker<String>
getNearbyFactions
(Random random, org.lwjgl.util.vector.Vector2f locationInHyper, float rangeLY, float indWeight, float pirateWeight) static WeightedRandomPicker<String>
getValuableCargo
(Random random) pickSpecialFor
(SectorEntityToken entity, SalvageSpecialAssigner.SpecialCreationContext context)
-
Field Details
-
STANDARD_PODS_OFFICER_LEVEL
public static int STANDARD_PODS_OFFICER_LEVEL -
EXCEPTIONAL_PODS_OFFICER_LEVEL
public static int EXCEPTIONAL_PODS_OFFICER_LEVEL -
EXCEPTIONAL_PODS_OFFICER_ELITE_SKILLS
public static int EXCEPTIONAL_PODS_OFFICER_ELITE_SKILLS -
MAX_EXCEPTIONAL_PODS_OFFICERS
public static int MAX_EXCEPTIONAL_PODS_OFFICERS -
PROB_EXCEPTIONAL_PODS_OFFICER
public static float PROB_EXCEPTIONAL_PODS_OFFICER -
PROB_UNEXCEPTIONAL_USE_TEMPLATE
public static float PROB_UNEXCEPTIONAL_USE_TEMPLATE -
MAX_NORMAL_OFFICER_LEVEL
public static int MAX_NORMAL_OFFICER_LEVEL -
randomOverride
-
-
Constructor Details
-
SalvageSpecialAssigner
public SalvageSpecialAssigner()
-
-
Method Details
-
assignSpecialForBattleWreck
-
assignSpecialForDistressDerelict
-
assignSpecialForDebrisField
-
getValuableCargo
-
getIndustryCargo
-
getHabCargo
-
getNearbyFactions
public static WeightedRandomPicker<String> getNearbyFactions(Random random, SectorEntityToken entity) -
getNearbyFactions
public static WeightedRandomPicker<String> getNearbyFactions(Random random, SectorEntityToken entity, float rangeLY, float indWeight, float pirateWeight) -
getNearbyFactions
public static WeightedRandomPicker<String> getNearbyFactions(Random random, org.lwjgl.util.vector.Vector2f locationInHyper, float rangeLY, float indWeight, float pirateWeight) -
pickSpecialFor
public static SalvageSpecialAssigner.SpecialCreator pickSpecialFor(SectorEntityToken entity, SalvageSpecialAssigner.SpecialCreationContext context) -
assignSpecials
-
assignSpecials
-
assignSpecials
-
assignSpecials
public static void assignSpecials(List<BaseThemeGenerator.StarSystemData> systemData, SalvageSpecialAssigner.SpecialCreationContext context)
-