/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 |
---|---|
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 | For player prefs 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
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
For player prefs menu
traits
A list of this group's traits populated in /datum/character_trait/New()