1package com.fs.starfarer.api.campaign.impl.items;
5import com.fs.starfarer.api.Global;
6import com.fs.starfarer.api.campaign.CargoTransferHandlerAPI;
7import com.fs.starfarer.api.campaign.econ.MarketAPI;
8import com.fs.starfarer.api.campaign.econ.SubmarketAPI;
9import com.fs.starfarer.api.impl.campaign.GateEntityPlugin;
10import com.fs.starfarer.api.ui.TooltipMakerAPI;
11import com.fs.starfarer.api.util.Misc;
17 return super.getPrice(market, submarket);
55 addCostLabel(tooltip, opad, transferHandler, stackSource);
58 tooltip.
addPara(
"Right-click to integrate the " +
getName() +
" with your fleet", b, opad);
64 return super.getTooltipWidth();
90 getName() +
" integrated - can transit active gates");
static boolean CODEX_TOOLTIP_MODE
static SoundPlayerAPI getSoundPlayer()
static SectorAPI getSector()
void addCostLabel(TooltipMakerAPI tooltip, float pad, CargoTransferHandlerAPI transferHandler, Object stackSource)
SpecialItemSpecAPI getSpec()
int getPrice(MarketAPI market, SubmarketAPI submarket)
boolean isTooltipExpandable()
void createTooltip(TooltipMakerAPI tooltip, boolean expanded, CargoTransferHandlerAPI transferHandler, Object stackSource)
void performRightClickAction()
boolean shouldRemoveOnRightClickAction()
boolean hasRightClickAction()
static String GATES_ACTIVE
static String PLAYER_CAN_USE_GATES
static Color getTextColor()
static Color getButtonTextColor()
static Color getGrayColor()
static Color getHighlightColor()
static LabelAPI addDesignTypePara(TooltipMakerAPI tooltip, String design, float pad)
static Color getPositiveHighlightColor()
SoundAPI playUISound(String id, float pitch, float volume)
MessageDisplayAPI getMessageDisplay()
void addMessage(String text)
CampaignUIAPI getCampaignUI()
MemoryAPI getMemoryWithoutUpdate()
void set(String key, Object value)