New icons
This commit is contained in:
parent
782b39d0be
commit
12c2c46724
@ -13,7 +13,7 @@ export class HawkmoonActorSheet extends ActorSheet {
|
|||||||
static get defaultOptions() {
|
static get defaultOptions() {
|
||||||
|
|
||||||
return mergeObject(super.defaultOptions, {
|
return mergeObject(super.defaultOptions, {
|
||||||
classes: ["fvtt-hawkmoon", "sheet", "actor"],
|
classes: ["fvtt-hawkmoon-cyd", "sheet", "actor"],
|
||||||
template: "systems/fvtt-hawkmoon-cyd/templates/actor-sheet.html",
|
template: "systems/fvtt-hawkmoon-cyd/templates/actor-sheet.html",
|
||||||
width: 640,
|
width: 640,
|
||||||
height: 720,
|
height: 720,
|
||||||
|
@ -7,7 +7,7 @@ import { HawkmoonRollDialog } from "./hawkmoon-roll-dialog.js";
|
|||||||
export class HawkmoonCommands {
|
export class HawkmoonCommands {
|
||||||
|
|
||||||
static init() {
|
static init() {
|
||||||
if (!game.system.mournblade.commands) {
|
if (!game.system.hawkmoon.commands) {
|
||||||
//const HawkmoonCommands = new HawkmoonCommands()
|
//const HawkmoonCommands = new HawkmoonCommands()
|
||||||
//HawkmoonCommands.registerCommand({ path: ["/char"], func: (content, msg, params) => HawkmoonCommands.createChar(msg), descr: "Create a new character" });
|
//HawkmoonCommands.registerCommand({ path: ["/char"], func: (content, msg, params) => HawkmoonCommands.createChar(msg), descr: "Create a new character" });
|
||||||
//game.system.mournblade.commands = HawkmoonCommands
|
//game.system.mournblade.commands = HawkmoonCommands
|
||||||
|
@ -10,7 +10,7 @@ export class HawkmoonItemSheet extends ItemSheet {
|
|||||||
static get defaultOptions() {
|
static get defaultOptions() {
|
||||||
|
|
||||||
return mergeObject(super.defaultOptions, {
|
return mergeObject(super.defaultOptions, {
|
||||||
classes: ["fvtt-hawkmoon", "sheet", "item"],
|
classes: ["fvtt-hawkmoon-cyd", "sheet", "item"],
|
||||||
template: "systems/fvtt-hawkmoon-cyd/templates/item-sheet.html",
|
template: "systems/fvtt-hawkmoon-cyd/templates/item-sheet.html",
|
||||||
dragDrop: [{ dragSelector: null, dropSelector: null }],
|
dragDrop: [{ dragSelector: null, dropSelector: null }],
|
||||||
width: 620,
|
width: 620,
|
||||||
@ -167,7 +167,7 @@ export class HawkmoonItemSheet extends ItemSheet {
|
|||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
get template() {
|
get template() {
|
||||||
let type = this.item.type;
|
let type = this.item.type;
|
||||||
return `systems/fvtt-mournblade/templates/item-${type}-sheet.html`;
|
return `systems/fvtt-hawkmoon-cyd/templates/item-${type}-sheet.html`;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
@ -44,7 +44,7 @@ Hooks.once("init", async function () {
|
|||||||
CONFIG.Combat.documentClass = HawkmoonCombat
|
CONFIG.Combat.documentClass = HawkmoonCombat
|
||||||
CONFIG.Actor.documentClass = HawkmoonActor
|
CONFIG.Actor.documentClass = HawkmoonActor
|
||||||
CONFIG.Item.documentClass = HawkmoonItem
|
CONFIG.Item.documentClass = HawkmoonItem
|
||||||
game.system.hawkmon = {
|
game.system.hawkmosn = {
|
||||||
HawkmoonUtility
|
HawkmoonUtility
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ Hooks.once("init", async function () {
|
|||||||
Items.registerSheet("fvtt-hawkmoon-cyd", HawkmoonItemSheet, { makeDefault: true })
|
Items.registerSheet("fvtt-hawkmoon-cyd", HawkmoonItemSheet, { makeDefault: true })
|
||||||
|
|
||||||
HawkmoonUtility.init();
|
HawkmoonUtility.init();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
@ -67,7 +67,7 @@ function welcomeMessage() {
|
|||||||
user: game.user.id,
|
user: game.user.id,
|
||||||
whisper: [game.user.id],
|
whisper: [game.user.id],
|
||||||
content: `<div id="welcome-message-Hawkmoon"><span class="rdd-roll-part">
|
content: `<div id="welcome-message-Hawkmoon"><span class="rdd-roll-part">
|
||||||
<strong>Bienvenue dans Hawkmoon !</strong>
|
<strong>Bienvenue dans Hawkmoon et le troisième Millénaire !</strong>
|
||||||
<p>Les livres de Hawkmoon sont nécessaires pour jouer : https://www.titam-france.fr</p>
|
<p>Les livres de Hawkmoon sont nécessaires pour jouer : https://www.titam-france.fr</p>
|
||||||
<p>Hawkmoon est jeude rôle publié par Titam France/Sombres projets, tout les droits leur appartiennent.<p>
|
<p>Hawkmoon est jeude rôle publié par Titam France/Sombres projets, tout les droits leur appartiennent.<p>
|
||||||
` });
|
` });
|
||||||
@ -75,8 +75,8 @@ function welcomeMessage() {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
// Register world usage statistics
|
// Register world usage statistics
|
||||||
function registerUsageCount( registerKey ) {
|
function registerUsageCount(registerKey) {
|
||||||
if ( game.user.isGM ) {
|
if (game.user.isGM) {
|
||||||
game.settings.register(registerKey, "world-key", {
|
game.settings.register(registerKey, "world-key", {
|
||||||
name: "Unique world key",
|
name: "Unique world key",
|
||||||
scope: "world",
|
scope: "world",
|
||||||
@ -86,14 +86,14 @@ function registerUsageCount( registerKey ) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
let worldKey = game.settings.get(registerKey, "world-key")
|
let worldKey = game.settings.get(registerKey, "world-key")
|
||||||
if ( worldKey == undefined || worldKey == "" ) {
|
if (worldKey == undefined || worldKey == "") {
|
||||||
worldKey = randomID(32)
|
worldKey = randomID(32)
|
||||||
game.settings.set(registerKey, "world-key", worldKey )
|
game.settings.set(registerKey, "world-key", worldKey)
|
||||||
}
|
}
|
||||||
// Simple API counter
|
// Simple API counter
|
||||||
let regURL = `https://www.uberwald.me/fvtt_appcount/count.php?name="${registerKey}"&worldKey="${worldKey}"&version="${game.release.generation}.${game.release.build}"&system="${game.system.id}"&systemversion="${game.system.version}"`
|
let regURL = `https://www.uberwald.me/fvtt_appcount/count.php?name="${registerKey}"&worldKey="${worldKey}"&version="${game.release.generation}.${game.release.build}"&system="${game.system.id}"&systemversion="${game.system.version}"`
|
||||||
//$.ajaxSetup({
|
//$.ajaxSetup({
|
||||||
//headers: { 'Access-Control-Allow-Origin': '*' }
|
//headers: { 'Access-Control-Allow-Origin': '*' }
|
||||||
//})
|
//})
|
||||||
$.ajax(regURL)
|
$.ajax(regURL)
|
||||||
}
|
}
|
||||||
@ -113,9 +113,15 @@ Hooks.once("ready", function () {
|
|||||||
user: game.user._id
|
user: game.user._id
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
registerUsageCount('fvtt-hawkmoon-cyd')
|
registerUsageCount('fvtt-hawkmoon-cyd')
|
||||||
welcomeMessage()
|
welcomeMessage()
|
||||||
|
|
||||||
|
// CSS patch for v9
|
||||||
|
if (game.version) {
|
||||||
|
let sidebar = document.getElementById("sidebar");
|
||||||
|
sidebar.style.width = "min-content";
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
@ -1351,6 +1351,7 @@ ul, li {
|
|||||||
min-width: 6rem;
|
min-width: 6rem;
|
||||||
}
|
}
|
||||||
.item-field-label-long {
|
.item-field-label-long {
|
||||||
|
padding-top: 6px;
|
||||||
flex-grow:1;
|
flex-grow:1;
|
||||||
max-width: 8rem;
|
max-width: 8rem;
|
||||||
min-width: 8rem;
|
min-width: 8rem;
|
||||||
@ -1369,4 +1370,8 @@ ul, li {
|
|||||||
.item-controls-fixed {
|
.item-controls-fixed {
|
||||||
min-width:3.2rem;
|
min-width:3.2rem;
|
||||||
max-width: 3.2rem;
|
max-width: 3.2rem;
|
||||||
|
}
|
||||||
|
.item-field {
|
||||||
|
justify-content: flex-start;
|
||||||
|
flex-grow: 1;
|
||||||
}
|
}
|
54
system.json
54
system.json
@ -9,7 +9,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"esmodules": [
|
"esmodules": [
|
||||||
"modules/hawkmon-main.js"
|
"modules/hawkmoon-main.js"
|
||||||
],
|
],
|
||||||
"gridDistance": 5,
|
"gridDistance": 5,
|
||||||
"gridUnits": "m",
|
"gridUnits": "m",
|
||||||
@ -28,7 +28,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Armes & Boucliers",
|
"label": "Armes",
|
||||||
"name": "armes",
|
"name": "armes",
|
||||||
"path": "packs/armes.db",
|
"path": "packs/armes.db",
|
||||||
"system": "fvtt-hawkmoon-cyd",
|
"system": "fvtt-hawkmoon-cyd",
|
||||||
@ -55,54 +55,18 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Origines",
|
"label": "Profils",
|
||||||
"name": "origines",
|
"name": "profils",
|
||||||
"path": "packs/origines.db",
|
"path": "packs/profils.db",
|
||||||
"system": "fvtt-hawkmoon-cyd",
|
"system": "fvtt-hawkmoon-cyd",
|
||||||
"private": false,
|
"private": false,
|
||||||
"flags": {}
|
"flags": {}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Héritages",
|
"label": "Talents",
|
||||||
"name": "heritages",
|
"name": "talents",
|
||||||
"path": "packs/heritages.db",
|
"path": "packs/talents.db",
|
||||||
"system": "fvtt-hawkmoon-cyd",
|
|
||||||
"private": false,
|
|
||||||
"flags": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Item",
|
|
||||||
"label": "Métiers",
|
|
||||||
"name": "metiers",
|
|
||||||
"path": "packs/metiers.db",
|
|
||||||
"system": "fvtt-hawkmoon-cyd",
|
|
||||||
"private": false,
|
|
||||||
"flags": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Item",
|
|
||||||
"label": "Tendances",
|
|
||||||
"name": "tendances",
|
|
||||||
"path": "packs/tendances.db",
|
|
||||||
"system": "fvtt-hawkmoon-cyd",
|
|
||||||
"private": false,
|
|
||||||
"flags": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Item",
|
|
||||||
"label": "Traits chaotiques",
|
|
||||||
"name": "traits-chaotiques",
|
|
||||||
"path": "packs/traits-chaotiques.db",
|
|
||||||
"system": "fvtt-hawkmoon-cyd",
|
|
||||||
"private": false,
|
|
||||||
"flags": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Item",
|
|
||||||
"label": "Runes",
|
|
||||||
"name": "runes",
|
|
||||||
"path": "packs/runes.db",
|
|
||||||
"system": "fvtt-hawkmoon-cyd",
|
"system": "fvtt-hawkmoon-cyd",
|
||||||
"private": false,
|
"private": false,
|
||||||
"flags": {}
|
"flags": {}
|
||||||
@ -123,7 +87,7 @@
|
|||||||
"styles": [
|
"styles": [
|
||||||
"styles/simple.css"
|
"styles/simple.css"
|
||||||
],
|
],
|
||||||
"title": "Mournblade",
|
"title": "Hawkmoon - CYD System",
|
||||||
"url": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd",
|
"url": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd",
|
||||||
"background": "systems/fvtt-hawkmoon-cyd/assets/ui/fond_hawkmoon.webp",
|
"background": "systems/fvtt-hawkmoon-cyd/assets/ui/fond_hawkmoon.webp",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
|
@ -138,7 +138,7 @@
|
|||||||
"exemples": "",
|
"exemples": "",
|
||||||
"attribut1": "",
|
"attribut1": "",
|
||||||
"attribut2": "",
|
"attribut2": "",
|
||||||
"talentsinities": "",
|
"talentsinitie": "",
|
||||||
"prerequisaguerri": "",
|
"prerequisaguerri": "",
|
||||||
"talentsaguerri": "",
|
"talentsaguerri": "",
|
||||||
"prerequismaitre": "",
|
"prerequismaitre": "",
|
||||||
|
@ -9,15 +9,15 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
<div class="flexcol">
|
<ul class="item-list alternate-list">
|
||||||
<span class="flexrow">
|
<li class="flexrow item">
|
||||||
<label class="generic-label">Niveau : </label>
|
<label class="generic-label item-field-label-long">Niveau </label>
|
||||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.niveau"
|
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||||
value="{{system.niveau}}" data-dtype="Number" />
|
name="system.niveau" value="{{system.niveau}}" data-dtype="Number" />
|
||||||
</span>
|
</li>
|
||||||
<span class="flexrow">
|
<li class="flexrow item">
|
||||||
<label class="generic-label">Attribut 1 : </label>
|
<label class="generic-label item-field-label-long">Attribut 1 </label>
|
||||||
<select class="status-small-label color-class-common" type="text" name="system.attribut1"
|
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut1"
|
||||||
value="{{system.attribut1}}" data-dtype="string">
|
value="{{system.attribut1}}" data-dtype="string">
|
||||||
{{#select system.attribut1}}
|
{{#select system.attribut1}}
|
||||||
{{#each attributs as |attrLabel attrKey|}}
|
{{#each attributs as |attrLabel attrKey|}}
|
||||||
@ -25,10 +25,10 @@
|
|||||||
{{/each}}
|
{{/each}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</span>
|
</li>
|
||||||
<span class="flexrow">
|
<li class="flexrow item">
|
||||||
<label class="generic-label">Attribut 2 : </label>
|
<label class="generic-label item-field-label-long">Attribut 2 </label>
|
||||||
<select class="status-small-label color-class-common" type="text" name="system.attribut2"
|
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut2"
|
||||||
value="{{system.attribut2}}" data-dtype="string">
|
value="{{system.attribut2}}" data-dtype="string">
|
||||||
<option value="none">Aucun</option>
|
<option value="none">Aucun</option>
|
||||||
{{#select system.attribut2}}
|
{{#select system.attribut2}}
|
||||||
@ -37,10 +37,10 @@
|
|||||||
{{/each}}
|
{{/each}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</span>
|
</li>
|
||||||
<span class="flexrow">
|
<li class="flexrow item">
|
||||||
<label class="generic-label">Attribut 3 : </label>
|
<label class="generic-label item-field-label-long">Attribut 3 </label>
|
||||||
<select class="status-small-label color-class-common" type="text" name="system.attribut3"
|
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut3"
|
||||||
value="{{system.attribut3}}" data-dtype="string">
|
value="{{system.attribut3}}" data-dtype="string">
|
||||||
<option value="none">Aucun</option>
|
<option value="none">Aucun</option>
|
||||||
{{#select system.attribut3}}
|
{{#select system.attribut3}}
|
||||||
@ -49,27 +49,38 @@
|
|||||||
{{/each}}
|
{{/each}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</span>
|
</li>
|
||||||
|
|
||||||
<span class="flexrow">
|
<li class="flexrow item">
|
||||||
<h3>Prédilections</h3>
|
<h3>Prédilections</h3>
|
||||||
</span>
|
</li>
|
||||||
<ul>
|
<li class="flexrow item">
|
||||||
|
<ul>
|
||||||
{{#each system.predilections as |predilection key|}}
|
{{#each system.predilections as |predilection key|}}
|
||||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||||
<input type="text" class="padd-right color-class-common edit-predilection" name="system.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" />
|
<input type="text" class="padd-right color-class-common edit-predilection"
|
||||||
<input type="text" class="padd-right color-class-common edit-predilection-description" name="system.predilections[{{key}}]" value="{{predilection.description}}" data-dtype="String" />
|
name="system.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" />
|
||||||
<label class="generic-label">Maitrise ? <input class="predilection-maitrise" type="checkbox" name="predilection.maitrise" {{checked predilection.maitrise}} /></label>
|
|
||||||
<label class="generic-label">Utilisée ? <input class="use-predilection" type="checkbox" name="predilection.used" {{checked predilection.used}} /></label>
|
|
||||||
<a class="item-control delete-prediction" title="Supprimer une predilection"><i class="fas fa-trash"></i></a>
|
|
||||||
</li>
|
</li>
|
||||||
|
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||||
|
<textarea row="4" type="text" class="padd-right color-class-common edit-predilection-description"
|
||||||
|
name="system.predilections[{{key}}]" value="{{predilection.description}}" data-dtype="String"></textarea>
|
||||||
|
</li>
|
||||||
|
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||||
|
<label class="generic-label">Maitrise ? <input class="predilection-maitrise" type="checkbox"
|
||||||
|
name="predilection.maitrise" {{checked predilection.maitrise}} /></label>
|
||||||
|
<label class="generic-label">Utilisée ? <input class="use-predilection" type="checkbox"
|
||||||
|
name="predilection.used" {{checked predilection.used}} /></label>
|
||||||
|
<a class="item-control delete-prediction" title="Supprimer une predilection"><i
|
||||||
|
class="fas fa-trash"></i></a>
|
||||||
|
</li>
|
||||||
|
<hr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
<span class="flexrow">
|
<li class="flexrow item">
|
||||||
<button id="add-predilection" class="chat-card-button">Ajouter une prédilection</button>
|
<button id="add-predilection" class="chat-card-button">Ajouter une prédilection</button>
|
||||||
</span>
|
</li>
|
||||||
|
</ul>
|
||||||
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
|
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1,27 +1,31 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
<header class="sheet-header">
|
||||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||||
<div class="header-fields">
|
<div class="header-fields">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
<div class="flexcol">
|
|
||||||
<span class="flexrow">
|
|
||||||
<label class="generic-label">Rareté </label>
|
|
||||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.rarete" value="{{data.rarete}}" data-dtype="Number" />
|
|
||||||
</span>
|
|
||||||
<span class="flexrow">
|
|
||||||
<label class="generic-label">Prix </label>
|
|
||||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.prix" value="{{data.prix}}" data-dtype="Number" />
|
|
||||||
</span>
|
|
||||||
|
|
||||||
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
|
<ul class="item-list alternate-list">
|
||||||
|
<li class="flexrow item">
|
||||||
|
<label class="generic-label item-field-label-long">Rareté </label>
|
||||||
|
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long" name="system.rarete"
|
||||||
|
value="{{data.rarete}}" data-dtype="Number" />
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="flexrow item">
|
||||||
|
<label class="generic-label item-field-label-long">Prix </label>
|
||||||
|
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long" name="system.prix"
|
||||||
|
value="{{data.prix}}" data-dtype="Number" />
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
@ -9,21 +9,17 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
<div class="flexcol">
|
<ul class="item-list alternate-list">
|
||||||
<span class="flexrow">
|
<li class="flexrow item">
|
||||||
<label class="generic-label">Allégeance : </label>
|
<label class="generic-label">Bonus/Malus </label>
|
||||||
<select class="status-small-label color-class-common" type="text" name="system.allegeance" value="{{data.allegeance}}" data-dtype="string" >
|
</li>
|
||||||
{{#select data.allegeance}}
|
<li class="flexrow item">
|
||||||
<option value="tous">Tous</option>
|
<input type="text" class="padd-right status-small-label color-class-common" name="system.bonusmalus"
|
||||||
<option value="chaos">Chaos</option>
|
value="{{system.bonusmalus}}" data-dtype="String" />
|
||||||
<option value="loi">Loi</option>
|
</li>
|
||||||
<option value="betes">Seigneurs des Bêtes</option>
|
|
||||||
<option value="elementaires">Seigneurs Elementaires</option>
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
|
</ul>
|
||||||
|
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<div class="flexcol">
|
<div class="flexcol">
|
||||||
|
|
||||||
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
|
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
|
||||||
<header class="sheet-header">
|
|
||||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
|
||||||
<div class="header-fields">
|
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
<div class="flexcol">
|
|
||||||
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</form>
|
|
@ -1,31 +0,0 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
|
||||||
<header class="sheet-header">
|
|
||||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
|
||||||
<div class="header-fields">
|
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
<div class="flexcol">
|
|
||||||
<span class="flexrow">
|
|
||||||
<label class="generic-label">Allégeance : </label>
|
|
||||||
<select class="status-small-label color-class-common" type="text" name="system.allegeance" value="{{data.allegeance}}" data-dtype="string" >
|
|
||||||
{{#select data.allegeance}}
|
|
||||||
<option value="tous">Tous</option>
|
|
||||||
<option value="chaos">Chaos</option>
|
|
||||||
<option value="loi">Loi</option>
|
|
||||||
<option value="betes">Seigneurs des Bêtes</option>
|
|
||||||
<option value="elementaires">Seigneurs Elementaires</option>
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</form>
|
|
@ -1,23 +0,0 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
|
||||||
<header class="sheet-header">
|
|
||||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
|
||||||
<div class="header-fields">
|
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
<div class="flexcol">
|
|
||||||
<span class="flexrow">
|
|
||||||
<label class="generic-label">Compétence : </label>
|
|
||||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.competence" value="{{data.competence}}" data-dtype="String" />
|
|
||||||
</span>
|
|
||||||
|
|
||||||
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</form>
|
|
@ -1,18 +1,95 @@
|
|||||||
<form class="{{cssClass}}" autocomplete="off">
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
<header class="sheet-header">
|
<header class="sheet-header">
|
||||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||||
<div class="header-fields">
|
<div class="header-fields">
|
||||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
<div class="flexcol">
|
<ul class="item-list alternate-list">
|
||||||
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
|
<li class="flexrow item">
|
||||||
|
<label class="generic-label">Exemples : </label>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<input type="text" class="padd-right status-small-label color-class-common" name="system.exemples"
|
||||||
|
value="{{system.exemples}}" data-dtype="String" />
|
||||||
|
</li>
|
||||||
|
<li class="flexrow items">
|
||||||
|
<label class="generic-label item-field-label-long">Attribut principal 1 </label>
|
||||||
|
<select class="status-small-label color-class-common item-field-label-long"" type="text" name="system.attribut1"
|
||||||
|
value="{{system.attribut1}}" data-dtype="string">
|
||||||
|
{{#select system.attribut1}}
|
||||||
|
{{#each attributs as |attrLabel attrKey|}}
|
||||||
|
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
|
</select>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item ">
|
||||||
|
<label class="generic-label item-field-label-long">Attribut principal 2 </label>
|
||||||
|
<select class="status-small-label color-class-common item-field-label-long"" type="text" name="system.attribut2"
|
||||||
|
value="{{system.attribut2}}" data-dtype="string">
|
||||||
|
<option value="none">Aucun</option>
|
||||||
|
{{#select system.attribut2}}
|
||||||
|
{{#each attributs as |attrLabel attrKey|}}
|
||||||
|
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
|
</select>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="flexrow item">
|
||||||
|
<label class="generic-label">Talents Initié : </label>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<textarea type="text" rows="4" class="padd-right status-small-label color-class-common"
|
||||||
|
name="system.talentsinitie" value="{{system.talentsinitie}}" data-dtype="String"></textarea>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<label class="generic-label">Prérequis Aguerri : </label>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<input type="text" class="padd-right status-small-label color-class-common" name="system.prerequisaguerri"
|
||||||
|
value="{{system.prerequisaguerri}}" data-dtype="String" />
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<label class="generic-label">Talents Aguerri : </label>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<textarea row="4" type="text" class="padd-right status-small-label color-class-common"
|
||||||
|
name="system.talentsaguerri" value="{{system.talentsaguerri}}" data-dtype="String"></textarea>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<label class="generic-label">Prérequis Maître : </label>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<input type="text" class="padd-right status-small-label color-class-common" name="system.prerequismaitre"
|
||||||
|
value="{{system.prerequismaitre}}" data-dtype="String" />
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<label class="generic-label">Talents Maître : </label>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<textarea row="4" type="text" class="padd-right status-small-label color-class-common"
|
||||||
|
name="system.talentsmaitre" value="{{system.talentsmaitre}}" data-dtype="String"></textarea>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<label class="generic-label">Equipement : </label>
|
||||||
|
</li>
|
||||||
|
<li class="flexrow item">
|
||||||
|
<input type="text" class="padd-right status-small-label color-class-common" name="system.equipement"
|
||||||
|
value="{{system.equipement}}" data-dtype="String" />
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flexcol">
|
||||||
</section>
|
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||||
</form>
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</form>
|
@ -27,7 +27,7 @@
|
|||||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.prix" value="{{data.prix}}" data-dtype="Number" />
|
<input type="text" class="padd-right status-small-label color-class-common" name="system.prix" value="{{data.prix}}" data-dtype="Number" />
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
|
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user