1package com.fs.starfarer.api.impl.campaign.intel.deciv;
6import com.fs.starfarer.api.Global;
7import com.fs.starfarer.api.campaign.FactionAPI;
8import com.fs.starfarer.api.campaign.SectorEntityToken;
9import com.fs.starfarer.api.campaign.econ.MarketAPI;
10import com.fs.starfarer.api.impl.campaign.ids.Tags;
11import com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin;
12import com.fs.starfarer.api.ui.SectorMapAPI;
13import com.fs.starfarer.api.ui.TooltipMakerAPI;
14import com.fs.starfarer.api.util.Misc;
30 this.faction = market.getFaction();
31 name = market.getName();
36 Color h = Misc.getHighlightColor();
37 Color g = Misc.getGrayColor();
42 if (mode == ListInfoMode.IN_DESC) initPad = opad;
65 Color h = Misc.getHighlightColor();
66 Color g = Misc.getGrayColor();
67 Color tc = Misc.getTextColor();
75 info.addPara(
"Conditions at " +
name +
", a colony belonging to " +
76 faction.getDisplayNameWithArticle() +
", have taken a turn for the worse. Unless the colony " +
77 "is stabilized in some way, it's likely to decivilize and be lost completely in the near future.",
78 opad,
faction.getBaseUIColor(),
faction.getDisplayNameWithArticleWithoutArticle());
80 info.addPara(
name +
", a colony formerly belonging to " +
81 faction.getDisplayNameWithArticle() +
", has been destroyed.",
82 opad,
faction.getBaseUIColor(),
faction.getDisplayNameWithArticleWithoutArticle());
84 info.addPara(
name +
", a colony formerly belonging to " +
85 faction.getDisplayNameWithArticle() +
", has become decivilized. " +
86 "Central authority has collapsed completely and irreversibly, with the remaining " +
87 "population scrambling to survive.",
88 opad,
faction.getBaseUIColor(),
faction.getDisplayNameWithArticleWithoutArticle());
101 Set<String> tags = super.getIntelTags(map);
102 tags.add(Tags.INTEL_DECIVILIZED);
107 return "Decivilized " +
name;
112 return name +
" - Deterioration";
115 return name +
" - Destroyed";
117 return name +
" - Decivilized";
141 return super.getCommMessageSound();
static SettingsAPI getSettings()
void unindent(TooltipMakerAPI info)
Object getListInfoParam()
Color getBulletColorForMode(ListInfoMode mode)
void bullet(TooltipMakerAPI info)
Color getTitleColor(ListInfoMode mode)
FactionAPI getFactionForUIColors()
SectorEntityToken primary
SectorEntityToken getMapLocation(SectorMapAPI map)
String getCommMessageSound()
Set< String > getIntelTags(SectorMapAPI map)
void createSmallDescription(TooltipMakerAPI info, float width, float height)
void addBulletPoints(TooltipMakerAPI info, ListInfoMode mode)
void createIntelInfo(TooltipMakerAPI info, ListInfoMode mode)
DecivIntel(MarketAPI market, SectorEntityToken primary, boolean destroyed, boolean warning)
boolean shouldRemoveIntel()
String getSmallDescriptionTitle()
String getSpriteName(String category, String id)