Added a couple of extra fields to the "item" Item type for sheet flexibility.
This commit is contained in:
parent
15fa3a5ec8
commit
9fa94fe20b
3 changed files with 16 additions and 3 deletions
|
@ -55,6 +55,7 @@
|
||||||
"BITD.LessEffect": "Less Effect",
|
"BITD.LessEffect": "Less Effect",
|
||||||
"BITD.Description": "Description",
|
"BITD.Description": "Description",
|
||||||
"BITD.Loadout": "Loadout",
|
"BITD.Loadout": "Loadout",
|
||||||
|
"BITD.Load": "Load",
|
||||||
"BITD.CrewType": "Crew Type",
|
"BITD.CrewType": "Crew Type",
|
||||||
"BITD.FactionType": "Faction Type",
|
"BITD.FactionType": "Faction Type",
|
||||||
"BITD.Price": "Price",
|
"BITD.Price": "Price",
|
||||||
|
@ -193,6 +194,9 @@
|
||||||
|
|
||||||
"BITD.AddAbility": "Add Ability",
|
"BITD.AddAbility": "Add Ability",
|
||||||
"BITD.AddItem": "Add Item",
|
"BITD.AddItem": "Add Item",
|
||||||
|
"BITD.Uses": "No. of Uses",
|
||||||
|
"BITD.NumberAvailable": "Number Available",
|
||||||
|
"BITD.AdditionalInfo": "Additional Information",
|
||||||
|
|
||||||
"BITD.Position": "Position",
|
"BITD.Position": "Position",
|
||||||
"BITD.Effect": "Effect",
|
"BITD.Effect": "Effect",
|
||||||
|
|
|
@ -257,7 +257,10 @@
|
||||||
"templates": ["default", "logic", "activatedEffect"],
|
"templates": ["default", "logic", "activatedEffect"],
|
||||||
"class": "",
|
"class": "",
|
||||||
"load": 0,
|
"load": 0,
|
||||||
"equipped" : false
|
"uses": 1,
|
||||||
|
"additional_info": "",
|
||||||
|
"equipped" : false,
|
||||||
|
"num_available": 1
|
||||||
},
|
},
|
||||||
"class": {
|
"class": {
|
||||||
"templates": ["default", "logic", "activatedEffect"],
|
"templates": ["default", "logic", "activatedEffect"],
|
||||||
|
|
|
@ -13,9 +13,15 @@
|
||||||
<input id="item-load" type="text" name="data.load" value="{{data.load}}">
|
<input id="item-load" type="text" name="data.load" value="{{data.load}}">
|
||||||
<label class="label-stripe">{{localize "BITD.Class"}}</label>
|
<label class="label-stripe">{{localize "BITD.Class"}}</label>
|
||||||
<input id="item-class" type="text" name="data.class" value="{{data.class}}">
|
<input id="item-class" type="text" name="data.class" value="{{data.class}}">
|
||||||
|
<label class="label-stripe">{{localize "BITD.Uses"}}</label>
|
||||||
|
<input id="item-uses" type="text" name="data.uses" value="{{data.uses}}">
|
||||||
|
<label class="label-stripe">{{localize "BITD.NumberAvailable"}}</label>
|
||||||
|
<input id="item-num_available" type="text" name="data.num_available" value="{{data.num_available}}">
|
||||||
|
<label class="label-stripe">{{localize "BITD.AdditionalInfo"}}</label>
|
||||||
|
<textarea id="item-additional_info" type="text" name="data.additional_info" value="">{{data.additional_info}}</textarea>
|
||||||
{{#if isGM}}
|
{{#if isGM}}
|
||||||
<div class="label-stripe">{{localize "BITD.Logic"}}</div>
|
<!-- <div class="label-stripe">{{localize "BITD.Logic"}}</div> -->
|
||||||
<textarea name="data.logic">{{{data.logic}}}</textarea>
|
<!-- <textarea name="data.logic">{{{data.logic}}}</textarea> -->
|
||||||
<div class="label-stripe">{{localize "BITD.Effects"}}</div>
|
<div class="label-stripe">{{localize "BITD.Effects"}}</div>
|
||||||
<div id="effects">{{> "systems/blades-in-the-dark/templates/parts/active-effects.html"}}</div>
|
<div id="effects">{{> "systems/blades-in-the-dark/templates/parts/active-effects.html"}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Reference in a new issue