Add injuries & maladies
This commit is contained in:
parent
efed5a7198
commit
a0d25f7d2b
@ -139,7 +139,7 @@
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"commongear": {
|
||||
"big": 0,
|
||||
@ -232,6 +232,16 @@
|
||||
"type": "",
|
||||
"minap": 0,
|
||||
"description": 0
|
||||
},
|
||||
"injury": {
|
||||
"card": "",
|
||||
"description": ""
|
||||
},
|
||||
"malady": {
|
||||
"vector": "",
|
||||
"action": "",
|
||||
"effect": "",
|
||||
"notes": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
25
templates/item-injury-sheet.html
Normal file
25
templates/item-injury-sheet.html
Normal 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>
|
33
templates/item-malady-sheet.html
Normal file
33
templates/item-malady-sheet.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user