diff --git a/system.json b/system.json index 5642670..d6bfc5a 100644 --- a/system.json +++ b/system.json @@ -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, diff --git a/template.json b/template.json index 49c2492..b61300f 100644 --- a/template.json +++ b/template.json @@ -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" } } } \ No newline at end of file diff --git a/templates/actor/actor-sheet.html b/templates/actor/actor-sheet.html index 595df77..a69cba7 100644 --- a/templates/actor/actor-sheet.html +++ b/templates/actor/actor-sheet.html @@ -155,7 +155,7 @@ {{#if data.sanity.adaptations.violence.isAdapted}} Adapted @@ -168,7 +168,7 @@ {{#if data.sanity.adaptations.helplessness.isAdapted}} Adapted @@ -316,6 +316,44 @@ + + OTHER GEAR + + + + Name + + + + Add + + + + {{#each actor.items as |item id|}} + {{#if_eq item.type 'gear'}} + + + + {{item.name}} + + + + {{#if item.data.equipped}} + EQUIPPED + {{/if}} + + + + + + + + + {{/if_eq}} + {{/each}} + + + {{!-- Biography Tab --}} diff --git a/templates/item/item-gear-sheet.html b/templates/item/item-gear-sheet.html new file mode 100644 index 0000000..d900856 --- /dev/null +++ b/templates/item/item-gear-sheet.html @@ -0,0 +1,41 @@ + + + + + + + + + {{!-- Sheet Tab Navigation --}} + + Description + Attributes + + + {{!-- Sheet Body --}} + + + {{!-- Description Tab --}} + + {{editor content=data.description target="data.description" button=true owner=owner editable=editable}} + + + {{!-- Attributes Tab --}} + + + Expense + + Incidental + Standard + Unusual + Major + Extreme + + + + Equipped + + + + +