forked from public/fvtt-cthulhu-eternal
Fix #20 : Track cured disorder
This commit is contained in:
parent
1b1c2b0cfd
commit
efc23f466b
47
assets/ui/d100.svg
Normal file
47
assets/ui/d100.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 12 KiB |
@ -210,6 +210,9 @@
|
||||
"FIELDS": {
|
||||
"description": {
|
||||
"label": "Description"
|
||||
},
|
||||
"cured": {
|
||||
"label": "Cured"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -5,6 +5,7 @@ export default class CthulhuEternalMentalDisorder extends foundry.abstract.TypeD
|
||||
const schema = {}
|
||||
|
||||
schema.description = new fields.HTMLField({ required: true, textSearch: true })
|
||||
schema.cured = new fields.BooleanField({ required: true, initial: false })
|
||||
|
||||
return schema
|
||||
}
|
||||
|
@ -4,6 +4,10 @@
|
||||
{{formInput fields.name value=source.name}}
|
||||
</div>
|
||||
|
||||
<fieldset>
|
||||
{{formField systemFields.cured value=system.cured localize=true}}
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
|
||||
{{formInput
|
||||
|
Loading…
x
Reference in New Issue
Block a user