From dbf9c01cd788aab15460d367f18affeef83e31d1 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Mon, 25 Jul 2022 09:08:55 +0200 Subject: [PATCH] Data model change --- system.json | 6 +- template.json | 6 ++ templates/chat-create-actor.html | 143 ---------------------------- templates/item-condition-sheet.html | 2 +- templates/item-race-sheet.html | 2 +- 5 files changed, 11 insertions(+), 148 deletions(-) delete mode 100644 templates/chat-create-actor.html diff --git a/system.json b/system.json index 88020fc..ebe9e51 100644 --- a/system.json +++ b/system.json @@ -148,11 +148,11 @@ "styles": [ "styles/simple.css" ], - "templateVersion": 4, + "templateVersion": 5, "title": "Crucible RPG", "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.6.zip", + "download": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/archive/fvtt-crucible-rpg-v0.1.7.zip", "url": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg", - "version": "0.1.6", + "version": "0.1.7", "background" : "./images/ui/crucible_welcome_page.webp" } diff --git a/template.json b/template.json index 3a47919..1285798 100644 --- a/template.json +++ b/template.json @@ -118,6 +118,12 @@ "cost": 0, "description":"" }, + "shield": { + "shielddie": "", + "equipped": false, + "cost": 0, + "description":"" + }, "equipment": { "equiptype": "", "cost": 0, diff --git a/templates/chat-create-actor.html b/templates/chat-create-actor.html deleted file mode 100644 index 3b2a9af..0000000 --- a/templates/chat-create-actor.html +++ /dev/null @@ -1,143 +0,0 @@ -
- {{alias}} -

{{name}}

-
- -
-
- - {{#if (eq step "select-race")}} -
Select a race from the list below
- - {{#each races as |race index|}} - - - - - {{/each}} -
{{race.name}}Select it !
- {{/if}} - - {{#if (eq step "select-race-optionnal")}} -
The selected Race has some optionnal abilities. Select one ability by clicking the relevant button below
- Remaining abilities to select : {{nboptionnal}} -
- - {{#each optionnalabilities as |ability index|}} - - - - - {{/each}} -
{{ability.name}}Select it !
- {{/if}} - - {{#if (eq step "select-race-stats")}} -
Select Stats to gain +1 modifier :
- Remaining stats to select : {{numberstats}} -
- - {{#each stats as |stat key|}} - {{#if @root.statsonlyonce}} - {{#if stat.used}} - {{else}} - - - - - {{/if}} - {{else}} - - - - - {{/if}} - {{/each}} -
{{stat.label}} ({{stat.abbrev}})Select it !
{{stat.label}} ({{stat.abbrev}})Select it !
- {{/if}} - - {{#if (eq step "select-race-perks")}} -
Now select {{nbraceperks}} Perk(s) for your character -
- - {{#each raceperks as |perk index|}} - - - - - {{/each}} -
{{perk.name}}Select it !
- {{/if}} - - {{#if (eq step "select-role")}} -
Now select a Role for your character. -
- - {{#each roles as |role index|}} - - - - - {{/each}} -
{{role.name}}Select it !
- {{/if}} - - {{#if (eq step "select-role-start-spec")}} -
Choose 1 Specialisation at +1DT : -
- - {{#each rolestartspec as |spec index|}} - - - - - {{/each}} -
{{spec.name}}Select it !
- {{/if}} - - {{#if (eq step "select-role-stat")}} -
Choose 1 Stat at +1DT : -
- - {{#each rolestats as |rolestat key|}} - - - - - {{/each}} -
{{rolestat.label}}Select it !
- {{/if}} - - {{#if (eq step "select-role-spec")}} -
Now select a specialisation at +{{dt}}DT. -
- - {{#each rolespec as |spec index|}} - - - - - {{/each}} -
{{spec.name}}Select it !
- {{/if}} - - {{#if (eq step "select-role-perk")}} -
Now select a Perk. -
- - {{#each roleperks as |perk index|}} - - - - - {{/each}} -
{{perk.name}}Select it !
- {{/if}} - - {{#if (eq step "character-end")}} -
Follow the next steps from the rulebook page 50 !. You can now spend 150 CDPs to customise your character. -
- {{/if}} - - -
diff --git a/templates/item-condition-sheet.html b/templates/item-condition-sheet.html index 5e3e3ce..1410353 100644 --- a/templates/item-condition-sheet.html +++ b/templates/item-condition-sheet.html @@ -5,7 +5,7 @@

- {{> systems/fvtt-pegasus-rpg/templates/partial-item-nav.html}} + {{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}} {{!-- Sheet Body --}}
diff --git a/templates/item-race-sheet.html b/templates/item-race-sheet.html index 5e3e3ce..1410353 100644 --- a/templates/item-race-sheet.html +++ b/templates/item-race-sheet.html @@ -5,7 +5,7 @@

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