gamemode 
Vars | |
allow_pop_scaling | Whether we allow pop scaling. This is configured by config, or the storyteller UI |
---|---|
can_run_roundstart | Are we able to run roundstart events |
current_pop_scale_multipliers | Associative list of active multipliers from pop scale penalty. |
current_storyteller | Our storyteller. They progresses our trackboards and picks out events |
event_frequency_multiplier | Event frequency multiplier, it exists because wizard, eugh. |
event_pools | Associative list of control events by their track category. Compiled in Init |
event_track_points | Associative list of even track points. |
event_tracks | List of our event tracks for fast access during for loops. |
events_by_name | List of all valid event by their name |
forced_next_events | Associative list of tracks to forced event controls. For admins to force events (though they can still invoke them freely outside of the track system) |
halted_storyteller | Whether the storyteller has been halted |
last_point_gains | Last point amount gained of each track. Those are recorded for purposes of estimating how long until next event. |
max_depart_power | Максимальная сила отдела |
min_depart_power | Минимальная сила отдела |
min_pop_thresholds | Minimum population thresholds for the tracks to fire off events. |
next_storyteller_process | Next process for our storyteller. The wait time is STORYTELLER_WAIT_TIME |
panel_page | Page of the UI panel. |
point_gain_multipliers | Configurable multipliers for point gain over time. |
point_thresholds | Point thresholds at which the events are supposed to be rolled, it is also the base cost for events. |
pop_scale_penalties | Associative list of pop scale penalties. |
pop_scale_thresholds | Associative list of pop scale thresholds. |
presetuped_ocupations | Список ролей перед их сбросом в начале раунда |
ran_roundstart | Has a roundstart event been run |
ready_players | Ready players for roundstart events. |
roundstart_antag_minds | List of new player minds we currently want to give our roundstart antag to |
roundstart_event_view | Whether we are viewing the roundstart events or not |
scheduled_events | Events that we have scheduled to run in the nearby future |
secret_storyteller | Is storyteller secret or not |
selected_storyteller | Result of the storyteller vote/pick. Defaults to the guide. |
statistics_track_page | Current preview page for the statistics UI. |
storytellers | List of all the storytellers. Populated at init. Associative from type |
uncategorized | List of all uncategorized events, because they were wizard or holiday events |
Procs | |
admin_panel | Panel containing information, variables and controls about the gamemode and scheduled event |
can_inject_antags | Whether events can inject more antagonists into the round |
event_panel | Panel containing information and actions regarding events |
get_antag_cap | Gets the number of antagonists the antagonist injection events will stop rolling after. |
get_candidates | Gets candidates for antagonist roles. |
get_correct_popcount | Gets the correct popcount, returning READY people if roundstart, and active people if not. |
get_preferenced_job | Прок, который пытается получить предпочтительную роль для игрока (и назначить в дальнейшем вес для нее) |
get_valid_storytellers | return a weighted list of all storytellers that are currently valid to roll, if return_types is set then we will return types instead of instances |
handle_post_setup_points | At this point we've rolled roundstart events and antags and we handle leftover points here. |
handle_post_setup_roundstart_events | Second step of handlind roundstart events, happening after people spawn. |
handle_pre_setup_occupations | Прок который сохраняет список ролей перед их сбросом. Важно, так позволяет более тонко настраивать количество СБ/Антагов |
handle_pre_setup_roundstart_events | Because roundstart events need 2 steps of firing for purposes of antags, here is the first step handled, happening before occupation division. |
load_config_vars | Loads config values from game_options.txt |
load_event_config_vars | Loads json event config values from events.txt |
make_antag_chance | Handles late-join antag assignments |
post_setup | Everyone should now be on the station and have their normal gear. This is the place to give the special roles extra things |
pre_setup | Attempts to select players for special roles the mode might have. |
refill_roleset | Для восполнения очков ролсета |
refund_scheduled_event | Refunds and removes a scheduled event. |
remove_scheduled_event | Removes a scheduled event. |
resetFrequency | Resets frequency multiplier. |
roll_pre_setup_points | We roll points to be spent for roundstart events, including antagonists. |
schedule_event | Schedules an event to run later. |
Var Details
allow_pop_scaling 
Whether we allow pop scaling. This is configured by config, or the storyteller UI
can_run_roundstart 
Are we able to run roundstart events
current_pop_scale_multipliers 
Associative list of active multipliers from pop scale penalty.
current_storyteller 
Our storyteller. They progresses our trackboards and picks out events
event_frequency_multiplier 
Event frequency multiplier, it exists because wizard, eugh.
event_pools 
Associative list of control events by their track category. Compiled in Init
event_track_points 
Associative list of even track points.
event_tracks 
List of our event tracks for fast access during for loops.
events_by_name 
List of all valid event by their name
forced_next_events 
Associative list of tracks to forced event controls. For admins to force events (though they can still invoke them freely outside of the track system)
halted_storyteller 
Whether the storyteller has been halted
last_point_gains 
Last point amount gained of each track. Those are recorded for purposes of estimating how long until next event.
max_depart_power 
Максимальная сила отдела
min_depart_power 
Минимальная сила отдела
min_pop_thresholds 
Minimum population thresholds for the tracks to fire off events.
next_storyteller_process 
Next process for our storyteller. The wait time is STORYTELLER_WAIT_TIME
panel_page 
Page of the UI panel.
point_gain_multipliers 
Configurable multipliers for point gain over time.
point_thresholds 
Point thresholds at which the events are supposed to be rolled, it is also the base cost for events.
pop_scale_penalties 
Associative list of pop scale penalties.
pop_scale_thresholds 
Associative list of pop scale thresholds.
presetuped_ocupations 
Список ролей перед их сбросом в начале раунда
ran_roundstart 
Has a roundstart event been run
ready_players 
Ready players for roundstart events.
roundstart_antag_minds 
List of new player minds we currently want to give our roundstart antag to
roundstart_event_view 
Whether we are viewing the roundstart events or not
scheduled_events 
Events that we have scheduled to run in the nearby future
secret_storyteller 
Is storyteller secret or not
selected_storyteller 
Result of the storyteller vote/pick. Defaults to the guide.
statistics_track_page 
Current preview page for the statistics UI.
storytellers 
List of all the storytellers. Populated at init. Associative from type
uncategorized 
List of all uncategorized events, because they were wizard or holiday events
Proc Details
admin_panel
Panel containing information, variables and controls about the gamemode and scheduled event
can_inject_antags
Whether events can inject more antagonists into the round
event_panel
Panel containing information and actions regarding events
get_antag_cap
Gets the number of antagonists the antagonist injection events will stop rolling after.
get_candidates
Gets candidates for antagonist roles.
get_correct_popcount
Gets the correct popcount, returning READY people if roundstart, and active people if not.
get_preferenced_job
Прок, который пытается получить предпочтительную роль для игрока (и назначить в дальнейшем вес для нее)
get_valid_storytellers
return a weighted list of all storytellers that are currently valid to roll, if return_types is set then we will return types instead of instances
handle_post_setup_points
At this point we've rolled roundstart events and antags and we handle leftover points here.
handle_post_setup_roundstart_events
Second step of handlind roundstart events, happening after people spawn.
handle_pre_setup_occupations
Прок который сохраняет список ролей перед их сбросом. Важно, так позволяет более тонко настраивать количество СБ/Антагов
handle_pre_setup_roundstart_events
Because roundstart events need 2 steps of firing for purposes of antags, here is the first step handled, happening before occupation division.
load_config_vars
Loads config values from game_options.txt
load_event_config_vars
Loads json event config values from events.txt
make_antag_chance
Handles late-join antag assignments
post_setup
Everyone should now be on the station and have their normal gear. This is the place to give the special roles extra things
pre_setup
Attempts to select players for special roles the mode might have.
refill_roleset
Для восполнения очков ролсета
refund_scheduled_event
Refunds and removes a scheduled event.
remove_scheduled_event
Removes a scheduled event.
resetFrequency
Resets frequency multiplier.
roll_pre_setup_points
We roll points to be spent for roundstart events, including antagonists.
schedule_event
Schedules an event to run later.