From adcd3227caf227cfb3bfbaaff14b6c6f7e89fd19 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sat, 23 Jul 2022 22:35:27 +0200 Subject: [PATCH] Move to public --- system.json | 10 +-- template.json | 17 +++-- templates/item-condition-sheet.html | 28 ++++++++ templates/item-equipment-sheet.html | 59 +--------------- templates/item-feat-sheet.html | 35 +++++++++ templates/item-money-sheet.html | 17 ++--- templates/item-race-sheet.html | 106 ---------------------------- templates/item-spell-sheet.html | 49 +++++++++++++ 8 files changed, 137 insertions(+), 184 deletions(-) create mode 100644 templates/item-condition-sheet.html create mode 100644 templates/item-feat-sheet.html create mode 100644 templates/item-spell-sheet.html diff --git a/system.json b/system.json index 09566fe..72d9cef 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,6 @@ "author": "Uberwald", "compatibleCoreVersion": "9", "description": "Crucible RPG system for FoundryVTT", - "download": "https://www.uberwald.me/data/files/fvtt-crucible-rpg/fvtt-crucible-rpg.zip", "esmodules": [ "modules/crucible-main.js" ], @@ -17,7 +16,6 @@ ], "library": false, "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/data/files/fvtt-crucible-rpg/system.json", "manifestPlusVersion": "1.0.0", "media": [], "minimumCoreVersion": "0.8.0", @@ -90,9 +88,11 @@ "styles": [ "styles/simple.css" ], - "templateVersion": 2, + "templateVersion": 3, "title": "Crucible RPG", - "url": "https://www.uberwald.me/data/files/fvtt-crucible-rpg", - "version": "0.1.1", + "manifest": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/raw/master/system.json", + "download": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/archive/fvtt-crucible-rpg-v0.1.1.zip", + "url": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg", + "version": "0.1.2", "background" : "./images/ui/crucible_welcome_page.webp" } diff --git a/template.json b/template.json index e242006..e4e8cb2 100644 --- a/template.json +++ b/template.json @@ -83,7 +83,10 @@ } }, "Item": { - "types": [ "race", "skill", "armor", "shield", "equipment", "weapon", "money" , "feat"], + "types": [ "race", "skill", "armor", "shield", "equipment", "weapon", "money" , "feat", "spell", "condition"], + "condition": { + "description": "" + }, "race": { "description": "" }, @@ -115,20 +118,18 @@ "description":"" }, "equipment": { - "type": "", + "equiptype": "", "cost": 0, - "weight": 0, "quantity": 0, "equipped": false, "iscontainer": false, "containercapacity": 0, "containerid": "", - "threatlevel": 0 + "description":"" }, "money" : { "value": 0, "quantity": 0, - "weight": 0, "description": "" }, "weapon": { @@ -142,6 +143,12 @@ "cost": 0, "equipped": false, "description": "" + }, + "spell":{ + "lore": "", + "circle": 1, + "range": "", + "description": "" } } } diff --git a/templates/item-condition-sheet.html b/templates/item-condition-sheet.html new file mode 100644 index 0000000..5e3e3ce --- /dev/null +++ b/templates/item-condition-sheet.html @@ -0,0 +1,28 @@ +
+
+ +
+

+
+
+ {{> systems/fvtt-pegasus-rpg/templates/partial-item-nav.html}} + + {{!-- Sheet Body --}} +
+ +
+ + +
+ {{editor content=data.description target="data.description" button=true owner=owner editable=editable}} +
+
+ +
+
    +
+ +
+ +
+
\ No newline at end of file diff --git a/templates/item-equipment-sheet.html b/templates/item-equipment-sheet.html index 0d66d2d..0558259 100644 --- a/templates/item-equipment-sheet.html +++ b/templates/item-equipment-sheet.html @@ -6,79 +6,24 @@ - {{> systems/fvtt-pegasus-rpg/templates/partial-item-nav.html}} + {{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}} {{!-- Sheet Body --}}
- {{> systems/fvtt-pegasus-rpg/templates/partial-item-description.html}} + {{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
    -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - - {{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}} -
  • -
  • - -
  • -
  • - -
  • - {{#if data.iscontainer}} -
  • - -
  • - {{/if}} -
  • - -
  • -
  • - -
diff --git a/templates/item-feat-sheet.html b/templates/item-feat-sheet.html new file mode 100644 index 0000000..b398d4b --- /dev/null +++ b/templates/item-feat-sheet.html @@ -0,0 +1,35 @@ +
+
+ +
+

+
+
+ + {{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}} + + {{!-- Sheet Body --}} +
+ + {{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}} + +
+
    +
  • + +
  • + +
  • + +
  • + + {{#if data.issl}} +
  • + +
  • + {{/if}} + +
+
+
+
diff --git a/templates/item-money-sheet.html b/templates/item-money-sheet.html index da8430c..dddfb3b 100644 --- a/templates/item-money-sheet.html +++ b/templates/item-money-sheet.html @@ -5,26 +5,21 @@

- {{> systems/fvtt-pegasus-rpg/templates/partial-item-nav.html}} + + {{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}} {{!-- Sheet Body --}}
- {{> systems/fvtt-pegasus-rpg/templates/partial-item-description.html}} + + {{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
  • -
  • - -
  • -
  • - +
  • +
diff --git a/templates/item-race-sheet.html b/templates/item-race-sheet.html index ec9bb16..5e3e3ce 100644 --- a/templates/item-race-sheet.html +++ b/templates/item-race-sheet.html @@ -16,116 +16,10 @@
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
- -
- {{editor content=data.environment target="data.environment" button=true owner=owner editable=editable}} -
- -
- {{editor content=data.society_culture target="data.society_culture" button=true owner=owner editable=editable}} -
- -
- {{editor content=data.outlook target="data.outlook" button=true owner=owner editable=editable}} -
    -
  • -
  • -
      -
    • -
      -
    • - {{#each data.abilities as |ability idx|}} -
    • - -
      - -
      -
    • - {{/each}} -
    -
- -
    -
  • - -
  • - {{#if data.selectablestats}} -
  • - -
  • -
  • - -
  • - {{/if}} -
- -
    -
  • - -
  • - -
  • -
  • -
      -
    • -
      -
    • - {{#each data.optionnalabilities as |ability idx|}} -
    • - -
      - -
      -
    • - {{/each}} -
    -
- -
    -
  • - -
  • - {{#if data.perksgained}} -
  • - -
  • -
  • - -
  • - {{#if data.perksall}} - {{else}} -
      -
    • -
      -
    • - {{#each data.perks as |perk idx|}} -
    • - -
      - -
      -
    • - {{/each}} -
    - {{/if}} - {{/if}}
diff --git a/templates/item-spell-sheet.html b/templates/item-spell-sheet.html new file mode 100644 index 0000000..6aa531f --- /dev/null +++ b/templates/item-spell-sheet.html @@ -0,0 +1,49 @@ +
+
+ +
+

+
+
+ + {{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}} + + {{!-- Sheet Body --}} +
+ + {{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}} + +
+
    +
  • + +
  • + +
  • + +
  • + +
  • + +
  • + +
+
+
+