/tg/ Station 13 - Modules - TypesVar Details - Proc Details

pirate_gang

datum for a pirate team that is spawning to attack the station.

Vars

announcement_colorThe colour of their announcements when sent to players
arrival_announcementstation receives this message upon the ship's spawn
is_heavy_threatWhether or not this pirate crew is a heavy-level threat
namename of this gang, for spawning feedback
paid_offHave the pirates been paid off?
possible_answerswhat the station can say in response, first item pays the pirates, second item rejects it.
response_not_enoughstation pays the pirates... but doesn't have enough cash.
response_receivedstation responds to message and pays the pirates
response_rejectedstation responds to message and pays the pirates
response_too_latestation pays the pirates, but after the ship spawned
ship_namethe random ship name chosen from pirates.json
ship_name_poolthe key to the json list of pirate names
ship_template_idthe ship they load in on.
threat_contentthe contents of the message sent to the station. %SHIPNAME in the content will be replaced with the pirate ship's name %PAYOFF in the content will be replaced with the requested credits.
threat_titleinbound message title the station receives

Procs

can_rollwhether this pirate gang can roll today. this is called when the global list initializes, so returning FALSE means it cannot show up at all for the entire round.
generate_messagereturns a new comm_message datum from this pirate gang

Var Details

announcement_color

The colour of their announcements when sent to players

arrival_announcement

station receives this message upon the ship's spawn

is_heavy_threat

Whether or not this pirate crew is a heavy-level threat

name

name of this gang, for spawning feedback

paid_off

Have the pirates been paid off?

possible_answers

what the station can say in response, first item pays the pirates, second item rejects it.

response_not_enough

station pays the pirates... but doesn't have enough cash.

response_received

station responds to message and pays the pirates

response_rejected

station responds to message and pays the pirates

response_too_late

station pays the pirates, but after the ship spawned

ship_name

the random ship name chosen from pirates.json

ship_name_pool

the key to the json list of pirate names

ship_template_id

the ship they load in on.

threat_content

the contents of the message sent to the station. %SHIPNAME in the content will be replaced with the pirate ship's name %PAYOFF in the content will be replaced with the requested credits.

threat_title

inbound message title the station receives

Proc Details

can_roll

whether this pirate gang can roll today. this is called when the global list initializes, so returning FALSE means it cannot show up at all for the entire round.

generate_message

returns a new comm_message datum from this pirate gang