Starsector API
Loading...
Searching...
No Matches
TTCRMercenariesBribedFactor.java
Go to the documentation of this file.
1package com.fs.starfarer.api.impl.campaign.intel.events.ttcr;
2
3import com.fs.starfarer.api.impl.campaign.intel.events.BaseEventIntel;
4import com.fs.starfarer.api.impl.campaign.intel.events.BaseFactorTooltip;
5import com.fs.starfarer.api.impl.campaign.intel.events.BaseOneTimeFactor;
6import com.fs.starfarer.api.ui.TooltipMakerAPI;
7import com.fs.starfarer.api.ui.TooltipMakerAPI.TooltipCreator;
8
10
14
15 @Override
16 public String getDesc(BaseEventIntel intel) {
17 return "Bribed mercenaries sent to attack you";
18 }
19
20 @Override
21 public TooltipCreator getMainRowTooltip(BaseEventIntel intel) {
22 return new BaseFactorTooltip() {
23 @Override
24 public void createTooltip(TooltipMakerAPI tooltip, boolean expanded, Object tooltipParam) {
25 tooltip.addPara("A mercenary company was sent to disrupt your industrial base, but you've successfully "
26 + "bribed them to attack a Tri-Tachyon system instead.",
27 0f);
28 }
29
30 };
31 }
32
33}