1package com.fs.starfarer.api.impl.campaign.rulecmd.salvage.special;
3import java.util.ArrayList;
5import java.util.Random;
7import com.fs.starfarer.api.Global;
8import com.fs.starfarer.api.campaign.FactionAPI;
9import com.fs.starfarer.api.characters.PersonAPI;
10import com.fs.starfarer.api.impl.campaign.ids.Skills;
11import com.fs.starfarer.api.impl.campaign.procgen.themes.SalvageSpecialAssigner;
12import com.fs.starfarer.api.plugins.OfficerLevelupPlugin;
13import com.fs.starfarer.api.util.WeightedRandomPicker;
34 public static class CryopodOfficerTemplate {
35 public List<String> base =
new ArrayList<String>();
36 public List<String> elite =
new ArrayList<String>();
38 public String personality =
null;
41 public CryopodOfficerTemplate() {
43 public CryopodOfficerTemplate(String personality) {
44 this.personality = personality;
49 if (personality !=
null) {
53 int level = base.size() + elite.size();
59 for (String
id : base) {
62 for (String
id : elite) {
73 CryopodOfficerTemplate t;
78 t =
new CryopodOfficerTemplate();
89 t =
new CryopodOfficerTemplate();
100 t =
new CryopodOfficerTemplate();
110 t =
new CryopodOfficerTemplate();
121 t =
new CryopodOfficerTemplate();
133 t =
new CryopodOfficerTemplate();
144 t =
new CryopodOfficerTemplate();
156 t =
new CryopodOfficerTemplate();
167 t =
new CryopodOfficerTemplate();
182 t =
new CryopodOfficerTemplate();
191 t =
new CryopodOfficerTemplate();
200 t =
new CryopodOfficerTemplate();
209 t =
new CryopodOfficerTemplate();
218 t =
new CryopodOfficerTemplate();
227 t =
new CryopodOfficerTemplate();
236 t =
new CryopodOfficerTemplate();
245 t =
new CryopodOfficerTemplate();
254 t =
new CryopodOfficerTemplate();
263 t =
new CryopodOfficerTemplate();
272 t =
new CryopodOfficerTemplate();
282 t =
new CryopodOfficerTemplate();
static SettingsAPI getSettings()
static SectorAPI getSector()
static final String BALLISTIC_MASTERY
static final String COMBAT_ENDURANCE
static final String TARGET_ANALYSIS
static final String HELMSMANSHIP
static final String MISSILE_SPECIALIZATION
static final String POINT_DEFENSE
static final String ORDNANCE_EXPERTISE
static final String IMPACT_MITIGATION
static final String SYSTEMS_EXPERTISE
static final String ENERGY_WEAPON_MASTERY
static final String POLARIZED_ARMOR
static final String FIELD_MODULATION
static final String DAMAGE_CONTROL
static final String GUNNERY_IMPLANTS
static int MAX_EXCEPTIONAL_PODS_OFFICERS
static int getNumExceptionalCreated()
static String EXCEPTIONAL_OFFICERS_CREATED_KEY
static WeightedRandomPicker< CryopodOfficerTemplate > TEMPLATES_NORMAL
static WeightedRandomPicker< CryopodOfficerTemplate > TEMPLATES_EXCEPTIONAL
static boolean canAddMoreExceptional()
static void incrNumExceptionalCreated()
Object getPlugin(String id)
PersonAPI createRandomPerson()
MemoryAPI getMemoryWithoutUpdate()
void set(String key, Object value)
void setSkillLevel(String id, float level)
MutableCharacterStatsAPI getStats()
void setPersonality(String personality)
long getXPForLevel(int level)