1package com.fs.starfarer.api.impl.campaign.intel.misc;
4import java.util.ArrayList;
8import org.lwjgl.input.Keyboard;
10import com.fs.starfarer.api.Global;
11import com.fs.starfarer.api.campaign.FactionAPI;
12import com.fs.starfarer.api.campaign.SectorEntityToken;
13import com.fs.starfarer.api.campaign.TextPanelAPI;
14import com.fs.starfarer.api.campaign.comm.IntelInfoPlugin;
15import com.fs.starfarer.api.campaign.econ.MarketAPI;
16import com.fs.starfarer.api.impl.campaign.ids.Factions;
17import com.fs.starfarer.api.impl.campaign.ids.Tags;
18import com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin;
19import com.fs.starfarer.api.impl.campaign.missions.luddic.LuddicPilgrimsPath;
20import com.fs.starfarer.api.loading.Description;
21import com.fs.starfarer.api.loading.Description.Type;
22import com.fs.starfarer.api.ui.ButtonAPI;
23import com.fs.starfarer.api.ui.IntelUIAPI;
24import com.fs.starfarer.api.ui.SectorMapAPI;
25import com.fs.starfarer.api.ui.TooltipMakerAPI;
26import com.fs.starfarer.api.util.Misc;
30 public static String
VISITED =
"$visitedShrine";
100 if (mode == ListInfoMode.IN_DESC) initPad = opad;
116 info.
addPara(
"Visited", c, initPad);
119 info.
addPara(
"Not visited", tc, initPad);
123 if (mode == ListInfoMode.INTEL) {
136 if (mode == ListInfoMode.MESSAGES) {
137 pre =
"Discovered: ";
139 if (mode == ListInfoMode.INTEL) {
163 if (
id.equals(
"jangala")) {
169 }
else if (
id.equals(
"volturn")) {
175 }
else if (
id.equals(
"hesperus")) {
181 }
else if (
id.equals(
"gilead")) {
187 }
else if (
id.equals(
"beholder_station")) {
198 }
else if (
id.equals(
"killa")) {
229 Set<String> tags = super.getIntelTags(map);
269 return "ui_discovered_entity";
283 super.buttonPressConfirmed(buttonId, ui);
294 String buttonText =
"Show shrines";
296 buttonText =
"Go back";
314 List<IntelInfoPlugin> show =
new ArrayList<IntelInfoPlugin>();
static SettingsAPI getSettings()
static SectorAPI getSector()
static final String LUDDIC_CHURCH
void unindent(TooltipMakerAPI info)
ButtonAPI addGenericButton(TooltipMakerAPI info, float width, String text, Object data)
Object getListInfoParam()
Color getBulletColorForMode(ListInfoMode mode)
void bullet(TooltipMakerAPI info)
Color getTitleColor(ListInfoMode mode)
FactionAPI getFactionForUIColors()
static void setVisited(SectorEntityToken entity, TextPanelAPI text)
void addBulletPoints(TooltipMakerAPI info, ListInfoMode mode)
Set< String > getIntelTags(SectorMapAPI map)
static void addShrineIntelIfNeeded(SectorEntityToken entity, TextPanelAPI text)
String getSmallDescriptionTitle()
static SectorEntityToken getEntity(String id)
static LuddicShrineIntel getShrineIntel(SectorEntityToken entity)
void createSmallDescription(TooltipMakerAPI info, float width, float height)
SectorEntityToken getEntity()
LuddicShrineIntel(SectorEntityToken entity)
String getCommMessageSound()
void buttonPressConfirmed(Object buttonId, IntelUIAPI ui)
static void addShowShrinesButton(IntelInfoPlugin curr, float width, float height, TooltipMakerAPI info)
static void addShrineIntelIfNeeded(String id, TextPanelAPI text)
static void toggleShrineList(IntelInfoPlugin curr, IntelUIAPI ui)
static String BUTTON_SHOW_SHRINES
void createIntelInfo(TooltipMakerAPI info, ListInfoMode mode)
boolean shouldRemoveIntel()
SectorEntityToken getMapLocation(SectorMapAPI map)
static boolean isVisited(SectorEntityToken entity)
static void addShrineIntelIfNeeded(SectorEntityToken entity, TextPanelAPI text, boolean quiet)
static Color getTextColor()
static Color getGrayColor()
static Color getHighlightColor()
Description getDescription(String id, Type type)
String getSpriteName(String category, String id)
IntelManagerAPI getIntelManager()
FactionAPI getFaction(String factionId)
SectorEntityToken getEntityById(String id)
MemoryAPI getMemoryWithoutUpdate()
void addIntel(IntelInfoPlugin plugin)
List< IntelInfoPlugin > getIntel()
void sortIntel(List< IntelInfoPlugin > toSort)
boolean hasIntelOfClass(Class<?> c)
void addIntelToTextPanel(IntelInfoPlugin plugin, TextPanelAPI textPanel)
MarketAPI getMarket(String id)
boolean isPlanetConditionMarketOnly()
MemoryAPI getMemoryWithoutUpdate()
PlanetAPI getPlanetEntity()
SectorEntityToken getPrimaryEntity()
void set(String key, Object value)
boolean getBoolean(String key)
boolean isShowingCustomIntelSubset()
void selectItem(IntelInfoPlugin plugin)
void updateUIForItem(IntelInfoPlugin plugin)