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

storyteller

The storyteller datum. He operates with the SSgamemode data to run events

Vars

always_votableis 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_varianceVariance in cost of the purchased events. Effectively affects frequency of events
descDescription of our storyteller.
disable_distributionWhether the storyteller has the distributions disabled. Important for ghost storytellers
event_repetition_multiplierThis is the multiplier for repetition penalty in event weight. The lower the harsher it is
exclude_eventsСписок событий на исключение
guarantees_roundstart_rolesetWhether the storyteller guaranteed a roleset roll (antag) on roundstart. (Still needs to pass pop check)
ignores_roundstartdo we ignore ran_roundstart
min_antag_popcountКоличество игроков на сервере, чтобы сторителлер начинал расчеты максимального количества антагов
nameName of our storyteller.
point_gain_base_multОбщий множитель всех треков сторителлера (для коректировок)
point_gains_multipliersMultipliers for point gains.
population_maxIf defined, it will not be votable if exceeding the population
population_minIf defined, will need a minimum of population to be votable
restrictedWhether a storyteller is pickable/can be voted for
round_startedhas the round gotten to the point where jobs are pre-created?
roundstart_cap_multiplierФинальный множитель антаг-капа (до ручного добавления)
roundstart_checkshave we done roundstart checks?
roundstart_point_multipliersConfigurable multipliers for roundstart points.
roundstart_points_varianceVariance in the budget of roundstart points.
roundstart_probprob of roundstart antag
sec_antag_modifierМножитель силы СБ
starting_point_multipliersMultipliers for starting points.
storyteller_basic_modifierМножитель цен антагов
tag_multipliersMultipliers of weight to apply for each tag of an event.
weightweight this has of being picked for random storyteller/showing up in the vote if not always_votable
welcome_textText that the players will be greeted with when this storyteller is chosen.

Procs

add_pointsAdd points to all tracks while respecting the multipliers.
buy_eventFind and buy a valid event from a track.
calculate_weightsCalculates the weights of the events from a passed track.
find_and_buy_event_from_trackFind and buy a valid event from a track.
handle_tracksGoes through every track of the gamemode and checks if it passes a threshold to buy an event, if does, buys one.
try_buy_eventAttempt 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