Perks
Perks are categorized bonuses given to the player. Their only affects are either given via enchantments or lua based id hardcode
Fields
| Identifier | Description |
|---|---|
| id | (mandatory) Unique string id |
| name | (mandatory) In game name of the perk |
| description | (mandatory) In game description of the perk |
| category | (mandatory) Category of the enchantment, used as the in game perk menu name and for matching with other perks. |
| hidden | (optional) Weather the enchantment is hidden in the perk menu, default false |
| enchantments | (optional) Array of enchantments defined in either of the inline methods, what enchantments this perk provides |
Example
{
"type": "perk",
"id": "duck_perk_eagle_eyes",
"name": "Eagle Eyes",
"description": "Your sharp gazes misses little. +25% to unenhanced sight range",
"category": "Perk",
"hidden": false,
"enchantments": [
{ "values": [ { "value": "SIGHT_RANGE", "multiply": 0.25 } ] },
{ "id": "ENCH_INVISIBILITY" }
],
},