added talents overview and sheet

- added talents item type:
  - added scss
  - added to template.json (Item.types, Item.talent)
   - added to config.ts itemTypes
   - added type definition
- added localizations
- added talent overview tab to actor sheet
- made total rank calculated upon data preparation
  by adding a prepareData method to DS4Item
This commit is contained in:
Gesina Schwalbe 2021-01-06 01:24:37 +01:00
parent 2db60b1b76
commit 150a0ea487
11 changed files with 208 additions and 6 deletions

View file

@ -100,7 +100,7 @@
}
},
"Item": {
"types": ["weapon", "armor", "shield", "trinket", "equipment"],
"types": ["weapon", "armor", "shield", "trinket", "equipment", "talent"],
"templates": {
"base": {
"description": ""
@ -137,6 +137,14 @@
},
"equipment": {
"templates": ["base", "physical"]
},
"talent": {
"templates": ["base"],
"talentRank": {
"base": 0,
"max": 0,
"mod": 0
}
}
}
}