byond - Modules - TypesVar Details - Proc Details

persistence

Vars

custom_loadoutsThe saved list of custom outfits names
last_modes_round_dateWhen were the last rounds of specific game mode played, in ticks
season_itemsItems that have been selected for the current round for each season
season_progressStores the current season for each season group
seasons_bucketsAvailable gun seasons
seasons_durationsStores how long each season should last

Procs

CollectDataStores data at the end of the round
InitializeLoads data at the start of the round
LoadSeasonalItemsLoads seasons data, advances seasons and saves the data
initialize_custom_loadouts_fileInitializes the custom loadouts file if it is missing
initialize_seasonal_items_fileInitializes the seasonal items file if it is missing
load_custom_loadouts_listLoads the list of custom outfits names
load_last_game_mode_round_timeLoads the last gamemode's round date
load_loadoutLoad a loadout from the persistence loadouts savefile
save_custom_loadouts_listSaves the list of custom outfits names
save_last_game_mode_round_timeSave the date of the last gamemode's round
save_loadoutSave a loadout into the persistence savefile
seasons_info_messageConstructs a message with information about the active seasons and their current buckets
update_season_dataHandles checking whether a season should advance and advancing it, along with setting up the seasons' values or procs for the round

Var Details

custom_loadouts

The saved list of custom outfits names

last_modes_round_date

When were the last rounds of specific game mode played, in ticks

season_items

Items that have been selected for the current round for each season

season_progress

Stores the current season for each season group

seasons_buckets

Available gun seasons

seasons_durations

Stores how long each season should last

Proc Details

CollectData

Stores data at the end of the round

Initialize

Loads data at the start of the round

LoadSeasonalItems

Loads seasons data, advances seasons and saves the data

initialize_custom_loadouts_file

Initializes the custom loadouts file if it is missing

initialize_seasonal_items_file

Initializes the seasonal items file if it is missing

load_custom_loadouts_list

Loads the list of custom outfits names

load_last_game_mode_round_time

Loads the last gamemode's round date

load_loadout

Load a loadout from the persistence loadouts savefile

save_custom_loadouts_list

Saves the list of custom outfits names

save_last_game_mode_round_time

Save the date of the last gamemode's round

save_loadout

Save a loadout into the persistence savefile

seasons_info_message

Constructs a message with information about the active seasons and their current buckets

update_season_data

Handles checking whether a season should advance and advancing it, along with setting up the seasons' values or procs for the round