1package com.fs.starfarer.api.impl.campaign;
5import com.fs.starfarer.api.campaign.FactionAPI;
6import com.fs.starfarer.api.impl.campaign.ids.Personalities;
7import com.fs.starfarer.api.plugins.FactionPersonalityPickerPlugin;
8import com.fs.starfarer.api.ui.TooltipMakerAPI;
9import com.fs.starfarer.api.util.Misc;
10import com.fs.starfarer.api.util.WeightedRandomPicker;
18 if (aggression == 1) {
22 }
else if (aggression == 2) {
24 }
else if (aggression == 3) {
26 }
else if (aggression == 4) {
29 }
else if (aggression == 5) {
41 tooltip.
addPara(
"%s officers and ship commanders.", opad,
43 }
else if (level == 2) {
44 tooltip.
addPara(
"%s officers and ship commanders.", opad, pH,
"Steady");
45 }
else if (level == 3) {
46 tooltip.
addPara(
"%s officers and ship commanders.", opad, pH,
"Aggressive");
47 }
else if (level == 4) {
48 tooltip.
addPara(
"A mix of %s and %s officers and ship commanders.", opad,
49 pH,
"aggressive",
"reckless");
50 }
else if (level == 5) {
51 tooltip.
addPara(
"%s officers and ship commanders.", opad, pH,
"Reckless");
void addDescToTooltip(TooltipMakerAPI tooltip, int level)
WeightedRandomPicker< String > createPersonalityPicker(FactionAPI faction)
static final String RECKLESS
static final String STEADY
static final String AGGRESSIVE
static final String CAUTIOUS
static Color getHighlightColor()
FactionDoctrineAPI getDoctrine()