1package com.fs.starfarer.api.campaign.impl.items;
5import com.fs.starfarer.api.Global;
6import com.fs.starfarer.api.campaign.CargoAPI;
7import com.fs.starfarer.api.campaign.CargoAPI.CargoItemType;
8import com.fs.starfarer.api.campaign.CargoTransferHandlerAPI;
9import com.fs.starfarer.api.campaign.SpecialItemData;
10import com.fs.starfarer.api.impl.campaign.ids.Items;
11import com.fs.starfarer.api.ui.TooltipMakerAPI;
12import com.fs.starfarer.api.util.Misc;
46 addCostLabel(tooltip, opad, transferHandler, stackSource);
49 tooltip.
addPara(
"Right-click to integrate the " +
getName() +
" with your fleet", b, opad);
55 return super.getTooltipWidth();
78 getName() +
" integrated - can transit wormholes");
static boolean CODEX_TOOLTIP_MODE
static SoundPlayerAPI getSoundPlayer()
static SectorAPI getSector()
void addCostLabel(TooltipMakerAPI tooltip, float pad, CargoTransferHandlerAPI transferHandler, Object stackSource)
SpecialItemSpecAPI getSpec()
boolean shouldRemoveOnRightClickAction()
void createTooltip(TooltipMakerAPI tooltip, boolean expanded, CargoTransferHandlerAPI transferHandler, Object stackSource)
boolean isTooltipExpandable()
static boolean canPlayerUseWormholes()
static String PLAYER_CAN_USE_WORMHOLES
void performRightClickAction()
boolean hasRightClickAction()
static final String WORMHOLE_SCANNER
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()
float getQuantity(CargoAPI.CargoItemType type, Object data)
void addMessage(String text)
CampaignFleetAPI getPlayerFleet()
CampaignUIAPI getCampaignUI()
MemoryAPI getMemoryWithoutUpdate()
void set(String key, Object value)
boolean getBoolean(String key)