storyteller 
The storyteller datum. He operates with the SSgamemode data to run events
Vars | |
always_votable | is a storyteller always able to be voted for(also does not count for the amount of storytellers to pick from) |
---|---|
antag_denominator | Количество игроков на сервере, которое требуется чтобы появился хотя бы один антаг (по умолчанию 20) |
antag_flat_cap | Количество антагов, которое СТ может добавить сверх расчетов |
cost_variance | Variance in cost of the purchased events. Effectively affects frequency of events |
desc | Description of our storyteller. |
disable_distribution | Whether the storyteller has the distributions disabled. Important for ghost storytellers |
event_repetition_multiplier | This is the multiplier for repetition penalty in event weight. The lower the harsher it is |
exclude_events | Список событий на исключение |
guarantees_roundstart_roleset | Whether the storyteller guaranteed a roleset roll (antag) on roundstart. (Still needs to pass pop check) |
ignores_roundstart | do we ignore ran_roundstart |
min_antag_popcount | Количество игроков на сервере, чтобы сторителлер начинал расчеты максимального количества антагов |
name | Name of our storyteller. |
point_gain_base_mult | Общий множитель всех треков сторителлера (для коректировок) |
point_gains_multipliers | Multipliers for point gains. |
population_max | If defined, it will not be votable if exceeding the population |
population_min | If defined, will need a minimum of population to be votable |
restricted | Whether a storyteller is pickable/can be voted for |
round_started | has the round gotten to the point where jobs are pre-created? |
roundstart_cap_multiplier | Финальный множитель антаг-капа (до ручного добавления) |
roundstart_checks | have we done roundstart checks? |
roundstart_point_multipliers | Configurable multipliers for roundstart points. |
roundstart_points_variance | Variance in the budget of roundstart points. |
roundstart_prob | prob of roundstart antag |
sec_antag_modifier | Множитель силы СБ |
starting_point_multipliers | Multipliers for starting points. |
storyteller_basic_modifier | Множитель цен антагов |
tag_multipliers | Multipliers of weight to apply for each tag of an event. |
weight | weight this has of being picked for random storyteller/showing up in the vote if not always_votable |
welcome_text | Text that the players will be greeted with when this storyteller is chosen. |
Procs | |
add_points | Add points to all tracks while respecting the multipliers. |
buy_event | Find and buy a valid event from a track. |
calculate_weights | Calculates the weights of the events from a passed track. |
find_and_buy_event_from_track | Find and buy a valid event from a track. |
handle_tracks | Goes through every track of the gamemode and checks if it passes a threshold to buy an event, if does, buys one. |
try_buy_event | Attempt to buy a specific event if we can afford it, otherwise returns FALSE, note this does NOT take cost variance into account |
Var Details
always_votable 
is a storyteller always able to be voted for(also does not count for the amount of storytellers to pick from)
antag_denominator 
Количество игроков на сервере, которое требуется чтобы появился хотя бы один антаг (по умолчанию 20)
antag_flat_cap 
Количество антагов, которое СТ может добавить сверх расчетов
cost_variance 
Variance in cost of the purchased events. Effectively affects frequency of events
desc 
Description of our storyteller.
disable_distribution 
Whether the storyteller has the distributions disabled. Important for ghost storytellers
event_repetition_multiplier 
This is the multiplier for repetition penalty in event weight. The lower the harsher it is
exclude_events 
Список событий на исключение
guarantees_roundstart_roleset 
Whether the storyteller guaranteed a roleset roll (antag) on roundstart. (Still needs to pass pop check)
ignores_roundstart 
do we ignore ran_roundstart
min_antag_popcount 
Количество игроков на сервере, чтобы сторителлер начинал расчеты максимального количества антагов
name 
Name of our storyteller.
point_gain_base_mult 
Общий множитель всех треков сторителлера (для коректировок)
point_gains_multipliers 
Multipliers for point gains.
population_max 
If defined, it will not be votable if exceeding the population
population_min 
If defined, will need a minimum of population to be votable
restricted 
Whether a storyteller is pickable/can be voted for
round_started 
has the round gotten to the point where jobs are pre-created?
roundstart_cap_multiplier 
Финальный множитель антаг-капа (до ручного добавления)
roundstart_checks 
have we done roundstart checks?
roundstart_point_multipliers 
Configurable multipliers for roundstart points.
roundstart_points_variance 
Variance in the budget of roundstart points.
roundstart_prob 
prob of roundstart antag
sec_antag_modifier 
Множитель силы СБ
starting_point_multipliers 
Multipliers for starting points.
storyteller_basic_modifier 
Множитель цен антагов
tag_multipliers 
Multipliers of weight to apply for each tag of an event.
weight 
weight this has of being picked for random storyteller/showing up in the vote if not always_votable
welcome_text 
Text that the players will be greeted with when this storyteller is chosen.
Proc Details
add_points
Add points to all tracks while respecting the multipliers.
buy_event
Find and buy a valid event from a track.
calculate_weights
Calculates the weights of the events from a passed track.
find_and_buy_event_from_track
Find and buy a valid event from a track.
handle_tracks
Goes through every track of the gamemode and checks if it passes a threshold to buy an event, if does, buys one.
try_buy_event
Attempt to buy a specific event if we can afford it, otherwise returns FALSE, note this does NOT take cost variance into account