Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/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.
has_startedWhether the event called its start() yet or not.
oshan_blockedcanceled on oshan
setuphave we finished setup?
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.
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.

fakeable

Can be faked by fake news event.

has_started

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

oshan_blocked

canceled on oshan

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

Annouces 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.