Add injuries & maladies

This commit is contained in:
sladecraven 2021-01-30 00:18:49 +01:00
parent efed5a7198
commit a0d25f7d2b
3 changed files with 69 additions and 1 deletions

View File

@ -139,7 +139,7 @@
} }
}, },
"Item": { "Item": {
"types": ["gear", "weapon", "armor", "container", "skill", "language", "weakness", "geneline", "subculture", "consequence", "action" ], "types": ["gear", "weapon", "armor", "container", "skill", "language", "weakness", "geneline", "subculture", "consequence", "action", "injury", "malady" ],
"templates": { "templates": {
"commongear": { "commongear": {
"big": 0, "big": 0,
@ -232,6 +232,16 @@
"type": "", "type": "",
"minap": 0, "minap": 0,
"description": 0 "description": 0
},
"injury": {
"card": "",
"description": ""
},
"malady": {
"vector": "",
"action": "",
"effect": "",
"notes": ""
} }
} }
} }

View File

@ -0,0 +1,25 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<label class="generic-label">Card</label>
<input type="text" name="data.card" value="{{data.card}}" data-dtype="String"/>
</div>
<div class="flexcol">
<label class="generic-label">Description</label>
<div class="form-group medium-editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</div>
</div>
</section>
</form>

View File

@ -0,0 +1,33 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<label class="generic-label">Vector</label>
<input type="text" name="data.vector" value="{{data.vector}}" data-dtype="String"/>
</div>
<div class="flexcol">
<label class="generic-label">Action</label>
<input type="text" name="data.action" value="{{data.action}}" data-dtype="String"/>
</div>
<div class="flexcol">
<label class="generic-label">Effect</label>
<input type="text" name="data.effect" value="{{data.effect}}" data-dtype="String"/>
</div>
<div class="flexcol">
<label class="generic-label">Notes</label>
<div class="form-group medium-editor">
{{editor content=data.notes target="data.notes" button=true owner=owner editable=editable}}
</div>
</div>
</div>
</section>
</form>