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: string

The registries profession ID to link to.

Cost ๐Ÿ”—

Type: integer

The cost of the profession when selecting a character. Negative values remove points, positive values add points.

GrantedRecipes ๐Ÿ”—

Type: array

A list of craftRecipe IDs that are granted to the character when this profession is selected.

GrantedTraits ๐Ÿ”—

Type: array

A list of character trait IDs that are granted to the character when this profession is selected.

IconPathName ๐Ÿ”—

Type: string

No description

UIDescription ๐Ÿ”—

Type: string

The 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: string

The 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: object

A 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,