random_ship_event 
Random ship datum that may approach the station.
Vars | |
accepted | Has the ship been accepted? |
---|---|
announcement_color | The colour of their announcements when sent to players |
arrival_announcement | Station receives this message upon the ship's spawn. |
message_content | The contents of the message sent to the station. %SHIPNAME in the content will be replaced with the ship's name. |
message_title | Inbound message title the station receives. |
name | Name of this event, for spawning feedback. |
possible_answers | What the station can say in response. First item accepts the ship, second item rejects it. |
response_accepted | Station responds to message and accepts the ship. |
response_rejected | Station responds to message and rejects the ship. |
ship_name | The random ship name chosen from pirates.json. |
ship_name_pool | The key to the json list of ship names. |
ship_template_id | The ship they load in on. |
Procs | |
can_roll | Whether this random ship event can roll today. This is called when the global list initializes. Returning FALSE means it cannot show up at all for the entire round. |
generate_message | Returns a new comm_message datum from this random ship event. |
on_accept | Additional effects when the ship is accepted |
on_refuse | Additional effects when the ship is refused |
on_ship_spawn | Additional effects when the ship actually spawns |
Var Details
accepted 
Has the ship been accepted?
announcement_color 
The colour of their announcements when sent to players
arrival_announcement 
Station receives this message upon the ship's spawn.
message_content 
The contents of the message sent to the station. %SHIPNAME in the content will be replaced with the ship's name.
message_title 
Inbound message title the station receives.
name 
Name of this event, for spawning feedback.
possible_answers 
What the station can say in response. First item accepts the ship, second item rejects it.
response_accepted 
Station responds to message and accepts the ship.
response_rejected 
Station responds to message and rejects the ship.
ship_name 
The random ship name chosen from pirates.json.
ship_name_pool 
The key to the json list of ship names.
ship_template_id 
The ship they load in on.
Proc Details
can_roll
Whether this random ship event can roll today. This is called when the global list initializes. Returning FALSE means it cannot show up at all for the entire round.
generate_message
Returns a new comm_message datum from this random ship event.
on_accept
Additional effects when the ship is accepted
on_refuse
Additional effects when the ship is refused
on_ship_spawn
Additional effects when the ship actually spawns