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

pirate_gang

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

Vars

namename of this gang, for spawning feedback
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_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 recieves

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

name

name of this gang, for spawning feedback

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_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 recieves

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