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

round_event

Vars

activeForHow long the event has existed. You don't need to change this.
announce_chanceProbability of announcing, used in prob(), 0 to 100, default 100. Called in process, and for a second time in the ion storm event.
announce_whenWhen in the lifetime to call announce(). If you don't want it to announce use announce_chance, below. This is in seconds - so 1 = ~2 seconds in.
cancel_eventWhether a admin wants this event to be cancelled
current_playersAmount of of alive, non-AFK human players on server at the time of event start
end_whenWhen in the lifetime the event should end. This is in seconds - so 1 = ~2 seconds in.
fakeableCan be faked by fake news event.
start_whenWhen in the lifetime to call start(). This is in seconds - so 1 = ~2 seconds in.

Procs

announce_deadchatAnnouces the event name to deadchat, override this if what an event should show to deadchat is different to its event name.
event_minimum_security_levelICES - Intensity Credit Events System

Var Details

activeFor

How long the event has existed. You don't need to change this.

announce_chance

Probability of announcing, used in prob(), 0 to 100, default 100. Called in process, and for a second time in the ion storm event.

announce_when

When in the lifetime to call announce(). If you don't want it to announce use announce_chance, below. This is in seconds - so 1 = ~2 seconds in.

cancel_event

Whether a admin wants this event to be cancelled

current_players

Amount of of alive, non-AFK human players on server at the time of event start

end_when

When in the lifetime the event should end. This is in seconds - so 1 = ~2 seconds in.

fakeable

Can be faked by fake news event.

start_when

When in the lifetime to call start(). This is in seconds - so 1 = ~2 seconds in.

Proc Details

announce_deadchat

Annouces the event name to deadchat, override this if what an event should show to deadchat is different to its event name.

event_minimum_security_level

ICES - Intensity Credit Events System

This is called by events to check/change security level. Checks if the station security level is at least minimum_level, and if not, sets it to that level. If orange, also sends the engineering override signal to airlocks to enable additional access. Arguments: min_level: number, eng_access: boolean, maint_access: boolean