add currency and basic display
This commit is contained in:
parent
5d58803256
commit
45e7400e82
7 changed files with 49 additions and 0 deletions
|
@ -6,6 +6,7 @@ export interface DS4ActorDataType {
|
|||
progression: DS4ActorDataProgression;
|
||||
language: DS4ActorDataLanguage;
|
||||
profile: DS4ActorDataProfile;
|
||||
currency: DS4ActorDataCurrency;
|
||||
}
|
||||
|
||||
interface DS4ActorDataAttributes {
|
||||
|
@ -83,3 +84,9 @@ interface DS4ActorDataProfile {
|
|||
eyeColor: string;
|
||||
specialCharacteristics: string;
|
||||
}
|
||||
|
||||
interface DS4ActorDataCurrency {
|
||||
gold: number;
|
||||
silver: number;
|
||||
copper: number;
|
||||
}
|
||||
|
|
|
@ -188,4 +188,10 @@ export const DS4 = {
|
|||
eyeColor: "String",
|
||||
specialCharacteristics: "String",
|
||||
},
|
||||
|
||||
currency: {
|
||||
gold: "DS4.CurrencyGold",
|
||||
silver: "DS4.CurrencySilver",
|
||||
copper: "DS4.CurrencyCopper",
|
||||
},
|
||||
};
|
||||
|
|
|
@ -83,6 +83,7 @@ Hooks.once("setup", function () {
|
|||
"progression",
|
||||
"language",
|
||||
"profile",
|
||||
"currency",
|
||||
];
|
||||
|
||||
// Exclude some from sorting where the default order matters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue