1package com.fs.starfarer.api.impl.campaign.intel.events;
5import com.fs.starfarer.api.campaign.StarSystemAPI;
6import com.fs.starfarer.api.campaign.econ.MarketAPI;
7import com.fs.starfarer.api.impl.campaign.intel.PerseanLeagueMembership;
8import com.fs.starfarer.api.impl.campaign.rulecmd.HA_CMD;
9import com.fs.starfarer.api.ui.MapParams;
10import com.fs.starfarer.api.ui.TooltipMakerAPI;
11import com.fs.starfarer.api.ui.TooltipMakerAPI.TooltipCreator;
12import com.fs.starfarer.api.ui.UIPanelAPI;
13import com.fs.starfarer.api.util.Misc;
31 public void createTooltip(
TooltipMakerAPI tooltip,
boolean expanded, Object tooltipParam) {
33 tooltip.
addPara(
"Going to Kazeron and negotiating to join the League is likely to get "
34 +
"this harassment to stop. If "
35 +
"left unchecked, this low-grade conflict will eventually come to a head and is likely to "
39 tooltip.
addPara(
"Event progress value is based on the number and size of colonies "
40 +
"under your control. Requires one size %s colony, or at least %s colonies with one "
54 float h = Math.round(w / 1.6f);
71 return super.getProgressStr();
78 return super.getProgressColor(
intel);
95 int size = market.getSize();
107 }
else if (size == 5) {
109 }
else if (size == 6) {
116 int progress = score;
123 return "Colony presence and size";
static boolean isDefeatedBlockadeOrPunEx()
HostileActivityEventIntel intel
float getMarketPresenceFactor(StarSystemAPI system)
static MarketAPI getKazeron(boolean requireMilitaryBase)
static int COUNT_IF_MEDIUM
float getMagnitudeContribution(StarSystemAPI system)
TooltipCreator getTooltip()
StandardPerseanLeagueActivityCause(HostileActivityEventIntel intel)
Color getProgressColor(BaseEventIntel intel)
static boolean canPlayerJoinTheLeague()
void showSystem(StarSystemAPI system)
void positionToShowAllMarkersAndSystems(boolean showPlayerFleet, float heightOnScreen)
static Color getHighlightColor()
static List< MarketAPI > getPlayerMarkets(boolean includeNonPlayerFaction)
String getNameWithLowercaseTypeShort()
StarSystemAPI getStarSystem()