character_profession_definition#
Defines a character profession.
character_profession_definition yourmod:example_profession
{
CharacterProfession = yourmod:example_profession,
Cost = -6,
UIName = UI_prof_MetalWorker,
UIDescription = UI_profdesc_metalworker,
IconPathName = profession_metalworker,
XPBoosts = MetalWelding=4,
GrantedRecipes = Advanced_Forge;Blast_Furnace,
}
Hierarchy#
Valid Parent Blocks:
ID Properties#
This block should have an ID.
Parameters#
- CharacterProfession ๐
Type:
stringThe registries profession ID to link to.
- Cost ๐
Type:
integerThe cost of the profession when selecting a character. Negative values remove points, positive values add points.
- GrantedRecipes ๐
Type:
arrayA list of craftRecipe IDs that are granted to the character when this profession is selected.
- GrantedTraits ๐
Type:
arrayA list of character trait IDs that are granted to the character when this profession is selected.
- IconPathName ๐
Type:
stringNo description
- UIDescription ๐
Type:
stringThe translation key for the professionโs description. The translation key needs to be in the UI translation file. See the wiki page about translations for more information.
- UIName ๐
Type:
stringThe translation key for the professionโs name. The translation key needs to be in the UI translation file. See the wiki page about translations for more information.
- XPBoosts ๐
Type:
objectA list of experience boosts granted by this profession. Each entry should contain a skill name and the corresponding boost amount.
For example:
XPBoosts = Axe=1;Blunt=1,