v0.0.6
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
+2
-1
@@ -283,7 +283,8 @@
|
|||||||
.totem .sheet-body,
|
.totem .sheet-body,
|
||||||
.totem .sheet-body .tab,
|
.totem .sheet-body .tab,
|
||||||
.totem .sheet-body .tab .editor {
|
.totem .sheet-body .tab .editor {
|
||||||
height: 100%;
|
height: auto;
|
||||||
|
min-height:164px;
|
||||||
}
|
}
|
||||||
.totem .tox .tox-editor-container {
|
.totem .tox .tox-editor-container {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
"id": "totem",
|
"id": "totem",
|
||||||
"title": "Totem",
|
"title": "Totem",
|
||||||
"description": "The Totem system for FoundryVTT!",
|
"description": "The Totem system for FoundryVTT!",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": 10,
|
"minimum": 10,
|
||||||
"verified": "10.287",
|
"verified": "10.287",
|
||||||
|
|||||||
+20
-6
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"Actor": {
|
"Actor": {
|
||||||
"types": ["character", "npc", "creature"],
|
"types": ["character", "npc", "group", "creature"],
|
||||||
"templates": {
|
"templates": {
|
||||||
"base": {
|
"base": {
|
||||||
"minorWound": {
|
"minorWound": {
|
||||||
@@ -365,7 +365,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Item": {
|
"Item": {
|
||||||
"types": ["item", "weapons", "defense", "ritual", "technique"],
|
"types": ["item", "weapon", "defense", "ritual", "technique", "trait"],
|
||||||
"templates": {
|
"templates": {
|
||||||
"base": {
|
"base": {
|
||||||
"description": ""
|
"description": ""
|
||||||
@@ -375,14 +375,28 @@
|
|||||||
"templates": ["base"],
|
"templates": ["base"],
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"weight": 0,
|
"weight": 0,
|
||||||
"formula": "d10 + @str.mod + ceil(@lvl / 2)"
|
"rarity":3,
|
||||||
|
"reliability":3
|
||||||
},
|
},
|
||||||
"feature": {
|
"weapon": {
|
||||||
|
"templates": ["base"],
|
||||||
|
"range":0,
|
||||||
|
"damage":0,
|
||||||
|
"ammo":0
|
||||||
|
},
|
||||||
|
"defense": {
|
||||||
|
"templates": ["base"],
|
||||||
|
"level":0
|
||||||
|
},
|
||||||
|
"ritual": {
|
||||||
"templates": ["base"]
|
"templates": ["base"]
|
||||||
},
|
},
|
||||||
"spell": {
|
"technique": {
|
||||||
|
"templates": ["base"]
|
||||||
|
},
|
||||||
|
"trait": {
|
||||||
"templates": ["base"],
|
"templates": ["base"],
|
||||||
"spellLevel": 1
|
"level":0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -5,11 +5,9 @@
|
|||||||
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
|
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{!-- Sheet Tab Navigation --}}
|
{{!-- Sheet Tab Navigation --}}
|
||||||
<nav class="sheet-tabs tabs" data-group="primary">
|
<nav class="sheet-tabs tabs" data-group="primary">
|
||||||
<a class="item" data-tab="description">Description</a>
|
<a class="item active" data-tab="description">Description</a>
|
||||||
<a class="item" data-tab="attributes">Attributes</a>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
@@ -18,15 +16,11 @@
|
|||||||
{{!-- Description Tab --}}
|
{{!-- Description Tab --}}
|
||||||
<div class="tab" data-group="primary" data-tab="description">
|
<div class="tab" data-group="primary" data-tab="description">
|
||||||
{{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}}
|
||||||
|
<div class="resource">
|
||||||
|
<label class="resource-label">Niveau</label>
|
||||||
|
<input type="number" name="system.level" value="{{system.level}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{!-- Attributes Tab --}}
|
|
||||||
<div class="tab attributes" data-group="primary" data-tab="attributes">
|
|
||||||
{{!-- As you add new fields, add them in here! --}}
|
|
||||||
<div class="resource">
|
|
||||||
<label class="resource-label">Spell Level</label>
|
|
||||||
<input type="text" name="system.spellLevel" value="{{system.spellLevel}}" data-dtype="Number"/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
@@ -18,8 +18,7 @@
|
|||||||
|
|
||||||
{{!-- Sheet Tab Navigation --}}
|
{{!-- Sheet Tab Navigation --}}
|
||||||
<nav class="sheet-tabs tabs" data-group="primary">
|
<nav class="sheet-tabs tabs" data-group="primary">
|
||||||
<a class="item" data-tab="description">Description</a>
|
<a class="item active" data-tab="description">Description</a>
|
||||||
<a class="item" data-tab="attributes">Attributes</a>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
@@ -27,17 +26,18 @@
|
|||||||
|
|
||||||
{{!-- Description Tab --}}
|
{{!-- Description Tab --}}
|
||||||
<div class="tab" data-group="primary" data-tab="description">
|
<div class="tab" data-group="primary" data-tab="description">
|
||||||
{{!-- To render inline rolls in a TinyMCE editor, you need to pass the parent actor's (if any) roll data to the rollData prop. --}}
|
|
||||||
{{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}}
|
||||||
|
<div class="resource">
|
||||||
|
<label class="resource-label">Rarity</label>
|
||||||
|
<input type="number" name="system.rarity" value="{{system.rarity}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{!-- Attributes Tab --}}
|
|
||||||
<div class="tab attributes" data-group="primary" data-tab="attributes">
|
|
||||||
{{!-- As you add new fields, add them in here! --}}
|
|
||||||
<div class="resource">
|
<div class="resource">
|
||||||
<label class="resource-label">Roll Formula</label>
|
<label class="resource-label">Reliability</label>
|
||||||
<input type="text" name="system.formula" value="{{system.formula}}" data-dtype="String"/>
|
<input type="number" name="system.reliability" value="{{system.reliability}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
<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 active" data-tab="description">Description</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>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</form>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
<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 active" data-tab="description">Description</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>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</form>
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
<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 active" data-tab="description">Description</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 class="resource">
|
||||||
|
<label class="resource-label">Portée</label>
|
||||||
|
<input type="number" name="system.range" value="{{system.range}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="resource">
|
||||||
|
<label class="resource-label">Dommage</label>
|
||||||
|
<input type="number" name="system.damage" value="{{system.damage}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="resource">
|
||||||
|
<label class="resource-label">Munitions</label>
|
||||||
|
<input type="number" name="system.ammo" value="{{system.ammo}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</form>
|
||||||
Reference in New Issue
Block a user