Add localization of actor and item type labels
This commit is contained in:
parent
17d0213e62
commit
0568afc32b
4 changed files with 16 additions and 0 deletions
|
@ -22,6 +22,10 @@ Hooks.once("init", async function () {
|
|||
CONFIG.Actor.entityClass = DS4Actor as typeof Actor;
|
||||
CONFIG.Item.entityClass = DS4Item as typeof Item;
|
||||
|
||||
// Define localized type labels
|
||||
CONFIG.Actor.typeLabels = DS4.actorTypes;
|
||||
CONFIG.Item.typeLabels = DS4.itemTypes;
|
||||
|
||||
// Configure Dice
|
||||
CONFIG.Dice.types = [Die, DS4Check];
|
||||
CONFIG.Dice.terms = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue