1package com.fs.starfarer.api.impl.campaign.plog;
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.impl.campaign.ids.Tags;
10import com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin;
11import com.fs.starfarer.api.ui.CustomPanelAPI;
12import com.fs.starfarer.api.ui.SectorMapAPI;
13import com.fs.starfarer.api.ui.TooltipMakerAPI;
14import com.fs.starfarer.api.util.Misc;
16public class PLIntel extends BaseIntelPlugin {
25 Color h = Misc.getHighlightColor();
26 Color g = Misc.getGrayColor();
31 if (mode == ListInfoMode.IN_DESC) initPad = opad;
33 Color tc = getBulletColorForMode(mode);
55 Color h = Misc.getHighlightColor();
56 Color g = Misc.getGrayColor();
57 Color c = getTitleColor(mode);
71 if (Misc.isPlayerFactionSetUp()) {
72 return Global.
getSector().getPlayerFaction().getDisplayName() +
" - History";
74 return Global.
getSector().getPlayerPerson().getNameString() +
" - History";
89 Color h = Misc.getHighlightColor();
90 Color g = Misc.getGrayColor();
91 Color tc = Misc.getTextColor();
95 TooltipMakerAPI info = panel.createUIElement(width, height,
false);
96 panel.addUIElement(info).inTL(0, 0);
99 info.addPlaythroughDataPanel(width, height);
117 Set<String> tags = super.getIntelTags(map);
118 tags.add(Tags.INTEL_FLEET_LOG);
119 tags.add(Tags.INTEL_STORY);
static SettingsAPI getSettings()
static SectorAPI getSector()
void createIntelInfo(TooltipMakerAPI info, ListInfoMode mode)
Set< String > getIntelTags(SectorMapAPI map)
void addBulletPoints(TooltipMakerAPI info, ListInfoMode mode)
String getSmallDescriptionTitle()
FactionAPI getFactionForUIColors()
void createLargeDescription(CustomPanelAPI panel, float width, float height)
boolean hasSmallDescription()
SectorEntityToken getMapLocation(SectorMapAPI map)
boolean hasLargeDescription()
String getSpriteName(String category, String id)