This commit is contained in:
François-Xavier Guillois
2023-09-07 10:47:34 +02:00
parent 1529f50602
commit 1c31e0c81d
8 changed files with 121 additions and 5 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
# CHANGELOG # CHANGELOG
## 0.1.10 ## 0.1.10
- révision du template évolution
- révision du template traumatisme
- ajout du type rite
- test import de pack
## 0.1.9 ## 0.1.9
- versions condensées des méthodes (@kristov) - versions condensées des méthodes (@kristov)

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 144 KiB

File diff suppressed because one or more lines are too long
+54
View File
File diff suppressed because one or more lines are too long
+19 -1
View File
@@ -2,7 +2,7 @@
"id": "vermine2047", "id": "vermine2047",
"title": "Vermine 2047", "title": "Vermine 2047",
"description": "The Vermine 2047 system for FoundryVTT!", "description": "The Vermine 2047 system for FoundryVTT!",
"version": "0.1.9", "version": "0.1.10",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",
"verified": "10.287", "verified": "10.287",
@@ -29,6 +29,24 @@
"flags": {} "flags": {}
} }
], ],
"packs": [
{
"name": "kit-de-depart",
"label": "Kit de départ",
"system": "vermine2047",
"path": "packs/kit-de-depart.db",
"type": "Adventure",
"private": false
},
{
"name": "pretires",
"label": "Prétirés",
"system": "vermine2047",
"path": "packs/pretires.db",
"type": "Actor",
"private": false
}
],
"gridDistance": 5, "gridDistance": 5,
"gridUnits": "ft", "gridUnits": "ft",
"primaryTokenAttribute": "health", "primaryTokenAttribute": "health",
+9 -2
View File
@@ -411,7 +411,7 @@
} }
}, },
"Item": { "Item": {
"types": ["item", "weapon", "defense", "vehicle", "ability", "specialty", "trait", "background", "trauma", "evolution", "rumor", "target"], "types": ["item", "weapon", "defense", "vehicle", "ability", "specialty", "trait", "background", "trauma", "evolution", "rumor", "target", "rite"],
"templates": { "templates": {
"base": { "base": {
"description": "", "description": "",
@@ -466,6 +466,9 @@
"templates": ["base"], "templates": ["base"],
"mobility":3 "mobility":3
}, },
"rite": {
"templates": ["base"]
},
"background": { "background": {
"templates": ["list"] "templates": ["list"]
}, },
@@ -475,7 +478,11 @@
}, },
"evolution": { "evolution": {
"templates": ["list"], "templates": ["list"],
"level":1 "level": {
"value": 1,
"min": 1,
"max": 4
}
}, },
"rumor": { "rumor": {
"templates": ["list"] "templates": ["list"]
+3 -1
View File
@@ -13,7 +13,8 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<aside style="flex:1"> <div class="tab flexrow gap-4" data-group="primary" data-tab="description">
<aside style="flex:20%;">
<div class="resource"> <div class="resource">
<div class="resource"> <div class="resource">
<label class="resource-label">{{ localize "VERMINE.level"}}</label> <label class="resource-label">{{ localize "VERMINE.level"}}</label>
@@ -24,6 +25,7 @@
<main class="editor-wrapper" style="flex:10"> <main class="editor-wrapper" style="flex:10">
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}} {{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
</main> </main>
</div>
</section> </section>
</form> </form>
+30
View File
@@ -0,0 +1,30 @@
{{!-- This template is a fallback for when items don't have more specific templates. --}}
{{!-- Generally, you'll want to make more specific templates when possible. --}}
<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 system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
</div>
{{!-- Attributes Tab --}}
<div class="tab attributes" data-group="primary" data-tab="attributes">
{{!-- As you add new fields, add them in here! --}}
</div>
</section>
</form>