new item types - 0.0.7
This commit is contained in:
+1
-2
@@ -283,8 +283,7 @@
|
|||||||
.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: auto;
|
height: 100%;
|
||||||
min-height:164px;
|
|
||||||
}
|
}
|
||||||
.totem .tox .tox-editor-container {
|
.totem .tox .tox-editor-container {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
+57
-23
@@ -9,29 +9,63 @@
|
|||||||
"TOTEM.roll_tool": "Lanceur de dés",
|
"TOTEM.roll_tool": "Lanceur de dés",
|
||||||
"TOTEM.roll_dice": "Jeter les dés",
|
"TOTEM.roll_dice": "Jeter les dés",
|
||||||
|
|
||||||
"TOTEM.level": "Niveau",
|
"TOTEM": {
|
||||||
"TOTEM.experience": "Expérience",
|
"stats": "Statistiques",
|
||||||
"TOTEM.reputation": "Réputation",
|
"level": "Niveau",
|
||||||
"TOTEM.pool": "Réserve",
|
"experience": "Expérience",
|
||||||
"TOTEM.pools": "Réserves",
|
"reputation": "Réputation",
|
||||||
"TOTEM.self_control": "Sang-Froid",
|
"pool": "Réserve",
|
||||||
"TOTEM.effort": "Effort",
|
"pools": "Réserves",
|
||||||
"TOTEM.group": "Groupe",
|
"self_control": "Sang-Froid",
|
||||||
"TOTEM.abilities":"Caractéristiques",
|
"effort": "Effort",
|
||||||
"TOTEM.ability":"Caractéristique",
|
"group": "Groupe",
|
||||||
"TOTEM.skills_title":"Compétences",
|
"abilities":"Caractéristiques",
|
||||||
"TOTEM.skill_title":"Compétence",
|
"ability":"Caractéristique",
|
||||||
"TOTEM.skill_mastery":"Maîtrise",
|
"skills_title":"Compétences",
|
||||||
"TOTEM.bonus":"Bonus",
|
"skill_title":"Compétence",
|
||||||
"TOTEM.penalty":"Malus",
|
"skill_mastery":"Maîtrise",
|
||||||
"TOTEM.reroll":"Relance",
|
"bonus":"Bonus",
|
||||||
"TOTEM.specialty":"Spécialité",
|
"penalty":"Malus",
|
||||||
"TOTEM.technique":"Technique",
|
"reroll":"Relance",
|
||||||
"TOTEM.techniques":"Techniques",
|
"specialty":"Spécialité",
|
||||||
"TOTEM.difficulty":"Difficulté",
|
"technique":"Technique",
|
||||||
"TOTEM.help":"Entraide",
|
"techniques":"Techniques",
|
||||||
"TOTEM.tooling":"Equipement",
|
"difficulty":"Difficulté",
|
||||||
|
"help":"Entraide",
|
||||||
|
"tooling":"Equipement",
|
||||||
|
"damage": "Dommage",
|
||||||
|
"damages": "Dommages",
|
||||||
|
"range": "Portée",
|
||||||
|
"ranges": "Portées",
|
||||||
|
"mobility": "Mobilité",
|
||||||
|
"rarity": "Rareté",
|
||||||
|
"reliability": "Fiabilité",
|
||||||
|
"ammo": "Munitions",
|
||||||
|
"trait": "Trait",
|
||||||
|
"traits": "Traits",
|
||||||
|
"objectives": "Objectifs",
|
||||||
|
"theme": "Concept",
|
||||||
|
"instinct": "Instinct",
|
||||||
|
"instincts": "Instincts",
|
||||||
|
"prohibited": "Interdit",
|
||||||
|
"prohibits": "Interdits",
|
||||||
|
"relations": "Relations",
|
||||||
|
"clew": "Indice"
|
||||||
|
},
|
||||||
|
"ITEMS": {
|
||||||
|
"defense": "Protection",
|
||||||
|
"defenses": "Protections",
|
||||||
|
"weapon": "Arme",
|
||||||
|
"weapons": "Armes",
|
||||||
|
"backgrounds": "Historiques",
|
||||||
|
"traumas": "Traumatismes",
|
||||||
|
"rumor": "Rumeur",
|
||||||
|
"rumors": "Rumeurs",
|
||||||
|
"ability": "Capacité",
|
||||||
|
"abilities": "Capacités",
|
||||||
|
"evolution": "Adaptation",
|
||||||
|
"evolutions": "Adaptations"
|
||||||
|
},
|
||||||
"ABILITIES": {
|
"ABILITIES": {
|
||||||
"vigor": { "name": "Vigueur"},
|
"vigor": { "name": "Vigueur"},
|
||||||
"health": { "name": "Santé"},
|
"health": { "name": "Santé"},
|
||||||
|
|||||||
+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.6",
|
"version": "0.0.7",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": 10,
|
"minimum": 10,
|
||||||
"verified": "10.287",
|
"verified": "10.287",
|
||||||
|
|||||||
+44
-24
@@ -17,22 +17,25 @@
|
|||||||
"value": 0,
|
"value": 0,
|
||||||
"min": 0,
|
"min": 0,
|
||||||
"max": 2
|
"max": 2
|
||||||
},
|
|
||||||
"instinct":0,
|
|
||||||
"identity": {
|
|
||||||
"height": 0,
|
|
||||||
"weight": 0,
|
|
||||||
"totem": "",
|
|
||||||
"age": 15,
|
|
||||||
"origin": ""
|
|
||||||
},
|
|
||||||
"stories": {
|
|
||||||
"biography": ""
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"character": {
|
"character": {
|
||||||
"templates": ["base"],
|
"templates": ["base"],
|
||||||
|
"identity": {
|
||||||
|
"height": 0,
|
||||||
|
"weight": 0,
|
||||||
|
"totem": "",
|
||||||
|
"age": 15,
|
||||||
|
"profile": "",
|
||||||
|
"origin": "",
|
||||||
|
"theme": "",
|
||||||
|
"instincts": "",
|
||||||
|
"prohibits": "",
|
||||||
|
"objectives": "",
|
||||||
|
"relations": "",
|
||||||
|
"biography": ""
|
||||||
|
},
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"level": {
|
"level": {
|
||||||
"value": 1,
|
"value": 1,
|
||||||
@@ -365,38 +368,55 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Item": {
|
"Item": {
|
||||||
"types": ["item", "weapon", "defense", "ritual", "technique", "trait"],
|
"types": ["item", "weapon", "defense", "ability", "specialty", "trait", "background", "trauma", "evolution", "rumor"],
|
||||||
"templates": {
|
"templates": {
|
||||||
"base": {
|
"base": {
|
||||||
|
"description": "",
|
||||||
|
"rarity":3,
|
||||||
|
"reliability":3,
|
||||||
|
"quantity": 1,
|
||||||
|
"weight": 0
|
||||||
|
},
|
||||||
|
"list": {
|
||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"item": {
|
"item": {
|
||||||
"templates": ["base"],
|
"templates": ["base"]
|
||||||
"quantity": 1,
|
|
||||||
"weight": 0,
|
|
||||||
"rarity":3,
|
|
||||||
"reliability":3
|
|
||||||
},
|
},
|
||||||
"weapon": {
|
"weapon": {
|
||||||
"templates": ["base"],
|
"templates": ["base"],
|
||||||
"range":0,
|
"min_range":0,
|
||||||
|
"max_range":0,
|
||||||
"damage":0,
|
"damage":0,
|
||||||
"ammo":0
|
"ammo":0
|
||||||
},
|
},
|
||||||
"defense": {
|
"defense": {
|
||||||
"templates": ["base"],
|
"templates": ["base"],
|
||||||
"level":0
|
"level":0,
|
||||||
|
"mobility":3
|
||||||
},
|
},
|
||||||
"ritual": {
|
"ability": {
|
||||||
"templates": ["base"]
|
"templates": ["list"]
|
||||||
},
|
},
|
||||||
"technique": {
|
"specialty": {
|
||||||
"templates": ["base"]
|
"templates": ["list"]
|
||||||
},
|
},
|
||||||
"trait": {
|
"trait": {
|
||||||
"templates": ["base"],
|
"templates": ["list"],
|
||||||
"level":0
|
"level":0
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"templates": ["list"]
|
||||||
|
},
|
||||||
|
"trauma": {
|
||||||
|
"templates": ["list"]
|
||||||
|
},
|
||||||
|
"evolution": {
|
||||||
|
"templates": ["list"]
|
||||||
|
},
|
||||||
|
"rumor": {
|
||||||
|
"templates": ["list"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,22 +5,32 @@
|
|||||||
<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 --}}
|
|
||||||
<nav class="sheet-tabs tabs" data-group="primary">
|
<nav class="sheet-tabs tabs" data-group="primary">
|
||||||
<a class="item active" data-tab="description">Description</a>
|
<a class="item active" data-tab="description">{{ TOTEM.stats }}</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
<div class="tab flexrow" data-group="primary" data-tab="description">
|
||||||
{{!-- Description Tab --}}
|
<aside style="flex:1">
|
||||||
<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">
|
<div class="resource">
|
||||||
<label class="resource-label">Niveau</label>
|
<label class="resource-label">{{ localize "TOTEM.clew"}}</label>
|
||||||
<input type="number" name="system.level" value="{{system.level}}" data-dtype="Number"/>
|
<input type="number" name="system.level" value="{{system.level}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="resource">
|
||||||
|
<label class="resource-label">{{ localize "TOTEM.mobility"}}</label>
|
||||||
|
<input type="number" name="system.mobility" value="{{system.mobility}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
|
<div class="resource">
|
||||||
|
<label class="resource-label">{{ localize "TOTEM.rarity"}}</label>
|
||||||
|
<input type="number" name="system.rarity" value="{{system.rarity}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
|
<div class="resource">
|
||||||
|
<label class="resource-label">{{ localize "TOTEM.reliability"}}</label>
|
||||||
|
<input type="number" name="system.reliability" value="{{system.reliability}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
|
</aside>
|
||||||
|
<main class="editor-wrapper" style="flex:10">
|
||||||
|
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
|
||||||
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<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,29 @@
|
|||||||
|
<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>
|
||||||
@@ -18,7 +18,6 @@
|
|||||||
{{!-- 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>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
<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>
|
||||||
@@ -5,34 +5,35 @@
|
|||||||
<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 --}}
|
|
||||||
<nav class="sheet-tabs tabs" data-group="primary">
|
|
||||||
<a class="item active" data-tab="description">Description</a>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
{{ log item }}
|
||||||
{{!-- Description Tab --}}
|
<div class="tab flexrow" data-group="primary" data-tab="description">
|
||||||
<div class="tab" data-group="primary" data-tab="description">
|
<aside style="flex:1">
|
||||||
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
|
|
||||||
<div class="resource">
|
<div class="resource">
|
||||||
<label class="resource-label">Portée</label>
|
<label class="resource-label">{{ localize "TOTEM.ranges"}}</label>
|
||||||
<input type="number" name="system.range" value="{{system.range}}" data-dtype="Number"/>
|
<input type="number" name="system.min_range" value="{{system.min_range}}" data-dtype="Number"/> /
|
||||||
|
<input type="number" name="system.max_range" value="{{system.max_range}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="resource">
|
<div class="resource">
|
||||||
<label class="resource-label">Dommage</label>
|
<label class="resource-label">{{ localize "TOTEM.damages"}}</label>
|
||||||
<input type="number" name="system.damage" value="{{system.damage}}" data-dtype="Number"/>
|
<input type="number" name="system.damage" value="{{system.damage}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="resource">
|
<div class="resource">
|
||||||
<label class="resource-label">Munitions</label>
|
<label class="resource-label">{{ localize "TOTEM.mobility"}}</label>
|
||||||
<input type="number" name="system.ammo" value="{{system.ammo}}" data-dtype="Number"/>
|
<input type="number" name="system.mobility" value="{{system.ammo}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="resource">
|
||||||
|
<label class="resource-label">{{ localize "TOTEM.rarity"}}</label>
|
||||||
|
<input type="number" name="system.rarity" value="{{system.rarity}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
|
<div class="resource">
|
||||||
|
<label class="resource-label">{{ localize "TOTEM.reliability"}}</label>
|
||||||
|
<input type="number" name="system.reliability" value="{{system.reliability}}" data-dtype="Number"/>
|
||||||
|
</div>
|
||||||
|
</aside>
|
||||||
|
<main class="editor-wrapper" style="flex:10">
|
||||||
|
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
|
||||||
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user