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

round_event_control

Vars

admin_setupDatum that will handle admin options for forcing the event. If there are no options, just leave it as an empty list.
allowed_storytellersIf set then the type or list of types of storytellers we are restricted to being trigged by
calculated_weightLast calculated weight that the storyteller assigned this event
can_run_post_roundstartWhether a roundstart event can happen post roundstart. Very important for events which override job assignments.
checks_antag_capdo we check against the antag cap before attempting a spawn?
dynamic_should_hijackWhether or not dynamic should hijack this event
enemy_rolesList of enemy roles, will check if x amount of these exist exist
event_groupThe typepath to the event group this event is a part of.
exclusive_roundstart_eventЯвляется ли событие эксклюзивным (не допускающим другие) в случае раундстарта
map_flagsFlags dictating whether this event should be run on certain kinds of map
max_wizard_trigger_potencyMaximum wizard rituals at which to trigger this event, inclusive
min_wizard_trigger_potencyMinimum wizard rituals at which to trigger this event, inclusive
req_departments_crewrequired power of department to start event
required_enemiesrequired number of enemies in roles to exist
roundstart_costЗначение, которое используется при расчете стоимости покупки из раундстарт бюджета. Считается если значение 0.
shared_occurencesTags of the event List of the shared occurence types.

Procs

add_occurenceAdds an occurence. Has to use the setter to properly handle shared occurences
check_enemiesCheck if our enemy_roles requirement is met, if return_players is set then we will return the list of enemy players instead
get_href_actionsPrints the action buttons for this event.
get_occurencesGets occurences. Has to use the getter to properly handle shared occurences
subtract_occurenceSubtracts an occurence. Has to use the setter to properly handle shared occurences
valid_for_mapReturns true if event can run in current map

Var Details

admin_setup

Datum that will handle admin options for forcing the event. If there are no options, just leave it as an empty list.

allowed_storytellers

If set then the type or list of types of storytellers we are restricted to being trigged by

calculated_weight

Last calculated weight that the storyteller assigned this event

can_run_post_roundstart

Whether a roundstart event can happen post roundstart. Very important for events which override job assignments.

checks_antag_cap

do we check against the antag cap before attempting a spawn?

dynamic_should_hijack

Whether or not dynamic should hijack this event

enemy_roles

List of enemy roles, will check if x amount of these exist exist

event_group

The typepath to the event group this event is a part of.

exclusive_roundstart_event

Является ли событие эксклюзивным (не допускающим другие) в случае раундстарта

map_flags

Flags dictating whether this event should be run on certain kinds of map

max_wizard_trigger_potency

Maximum wizard rituals at which to trigger this event, inclusive

min_wizard_trigger_potency

Minimum wizard rituals at which to trigger this event, inclusive

req_departments_crew

required power of department to start event

required_enemies

required number of enemies in roles to exist

roundstart_cost

Значение, которое используется при расчете стоимости покупки из раундстарт бюджета. Считается если значение 0.

shared_occurences

Tags of the event List of the shared occurence types.

Proc Details

add_occurence

Adds an occurence. Has to use the setter to properly handle shared occurences

check_enemies

Check if our enemy_roles requirement is met, if return_players is set then we will return the list of enemy players instead

get_href_actions

Prints the action buttons for this event.

get_occurences

Gets occurences. Has to use the getter to properly handle shared occurences

subtract_occurence

Subtracts an occurence. Has to use the setter to properly handle shared occurences

valid_for_map

Returns true if event can run in current map