byond - Modules - TypesVar Details - Proc Details

Role Authority

Vars

role_mappingsList of mapped roles that should be used in place of usual ones

Procs

assign_rolesAssign roles to the players. Return roles that are still avialable. If count is true, return role balancing weight instead.
calculate_role_weightCalculate role balance weight for one person joining as that role. This weight is used when calculating the number of xenos both roundstart and burrowed larva they get for people late joining. This weight also controls the size of local wildlife population, survivors and the number of roundstart Squad Rifleman slots.

Var Details

role_mappings

List of mapped roles that should be used in place of usual ones

Proc Details

assign_roles

Assign roles to the players. Return roles that are still avialable. If count is true, return role balancing weight instead.

calculate_role_weight

Calculate role balance weight for one person joining as that role. This weight is used when calculating the number of xenos both roundstart and burrowed larva they get for people late joining. This weight also controls the size of local wildlife population, survivors and the number of roundstart Squad Rifleman slots.