adds ruletext and requisite
parent
51ad48d058
commit
bef9b90901
|
|
@ -1,4 +1,4 @@
|
|||
const { BooleanField, NumberField, SchemaField, SetField, StringField, HtmlField } = foundry.data.fields;
|
||||
const { BooleanField, NumberField, SchemaField, SetField, StringField, HTMLField } = foundry.data.fields;
|
||||
|
||||
export class Skill extends foundry.abstract.TypeDataModel {
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ export class Skill extends foundry.abstract.TypeDataModel {
|
|||
attributeReference2: new StringField(), // References one of the eight attributes by name
|
||||
attributeReference3: new StringField(), // References one of the eight attributes by name
|
||||
requisite: new StringField(), // Required skills at a given level
|
||||
text: new HtmlField(),
|
||||
text: new HTMLField(),
|
||||
handicapValue: new NumberField(), // BE-X
|
||||
complexity: new NumberField(), // In case of languages
|
||||
derivedAttribute1: new NumberField(),
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@
|
|||
},
|
||||
"Item": {
|
||||
"skill": {
|
||||
"StringField": ["name", "category", "attributeReference1", "attributeReference2", "attributeReference3", "requisite"],
|
||||
"NumberField": ["handicapValue", "complexity"],
|
||||
"HtmlField": ["text"]
|
||||
"stringFields": ["name", "category", "attributeReference1", "attributeReference2", "attributeReference3", "requisite"],
|
||||
"numberFields": ["handicapValue", "complexity"],
|
||||
"htmlFields": ["text"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue