character_trait_definition#
Defines a character trait.
Hierarchy#
Valid Parent Blocks:
ID Properties#
This block should have an ID.
Parameters#
- CharacterTrait π
Type:
string(required)The registries trait definition ID to link to. see the wiki page about registries for more information.
- Cost π
Type:
integer(required)The cost of the trait when selecting a character. Negative values give points, positive values take points.
- DisabledInMultiplayer π
Type:
boolean(required)If true, this trait will be disabled in multiplayer games.
- GrantedRecipes π
Type:
arrayA list of craftRecipe IDs that are granted to the character when this trait is selected.
- IsProfessionTrait π
Type:
boolean(required)Defines whenever the trait is a profession trait or not, meaning it will only be available when selecting a profession.
- MutuallyExclusiveTraits π
Type:
arrayA list of trait IDs that are mutually exclusive with this trait. If one is selected, the others cannot be selected.
- UIDescription π
Type:
string(required)The translation key for the traitβs description. The translation key needs to be in the UI translation file. See the wiki page about translations for more information.
- UIName π
Type:
string(required)The translation key for the traitβs name. The translation key needs to be in the UI translation file. See the wiki page about translations for more information.
- XPBoosts π
Type:
arrayA list of experience boosts granted by this trait. Each entry should contain a skill name and the corresponding boost amount.
For example:
XPBoosts = Axe=1;Blunt=1,