round_event ![code/modules/events/_event.dm 157](git.png)
Vars | |
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. |
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. |
Procs | |
announce_to_ghosts | Called after something followable has been spawned by an event Provides ghosts a follow link to an atom if possible Only called once. |
Var Details
activeFor ![code/modules/events/_event.dm 174](git.png)
How long the event has existed. You don't need to change this.
announce_chance ![code/modules/events/_event.dm 168](git.png)
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 ![code/modules/events/_event.dm 166](git.png)
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.
current_players ![code/modules/events/_event.dm 176](git.png)
Amount of of alive, non-AFK human players on server at the time of event start
end_when ![code/modules/events/_event.dm 171](git.png)
When in the lifetime the event should end. This is in seconds - so 1 = ~2 seconds in.
fakeable ![code/modules/events/_event.dm 179](git.png)
Can be faked by fake news event.
start_when ![code/modules/events/_event.dm 163](git.png)
When in the lifetime to call start(). This is in seconds - so 1 = ~2 seconds in.
Proc Details
announce_to_ghosts
Called after something followable has been spawned by an event Provides ghosts a follow link to an atom if possible Only called once.