/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.
excute_round_end_reportsЗаписывать ли событие в лог СТ для вывода в конце раунда?
fakeableCan be faked by fake news event.
forcedИвент считается форшеным?
has_startedWhether the event called its start() yet or not.
setuphave we finished setup?
start_whenWhen in the lifetime to call start(). This is in seconds - so 1 = ~2 seconds in.

Procs

announce_deadchatAnnounces the event name to deadchat, override this if what an event should show to deadchat is different to its event name.
try_startThis section of event processing is in a proc because roundstart events may get their start invoked.

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.

excute_round_end_reports

Записывать ли событие в лог СТ для вывода в конце раунда?

fakeable

Can be faked by fake news event.

forced

Ивент считается форшеным?

has_started

Whether the event called its start() yet or not.

setup

have we finished setup?

start_when

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

Proc Details

announce_deadchat

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

try_start

This section of event processing is in a proc because roundstart events may get their start invoked.