station 
Vars | |
| announcer | Currently active announcer. Starts as a type but gets initialized after traits are selected |
|---|---|
| antag_protected_roles | A list of trait roles that should be protected from antag |
| antag_restricted_roles | A list of trait roles that should never be able to roll antag |
| goals_by_type | Assosciative list of station goal type -> goal instance |
| 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 |
Procs | |
| SetupTraits | Rolls for the amount of traits and adds them to the traits list |
| display_lobby_traits | Update station trait lobby buttons for clients who joined before we initialised this subsystem |
| generate_station_goals | This gets called by SSdynamic during initial gamemode setup. This is done because for a greenshift we want all goals to be generated |
| get_station_goal | Returns a specific station goal by type |
| get_station_goals | Returns all station goals that are currently active |
| setup_trait | Creates a given trait of a specific type, while also removing any blacklisted ones from the future pool. |
Var Details
announcer 
Currently active announcer. Starts as a type but gets initialized after traits are selected
antag_protected_roles 
A list of trait roles that should be protected from antag
antag_restricted_roles 
A list of trait roles that should never be able to roll antag
goals_by_type 
Assosciative list of station goal type -> goal instance
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
display_lobby_traits
Update station trait lobby buttons for clients who joined before we initialised this subsystem
generate_station_goals
This gets called by SSdynamic during initial gamemode setup. This is done because for a greenshift we want all goals to be generated
get_station_goal
Returns a specific station goal by type
get_station_goals
Returns all station goals that are currently active
setup_trait
Creates a given trait of a specific type, while also removing any blacklisted ones from the future pool.