/datum/character_trait_group
Character trait groups for constraints (if any)
Vars | |
base_type | Override this variable if you want this trait group to be constraining Only need to override for the parent Example, parent type /datum/character_trait_group/language, set this var to /datum/character_trait_group/language |
---|---|
group_visible | Whether the group will show up in the preferences menu |
max | The maximum amount of traits from this trait group that a mob can have |
mutually_exclusive | Whether a mob can only have one trait of this trait group |
trait_group_name | Group name as shown in the preferences menu |
traits | A list of this group's traits populated in /datum/character_trait/New() |
Var Details
base_type
Override this variable if you want this trait group to be constraining Only need to override for the parent Example, parent type /datum/character_trait_group/language, set this var to /datum/character_trait_group/language
group_visible
Whether the group will show up in the preferences menu
max
The maximum amount of traits from this trait group that a mob can have
mutually_exclusive
Whether a mob can only have one trait of this trait group
trait_group_name
Group name as shown in the preferences menu
traits
A list of this group's traits populated in /datum/character_trait/New()