Compare commits
No commits in common. "7969e74c8d2df4e4e7e8447d518f64872677ed7e" and "050cd80dae7162d4140bbdb3620d77be067a3d69" have entirely different histories.
7969e74c8d
...
050cd80dae
20
changelog.md
20
changelog.md
@ -1,24 +1,4 @@
|
|||||||
# 11.2
|
# 11.2
|
||||||
## 11.2.17 - Le cache-oeil d'Akarlikarlikar
|
|
||||||
- Le titre des fenêtre d'objet affiche de nouveau le type traduit
|
|
||||||
- Les tooltips des boutons edit/delete sont maintenant en Français
|
|
||||||
- La case à cocher "Cacher les points de tâches" fonctionne de nouveau
|
|
||||||
- Les personnages non-liés ne sont plus dans les liste de personnages joueurs pour le repos, le stress, la fatigue
|
|
||||||
- L'utilisation de Thanatos est visible dans l'onglet Haut-Rêve pour indiquer que la prochaine queue est une ombre
|
|
||||||
- La fenêtre des TMRs ne devrait plus afficher une zone noire au lieu de la carte.
|
|
||||||
|
|
||||||
## 11.2.16 - Le Tri d'Akarlikarlikar
|
|
||||||
- Tri alphabétique des items dans la fenêtre de création
|
|
||||||
- Mise à jour comptage de monde
|
|
||||||
|
|
||||||
## 11.2.15 - La Table d'Akarlikarlikar
|
|
||||||
- Tirage automatique de la foce d'une rencontre (via la commande /tmrr)
|
|
||||||
- Ajout de boutons pour ajouter des blessures "complètes" (ie avec perte d'endurance/vie)
|
|
||||||
|
|
||||||
## 11.2.14 - Les petits pas d'Akarlikarlikar
|
|
||||||
- Correction sur la gestion de la surprise
|
|
||||||
- Ordre des messages sur les cases humides
|
|
||||||
|
|
||||||
## 11.2.13 - Les cent pas d'Akarlikarlikar
|
## 11.2.13 - Les cent pas d'Akarlikarlikar
|
||||||
- Ajout de la commande /voyage pour gérer la fatigue de marche des voyageurs
|
- Ajout de la commande /voyage pour gérer la fatigue de marche des voyageurs
|
||||||
|
|
||||||
|
95
lang/fr.json
95
lang/fr.json
@ -1,56 +1,55 @@
|
|||||||
{
|
{
|
||||||
"TYPES": {
|
"TYPES": {
|
||||||
"Actor": {
|
"Actor": {
|
||||||
"personnage": "Personnage",
|
"Personnage": "Personnage",
|
||||||
"creature": "Créature",
|
"Creature": "Créature",
|
||||||
"entite": "Entité de cauchemar",
|
"Entite": "Entité de cauchemar",
|
||||||
"commerce": "Commerce",
|
"Commerce": "Commerce",
|
||||||
"vehicule": "Véhicule"
|
"Vehicule": "Véhicule"
|
||||||
},
|
},
|
||||||
"Item": {
|
"Item": {
|
||||||
"arme": "Arme",
|
"Arme": "Arme",
|
||||||
"armure": "Armure",
|
"Armure": "Armure",
|
||||||
"blessure": "Blessure",
|
"Blessure": "Blessure",
|
||||||
"casetmr": "Case TMR spéciale",
|
"Casetmr": "TMR spéciale",
|
||||||
"chant": "Chant",
|
"Chant": "Chant",
|
||||||
"competence": "Compétence",
|
"Competence": "Compétence",
|
||||||
"competencecreature": "Compétence de créature",
|
"Competencecreature": "Compétence de créature",
|
||||||
"conteneur": "Conteneur",
|
"Conteneur": "Conteneur",
|
||||||
"danse": "Danse",
|
"Danse": "Danse",
|
||||||
"empoignade": "Empoignade",
|
"Extraitpoetique": "Extrait poetique",
|
||||||
"extraitpoetique": "Extrait poetique",
|
"Faune": "Faune",
|
||||||
"faune": "Faune",
|
"Gemme": "Gemme",
|
||||||
"gemme": "Gemme",
|
"Herbe": "Herbe",
|
||||||
"herbe": "Herbe",
|
"Ingredient": "Ingrédient",
|
||||||
"ingredient": "Ingrédient",
|
"Jeu": "Jeu",
|
||||||
"jeu": "Jeu",
|
"Livre": "Livre",
|
||||||
"livre": "Livre",
|
"Maladie": "Maladie",
|
||||||
"maladie": "Maladie",
|
"Meditation": "Méditation",
|
||||||
"meditation": "Méditation",
|
"Monnaie": "Monnaie",
|
||||||
"monnaie": "Monnaie",
|
"Munition": "Munition",
|
||||||
"munition": "Munition",
|
"Musique": "Musique",
|
||||||
"musique": "Musique",
|
"Nombreastral": "Nombre astral",
|
||||||
"nombreastral": "Nombre astral",
|
"Nourritureboisson": "Nourriture & boisson",
|
||||||
"nourritureboisson": "Nourriture & boisson",
|
"Objet": "Objet",
|
||||||
"objet": "Objet",
|
"Oeuvre": "Oeuvre",
|
||||||
"oeuvre": "Oeuvre",
|
"Ombre": "Ombre de Thanatos",
|
||||||
"ombre": "Ombre de Thanatos",
|
"Plante": "Plante",
|
||||||
"plante": "Plante",
|
"Poison": "Poison",
|
||||||
"poison": "Poison",
|
"Possession": "Possession",
|
||||||
"possession": "Possession",
|
"Potion": "Potion",
|
||||||
"potion": "Potion",
|
"Queue": "Queue de Dragon",
|
||||||
"queue": "Queue de Dragon",
|
"Recettealchimique": "Recette alchimique",
|
||||||
"recettealchimique": "Recette alchimique",
|
"Recettecuisine": "Recette de cuisine",
|
||||||
"recettecuisine": "Recette de cuisine",
|
"Rencontre": "Rencontre TMR",
|
||||||
"rencontre": "Rencontre TMR",
|
"Service": "Service",
|
||||||
"service": "Service",
|
"Signedraconique": "Signe draconique",
|
||||||
"signedraconique": "Signe draconique",
|
"Sort": "Sort",
|
||||||
"sort": "Sort",
|
"Sortreserve": "Sort en réserve",
|
||||||
"sortreserve": "Sort en réserve",
|
"Souffle": "Souffle de Dragon",
|
||||||
"souffle": "Souffle de Dragon",
|
"Tache": "Tâche",
|
||||||
"tache": "Tâche",
|
"Tarot": "Carte de tarot",
|
||||||
"tarot": "Carte de tarot",
|
"Tete": "Tête de Dragon"
|
||||||
"tete": "Tête de Dragon"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"EFFECT": {
|
"EFFECT": {
|
||||||
|
@ -95,27 +95,25 @@ export class RdDActor extends RdDBaseActorSang {
|
|||||||
return ![TYPES.competencecreature, TYPES.tarot, TYPES.service].includes(item.type)
|
return ![TYPES.competencecreature, TYPES.tarot, TYPES.service].includes(item.type)
|
||||||
}
|
}
|
||||||
|
|
||||||
isPersonnageJoueur() {
|
|
||||||
return this.hasPlayerOwner && this.prototypeToken.actorLink
|
|
||||||
}
|
|
||||||
|
|
||||||
isPersonnage() { return true }
|
isPersonnage() { return true }
|
||||||
isHautRevant() { return this.system.attributs.hautrevant.value != "" }
|
isHautRevant() { return this.system.attributs.hautrevant.value != "" }
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
getAgilite() { return this.system.carac.agilite?.value ?? 0 }
|
getAgilite() { return Number(this.system.carac.agilite?.value ?? 0) }
|
||||||
getChance() { return this.system.carac.chance?.value ?? 0 }
|
getChance() { return Number(this.system.carac.chance?.value ?? 0) }
|
||||||
|
|
||||||
getReveActuel() { return this.system.reve?.reve?.value ?? this.carac.reve.value ?? 0 }
|
getReveActuel() { return Misc.toInt(this.system.reve?.reve?.value ?? this.carac.reve.value) }
|
||||||
getChanceActuel() { return this.system.compteurs.chance?.value ?? 10 }
|
getChanceActuel() { return Misc.toInt(this.system.compteurs.chance?.value ?? 10) }
|
||||||
getMoralTotal() { return this.system.compteurs.moral?.value ?? 0 }
|
getMoralTotal() { return Number(this.system.compteurs.moral?.value ?? 0) }
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
getEtatGeneral(options = { ethylisme: false }) {
|
getEtatGeneral(options = { ethylisme: false }) {
|
||||||
const etatGeneral = this.system.compteurs.etat?.value ?? 0
|
const etatGeneral = Misc.toInt(this.system.compteurs.etat?.value)
|
||||||
// Pour les jets d'Ethylisme, on retire le malus d'éthylisme (p.162)
|
if (options.ethylisme) {
|
||||||
const annuleMalusEthylisme = options.ethylisme ? this.malusEthylisme() : 0
|
// Pour les jets d'Ethylisme, on retire le malus d'éthylisme (p.162)
|
||||||
return etatGeneral - annuleMalusEthylisme
|
return etatGeneral - this.malusEthylisme()
|
||||||
|
}
|
||||||
|
return etatGeneral
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
@ -21,11 +21,6 @@ export class RdDBaseActorSangSheet extends RdDBaseActorReveSheet {
|
|||||||
this.html.find('.creer-blessure-grave').click(async event => RdDItemBlessure.createBlessure(this.actor, 4));
|
this.html.find('.creer-blessure-grave').click(async event => RdDItemBlessure.createBlessure(this.actor, 4));
|
||||||
this.html.find('.creer-blessure-critique').click(async event => RdDItemBlessure.createBlessure(this.actor, 6));
|
this.html.find('.creer-blessure-critique').click(async event => RdDItemBlessure.createBlessure(this.actor, 6));
|
||||||
|
|
||||||
this.html.find('.subir-blessure-contusion').click(async event => RdDItemBlessure.applyFullBlessure(this.actor, 2));
|
|
||||||
this.html.find('.subir-blessure-legere').click(async event => RdDItemBlessure.applyFullBlessure(this.actor, 2));
|
|
||||||
this.html.find('.subir-blessure-grave').click(async event => RdDItemBlessure.applyFullBlessure(this.actor, 4));
|
|
||||||
this.html.find('.subir-blessure-critique').click(async event => RdDItemBlessure.applyFullBlessure(this.actor, 6));
|
|
||||||
|
|
||||||
this.html.find('.jet-vie').click(async event => this.actor.jetDeVie())
|
this.html.find('.jet-vie').click(async event => this.actor.jetDeVie())
|
||||||
this.html.find('.jet-endurance').click(async event => await this.jetEndurance())
|
this.html.find('.jet-endurance').click(async event => await this.jetEndurance())
|
||||||
|
|
||||||
|
@ -85,8 +85,6 @@ export class RdDBaseActor extends Actor {
|
|||||||
return game.actors.get(actorId)
|
return game.actors.get(actorId)
|
||||||
}
|
}
|
||||||
|
|
||||||
isPersonnageJoueur() { return false }
|
|
||||||
|
|
||||||
static extractActorMin = (actor) => { return { id: actor?.id, type: actor?.type, name: actor?.name, img: actor?.img }; };
|
static extractActorMin = (actor) => { return { id: actor?.id, type: actor?.type, name: actor?.name, img: actor?.img }; };
|
||||||
|
|
||||||
static getParentActor(document) {
|
static getParentActor(document) {
|
||||||
|
@ -12,7 +12,7 @@ export const XP_TOPIC = {
|
|||||||
export class ExperienceLog {
|
export class ExperienceLog {
|
||||||
|
|
||||||
static async add(actor, topic, from, to, raison, manuel = false) {
|
static async add(actor, topic, from, to, raison, manuel = false) {
|
||||||
if (!actor.isPersonnageJoueur()) {
|
if (!actor.hasPlayerOwner || !actor.isPersonnage()) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (from == to) {
|
if (from == to) {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import { RdDItem } from "../item.js";
|
import { RdDItem } from "../item.js";
|
||||||
import { Misc } from "../misc.js";
|
import { Misc } from "../misc.js";
|
||||||
import { RdDTimestamp } from "../time/rdd-timestamp.js";
|
import { RdDTimestamp } from "../time/rdd-timestamp.js";
|
||||||
import { ChatUtility } from "../chat-utility.js";
|
|
||||||
|
|
||||||
const BASE_TACHE_SOIN_BLESSURE = {
|
const BASE_TACHE_SOIN_BLESSURE = {
|
||||||
type: "tache",
|
type: "tache",
|
||||||
@ -15,10 +14,10 @@ const TACHES_SOIN_BLESSURE = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const definitionsBlessures = [
|
const definitionsBlessures = [
|
||||||
{ type: "contusion", gravite: 0, endurance: "1d4", vie: 0, label: 'Contusion/éraflure', max: 100, icon: "systems/foundryvtt-reve-de-dragon/icons/sante/eraflure.webp" },
|
{ type: "contusion", gravite: 0, label: 'Contusion/éraflure', max: 100, icon: "systems/foundryvtt-reve-de-dragon/icons/sante/eraflure.webp" },
|
||||||
{ type: "legere", gravite: 2, endurance: "1d6", vie: 0, label: 'Légère', max: 5, icon: "systems/foundryvtt-reve-de-dragon/icons/sante/blessure.webp" },
|
{ type: "legere", gravite: 2, label: 'Légère', max: 5, icon: "systems/foundryvtt-reve-de-dragon/icons/sante/blessure.webp" },
|
||||||
{ type: "grave", gravite: 4, endurance: "2d6", vie: -2, label: 'Grave', max: 2, icon: "systems/foundryvtt-reve-de-dragon/icons/sante/blessure.webp" },
|
{ type: "grave", gravite: 4, label: 'Grave', max: 2, icon: "systems/foundryvtt-reve-de-dragon/icons/sante/blessure.webp" },
|
||||||
{ type: "critique", gravite: 6, endurance: "-100", vie: -4, label: 'Critique', max: 1, icon: "systems/foundryvtt-reve-de-dragon/icons/sante/blessure.webp" },
|
{ type: "critique", gravite: 6, label: 'Critique', max: 1, icon: "systems/foundryvtt-reve-de-dragon/icons/sante/blessure.webp" },
|
||||||
{ type: "mort", gravite: 8, label: 'Mort', max: 1, icon: "systems/foundryvtt-reve-de-dragon/icons/sante/mort.webp" }
|
{ type: "mort", gravite: 8, label: 'Mort', max: 1, icon: "systems/foundryvtt-reve-de-dragon/icons/sante/mort.webp" }
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -41,32 +40,6 @@ export class RdDItemBlessure extends RdDItem {
|
|||||||
}
|
}
|
||||||
return mergeObject(duplicate(BASE_TACHE_SOIN_BLESSURE), tache)
|
return mergeObject(duplicate(BASE_TACHE_SOIN_BLESSURE), tache)
|
||||||
}
|
}
|
||||||
|
|
||||||
static async applyFullBlessure(actor, gravite) {
|
|
||||||
const definition = RdDItemBlessure.getDefinition(gravite)
|
|
||||||
|
|
||||||
let lostEndurance = 0
|
|
||||||
let lostVie = 0
|
|
||||||
if (definition.endurance) {
|
|
||||||
lostEndurance = new Roll(definition.endurance).roll({async: false}).total;
|
|
||||||
actor.santeIncDec("endurance", -Number(lostEndurance));
|
|
||||||
}
|
|
||||||
if (definition.vie) {
|
|
||||||
lostVie = definition.vie
|
|
||||||
actor.santeIncDec("vie", definition.vie)
|
|
||||||
}
|
|
||||||
|
|
||||||
await this.createBlessure(actor, gravite)
|
|
||||||
|
|
||||||
ChatMessage.create({
|
|
||||||
content: `Blessure ${definition.label} appliquée à ${actor.name}`+
|
|
||||||
`<br>Perte d'endurance : ${lostEndurance}`+
|
|
||||||
`<br>Perte de Vie : ${lostVie}`,
|
|
||||||
whisper: ChatUtility.getWhisperRecipientsAndGMs(actor.name)
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
static async createBlessure(actor, gravite, localisation = '', attacker) {
|
static async createBlessure(actor, gravite, localisation = '', attacker) {
|
||||||
const definition = RdDItemBlessure.getDefinition(gravite)
|
const definition = RdDItemBlessure.getDefinition(gravite)
|
||||||
const blessure = {
|
const blessure = {
|
||||||
|
@ -46,7 +46,7 @@ export class Misc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static typeName(type, subType) {
|
static typeName(type, subType) {
|
||||||
return subType ? game.i18n.localize(`TYPES.${type}.${subType}`)
|
return subType ? game.i18n.localize(`TYPES.${type}.${Misc.upperFirst(subType)}`)
|
||||||
: '';
|
: '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -300,7 +300,7 @@ export class RdDCommands {
|
|||||||
async getRencontreTMR(params) {
|
async getRencontreTMR(params) {
|
||||||
if (params.length == 1 || params.length == 2) {
|
if (params.length == 1 || params.length == 2) {
|
||||||
return game.system.rdd.rencontresTMR.rollRencontre(params[0], params[1])
|
return game.system.rdd.rencontresTMR.rollRencontre(params[0], params[1])
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -463,13 +463,14 @@ export class RdDCommands {
|
|||||||
|
|
||||||
let motif = params.slice(1, params.length - 2);
|
let motif = params.slice(1, params.length - 2);
|
||||||
let name = params[params.length - 1];
|
let name = params[params.length - 1];
|
||||||
const personnages = game.actors.filter(actor => actor.isPersonnageJoueur());
|
|
||||||
if (name == undefined) {
|
if (name == undefined) {
|
||||||
for (let actor of personnages) {
|
for (let actor of game.actors) {
|
||||||
|
// TODO: ne plus stresser les entités de cauchemar!
|
||||||
await actor.distribuerStress('stress', stress, motif);
|
await actor.distribuerStress('stress', stress, motif);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let actor = Misc.findActor(name, personnages) ?? Misc.findPlayer(name)?.character
|
//console.log(stressValue, nomJoueur);
|
||||||
|
let actor = Misc.findActor(name, game.actors.filter(it => it.hasPlayerOwner)) ?? Misc.findPlayer(name)?.character
|
||||||
if (actor) {
|
if (actor) {
|
||||||
await actor.distribuerStress('stress', stress, motif);
|
await actor.distribuerStress('stress', stress, motif);
|
||||||
}
|
}
|
||||||
|
@ -266,16 +266,16 @@ export class SystemReveDeDragon {
|
|||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
/* Foundry VTT Initialization */
|
/* Foundry VTT Initialization */
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
// CSS patch for v9
|
||||||
|
if (game.version) {
|
||||||
|
let sidebar = document.getElementById("sidebar");
|
||||||
|
sidebar.style.width = "min-content";
|
||||||
|
}
|
||||||
game.system.rdd.calendrier = new RdDCalendrier();
|
game.system.rdd.calendrier = new RdDCalendrier();
|
||||||
if (Misc.isUniqueConnectedGM()) {
|
if (Misc.isUniqueConnectedGM()) {
|
||||||
new Migrations().migrate();
|
new Migrations().migrate();
|
||||||
this.messageDeBienvenue();
|
this.messageDeBienvenue();
|
||||||
import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{
|
this.registerUsageCount(SYSTEM_RDD);
|
||||||
console.log("ClassCounter loaded", moduleCounter)
|
|
||||||
moduleCounter.ClassCounter.registerUsageCount()
|
|
||||||
}).catch(err=>
|
|
||||||
console.log("No stats available, giving up.")
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusEffects.onReady();
|
StatusEffects.onReady();
|
||||||
@ -306,6 +306,30 @@ export class SystemReveDeDragon {
|
|||||||
` });
|
` });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* -------------------------------------------- */
|
||||||
|
// Register world usage statistics
|
||||||
|
async registerUsageCount(registerKey) {
|
||||||
|
if (game.user.isGM) {
|
||||||
|
game.settings.register("world", "world-key", {
|
||||||
|
name: "Unique world key",
|
||||||
|
scope: "world",
|
||||||
|
config: false,
|
||||||
|
default: "NONE",
|
||||||
|
type: String
|
||||||
|
});
|
||||||
|
|
||||||
|
let worldKey = game.settings.get("world", "world-key")
|
||||||
|
if (worldKey == undefined || worldKey == "") {
|
||||||
|
worldKey = randomID(32)
|
||||||
|
game.settings.set("world", "world-key", worldKey)
|
||||||
|
}
|
||||||
|
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}"`
|
||||||
|
$.ajax(regURL)
|
||||||
|
/* -------------------------------------------- */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SystemReveDeDragon.start();
|
SystemReveDeDragon.start();
|
||||||
|
@ -44,15 +44,16 @@ export class RdDTMRDialog extends Dialog {
|
|||||||
type: Number,
|
type: Number,
|
||||||
range: TMR_DISPLAY_SIZE.range
|
range: TMR_DISPLAY_SIZE.range
|
||||||
})
|
})
|
||||||
|
await PixiTMR.init()
|
||||||
}
|
}
|
||||||
|
|
||||||
static async create(actor, tmrData) {
|
static async create(actor, tmrData) {
|
||||||
await PixiTMR.init()
|
|
||||||
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html', tmrData);
|
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html', tmrData);
|
||||||
|
|
||||||
if (tmrData.mode != 'visu' && !game.user.isGM) {
|
if (tmrData.mode != 'visu' && !game.user.isGM) {
|
||||||
ChatMessage.create({ content: actor.name + " est monté dans les TMR en mode : " + tmrData.mode, whisper: ChatMessage.getWhisperRecipients("GM") });
|
ChatMessage.create({ content: actor.name + " est monté dans les TMR en mode : " + tmrData.mode, whisper: ChatMessage.getWhisperRecipients("GM") });
|
||||||
}
|
}
|
||||||
return new RdDTMRDialog(html, actor, tmrData)
|
return new RdDTMRDialog(html, actor, tmrData);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
@ -297,12 +298,13 @@ export class RdDTMRDialog extends Dialog {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async updateValuesDisplay() {
|
async updateValuesDisplay() {
|
||||||
if (this.viewOnly || !this.rendered) {
|
if (!this.rendered) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const coord = this._getCoordActor();
|
const coord = this._getCoordActor();
|
||||||
|
|
||||||
HtmlUtility.showControlWhen(this.html.find(".lire-signe-draconique"), this.actor.isResonanceSigneDraconique(coord));
|
HtmlUtility.showControlWhen(this.html.find(".lire-signe-draconique"), this.actor.isResonanceSigneDraconique(coord));
|
||||||
|
|
||||||
let ptsreve = document.getElementById("tmr-pointsreve-value");
|
let ptsreve = document.getElementById("tmr-pointsreve-value");
|
||||||
ptsreve.innerHTML = this.actor.system.reve.reve.value;
|
ptsreve.innerHTML = this.actor.system.reve.reve.value;
|
||||||
|
|
||||||
@ -698,6 +700,7 @@ export class RdDTMRDialog extends Dialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async _resultatMaitriseCaseHumide(rollData) {
|
async _resultatMaitriseCaseHumide(rollData) {
|
||||||
|
await this.souffleSiEchecTotal(rollData);
|
||||||
if (rollData.rolled.isSuccess && rollData.double) {
|
if (rollData.rolled.isSuccess && rollData.double) {
|
||||||
rollData.previous = { rolled: rollData.rolled, ajustements: rollData.ajustements };
|
rollData.previous = { rolled: rollData.rolled, ajustements: rollData.ajustements };
|
||||||
rollData.double = undefined;
|
rollData.double = undefined;
|
||||||
@ -712,7 +715,6 @@ export class RdDTMRDialog extends Dialog {
|
|||||||
if (rollData.rolled.isEchec) {
|
if (rollData.rolled.isEchec) {
|
||||||
await this.close();
|
await this.close();
|
||||||
}
|
}
|
||||||
await this.souffleSiEchecTotal(rollData);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
@ -70,7 +70,7 @@ export class StatusEffects extends FormApplication {
|
|||||||
if (statusDemiSurprise.intersects(effect.statuses)) {
|
if (statusDemiSurprise.intersects(effect.statuses)) {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
if (isCombat && effect.statuses.find(e => e == STATUSES.StatusDemiReve)) {
|
if (isCombat && effect.statuses.includes(STATUSES.StatusDemiReve)) {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
|
@ -85,7 +85,7 @@ export class AppAstrologie extends Application {
|
|||||||
const nbAstral = calendrier.getNombreAstral()
|
const nbAstral = calendrier.getNombreAstral()
|
||||||
const heures = RdDTimestamp.heures();
|
const heures = RdDTimestamp.heures();
|
||||||
return {
|
return {
|
||||||
ajustementsActors:game.actors.filter(actor => actor.isPersonnageJoueur())
|
ajustementsActors: game.actors.filter(it => it.isPersonnage() && it.hasPlayerOwner)
|
||||||
.map(actor => this.getAjustementActor(actor, nbAstral, heures)),
|
.map(actor => this.getAjustementActor(actor, nbAstral, heures)),
|
||||||
nombresAstraux: calendrier.getNombresAstraux().map(na => this.getDetailNombreAstral(na))
|
nombresAstraux: calendrier.getNombresAstraux().map(na => this.getDetailNombreAstral(na))
|
||||||
}
|
}
|
||||||
|
@ -3,8 +3,10 @@ export class DialogChateauDormant extends Dialog {
|
|||||||
|
|
||||||
static async create() {
|
static async create() {
|
||||||
const date = game.system.rdd.calendrier.dateCourante();
|
const date = game.system.rdd.calendrier.dateCourante();
|
||||||
|
const actors = game.actors.filter(actor => actor.hasPlayerOwner && actor.isPersonnage());
|
||||||
|
|
||||||
const dialogData = {
|
const dialogData = {
|
||||||
actors: game.actors.filter(actor => actor.isPersonnageJoueur()),
|
actors: actors,
|
||||||
date: date,
|
date: date,
|
||||||
motifStress: `Nuit du ${date}`,
|
motifStress: `Nuit du ${date}`,
|
||||||
finChateauDormant: game.system.rdd.calendrier.getTimestampFinChateauDormant()
|
finChateauDormant: game.system.rdd.calendrier.getTimestampFinChateauDormant()
|
||||||
|
@ -6,7 +6,7 @@ export class DialogStress extends Dialog {
|
|||||||
motif: "Motif",
|
motif: "Motif",
|
||||||
stress: 10,
|
stress: 10,
|
||||||
immediat: false,
|
immediat: false,
|
||||||
actors: game.actors.filter(actor => actor.isPersonnageJoueur())
|
actors: game.actors.filter(actor => actor.hasPlayerOwner && actor.isPersonnage())
|
||||||
.map(actor => ({
|
.map(actor => ({
|
||||||
id: actor.id,
|
id: actor.id,
|
||||||
name: actor.name,
|
name: actor.name,
|
||||||
|
@ -39,8 +39,6 @@ export class TMRRencontres {
|
|||||||
const frequence = it => it.system.frequence[codeTerrain];
|
const frequence = it => it.system.frequence[codeTerrain];
|
||||||
const row = await this.table.getRandom(frequence, filtreMauvaise, forcedRoll);
|
const row = await this.table.getRandom(frequence, filtreMauvaise, forcedRoll);
|
||||||
if (row) {
|
if (row) {
|
||||||
console.log("DORM", row);
|
|
||||||
//row.document.system.computedForce = new Roll(row.document.system.formula).roll({async: false}).total;
|
|
||||||
await CompendiumTableHelpers.tableRowToChatMessage(row);
|
await CompendiumTableHelpers.tableRowToChatMessage(row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { SYSTEM_RDD } from "../constants.js";
|
||||||
import { Misc } from "../misc.js";
|
import { Misc } from "../misc.js";
|
||||||
import { TMRConstants, tmrTokenZIndex } from "../tmr-constants.js";
|
import { TMRConstants, tmrTokenZIndex } from "../tmr-constants.js";
|
||||||
import { TMRUtility } from "../tmr-utility.js";
|
import { TMRUtility } from "../tmr-utility.js";
|
||||||
@ -13,12 +14,12 @@ export class PixiTMR {
|
|||||||
static register(name, img) {
|
static register(name, img) {
|
||||||
PixiTMR.textures[name] = img;
|
PixiTMR.textures[name] = img;
|
||||||
}
|
}
|
||||||
|
|
||||||
static async init() {
|
static async init() {
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
Object.values(PixiTMR.textures)
|
Object.values(PixiTMR.textures)
|
||||||
.filter(img => img != undefined && !PIXI.utils.TextureCache[img])
|
.filter(img => img != undefined)
|
||||||
.map(async img => PIXI.Sprite.from(await PIXI.Assets.load(img))))
|
.map(async img => PIXI.Sprite.from(await PIXI.Assets.load(img)))
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor(tmrDialog, displaySize) {
|
constructor(tmrDialog, displaySize) {
|
||||||
@ -105,9 +106,8 @@ export class PixiTMR {
|
|||||||
|
|
||||||
sprite(code, options = {}) {
|
sprite(code, options = {}) {
|
||||||
let img = PixiTMR.getImgFromCode(code)
|
let img = PixiTMR.getImgFromCode(code)
|
||||||
let texture = PIXI.utils.TextureCache[img]
|
const texture = PIXI.utils.TextureCache[img]
|
||||||
if (!texture) {
|
if (!texture) {
|
||||||
// TODO: charger la texture
|
|
||||||
console.error("Texture manquante", code, PIXI.utils.TextureCache)
|
console.error("Texture manquante", code, PIXI.utils.TextureCache)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -33,10 +33,11 @@ export class DialogFatigueVoyage extends Dialog {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (!DialogFatigueVoyage.dialog) {
|
if (!DialogFatigueVoyage.dialog) {
|
||||||
|
const playerActors = game.actors.filter(actor => actor.hasPlayerOwner && actor.isPersonnage())
|
||||||
|
.map(actor => DialogFatigueVoyage.prepareActor(actor))
|
||||||
const parameters = {
|
const parameters = {
|
||||||
tableauFatigueMarche: TABLEAU_FATIGUE_MARCHE,
|
tableauFatigueMarche: TABLEAU_FATIGUE_MARCHE,
|
||||||
playerActors: game.actors.filter(actor => actor.isPersonnageJoueur())
|
playerActors: playerActors,
|
||||||
.map(actor => DialogFatigueVoyage.prepareActor(actor)),
|
|
||||||
nombreHeures: 1,
|
nombreHeures: 1,
|
||||||
}
|
}
|
||||||
DialogFatigueVoyage.setModeDeplacement(parameters, undefined, undefined)
|
DialogFatigueVoyage.setModeDeplacement(parameters, undefined, undefined)
|
||||||
|
@ -1315,7 +1315,10 @@ div.competence-column div.categorie-competence{
|
|||||||
margin-right: 0.2rem;
|
margin-right: 0.2rem;
|
||||||
margin-left: 0.2rem;
|
margin-left: 0.2rem;
|
||||||
}
|
}
|
||||||
.item-label {
|
.blessures-title {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.alchimie-title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.pointsreve-value {
|
.pointsreve-value {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"id": "foundryvtt-reve-de-dragon",
|
"id": "foundryvtt-reve-de-dragon",
|
||||||
"title": "Rêve de Dragon",
|
"title": "Rêve de Dragon",
|
||||||
"version": "11.2.17",
|
"version": "11.2.13",
|
||||||
"download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-11.2.17.zip",
|
"download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-11.2.13.zip",
|
||||||
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v11/system.json",
|
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v11/system.json",
|
||||||
"changelog": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/branch/v11/changelog.md",
|
"changelog": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/branch/v11/changelog.md",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
|
@ -525,11 +525,15 @@
|
|||||||
},
|
},
|
||||||
"Item": {
|
"Item": {
|
||||||
"types": [
|
"types": [
|
||||||
"arme", "armure", "blessure", "casetmr", "chant", "competence", "competencecreature", "conteneur", "danse",
|
"competence", "competencecreature",
|
||||||
"empoignade", "extraitpoetique", "faune", "gemme", "herbe", "ingredient", "jeu", "livre", "maladie", "meditation",
|
"recettealchimique", "musique", "chant", "danse", "jeu", "recettecuisine", "oeuvre",
|
||||||
"monnaie", "munition", "musique", "nombreastral", "nourritureboisson", "objet", "oeuvre", "ombre", "plante", "possession",
|
"objet", "arme", "armure", "conteneur", "herbe", "plante", "ingredient", "faune", "livre", "potion", "munition",
|
||||||
"poison", "potion", "queue", "recettealchimique", "recettecuisine", "rencontre",
|
"monnaie", "nourritureboisson", "gemme",
|
||||||
"service" ,"signedraconique", "sort", "sortreserve", "souffle", "tarot", "tache", "tete" ],
|
"service",
|
||||||
|
"meditation", "rencontre", "queue", "ombre", "souffle", "tete", "casetmr", "signedraconique", "sort", "sortreserve",
|
||||||
|
"nombreastral", "tache", "blessure", "maladie", "poison", "possession",
|
||||||
|
"tarot", "extraitpoetique", "empoignade"
|
||||||
|
],
|
||||||
"templates": {
|
"templates": {
|
||||||
"description": {
|
"description": {
|
||||||
"description": "",
|
"description": "",
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
{{#each (trier recettesAlchimiques) as |recette id|}}
|
{{#each (trier recettesAlchimiques) as |recette id|}}
|
||||||
<li class="item flexrow list-item" data-item-id="{{recette._id}}"><span class="competence-title recette-label item-edit"><a>{{recette.name}}</a></span>
|
<li class="item flexrow list-item" data-item-id="{{recette._id}}"><span class="competence-title recette-label item-edit"><a>{{recette.name}}</a></span>
|
||||||
<div class="item-controls flex-shrink">
|
<div class="item-controls flex-shrink">
|
||||||
<a class="item-edit" data-tooltip="Modifier"><i class="fas fa-edit"></i></a>
|
<a class="item-edit" data-tooltip="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
<h4>Blessures</h4>
|
<h4>blessures</h4>
|
||||||
<div>
|
<div>
|
||||||
<a class="chat-card-button creer-blessure-legere" data-tooltip="Ajouter une légère"><i class="fas fa-plus-circle"></i> légère</a>
|
<a class="chat-card-button creer-blessure-legere" data-tooltip="Ajouter une blessure légère"><i class="fas fa-plus-circle"></i> légère</a>
|
||||||
<a class="chat-card-button creer-blessure-grave" data-tooltip="Ajouter une grave"><i class="fas fa-plus-circle"></i> grave</a>
|
<a class="chat-card-button creer-blessure-grave" data-tooltip="Ajouter une blessure grave"><i class="fas fa-plus-circle"></i> grave</a>
|
||||||
<a class="chat-card-button creer-blessure-critique" data-tooltip="Ajouter une critique"><i class="fas fa-plus-circle"></i> critique</a>
|
<a class="chat-card-button creer-blessure-critique" data-tooltip="Ajouter une blessure critque"><i class="fas fa-plus-circle"></i> critique</a>
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<a class="chat-card-button subir-blessure-contusion" data-tooltip="Subir une contusion (avec perte d'Endurance)"><i class="fas fa-swords"></i> contusion</a>
|
|
||||||
<a class="chat-card-button subir-blessure-legere" data-tooltip="Subir une légère (avec perte d'Endurance)"><i class="fas fa-swords"></i> légère</a>
|
|
||||||
<a class="chat-card-button subir-blessure-grave" data-tooltip="Subir une grave (avec perte d'Endurance/Vie)"><i class="fas fa-swords"></i> grave</a>
|
|
||||||
<a class="chat-card-button subir-blessure-critique" data-tooltip="Subir une critique (avec perte d'Endurance/Vie)"><i class="fas fa-swords"></i> critique</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="item-list alterne-list">
|
<ul class="item-list alterne-list">
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
<span class="competence-title tache-label"><a>{{tache.name}}
|
<span class="competence-title tache-label"><a>{{tache.name}}
|
||||||
({{tache.system.points_de_tache_courant}}/{{tache.system.points_de_tache}})</a></span>
|
({{tache.system.points_de_tache_courant}}/{{tache.system.points_de_tache}})</a></span>
|
||||||
<div class="item-controls flex-shrink">
|
<div class="item-controls flex-shrink">
|
||||||
<a class="item-edit" data-tooltip="Modifier"><i class="fas fa-edit"></i></a>
|
<a class="item-edit" data-tooltip="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -64,8 +64,8 @@
|
|||||||
</span>
|
</span>
|
||||||
<span class="competence-value">{{emp.system.pointsemp}}</span>
|
<span class="competence-value">{{emp.system.pointsemp}}</span>
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-edit" data-tooltip="Modifier"><i class="fas fa-edit"></i></a>
|
<a class="item-edit" data-tooltip="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -23,8 +23,8 @@
|
|||||||
/>
|
/>
|
||||||
{{#if @root.options.vueDetaillee}}
|
{{#if @root.options.vueDetaillee}}
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-edit" data-tooltip="Modifier"><i class="fas fa-edit"></i></a>
|
<a class="item-edit" data-tooltip="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</li>
|
</li>
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
<img class="sheet-competence-img" src="{{possession.img}}" data-tooltip="{{possession.name}}"/>
|
<img class="sheet-competence-img" src="{{possession.img}}" data-tooltip="{{possession.name}}"/>
|
||||||
<span class="competence-label">{{possession.name}}</span>
|
<span class="competence-label">{{possession.name}}</span>
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-edit" data-tooltip="Modifier"><i class="fas fa-edit"></i></a>
|
<a class="item-edit" data-tooltip="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<a>{{queue.name}}</a>
|
<a>{{queue.name}}</a>
|
||||||
</span>
|
</span>
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
{{#if queue.system.refoulement}}
|
{{#if queue.system.refoulement}}
|
||||||
<a class="item-action">Refouler</a>
|
<a class="item-action">Refouler</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<img class="sheet-competence-img" src="{{souffle.img}}"/>
|
<img class="sheet-competence-img" src="{{souffle.img}}"/>
|
||||||
<span class="item-edit flex-grow"><a>{{souffle.name}}</a></span>
|
<span class="item-edit flex-grow"><a>{{souffle.name}}</a></span>
|
||||||
<div class="item-controls flex-shrink">
|
<div class="item-controls flex-shrink">
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<img class="sheet-competence-img" src="{{tete.img}}"/>
|
<img class="sheet-competence-img" src="{{tete.img}}"/>
|
||||||
<span class="item-edit flex-grow"><a>{{tete.name}}</a></span>
|
<span class="item-edit flex-grow"><a>{{tete.name}}</a></span>
|
||||||
<div class="item-controls flex-shrink">
|
<div class="item-controls flex-shrink">
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
<li class="item flexrow list-item" data-item-id="{{jeu._id}}">
|
<li class="item flexrow list-item" data-item-id="{{jeu._id}}">
|
||||||
<span class="competence-title jeu-label"><a>{{jeu.name}} (base {{jeu.system.base}})</a></span>
|
<span class="competence-title jeu-label"><a>{{jeu.name}} (base {{jeu.system.base}})</a></span>
|
||||||
<div class="item-controls flex-shrink">
|
<div class="item-controls flex-shrink">
|
||||||
<a class="item-edit" data-tooltip="Modifier"><i class="fas fa-edit"></i></a>
|
<a class="item-edit" data-tooltip="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{#if maladiesPoisons.length}}
|
{{#if maladiesPoisons.length}}
|
||||||
<h3 class="item-label">Maladies & Poisons:</h3>
|
<h3 class="blessures-title">Maladies & Poisons:</h3>
|
||||||
<ul class="item-list alterne-list">
|
<ul class="item-list alterne-list">
|
||||||
<li class="competence-header flexrow">
|
<li class="competence-header flexrow">
|
||||||
<span class="competence-title flex-grow competence-label">Nom</span>
|
<span class="competence-title flex-grow competence-label">Nom</span>
|
||||||
|
@ -12,21 +12,13 @@
|
|||||||
<li class="item flexrow" >
|
<li class="item flexrow" >
|
||||||
<span class="competence-label">Refoulement : </span>
|
<span class="competence-label">Refoulement : </span>
|
||||||
<span>
|
<span>
|
||||||
{{#if options.isGM}}
|
{{#if options.isGM}}
|
||||||
<input class="competence-value" type="text" name="system.reve.refoulement.value" value="{{system.reve.refoulement.value}}" data-dtype="Number"/>
|
<input class="competence-value" type="text" name="system.reve.refoulement.value" value="{{system.reve.refoulement.value}}" data-dtype="Number"/>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{system.reve.refoulement.value}}
|
{{system.reve.refoulement.value}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
{{#if system.reve.reve.thanatosused}}
|
|
||||||
<li class="item flexrow" >
|
|
||||||
<span class="competence-label">La prochaine queue est une Ombre</span>
|
|
||||||
<span>
|
|
||||||
<img class="sheet-competence-img" src="systems/foundryvtt-reve-de-dragon/icons/competence_thanatos.webp"/>
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
{{/if}}
|
|
||||||
</ul>
|
</ul>
|
||||||
<hr>
|
<hr>
|
||||||
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-queues.html"}}
|
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-queues.html"}}
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
<a>{{oeuvre.name}} (niveau {{oeuvre.system.niveau}})</a>
|
<a>{{oeuvre.name}} (niveau {{oeuvre.system.niveau}})</a>
|
||||||
</span>
|
</span>
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-edit" data-tooltip="Modifier"><i class="fas fa-edit"></i></a>
|
<a class="item-edit" data-tooltip="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{{#if possessions.length}}
|
{{#if possessions.length}}
|
||||||
{{!-- Possession --}}
|
{{!-- Possession --}}
|
||||||
<h3 class="item-label">Possession:</h3>
|
<h3 class="blessures-title">Possession:</h3>
|
||||||
<ul class="item-list alterne-list">
|
<ul class="item-list alterne-list">
|
||||||
<li class="competence-header flexrow">
|
<li class="competence-header flexrow">
|
||||||
<span class="competence-title flex-grow competence-label">Nom</span>
|
<span class="competence-title flex-grow competence-label">Nom</span>
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
(or @root.options.isGM (not tache.system.cacher_points_de_tache))
|
(or @root.options.isGM (not tache.system.cacher_points_de_tache))
|
||||||
}}/{{tache.system.points_de_tache}}{{/if}})</a></span>
|
}}/{{tache.system.points_de_tache}}{{/if}})</a></span>
|
||||||
<div class="item-controls flex-shrink">
|
<div class="item-controls flex-shrink">
|
||||||
<a class="item-edit" data-tooltip="Modifier"><i class="fas fa-edit"></i></a>
|
<a class="item-edit" data-tooltip="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
<a class="item-delete" data-tooltip="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
@ -5,11 +5,6 @@
|
|||||||
<div>
|
<div>
|
||||||
<img class="chat-icon" src="{{document.img}}" data-tooltip="{{document.name}}" />
|
<img class="chat-icon" src="{{document.img}}" data-tooltip="{{document.name}}" />
|
||||||
<p>{{linkCompendium document.pack document.id document.name}}</p>
|
<p>{{linkCompendium document.pack document.id document.name}}</p>
|
||||||
{{#if document.system.formule}}
|
|
||||||
<div class="poesie-extrait">
|
|
||||||
[[/r {{document.system.formule}}]]
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
{{#if document.system.description}}
|
{{#if document.system.description}}
|
||||||
<div class="poesie-extrait">
|
<div class="poesie-extrait">
|
||||||
{{{document.system.description}}}
|
{{{document.system.description}}}
|
||||||
|
@ -21,48 +21,49 @@
|
|||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if (and isGM hasPlayerOwner)}}
|
{{#if (and isGM hasPlayerOwner)}}
|
||||||
<div class="flex-group-center flex-shrink">
|
<div class="flex-group-center flex-shrink">
|
||||||
<h4>Le gardien gére les TMR du joueur, le joueur ne peut pas monter dans les TMR!</h4>
|
<h4>Le gardien gére les TMR du joueur, le joueur ne peut pas monter dans les TMR!</h4>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="flex-group-center flex-shrink">
|
<div class="flex-group-center flex-shrink">
|
||||||
<img class="small-button-direction tmr-move" data-move="topleft" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-topleft.svg">
|
<img class="small-button-direction tmr-move" data-move="topleft" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-topleft.svg">
|
||||||
<img class="small-button-direction tmr-move" data-move="top" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-top.svg">
|
<img class="small-button-direction tmr-move" data-move="top" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-top.svg">
|
||||||
<img class="small-button-direction tmr-move" data-move="topright" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-topright.svg">
|
<img class="small-button-direction tmr-move" data-move="topright" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-topright.svg">
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-group-center flex-shrink">
|
<div class="flex-group-center flex-shrink">
|
||||||
<label>Coordonnées : </label><span id="tmr-pos">0</span>
|
<label>Coordonnées : </label><span id="tmr-pos">0</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-group-center flex-shrink">
|
<div class="flex-group-center flex-shrink">
|
||||||
<img class="small-button-direction tmr-move" data-move="bottomleft" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-bottomleft.svg">
|
<img class="small-button-direction tmr-move" data-move="bottomleft" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-bottomleft.svg">
|
||||||
<img class="small-button-direction tmr-move" data-move="bottom" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-bottom.svg">
|
<img class="small-button-direction tmr-move" data-move="bottom" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-bottom.svg">
|
||||||
<img class="small-button-direction tmr-move" data-move="bottomright" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-bottomright.svg">
|
<img class="small-button-direction tmr-move" data-move="bottomright" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-bottomright.svg">
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-group-center flex-shrink lire-signe-draconique">
|
<div class="flex-group-center flex-shrink lire-signe-draconique">
|
||||||
<a>Lire un signe draconique</a>
|
<a>Lire un signe draconique</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-group-center flex-shrink lancer-sort">
|
<div class="flex-group-center flex-shrink lancer-sort">
|
||||||
<a>Lancer un Sort</a>
|
<a>Lancer un Sort</a>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="flex-group-center flex-shrink">
|
<div class="flex-group-center flex-shrink">
|
||||||
<label>Carac. Rêve : </label><label>{{caracReve}}</label>
|
<label>Carac. Rêve : </label><label>{{caracReve}}</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-group-center flex-shrink">
|
<div class="flex-group-center flex-shrink">
|
||||||
<label>Rêve actuel : </label><span id="tmr-pointsreve-value">0</span>
|
<label>Rêve actuel : </label><span id="tmr-pointsreve-value">0</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-group-center flex-shrink">
|
<div class="flex-group-center flex-shrink">
|
||||||
<label>Etat général : </label><span id="tmr-etatgeneral-value">0</span>
|
<label>Etat général : </label><span id="tmr-etatgeneral-value">0</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-group-center flex-shrink">
|
<div class="flex-group-center flex-shrink">
|
||||||
<label>Refoulement : </label><span id="tmr-refoulement-value">0</span>
|
<label>Refoulement : </label><span id="tmr-refoulement-value">0</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-group-center flex-actions-bar appliquerFatigue">
|
<div class="flex-group-center flex-actions-bar appliquerFatigue">
|
||||||
Fatigue
|
Fatigue
|
||||||
<span id="tmr-fatigue-table">{{{fatigue.html}}}</span>
|
<span id="tmr-fatigue-table">{{{fatigue.html}}}</span>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="flex-group-center flex-grow"></div>
|
<div class="flex-group-center flex-grow">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<div class="tab items flexcol" data-group="primary" data-tab="informations">
|
<div class="tab items flexcol" data-group="primary" data-tab="informations">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.competence">Compétence de mêlée</label>
|
<label for="system.competence">Compétence de mêlée</label>
|
||||||
<select name="system.competence" data-dtype="String">
|
<select name="system.competence" id="competence" data-dtype="String">
|
||||||
{{#select system.competence}}
|
{{#select system.competence}}
|
||||||
<option value="">- impossible -</option>
|
<option value="">- impossible -</option>
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html" categorie='melee'}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html" categorie='melee'}}
|
||||||
@ -26,7 +26,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.tir">Compétence de tir</label>
|
<label for="system.tir">Compétence de tir</label>
|
||||||
<select name="system.tir" data-dtype="String">
|
<select name="system.tir" id="tir" data-dtype="String">
|
||||||
{{#select system.tir}}
|
{{#select system.tir}}
|
||||||
<option value="">- impossible -</option>
|
<option value="">- impossible -</option>
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html" categorie='tir'}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html" categorie='tir'}}
|
||||||
@ -52,7 +52,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.categorie_parade">Catégorie parade </label>
|
<label for="system.categorie_parade">Catégorie parade </label>
|
||||||
<select name="system.categorie_parade" data-dtype="String">
|
<select name="system.categorie_parade" id="categorie_parade" data-dtype="String">
|
||||||
{{#select system.categorie_parade}}
|
{{#select system.categorie_parade}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -104,7 +104,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.initpremierround">Classe d'initiative au premier round (mêlée seulement) </label>
|
<label for="system.initpremierround">Classe d'initiative au premier round (mêlée seulement) </label>
|
||||||
<select name="system.initpremierround" data-dtype="String">
|
<select name="system.initpremierround" id="initpremierround" data-dtype="String">
|
||||||
{{#select system.initpremierround}}
|
{{#select system.initpremierround}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-initpremierround.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-initpremierround.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
<input class="attribute-value" type="text" name="system.coord" value="{{system.coord}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.coord" value="{{system.coord}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.specific">Mode spécifique</label>
|
<label for="niveau">Mode spécifique</label>
|
||||||
<select name="system.specific" data-dtype="String">
|
<select name="system.specific" id="specific" data-dtype="String">
|
||||||
{{#select system.specific}}
|
{{#select system.specific}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-effet.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-effet.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="item-label" for="system.niveau">Niveau</label>
|
<label class="alchimie-title" for="xp">Niveau</label>
|
||||||
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.reference">Référence / Auteur</label>
|
<label>Référence / Auteur</label>
|
||||||
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if isparade}}
|
{{#if isparade}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.categorie_parade">Catégorie parade</label>
|
<label>Catégorie parade</label>
|
||||||
<select name="system.categorie_parade" data-dtype="String">
|
<select name="system.categorie_parade" id="categorie_parade" data-dtype="String">
|
||||||
{{#select system.categorie_parade}}
|
{{#select system.categorie_parade}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="tab items flexcol" data-group="primary" data-tab="informations">
|
<div class="tab items flexcol" data-group="primary" data-tab="informations">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.capacite">Capacite (points d'Enc.)</label>
|
<label for="xp">Capacite (points d'Enc.)</label>
|
||||||
<input class="attribute-value" type="text" name="system.capacite" value="{{system.capacite}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.capacite" value="{{system.capacite}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="item-label" for="system.type">Type</label>
|
<label class="alchimie-title" for="xp">Type</label>
|
||||||
<select name="system.type" data-dtype="String">
|
<select name="system.type" data-dtype="String">
|
||||||
{{#select system.type}}
|
{{#select system.type}}
|
||||||
<option value="recreative">Récréative</option>
|
<option value="recreative">Récréative</option>
|
||||||
@ -12,19 +12,19 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="item-label" for="system.agilite">Agilité ?</label>
|
<label class="alchimie-title" for="xp">Agilité ?</label>
|
||||||
<input class="attribute-value" type="checkbox" name="system.agilite" {{#if system.agilite}}checked{{/if}}/>
|
<input class="attribute-value" type="checkbox" name="system.agilite" {{#if system.agilite}}checked{{/if}}/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="item-label" for="system.apparence">Apparence ?</label>
|
<label class="alchimie-title" for="xp">Apparence ?</label>
|
||||||
<input class="attribute-value" type="checkbox" name="system.apparence" {{#if system.apparence}}checked{{/if}}/>
|
<input class="attribute-value" type="checkbox" name="system.apparence" {{#if system.apparence}}checked{{/if}}/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="item-label" for="system.niveau">Niveau</label>
|
<label class="alchimie-title" for="xp">Niveau</label>
|
||||||
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.reference">Référence / Auteur</label>
|
<label>Référence / Auteur</label>
|
||||||
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.pointsemp">Points d'Empoignade </label>
|
<label for="xp">Points d'Empoignade </label>
|
||||||
<input class="attribute-value" type="text" name="system.pointsemp" value="{{system.pointsemp}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.pointsemp" value="{{system.pointsemp}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="tab items flexcol" data-group="primary" data-tab="informations">
|
<div class="tab items flexcol" data-group="primary" data-tab="informations">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.type">Type</label>
|
<label>Type</label>
|
||||||
<select name="system.type" data-dtype="String">
|
<select name="system.type" id="type" data-dtype="String">
|
||||||
{{#select system.type}}
|
{{#select system.type}}
|
||||||
{{{gemmeTypeList}}}
|
{{{gemmeTypeList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
@ -4,26 +4,26 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="item-label" for="system.type">Type</label>
|
<label class="alchimie-title" for="xp">Type</label>
|
||||||
<select name="system.type" data-dtype="String">
|
<select name="system.type" data-dtype="String">
|
||||||
{{#select system.type}}
|
{{#select system.type}}
|
||||||
<option value="adressehasard">Adresse/Hasard</option>
|
<option value="adressehasard">Adresse/Hasard</option>
|
||||||
<option value="de">Dés</option>
|
<option value="de">Dés</option>
|
||||||
<option value="carte">Cartes</option>
|
<option value="carte">Cartes</option>
|
||||||
<option value="reflexion">Reflexion</option>
|
<option value="reflexion">Reflexion</option>
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="item-label" for="system.base">Base</label>
|
<label class="alchimie-title" for="xp">Base</label>
|
||||||
<input class="attribute-value" type="text" name="system.base" value="{{system.base}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.base" value="{{system.base}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="item-label" for="system.caraccomp">Caractéristique/Compétence</label>
|
<label class="alchimie-title" for="xp">Caractéristique/Compétence</label>
|
||||||
<input class="attribute-value" type="text" name="system.caraccomp" value="{{system.caraccomp}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.caraccomp" value="{{system.caraccomp}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.reference">Référence / Auteur</label>
|
<label>Référence / Auteur</label>
|
||||||
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
<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>
|
||||||
{{#if options.isOwned}}
|
{{#if options.isOwned}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span><a class="creer-tache-livre chat-card-button" data-actor-id="{{actorId}}">Créer une tâche de lecture</a></span>
|
<span for="xp"><a class="creer-tache-livre chat-card-button" data-actor-id="{{actorId}}">Créer une tâche de lecture</a></span>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<nav class="sheet-tabs tabs" data-group="primary">
|
<nav class="sheet-tabs tabs" data-group="primary">
|
||||||
@ -18,35 +18,35 @@
|
|||||||
<div class="tab items flexcol" data-group="primary" data-tab="informations">
|
<div class="tab items flexcol" data-group="primary" data-tab="informations">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.auteur">Auteur</label>
|
<label for="xp">Auteur</label>
|
||||||
<input class="attribute-value" type="text" name="system.auteur" value="{{system.auteur}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.auteur" value="{{system.auteur}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.competence">Compétence</label>
|
<label for="xp">Compétence</label>
|
||||||
<select name="system.competence" data-dtype="String">
|
<select name="system.competence" id="competenceselect" data-dtype="String">
|
||||||
{{#select system.competence}}
|
{{#select system.competence}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.difficulte">Difficulté</label>
|
<label for="xp">Difficulté</label>
|
||||||
<input class="attribute-value" type="number" name="system.difficulte" value="{{system.difficulte}}" data-dtype="Number"/>
|
<input class="attribute-value" type="number" name="system.difficulte" value="{{system.difficulte}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.points_de_tache">Points de tâches</label>
|
<label for="xp">Points de tâches</label>
|
||||||
<input class="attribute-value" type="number" name="system.points_de_tache" value="{{system.points_de_tache}}" data-dtype="Number"/>
|
<input class="attribute-value" type="number" name="system.points_de_tache" value="{{system.points_de_tache}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.xp">Expérience</label>
|
<label for="xp">Expérience</label>
|
||||||
<input class="attribute-value" type="number" name="system.xp" value="{{system.xp}}" data-dtype="Number"/>
|
<input class="attribute-value" type="number" name="system.xp" value="{{system.xp}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.niveau_minimum">Niveau minimum</label>
|
<label for="xp">Niveau minimum</label>
|
||||||
<input class="attribute-value" type="text" name="system.niveau_minimum" value="{{system.niveau_minimum}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.niveau_minimum" value="{{system.niveau_minimum}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.niveau_maximum">Niveau maximum</label>
|
<label for="xp">Niveau maximum</label>
|
||||||
<input class="attribute-value" type="text" name="system.niveau_maximum" value="{{system.niveau_maximum}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.niveau_maximum" value="{{system.niveau_maximum}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -3,53 +3,53 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.competence">Compétence</label>
|
<label for="xp">Compétence</label>
|
||||||
<select name="system.competence" data-dtype="String">
|
<select name="system.competence" id="competenceselect" data-dtype="String">
|
||||||
{{#select system.competence}}
|
{{#select system.competence}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.theme">Thème</label>
|
<label for="xp">Thème</label>
|
||||||
<input class="attribute-value" type="text" name="system.theme" value="{{system.theme}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.theme" value="{{system.theme}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.support">Support</label>
|
<label for="xp">Support</label>
|
||||||
<input class="attribute-value" type="text" name="system.support" value="{{system.support}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.support" value="{{system.support}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.heure">Heure</label>
|
<label for="xp">Heure</label>
|
||||||
<select name="system.heure" data-dtype="String">
|
<select name="system.heure" id="heure" data-dtype="String">
|
||||||
{{#select system.heure}}
|
{{#select system.heure}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-heures.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-heures.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.purification">Purification</label>
|
<label for="xp">Purification</label>
|
||||||
<input class="attribute-value" type="text" name="system.purification" value="{{system.purification}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.purification" value="{{system.purification}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.veture">Vêture</label>
|
<label for="xp">Vêture</label>
|
||||||
<input class="attribute-value" type="text" name="system.veture" value="{{system.veture}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.veture" value="{{system.veture}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.comportement">Comportement</label>
|
<label for="xp">Comportement</label>
|
||||||
<input class="attribute-value" type="text" name="system.comportement" value="{{system.comportement}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.comportement" value="{{system.comportement}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.tmr">Case TMR</label>
|
<label for="xp">Case TMR</label>
|
||||||
<select name="system.tmr" data-dtype="String">
|
<select name="system.tmr" id="tmr" data-dtype="String">
|
||||||
{{#select system.tmr}}
|
{{#select system.tmr}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.malus">Malus</label>
|
<label for="xp">Malus</label>
|
||||||
{{#if options.isGM}}
|
{{#if options.isGM}}
|
||||||
<select name="system.malus" data-dtype="Number">
|
<select name="system.malus" id="malus" data-dtype="Number">
|
||||||
{{#select system.malus}}
|
{{#select system.malus}}
|
||||||
<option value="0">0</option>
|
<option value="0">0</option>
|
||||||
<option value="-1">-1</option>
|
<option value="-1">-1</option>
|
||||||
|
@ -3,13 +3,14 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="item-label" for="system.niveau">Niveau</label>
|
<label class="alchimie-title" for="xp">Niveau</label>
|
||||||
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.reference">Référence / Auteur</label>
|
<label>Référence / Auteur</label>
|
||||||
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -3,20 +3,21 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.value">Nombre</label>
|
<label for="xp">Nombre</label>
|
||||||
<input class="attribute-value" type="text" name="system.value" value="{{system.value}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.value" value="{{system.value}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.istrue">Nombre valide ? </label>
|
<label for="xp">Nombre valide ? </label>
|
||||||
<input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/>
|
<input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.jourindex">Index du jour concerné</label>
|
<label for="xp">Index du jour concerné</label>
|
||||||
<input class="attribute-value" type="text" name="system.jourindex" value="{{system.jourindex}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.jourindex" value="{{system.jourindex}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.jourlabel">Label du jour</label>
|
<label for="xp">Label du jour</label>
|
||||||
<input class="attribute-value" type="text" name="system.jourlabel" value="{{system.jourlabel}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.jourlabel" value="{{system.jourlabel}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -9,27 +9,27 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.default_carac">Caractéristique</label>
|
<label>Caractéristique</label>
|
||||||
<select name="system.default_carac" data-dtype="String">
|
<select name="system.default_carac" id="default_carac" data-dtype="String">
|
||||||
{{#select system.default_carac}}
|
{{#select system.default_carac}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-caracteristiques.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-caracteristiques.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.competence">Compétence</label>
|
<label>Compétence</label>
|
||||||
<select name="system.competence" data-dtype="String">
|
<select name="system.competence" id="competenceselect" data-dtype="String">
|
||||||
{{#select system.competence}}
|
{{#select system.competence}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.reference">Référence / Auteur</label>
|
<label>Référence / Auteur</label>
|
||||||
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.niveau">Niveau</label>
|
<label>Niveau</label>
|
||||||
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.typepossession">Type de possession</label>
|
<label for="xp">Type de possession </label>
|
||||||
<input class="attribute-value" type="text" name="system.typepossession" value="{{system.typepossession}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.typepossession" value="{{system.typepossession}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.istrue">Possédé ?</label>
|
<label for="xp">Possédé ? </label>
|
||||||
<input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/>
|
<input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.compteur">Compteur</label>
|
<label for="xp">Compteur </label>
|
||||||
<input class="attribute-value" type="text" name="system.compteur" value="{{system.compteur}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="system.compteur" value="{{system.compteur}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<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>
|
||||||
{{#if options.isOwned}}
|
{{#if options.isOwned}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span><a class="consommer-potion chat-card-button" data-actor-id="{{actorId}}">Consommer cette potion et appliquer ses effets</a></span>
|
<span for="xp"><a class="consommer-potion chat-card-button" data-actor-id="{{actorId}}">Consommer cette potion et appliquer ses effets</a></span>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,29 +3,29 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="item-label" for="system.but">But</label>
|
<label class="alchimie-title" for="xp">But</label>
|
||||||
<input class="attribute-value" type="text" name="system.but" value="{{system.but}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="system.but" value="{{system.but}}" data-dtype="String"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexcol">
|
<div class="flexcol">
|
||||||
<span><label class="item-label">Manipulation : </label></span>
|
<span><label class="alchimie-title">Manipulation : </label></span>
|
||||||
<div class="form-group medium-editor">
|
<div class="form-group medium-editor">
|
||||||
{{editor manipulation_update target="system.manipulation" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
|
{{editor manipulation_update target="system.manipulation" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexcol">
|
<div class="flexcol">
|
||||||
<span><label class="item-label">Utilisation : </label></span>
|
<span><label class="alchimie-title">Utilisation : </label></span>
|
||||||
<div class="form-group small-editor">
|
<div class="form-group small-editor">
|
||||||
{{editor utilisation target="system.utilisation" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
|
{{editor utilisation target="system.utilisation" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexcol">
|
<div class="flexcol">
|
||||||
<span><label class="item-label">Enchantement : </label></span>
|
<span><label class="alchimie-title">Enchantement : </label></span>
|
||||||
<div class="form-group small-editor">
|
<div class="form-group small-editor">
|
||||||
{{editor enchantement target="system.enchantement" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
|
{{editor enchantement target="system.enchantement" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexcol">
|
<div class="flexcol">
|
||||||
<span><label class="item-label">Sur-effet : </label></span>
|
<span><label class="alchimie-title">Sur-effet : </label></span>
|
||||||
<div class="form-group small-editor">
|
<div class="form-group small-editor">
|
||||||
{{editor sureffet target="system.sureffet" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
|
{{editor sureffet target="system.sureffet" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.draconic">Draconic</label>
|
<label>Draconic</label>
|
||||||
<select name="system.draconic" data-dtype="String">
|
<select name="system.draconic" id="draconic" data-dtype="String">
|
||||||
{{#select system.draconic}}
|
{{#select system.draconic}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -12,7 +12,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.caseTMR">Case TMR</label>
|
<label for="system.caseTMR">Case TMR</label>
|
||||||
<select name="system.caseTMR" data-dtype="String">
|
<select name="system.caseTMR" id="caseTMR" data-dtype="String">
|
||||||
{{#select system.caseTMR}}
|
{{#select system.caseTMR}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html"}}
|
||||||
<option value="special">Case spéciale TMR (saisie ci-dessous)</option>
|
<option value="special">Case spéciale TMR (saisie ci-dessous)</option>
|
||||||
@ -62,7 +62,7 @@
|
|||||||
{{#each bonusCaseList as |bcData key|}}
|
{{#each bonusCaseList as |bcData key|}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="caseValue">Case/Bonus :</label>
|
<label for="caseValue">Case/Bonus :</label>
|
||||||
<input class="attribute-value" type="text" name="caseValue" value="{{bcData.case}}" data-dtype="String"/>
|
<input class="attribute-value" type="text" name="caseValue" value="{{bcData.case}}" data-dtype="String"/>
|
||||||
<input class="attribute-value" type="text" name="bonusValue" value="{{bcData.bonus}}" data-dtype="Number"/>
|
<input class="attribute-value" type="text" name="bonusValue" value="{{bcData.bonus}}" data-dtype="Number"/>
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.draconic">Draconic</label>
|
<label>Draconic</label>
|
||||||
<select name="system.draconic" data-dtype="String">
|
<select name="system.draconic" id="draconic" data-dtype="String">
|
||||||
{{#select system.draconic}}
|
{{#select system.draconic}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
{{#if options.isGM}}
|
{{#if options.isGM}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.cacher_points_de_tache">Cacher les Points de Tâches nécessaires au joueur</label>
|
<label for="system.cacher_points_de_tache">Cacher les Points de Tâches nécessaires au joueur</label>
|
||||||
<input class="attribute-value" type="checkbox" name="system.cacher_points_de_tache" {{checked system.cacher_points_de_tache}}/>
|
<input class="attribute-value" ²type="checkbox" name="system.cacher_points_de_tache" {{checked system.cacher_points_de_tache}}/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.points_de_tache">Points de tâches nécessaires (MJ)</label>
|
<label for="system.points_de_tache">Points de tâches nécessaires (MJ)</label>
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
<img class="profile-img" src="{{img}}" data-edit="img" data-tooltip="{{name}}"/>
|
<img class="profile-img" src="{{img}}" data-edit="img" data-tooltip="{{name}}"/>
|
||||||
<div class="flexcol">
|
<div class="flexcol">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.concept">Aspect</label>
|
<label>Aspect</label>
|
||||||
<input class="attribute-value" type="text" name="system.concept" value="{{system.concept}}" data-dtype="String" />
|
<input class="attribute-value" type="text" name="system.concept" value="{{system.concept}}" data-dtype="String" />
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="system.aspect">Sens</label>
|
<label>Sens</label>
|
||||||
<select name="system.aspect" data-dtype="String">
|
<select name="system.aspect" id="aspect" data-dtype="String">
|
||||||
{{#select system.aspect}}
|
{{#select system.aspect}}
|
||||||
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-aspect-tarot.html"}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-aspect-tarot.html"}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
Loading…
Reference in New Issue
Block a user