Starsector API
Loading...
Searching...
No Matches
TTCRCommerceRaidersDestroyedFactor.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
12 super(points);
13 }
14
15 @Override
16 public String getDesc(BaseEventIntel intel) {
17 return "Commerce raiders destroyed";
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("Ships belonging to commerce raider fleets sent to harass your colonies "
26 + "by the Tri-Tachyon Corporation, destroyed by your fleet.",
27 0f);
28 }
29
30 };
31 }
32
33}