Add currency to character sheet (#60)
Changes: + add fields to track currency + show value of standard items
This commit is contained in:
@@ -67,9 +67,9 @@ export class M5Character extends Actor {
|
||||
brawlFw: 0,
|
||||
poisonResistance: { value: 0, mods: [] },
|
||||
enduranceBonus: 0,
|
||||
perception: {value: 0, mods: []},
|
||||
perception: { value: 0, mods: [] },
|
||||
perceptionFW: 0,
|
||||
drinking: {value: 0, mods: []},
|
||||
drinking: { value: 0, mods: [] },
|
||||
drinkingFW: 0,
|
||||
},
|
||||
skillMods: {},
|
||||
@@ -177,6 +177,8 @@ export class M5Character extends Actor {
|
||||
magic: item.system.magic,
|
||||
calc: item.system.calc,
|
||||
equipped: item.system?.equipped,
|
||||
value: item.system.value || 0,
|
||||
currency: item.system.currency || "",
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
@@ -16,7 +16,10 @@
|
||||
"caste": "",
|
||||
"occupation": "",
|
||||
"origin": "",
|
||||
"faith": ""
|
||||
"faith": "",
|
||||
"gold": 0,
|
||||
"silver": 0,
|
||||
"copper": 0
|
||||
}
|
||||
},
|
||||
"characterBars": {
|
||||
|
||||
Reference in New Issue
Block a user