added ability to have other gear
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
"name": "deltagreen",
|
||||
"title": "Delta Green (Unofficial)",
|
||||
"description": "Delta Green: The RPG system for Foundry VTT (unaffiliated with Arc Dream Publishing or the Delta Green Partnership). Based on the updated rules in the Agent's Handbook.",
|
||||
"version": "0.8.6",
|
||||
"version": "0.8.7",
|
||||
"minimumCoreVersion": "0.6.2",
|
||||
"compatibleCoreVersion": "0.6.6",
|
||||
"templateVersion": 2,
|
||||
|
||||
+7
-1
@@ -271,7 +271,8 @@
|
||||
"weapon",
|
||||
"armor",
|
||||
"motivation",
|
||||
"bond"
|
||||
"bond",
|
||||
"gear"
|
||||
],
|
||||
"templates": {
|
||||
"base": {
|
||||
@@ -314,6 +315,11 @@
|
||||
"base"
|
||||
],
|
||||
"score": 10
|
||||
},
|
||||
"gear":{
|
||||
"templates":["base"],
|
||||
"equipped": true,
|
||||
"expense": "Standard"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -155,7 +155,7 @@
|
||||
<input class="labeled-resource-checkbox" type="checkbox" name="data.sanity.adaptations.violence.incident3" {{checked data.sanity.adaptations.violence.incident3}} data-dtype="Boolean" />
|
||||
|
||||
<label style="font-style: italic;"
|
||||
title="Unfortunately, being adapted to violence means your Agent’s empathy suffers. He or she permanently loses 1D6 CHA and the same amount from each Bond."
|
||||
title="Unfortunately, being adapted to violence means your Agent’s empathy suffers as they come to view violence as nothing but another tool to be wielded. He or she permanently loses 1D6 CHA and the same amount from each of their Bonds."
|
||||
>
|
||||
{{#if data.sanity.adaptations.violence.isAdapted}}
|
||||
Adapted
|
||||
@@ -168,7 +168,7 @@
|
||||
<input class="labeled-resource-checkbox" type="checkbox" name="data.sanity.adaptations.helplessness.incident3" {{checked data.sanity.adaptations.helplessness.incident3}} data-dtype="Boolean" />
|
||||
|
||||
<label style="font-style: italic;"
|
||||
title="Being adapted to helplessness means your Agent’s personal drive suffers. As soon as your Agent becomes adapted to helplessness, he or she permanently loses 1D6 POW."
|
||||
title="Being adapted to helplessness means your Agent’s personal drive suffers as they pull back from the world around them. As soon as your Agent becomes adapted to helplessness, he or she permanently loses 1D6 POW."
|
||||
>
|
||||
{{#if data.sanity.adaptations.helplessness.isAdapted}}
|
||||
Adapted
|
||||
@@ -316,6 +316,44 @@
|
||||
|
||||
</ol>
|
||||
</div>
|
||||
<div>
|
||||
<h3>OTHER GEAR</h3>
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
<div class="item-image"></div>
|
||||
<div class="item-name">Name</div>
|
||||
<div class="item-name"></div>
|
||||
<div class="item-name"></div> <!-- This is for whether it's equipped or not, probably doesn't need a label. -->
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-create" title="Create item" data-type="gear"><i class="fas fa-plus"></i> Add</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#if_eq item.type 'gear'}}
|
||||
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
<div class="item-image"><img src="{{item.img}}" title="{{item.name}}" width="24" height="24"/></div>
|
||||
<h4 style="word-wrap: break-word;" class="item-name">{{item.name}}</h4>
|
||||
<span></span>
|
||||
|
||||
<span>
|
||||
{{#if item.data.equipped}}
|
||||
EQUIPPED
|
||||
{{/if}}
|
||||
</span>
|
||||
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
{{/if_eq}}
|
||||
{{/each}}
|
||||
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
<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 Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="description">Description</a>
|
||||
<a class="item" data-tab="attributes">Attributes</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{!-- Description Tab --}}
|
||||
<div class="tab" data-group="primary" data-tab="description">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
{{!-- Attributes Tab --}}
|
||||
<div class="tab attributes" data-group="primary" data-tab="attributes">
|
||||
<div class="resource">
|
||||
<label class="resource-label">Expense</label>
|
||||
<select name="data.expense" >
|
||||
<option {{#if_eq data.expense 'Incidental'}}selected{{/if_eq}} value="Incidental">Incidental</option>
|
||||
<option {{#if_eq data.expense 'Standard'}}selected{{/if_eq}} value="Standard">Standard</option>
|
||||
<option {{#if_eq data.expense 'Unusual'}}selected{{/if_eq}} value="Unusual">Unusual</option>
|
||||
<option {{#if_eq data.expense 'Major'}}selected{{/if_eq}} value="Major">Major</option>
|
||||
<option {{#if_eq data.expense 'Extreme'}}selected{{/if_eq}} value="Extreme">Extreme</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="resource">
|
||||
<label class="resource-label">Equipped</label>
|
||||
<input class="labeled-resource-checkbox" type="checkbox" name="data.equipped" {{checked data.equipped}} data-dtype="Boolean" />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
Reference in New Issue
Block a user