1package com.fs.starfarer.api.impl.campaign.intel.misc;
7import com.fs.starfarer.api.Global;
8import com.fs.starfarer.api.campaign.FactionAPI;
9import com.fs.starfarer.api.campaign.SectorEntityToken;
10import com.fs.starfarer.api.campaign.StarSystemAPI;
11import com.fs.starfarer.api.impl.campaign.ids.Tags;
12import com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin;
13import com.fs.starfarer.api.impl.campaign.procgen.themes.RemnantThemeGenerator.RemnantSystemType;
14import com.fs.starfarer.api.loading.Description;
15import com.fs.starfarer.api.loading.Description.Type;
16import com.fs.starfarer.api.ui.SectorMapAPI;
17import com.fs.starfarer.api.ui.TooltipMakerAPI;
18import com.fs.starfarer.api.util.Misc;
30 RemnantSystemType remnantType =
null;
32 remnantType = RemnantSystemType.DESTROYED;
34 remnantType = RemnantSystemType.SUPPRESSED;
36 remnantType = RemnantSystemType.RESURGENT;
59 if (mode == ListInfoMode.IN_DESC) initPad = opad;
67 Color dangerColor =
null;
80 info.
addPara(
"Danger level: " + danger, initPad, tc, dangerColor, danger);
111 if (system !=
null) {
113 ", warning of dangers that presumably lie within.", opad);
133 Set<String> tags = super.getIntelTags(map);
145 return "Warning Beacon 3";
147 return "Warning Beacon 2";
149 return "Warning Beacon 1";
151 return "Warning Beacon 0";
162 return "Warning Beacon";
167 return super.getFactionForUIColors();
178 if (system !=
null) {
192 return "ui_discovered_entity";
static SettingsAPI getSettings()
void unindent(TooltipMakerAPI info)
Object getListInfoParam()
Color getBulletColorForMode(ListInfoMode mode)
void bullet(TooltipMakerAPI info)
Color getTitleColor(ListInfoMode mode)
String getSmallDescriptionTitle()
FactionAPI getFactionForUIColors()
SectorEntityToken getMapLocation(SectorMapAPI map)
WarningBeaconIntel(SectorEntityToken beacon)
RemnantSystemType getRemnantType()
void addBulletPoints(TooltipMakerAPI info, ListInfoMode mode)
boolean shouldRemoveIntel()
Set< String > getIntelTags(SectorMapAPI map)
String getCommMessageSound()
void createIntelInfo(TooltipMakerAPI info, ListInfoMode mode)
void createSmallDescription(TooltipMakerAPI info, float width, float height)
String getText1FirstPara()
static Color getTextColor()
static Color getNegativeHighlightColor()
static Color getGrayColor()
static StarSystemAPI getNearbyStarSystem(SectorEntityToken token, float maxRangeLY)
static Color getHighlightColor()
static Color getPositiveHighlightColor()
Description getDescription(String id, Type type)
String getSpriteName(String category, String id)
String getNameWithLowercaseType()
boolean hasTag(String tag)
MemoryAPI getMemoryWithoutUpdate()
SectorEntityToken getHyperspaceAnchor()
boolean contains(String key)