new item types - 0.0.7
This commit is contained in:
+1
-2
@@ -283,8 +283,7 @@
|
||||
.totem .sheet-body,
|
||||
.totem .sheet-body .tab,
|
||||
.totem .sheet-body .tab .editor {
|
||||
height: auto;
|
||||
min-height:164px;
|
||||
height: 100%;
|
||||
}
|
||||
.totem .tox .tox-editor-container {
|
||||
background: #fff;
|
||||
|
||||
+57
-23
@@ -9,29 +9,63 @@
|
||||
"TOTEM.roll_tool": "Lanceur de dés",
|
||||
"TOTEM.roll_dice": "Jeter les dés",
|
||||
|
||||
"TOTEM.level": "Niveau",
|
||||
"TOTEM.experience": "Expérience",
|
||||
"TOTEM.reputation": "Réputation",
|
||||
"TOTEM.pool": "Réserve",
|
||||
"TOTEM.pools": "Réserves",
|
||||
"TOTEM.self_control": "Sang-Froid",
|
||||
"TOTEM.effort": "Effort",
|
||||
"TOTEM.group": "Groupe",
|
||||
"TOTEM.abilities":"Caractéristiques",
|
||||
"TOTEM.ability":"Caractéristique",
|
||||
"TOTEM.skills_title":"Compétences",
|
||||
"TOTEM.skill_title":"Compétence",
|
||||
"TOTEM.skill_mastery":"Maîtrise",
|
||||
"TOTEM.bonus":"Bonus",
|
||||
"TOTEM.penalty":"Malus",
|
||||
"TOTEM.reroll":"Relance",
|
||||
"TOTEM.specialty":"Spécialité",
|
||||
"TOTEM.technique":"Technique",
|
||||
"TOTEM.techniques":"Techniques",
|
||||
"TOTEM.difficulty":"Difficulté",
|
||||
"TOTEM.help":"Entraide",
|
||||
"TOTEM.tooling":"Equipement",
|
||||
|
||||
"TOTEM": {
|
||||
"stats": "Statistiques",
|
||||
"level": "Niveau",
|
||||
"experience": "Expérience",
|
||||
"reputation": "Réputation",
|
||||
"pool": "Réserve",
|
||||
"pools": "Réserves",
|
||||
"self_control": "Sang-Froid",
|
||||
"effort": "Effort",
|
||||
"group": "Groupe",
|
||||
"abilities":"Caractéristiques",
|
||||
"ability":"Caractéristique",
|
||||
"skills_title":"Compétences",
|
||||
"skill_title":"Compétence",
|
||||
"skill_mastery":"Maîtrise",
|
||||
"bonus":"Bonus",
|
||||
"penalty":"Malus",
|
||||
"reroll":"Relance",
|
||||
"specialty":"Spécialité",
|
||||
"technique":"Technique",
|
||||
"techniques":"Techniques",
|
||||
"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": {
|
||||
"vigor": { "name": "Vigueur"},
|
||||
"health": { "name": "Santé"},
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
"id": "totem",
|
||||
"title": "Totem",
|
||||
"description": "The Totem system for FoundryVTT!",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.7",
|
||||
"compatibility": {
|
||||
"minimum": 10,
|
||||
"verified": "10.287",
|
||||
|
||||
+44
-24
@@ -17,22 +17,25 @@
|
||||
"value": 0,
|
||||
"min": 0,
|
||||
"max": 2
|
||||
},
|
||||
"instinct":0,
|
||||
"identity": {
|
||||
"height": 0,
|
||||
"weight": 0,
|
||||
"totem": "",
|
||||
"age": 15,
|
||||
"origin": ""
|
||||
},
|
||||
"stories": {
|
||||
"biography": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"character": {
|
||||
"templates": ["base"],
|
||||
"identity": {
|
||||
"height": 0,
|
||||
"weight": 0,
|
||||
"totem": "",
|
||||
"age": 15,
|
||||
"profile": "",
|
||||
"origin": "",
|
||||
"theme": "",
|
||||
"instincts": "",
|
||||
"prohibits": "",
|
||||
"objectives": "",
|
||||
"relations": "",
|
||||
"biography": ""
|
||||
},
|
||||
"attributes": {
|
||||
"level": {
|
||||
"value": 1,
|
||||
@@ -365,38 +368,55 @@
|
||||
}
|
||||
},
|
||||
"Item": {
|
||||
"types": ["item", "weapon", "defense", "ritual", "technique", "trait"],
|
||||
"types": ["item", "weapon", "defense", "ability", "specialty", "trait", "background", "trauma", "evolution", "rumor"],
|
||||
"templates": {
|
||||
"base": {
|
||||
"description": "",
|
||||
"rarity":3,
|
||||
"reliability":3,
|
||||
"quantity": 1,
|
||||
"weight": 0
|
||||
},
|
||||
"list": {
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"item": {
|
||||
"templates": ["base"],
|
||||
"quantity": 1,
|
||||
"weight": 0,
|
||||
"rarity":3,
|
||||
"reliability":3
|
||||
"templates": ["base"]
|
||||
},
|
||||
"weapon": {
|
||||
"templates": ["base"],
|
||||
"range":0,
|
||||
"min_range":0,
|
||||
"max_range":0,
|
||||
"damage":0,
|
||||
"ammo":0
|
||||
},
|
||||
"defense": {
|
||||
"templates": ["base"],
|
||||
"level":0
|
||||
"level":0,
|
||||
"mobility":3
|
||||
},
|
||||
"ritual": {
|
||||
"templates": ["base"]
|
||||
"ability": {
|
||||
"templates": ["list"]
|
||||
},
|
||||
"technique": {
|
||||
"templates": ["base"]
|
||||
"specialty": {
|
||||
"templates": ["list"]
|
||||
},
|
||||
"trait": {
|
||||
"templates": ["base"],
|
||||
"templates": ["list"],
|
||||
"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>
|
||||
</div>
|
||||
</header>
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<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>
|
||||
|
||||
{{!-- 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="tab flexrow" data-group="primary" data-tab="description">
|
||||
<aside style="flex:1">
|
||||
<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"/>
|
||||
</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>
|
||||
|
||||
</section>
|
||||
</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 --}}
|
||||
<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>
|
||||
|
||||
@@ -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>
|
||||
</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}}
|
||||
{{ log item }}
|
||||
<div class="tab flexrow" data-group="primary" data-tab="description">
|
||||
<aside style="flex:1">
|
||||
<div class="resource">
|
||||
<label class="resource-label">Portée</label>
|
||||
<input type="number" name="system.range" value="{{system.range}}" data-dtype="Number"/>
|
||||
<label class="resource-label">{{ localize "TOTEM.ranges"}}</label>
|
||||
<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 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"/>
|
||||
</div>
|
||||
|
||||
<div class="resource">
|
||||
<label class="resource-label">Munitions</label>
|
||||
<input type="number" name="system.ammo" value="{{system.ammo}}" data-dtype="Number"/>
|
||||
<label class="resource-label">{{ localize "TOTEM.mobility"}}</label>
|
||||
<input type="number" name="system.mobility" value="{{system.ammo}}" 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>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user