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

station

Vars

announcerCurrently active announcer. Starts as a type but gets initialized after traits are selected
selectable_traits_by_typesAssoc list of trait type || assoc list of traits with weighted value. Used for picking traits from a specific category.
station_traitsA list of currently active station traits

Procs

SetupTraitsRolls for the amount of traits and adds them to the traits list
pick_traitsPicks traits of a specific category (e.g. bad or good) and a specified amount, then initializes them and adds them to the list of traits.

Var Details

announcer

Currently active announcer. Starts as a type but gets initialized after traits are selected

selectable_traits_by_types

Assoc list of trait type || assoc list of traits with weighted value. Used for picking traits from a specific category.

station_traits

A list of currently active station traits

Proc Details

SetupTraits

Rolls for the amount of traits and adds them to the traits list

pick_traits

Picks traits of a specific category (e.g. bad or good) and a specified amount, then initializes them and adds them to the list of traits.