1package com.fs.starfarer.api.impl.campaign.intel.bar.events;
5import com.fs.starfarer.api.campaign.econ.MarketAPI;
6import com.fs.starfarer.api.characters.PersonAPI;
7import com.fs.starfarer.api.impl.campaign.ids.Commodities;
8import com.fs.starfarer.api.impl.campaign.ids.Factions;
9import com.fs.starfarer.api.impl.campaign.ids.Ranks;
10import com.fs.starfarer.api.impl.campaign.ids.Tags;
11import com.fs.starfarer.api.impl.campaign.intel.contacts.ContactIntel;
12import com.fs.starfarer.api.util.Misc;
21 if (!super.shouldShowAtMarket(
market))
return false;
24 if (!
market.getFactionId().equals(Factions.DIKTAT)) {
38 super.adjustPerson(
person);
40 person.addTag(Tags.CONTACT_MILITARY);
45 return Ranks.POST_AGENT;
50 return Commodities.LOBSTER;
55 return Factions.DIKTAT;
60 return Ranks.GROUND_CAPTAIN;
76 return "A grinning security officer is gesturing excitedly to a nearby patron.";
81 return "Sidle up to the security officer and see what they're so pleased about";
90 return "\"Why, just today an amazing opportunity fell into my lap. " +
91 "And yours as well, how wonderful!\" " + heOrShe +
" sweeps " + hisOrHer +
" arm regally " +
92 "to encompass the scale of your shared luck, somehow managing not to spill the drinks of " +
93 "several patrons.\n\n"
94 +
"You are told the story of tiresome property seizures from " +
95 "'disloyal elements'.\n\n"
96 +
" \"It's not so much trouble to, you know. Play along? " +
97 "But they insist on carrying on, and on... not that I mind the perks of the job, of course.\"";
107 "What this amounts to, you are told, is that the District 4 Gendarmerie's evidence " +
108 "locker - and maintenance bay, and several interrogation rooms - are filled with cases " +
109 "of cyro-stabilized Volturnian Lobster, nearly %s units in all. The officers eat like " +
110 "royalty, yes, but there's only so much one can take and the coolant cells won't last " +
111 "another week without replacement, so.\n\n"
112 + Misc.ucFirst(heOrShe) +
" turns to " +
113 "you. %s will satisfy the district commandant as well as your new friend here, " +
114 "and the entire cargo can be transferred to your holds without the bother of tariffs.\n\n" +
116 "\"What do you say, will you help maintain a little law and order?\"";
125 return new Color [] { Misc.getHighlightColor(), Misc.getHighlightColor() };
130 return "Accept the offer and transfer " + Misc.getDGSCredits(
unitPrice *
quantity) +
" to the provided TriAnon account";
135 return "Decline the offer apologetically, citing a terrible shellfish allergy";
145 return new String [] {};
149 return new Color [] {};
transient TextPanelAPI text
PersonImportance pickMediumImportance()
void regen(MarketAPI market)
boolean shouldShowAtMarket(MarketAPI market)
void adjustPerson(PersonAPI person)
String getPersonFaction()
Color[] getMainText2Colors()
void doExtraConfirmActions()
Color[] getAcceptTextColors()
String[] getMainText2Tokens()
String[] getAcceptTextTokens()