Amelioration fiche items
This commit is contained in:
parent
3b98a18ee0
commit
6b1ecb6353
@ -12,7 +12,7 @@ export class TeDeumActorPJSheet extends ActorSheet {
|
|||||||
static get defaultOptions() {
|
static get defaultOptions() {
|
||||||
|
|
||||||
return mergeObject(super.defaultOptions, {
|
return mergeObject(super.defaultOptions, {
|
||||||
classes: ["fvtt-tedeum", "sheet", "actor"],
|
classes: ["fvtt-te-deum", "sheet", "actor"],
|
||||||
template: "systems/fvtt-te-deum/templates/actors/actor-sheet.hbs",
|
template: "systems/fvtt-te-deum/templates/actors/actor-sheet.hbs",
|
||||||
width: 860,
|
width: 860,
|
||||||
height:680,
|
height:680,
|
||||||
|
@ -65,6 +65,17 @@ export class TeDeumActor extends Actor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
getBonusDegats() {
|
||||||
|
return game.system.tedeum.config.BONUS_DEGATS[this.system.caracteristiques.puissance.value]
|
||||||
|
}
|
||||||
|
/* -------------------------------------------- */
|
||||||
|
getNbArmures() {
|
||||||
|
return game.system.tedeum.config.MAX_ARMURES_LOURDES[this.system.caracteristiques.puissance.value]
|
||||||
|
}
|
||||||
|
getNbActions() {
|
||||||
|
return game.system.tedeum.config.ACTIONS_PAR_TOUR[this.system.caracteristiques.adresse.value]
|
||||||
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
getCompetences() {
|
getCompetences() {
|
||||||
let comp = duplicate(this.items.filter(item => item.type == 'competence') || [])
|
let comp = duplicate(this.items.filter(item => item.type == 'competence') || [])
|
||||||
@ -118,11 +129,6 @@ export class TeDeumActor extends Actor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------- */
|
|
||||||
getEquipments() {
|
|
||||||
return this.items.filter(item => item.type == 'equipment')
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ------------------------------------------- */
|
/* ------------------------------------------- */
|
||||||
async buildContainerTree() {
|
async buildContainerTree() {
|
||||||
let equipments = duplicate(this.items.filter(item => item.type == "equipment") || [])
|
let equipments = duplicate(this.items.filter(item => item.type == "equipment") || [])
|
||||||
@ -179,6 +185,7 @@ export class TeDeumActor extends Actor {
|
|||||||
clearInitiative() {
|
clearInitiative() {
|
||||||
this.getFlag("world", "initiative", -1)
|
this.getFlag("world", "initiative", -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
getInitiativeScore(combatId, combatantId) {
|
getInitiativeScore(combatId, combatantId) {
|
||||||
let init = Math.floor((this.system.attributs.physique.value + this.system.attributs.habilite.value) / 2)
|
let init = Math.floor((this.system.attributs.physique.value + this.system.attributs.habilite.value) / 2)
|
||||||
@ -238,7 +245,6 @@ export class TeDeumActor extends Actor {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
getCommonRollData() {
|
getCommonRollData() {
|
||||||
//this.system.internals.confrontbonus = 5 // TO BE REMOVED!!!!
|
|
||||||
let rollData = TeDeumUtility.getBasicRollData()
|
let rollData = TeDeumUtility.getBasicRollData()
|
||||||
rollData.alias = this.name
|
rollData.alias = this.name
|
||||||
rollData.actorImg = this.img
|
rollData.actorImg = this.img
|
||||||
|
@ -1,39 +1,39 @@
|
|||||||
export const SYSTEM_ID = "fvtt-te-deum";
|
export const SYSTEM_ID = "fvtt-te-deum";
|
||||||
|
|
||||||
export const __BONUS_DEGATS = [{}, { label: "1d4", value: -2 }, { label: "1d6", value: -1 }, { label: "1d8", value: 0 },
|
|
||||||
{ label: "1d10", value: 1 }, { label: "1d12", value: 2 }, { label: "1d20", value: 3 }]
|
|
||||||
export const __MAX_ARMURES_LOURDES = [{}, { value: 1 }, { value: 3 }, { value: 5 },
|
|
||||||
{ value: 7 }, { value: 9 }, { value: 11 }]
|
|
||||||
export const __EFFORT = [{}, { value: 1 }, { value: 2 }, { value: 3 },
|
|
||||||
{ value: 4 }, { value: 5 }, { value: 6 }]
|
|
||||||
export const __ACTIONS_PAR_TOUR = [{}, { value: 1 }, { value: 2 }, { value: 2 },
|
|
||||||
{ value: 3 }, { value: 3 }, { value: 4 }]
|
|
||||||
export const __COUT_XP = [{}, { value: 10 }, { value: 10 }, { value: 10 },
|
|
||||||
{ value: 10 }, { value: 30 }, { value: 50 }]
|
|
||||||
|
|
||||||
export const LOCALISATION = {
|
|
||||||
"pieddroit": { label: "Pied Droit", value: 1, id: "pieddroit", nbArmure: 1 },
|
|
||||||
"jambedroite": { label: "Jambe Droite", value: 1, id: "jambedroite", nbArmure: 1 },
|
|
||||||
"jambegauche": { label: "Jambe Gauche", value: 1, id: "jambegauche", nbArmure: 1 },
|
|
||||||
"piedgauche": { label: "Pied Gauche", value: 1, id: "piedgauche", nbArmure: 1 },
|
|
||||||
"piedgauche": { label: "Pied Gauche", value: 1, id: "piedgauche", nbArmure: 1 },
|
|
||||||
"maindroite": { label: "Main Droite", value: 1, id: "maindroite", nbArmure: 1 },
|
|
||||||
"maingauche": { label: "Main Gauche", value: 1, id: "maingauche", nbArmure: 1 },
|
|
||||||
"brasdroit": { label: "Bras Droit", value: 1, id: "brasdroit", nbArmure: 2 },
|
|
||||||
"brasgauche": { label: "Bras Gauche", value: 1, id: "brasgauche", nbArmure: 2 },
|
|
||||||
"corps": { label: "Corps", value: 1, id: "corps", nbArmure: 2 },
|
|
||||||
"tete": { label: "Tête", value: 1, id: "tete", nbArmure: 2 },
|
|
||||||
}
|
|
||||||
|
|
||||||
export const ARME_SPECIFICITE = {
|
|
||||||
"encombrante": { label: "Encombrante", id: "encombrante" },
|
|
||||||
"maintiendistance": { label: "Maintien à distance", id: "maintiendistance" },
|
|
||||||
"treslongue": { label: "Très longue", id: "treslongue" },
|
|
||||||
"coupassomant": { label: "Coup assomant", id: "coupassomant" },
|
|
||||||
"peutlancer": { label: "Peut être lancée", id: "peutlancer" },
|
|
||||||
}
|
|
||||||
|
|
||||||
export const TEDEUM_CONFIG = {
|
export const TEDEUM_CONFIG = {
|
||||||
|
|
||||||
|
BONUS_DEGATS: [{}, { label: "1d4", value: -2 }, { label: "1d6", value: -1 }, { label: "1d8", value: 0 },
|
||||||
|
{ label: "1d10", value: 1 }, { label: "1d12", value: 2 }, { label: "1d20", value: 3 }],
|
||||||
|
MAX_ARMURES_LOURDES: [{}, { value: 1 }, { value: 3 }, { value: 5 },
|
||||||
|
{ value: 7 }, { value: 9 }, { value: 11 }],
|
||||||
|
ACTIONS_PAR_TOUR: [{}, { value: 1 }, { value: 2 }, { value: 2 },
|
||||||
|
{ value: 3 }, { value: 3 }, { value: 4 }],
|
||||||
|
COUT_XP: [{}, { value: 10 }, { value: 10 }, { value: 10 },
|
||||||
|
{ value: 10 }, { value: 30 }, { value: 50 }],
|
||||||
|
|
||||||
|
LOCALISATION: {
|
||||||
|
"pieddroit": { label: "Pied Droit", value: 1, id: "pieddroit", nbArmure: 1 },
|
||||||
|
"jambedroite": { label: "Jambe Droite", value: 1, id: "jambedroite", nbArmure: 1 },
|
||||||
|
"jambegauche": { label: "Jambe Gauche", value: 1, id: "jambegauche", nbArmure: 1 },
|
||||||
|
"piedgauche": { label: "Pied Gauche", value: 1, id: "piedgauche", nbArmure: 1 },
|
||||||
|
"piedgauche": { label: "Pied Gauche", value: 1, id: "piedgauche", nbArmure: 1 },
|
||||||
|
"maindroite": { label: "Main Droite", value: 1, id: "maindroite", nbArmure: 1 },
|
||||||
|
"maingauche": { label: "Main Gauche", value: 1, id: "maingauche", nbArmure: 1 },
|
||||||
|
"brasdroit": { label: "Bras Droit", value: 1, id: "brasdroit", nbArmure: 2 },
|
||||||
|
"brasgauche": { label: "Bras Gauche", value: 1, id: "brasgauche", nbArmure: 2 },
|
||||||
|
"corps": { label: "Corps", value: 1, id: "corps", nbArmure: 2 },
|
||||||
|
"tete": { label: "Tête", value: 1, id: "tete", nbArmure: 2 },
|
||||||
|
},
|
||||||
|
|
||||||
|
ARME_SPECIFICITE: {
|
||||||
|
"encombrante": { label: "Encombrante", id: "encombrante" },
|
||||||
|
"maintiendistance": { label: "Maintien à distance", id: "maintiendistance" },
|
||||||
|
"treslongue": { label: "Très longue", id: "treslongue" },
|
||||||
|
"coupassomant": { label: "Coup assomant", id: "coupassomant" },
|
||||||
|
"peutlancer": { label: "Peut être lancée", id: "peutlancer" },
|
||||||
|
},
|
||||||
|
|
||||||
descriptionValeur: {
|
descriptionValeur: {
|
||||||
1: { qualite: "Mauvais", dice: "d4", negativeDice: "d20", savoir: "Sot", sensibilite: "Obtus", entregent: "Rustaud", puissance: "Menu", complexion: "Anémique", adresse: "Empesé" },
|
1: { qualite: "Mauvais", dice: "d4", negativeDice: "d20", savoir: "Sot", sensibilite: "Obtus", entregent: "Rustaud", puissance: "Menu", complexion: "Anémique", adresse: "Empesé" },
|
||||||
2: { qualite: "Médiocre", dice: "d6", negativeDice: "d12", savoir: "Limité", sensibilite: "Etriqué", entregent: "Frustre", puissance: "Délicat", complexion: "Languide", adresse: "Gauche" },
|
2: { qualite: "Médiocre", dice: "d6", negativeDice: "d12", savoir: "Limité", sensibilite: "Etriqué", entregent: "Frustre", puissance: "Délicat", complexion: "Languide", adresse: "Gauche" },
|
||||||
@ -48,50 +48,38 @@ export const TEDEUM_CONFIG = {
|
|||||||
11: { qualite: "Excellent", dice: "d12", negativeDice: "d6", savoir: "Docte", sensibilite: "Subtil", entregent: "Galant", puissance: "Musculeux", complexion: "Sanguin", adresse: "Preste" },
|
11: { qualite: "Excellent", dice: "d12", negativeDice: "d6", savoir: "Docte", sensibilite: "Subtil", entregent: "Galant", puissance: "Musculeux", complexion: "Sanguin", adresse: "Preste" },
|
||||||
12: { qualite: "Admirabme", dice: "d20", negativeDice: "d4", savoir: "Humaniste", sensibilite: "Spirituel", entregent: "Sémillant", puissance: "Hercule", complexion: "Aguerri", adresse: "Alerte" },
|
12: { qualite: "Admirabme", dice: "d20", negativeDice: "d4", savoir: "Humaniste", sensibilite: "Spirituel", entregent: "Sémillant", puissance: "Hercule", complexion: "Aguerri", adresse: "Alerte" },
|
||||||
},
|
},
|
||||||
|
|
||||||
|
degatsArmure : {
|
||||||
|
sansarmure : { label: "Sans armure"},
|
||||||
|
cuir : { label: "Cuir"},
|
||||||
|
plates : { label: "Plates"},
|
||||||
|
mailles : { label: "Mailles"},
|
||||||
|
},
|
||||||
|
|
||||||
caracteristiques: {
|
caracteristiques: {
|
||||||
savoir: { id: "savoir", value: 1, label: "Savoir" },
|
savoir: { id: "savoir", value: "savoir", label: "Savoir" },
|
||||||
sensibilite: { id: "sensibilite", value: 1, label: "Sensibilité" },
|
sensibilite: { id: "sensibilite", value: "sensibilite", label: "Sensibilité" },
|
||||||
entregent: { id: "entregent", value: 1, label: "Entregent" },
|
entregent: { id: "entregent", value: "entregent", label: "Entregent" },
|
||||||
complexion: { id: "complexion", value: 1, label: "Complexion" },
|
complexion: { id: "complexion", value: "complexion", label: "Complexion" },
|
||||||
puissance: { id: "puissance", value: 1, label: "Puissance" },
|
puissance: { id: "puissance", value: "puissance", label: "Puissance" },
|
||||||
adresse: { id: "adresse", value: 1, label: "Adresse" },
|
adresse: { id: "adresse", value: "adresse", label: "Adresse" },
|
||||||
},
|
},
|
||||||
|
|
||||||
providence: [
|
providence: [
|
||||||
{labelM: "Brebis égarée", labelF: "Brebis égarée",value: 0, diceValue: "0"},
|
{ labelM: "Brebis égarée", labelF: "Brebis égarée", value: 0, diceValue: "0" },
|
||||||
{labelM: "Pauvre pêcheur", labelF: "Pauvre pêcheresse",value: 1, diceValue: "d4"},
|
{ labelM: "Pauvre pêcheur", labelF: "Pauvre pêcheresse", value: 1, diceValue: "d4" },
|
||||||
{labelM: "Fils prodigue", labelF: "Fille prodigue",value: 2, diceValue: "d6"},
|
{ labelM: "Fils prodigue", labelF: "Fille prodigue", value: 2, diceValue: "d6" },
|
||||||
{labelM: "Bon samaritain", labelF: "Bon samaritain",value: 3, diceValue: "d8"},
|
{ labelM: "Bon samaritain", labelF: "Bon samaritain", value: 3, diceValue: "d8" },
|
||||||
{labelM: "Animé par la grâce", labelF: "Animée par la grâce",value: 4, diceValue: "d10"},
|
{ labelM: "Animé par la grâce", labelF: "Animée par la grâce", value: 4, diceValue: "d10" },
|
||||||
{labelM: "Oint du Seigneur", labelF: "Ointe du Seigneur",value: 5, diceValue: "d12"},
|
{ labelM: "Oint du Seigneur", labelF: "Ointe du Seigneur", value: 5, diceValue: "d12" },
|
||||||
{labelM: "Dans la main de Dieu", labelF: "Dans la main de Dieu",value: 6, diceValue: "d20"},
|
{ labelM: "Dans la main de Dieu", labelF: "Dans la main de Dieu", value: 6, diceValue: "d20" },
|
||||||
],
|
],
|
||||||
localisation: {
|
|
||||||
1: LOCALISATION.pieddroit,
|
|
||||||
2: LOCALISATION.piedgauche,
|
|
||||||
3: LOCALISATION.jambedroite,
|
|
||||||
4: LOCALISATION.jambedroite,
|
|
||||||
5: LOCALISATION.jambegauche,
|
|
||||||
6: LOCALISATION.jambegauche,
|
|
||||||
7: LOCALISATION.maindroite,
|
|
||||||
8: LOCALISATION.maingauche,
|
|
||||||
9: LOCALISATION.brasdroit,
|
|
||||||
10: LOCALISATION.brasdroit,
|
|
||||||
11: LOCALISATION.brasgauche,
|
|
||||||
12: LOCALISATION.brasgauche,
|
|
||||||
13: LOCALISATION.corps,
|
|
||||||
14: LOCALISATION.corps,
|
|
||||||
15: LOCALISATION.corps,
|
|
||||||
16: LOCALISATION.corps,
|
|
||||||
17: LOCALISATION.corps,
|
|
||||||
18: LOCALISATION.tete,
|
|
||||||
19: LOCALISATION.tete,
|
|
||||||
20: LOCALISATION.tete
|
|
||||||
},
|
|
||||||
armeTypes: {
|
armeTypes: {
|
||||||
"melee": { label: "Mêlée", value: "melee" },
|
melee: { label: "Mêlée", value: "melee" },
|
||||||
"tir": { label: "Tir", value: "tir" }
|
tir: { label: "Tir", value: "tir" }
|
||||||
},
|
},
|
||||||
difficulte: {
|
difficulte: {
|
||||||
routine: { label: "Routine", value: 3 },
|
routine: { label: "Routine", value: 3 },
|
||||||
facile: { label: "Facile", value: 5 },
|
facile: { label: "Facile", value: 5 },
|
||||||
pardefaut: { label: "Par Défaut", value: 7 },
|
pardefaut: { label: "Par Défaut", value: 7 },
|
||||||
@ -101,8 +89,26 @@ export const TEDEUM_CONFIG = {
|
|||||||
desespere: { label: "Désespéré", value: 15 }
|
desespere: { label: "Désespéré", value: 15 }
|
||||||
},
|
},
|
||||||
monnaie: {
|
monnaie: {
|
||||||
denier: { label: "Deniers", value: 1 },
|
denier: { label: "Deniers", id: "denier", value: 1 },
|
||||||
sol: { label: "Sols", value: 10 },
|
sol: { label: "Sols", id: "sol", value: 10 },
|
||||||
livre: { label: "Livres", value: 100 }
|
livre: { label: "Livres", id: "livre", value: 100 }
|
||||||
|
},
|
||||||
|
etapesEducation: {
|
||||||
|
pouponniere: { label: "La Pouponnière", value: "pouponniere", agemin: 0, agemax: 6, nbCompetences: 2, nbCaracteristiques: 3, hasQuestionnaire: true, hasMultiplier: false },
|
||||||
|
petitsgrimauds: { label: "La classe des Petits Grimauds", value: "petitsgrimauds", agemin: 7, agemax: 12,nbCompetences: 2, nbCaracteristiques: 3, hasQuestionnaire: true, hasMultiplier: false },
|
||||||
|
rosevie: { label: "Les Roses de la Vie", value: "rosevie", agemin: 13, agemax: 16, nbCompetences: 2, nbCaracteristiques: 3, hasQuestionnaire: true, hasMultiplier: false },
|
||||||
|
ageviril: { label: "L'Age Viril", value: "ageviril", agemin: 17, agemax: 17, nbCompetences: 9, nbCaracteristiques: 2, hasQuestionnaire: false, hasMultiplier: true },
|
||||||
|
},
|
||||||
|
origineSociale: {
|
||||||
|
noblesseepee: { label: "Noblesse d'épée", id: "noblesseepee", value: 1 },
|
||||||
|
noblessecloche: { label: "Noblesse de cloche", id: "noblessecloche", value: 2 },
|
||||||
|
hautenoblesse: { label: "Haute noblesse (Illégitime)", id: "hautenoblesse", value: 3 },
|
||||||
|
hautebourgeoisie: { label: "Haute bourgeoisie", id: "hautebourgeoisie", value: 4 },
|
||||||
|
petitebourgeoisie: { label: "Petite bourgeoisie (Marchands)", id: "petitebourgeoisie", value: 5 },
|
||||||
|
artisan: { label: "Artisans", id: "artisan", value: 6 },
|
||||||
|
laboureur: { label: "Laboureurs", id: "laboureur", value: 7 },
|
||||||
|
domesticite: { label: "Domesticité", id: "domesticite", value: 8 },
|
||||||
|
paysannerie: { label: "Paysannerie", id: "paysannerie", value: 9 },
|
||||||
|
gueux: { label: "Gueux", id: "gueux", value: 10 },
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -46,10 +46,53 @@ export class TeDeumUtility {
|
|||||||
accum += block.fn(i);
|
accum += block.fn(i);
|
||||||
return accum;
|
return accum;
|
||||||
})
|
})
|
||||||
|
Handlebars.registerHelper('getConfigLabel', function (configName, key) {
|
||||||
|
//console.log("getConfigLabel", configName, key)
|
||||||
|
return game.system.tedeum.config[configName][key].label
|
||||||
|
})
|
||||||
|
Handlebars.registerHelper('getConfigLabelWithGender', function (configName, key, genderKey) {
|
||||||
|
return game.system.tedeum.config[configName][key]["label"+genderKey]
|
||||||
|
})
|
||||||
Handlebars.registerHelper('isGM', function () {
|
Handlebars.registerHelper('isGM', function () {
|
||||||
return game.user.isGM
|
return game.user.isGM
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Load compendium data
|
||||||
|
const competences = await TeDeumUtility.loadCompendium("fvtt-te-deum.competences")
|
||||||
|
this.competences = competences.map(i => i.toObject())
|
||||||
|
this.competencesList = {}
|
||||||
|
for (let i of this.competences) {
|
||||||
|
this.competencesList[i.name.toLowerCase()] = {name:i.name, id: i._id}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------------------------------- */
|
||||||
|
static getCompetences() {
|
||||||
|
return this.competences
|
||||||
|
}
|
||||||
|
/*-------------------------------------------- */
|
||||||
|
static getCompetencesForDropDown() {
|
||||||
|
return this.competencesList
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------------------------------- */
|
||||||
|
static prepareEducationContent(formData) {
|
||||||
|
let nbCompetences = game.system.tedeum.config.etapesEducation[formData.system.etape].nbCompetences
|
||||||
|
for (let key in formData.system.competences) {
|
||||||
|
formData.system.competences[key].valid = false
|
||||||
|
}
|
||||||
|
for (let i = 1; i <= nbCompetences; i++) {
|
||||||
|
formData.system.competences[`comp${i}`].valid = true
|
||||||
|
}
|
||||||
|
let nbCaracteristiques = game.system.tedeum.config.etapesEducation[formData.system.etape].nbCaracteristiques
|
||||||
|
for (let key in formData.system.caracteristiques) {
|
||||||
|
formData.system.caracteristiques[key].valid = false
|
||||||
|
}
|
||||||
|
for (let i = 1; i <= nbCaracteristiques; i++) {
|
||||||
|
formData.system.caracteristiques[`carac${i}`].valid = true
|
||||||
|
}
|
||||||
|
formData.hasQuestionnaire = game.system.tedeum.config.etapesEducation[formData.system.etape].hasQuestionnaire;
|
||||||
|
formData.hasMultiplier = game.system.tedeum.config.etapesEducation[formData.system.etape].hasMultiplier;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-------------------------------------------- */
|
/*-------------------------------------------- */
|
||||||
|
@ -2,12 +2,13 @@ export class TeDeumArmeSchema extends foundry.abstract.TypeDataModel {
|
|||||||
static defineSchema() {
|
static defineSchema() {
|
||||||
const fields = foundry.data.fields;
|
const fields = foundry.data.fields;
|
||||||
const requiredInteger = { required: true, nullable: false, integer: true };
|
const requiredInteger = { required: true, nullable: false, integer: true };
|
||||||
|
const requiredDouble = { required: true, nullable: false, integer: false };
|
||||||
const schema = {};
|
const schema = {};
|
||||||
|
|
||||||
schema.typeArme = new fields.StringField({required: true, choices: ["melee", "tir"], initial: "melee"});
|
schema.typeArme = new fields.StringField({required: true, choices: ["melee", "tir"], initial: "melee"});
|
||||||
|
|
||||||
schema.specificites = new fields.SchemaField(
|
schema.specificites = new fields.SchemaField(
|
||||||
Object.values((game.system.tedeum.ARME_SPECIFICITE)).reduce((obj, spec) => {
|
Object.values((game.system.tedeum.config.ARME_SPECIFICITE)).reduce((obj, spec) => {
|
||||||
obj[spec.id] = new fields.SchemaField({
|
obj[spec.id] = new fields.SchemaField({
|
||||||
hasSpec: new fields.BooleanField({initial: false}),
|
hasSpec: new fields.BooleanField({initial: false}),
|
||||||
});
|
});
|
||||||
@ -25,6 +26,10 @@ export class TeDeumArmeSchema extends foundry.abstract.TypeDataModel {
|
|||||||
schema.initiativeBonus = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 });
|
schema.initiativeBonus = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 });
|
||||||
|
|
||||||
schema.degats = new fields.StringField({ required: false, blank: true, initial: undefined });
|
schema.degats = new fields.StringField({ required: false, blank: true, initial: undefined });
|
||||||
|
|
||||||
|
schema.prix = new fields.NumberField({ ...requiredDouble, initial: 0, min: 0 });
|
||||||
|
schema.monnaie = new fields.StringField({ required: true, blank: false, initial: "denier" });
|
||||||
|
|
||||||
schema.description = new fields.HTMLField({ required: true, blank: true });
|
schema.description = new fields.HTMLField({ required: true, blank: true });
|
||||||
|
|
||||||
return schema;
|
return schema;
|
||||||
|
@ -2,10 +2,12 @@ export class TeDeumArmureSchema extends foundry.abstract.TypeDataModel {
|
|||||||
static defineSchema() {
|
static defineSchema() {
|
||||||
const fields = foundry.data.fields;
|
const fields = foundry.data.fields;
|
||||||
const requiredInteger = { required: true, nullable: false, integer: true };
|
const requiredInteger = { required: true, nullable: false, integer: true };
|
||||||
|
const requiredDouble = { required: true, nullable: false, integer: false };
|
||||||
|
|
||||||
const schema = {};
|
const schema = {};
|
||||||
|
|
||||||
schema.localisation = new fields.SchemaField(
|
schema.localisation = new fields.SchemaField(
|
||||||
Object.values(LOCALISATION).reduce((obj, loc) => {
|
Object.values(game.system.tedeum.config.LOCALISATION).reduce((obj, loc) => {
|
||||||
obj[loc.id] = new fields.SchemaField({
|
obj[loc.id] = new fields.SchemaField({
|
||||||
protege: new fields.BooleanField({initial: false}),
|
protege: new fields.BooleanField({initial: false}),
|
||||||
});
|
});
|
||||||
@ -15,6 +17,9 @@ export class TeDeumArmureSchema extends foundry.abstract.TypeDataModel {
|
|||||||
|
|
||||||
schema.protection = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 });
|
schema.protection = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 });
|
||||||
|
|
||||||
|
schema.prix = new fields.NumberField({ ...requiredDouble, initial: 0, min: 0 });
|
||||||
|
schema.monnaie = new fields.StringField({ required: true, blank: false, initial: "denier" });
|
||||||
|
|
||||||
schema.description = new fields.HTMLField({ required: true, blank: true });
|
schema.description = new fields.HTMLField({ required: true, blank: true });
|
||||||
|
|
||||||
return schema;
|
return schema;
|
||||||
|
@ -5,6 +5,7 @@ export class TeDeumCompetenceSchema extends foundry.abstract.TypeDataModel {
|
|||||||
const schema = {};
|
const schema = {};
|
||||||
|
|
||||||
schema.caracteristique = new fields.StringField({ required: true, blank: false, initial: "puissance" });
|
schema.caracteristique = new fields.StringField({ required: true, blank: false, initial: "puissance" });
|
||||||
|
schema.isBase = new fields.BooleanField({ initial: false });
|
||||||
schema.score = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 });
|
schema.score = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 });
|
||||||
schema.scoreBase = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 });
|
schema.scoreBase = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 });
|
||||||
schema.description = new fields.HTMLField({ required: true, blank: true });
|
schema.description = new fields.HTMLField({ required: true, blank: true });
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
export class TeDeumDeboucheSchema extends foundry.abstract.TypeDataModel {
|
|
||||||
static defineSchema() {
|
|
||||||
const fields = foundry.data.fields;
|
|
||||||
const requiredInteger = { required: true, nullable: false, integer: true };
|
|
||||||
const schema = {};
|
|
||||||
|
|
||||||
schema.cagnotteMultiplier = new fields.NumberField({ ...requiredInteger, initial: 1, min: 1 });
|
|
||||||
schema.description = new fields.HTMLField({ required: true, blank: true });
|
|
||||||
|
|
||||||
return schema;
|
|
||||||
}
|
|
||||||
}
|
|
@ -2,8 +2,46 @@ export class TeDeumEducationSchema extends foundry.abstract.TypeDataModel {
|
|||||||
static defineSchema() {
|
static defineSchema() {
|
||||||
const fields = foundry.data.fields;
|
const fields = foundry.data.fields;
|
||||||
const requiredInteger = { required: true, nullable: false, integer: true };
|
const requiredInteger = { required: true, nullable: false, integer: true };
|
||||||
|
const requiredDouble = { required: true, nullable: false, integer: false };
|
||||||
const schema = {};
|
const schema = {};
|
||||||
|
|
||||||
|
schema.etape = new fields.StringField({required: true, initial: "pouponniere"});
|
||||||
|
schema.accessible = new fields.SchemaField(
|
||||||
|
Object.values((game.system.tedeum.config.origineSociale)).reduce((obj, spec) => {
|
||||||
|
obj[spec.id] = new fields.SchemaField({
|
||||||
|
isaccessible: new fields.BooleanField({initial: false}),
|
||||||
|
});
|
||||||
|
return obj;
|
||||||
|
}, {})
|
||||||
|
);
|
||||||
|
schema.caracteristiques = new fields.SchemaField(Array.fromRange(3, 1).reduce((caracs, i) => {
|
||||||
|
caracs[`carac${i}`] = new fields.SchemaField({
|
||||||
|
caracId: new fields.StringField({ required: true, blank: false, initial: "entregent" })
|
||||||
|
});
|
||||||
|
return caracs;
|
||||||
|
}, {}));
|
||||||
|
schema.competences = new fields.SchemaField(Array.fromRange(9, 1).reduce((comps, i) => {
|
||||||
|
comps[`comp${i}`] = new fields.SchemaField({
|
||||||
|
compName: new fields.StringField({ required: true, blank: true, initial: "" })
|
||||||
|
});
|
||||||
|
return comps;
|
||||||
|
}, {}));
|
||||||
|
schema.questionnaire = new fields.SchemaField(Array.fromRange(4, 1).reduce((questions, i) => {
|
||||||
|
questions[`question${i}`] = new fields.SchemaField({
|
||||||
|
question: new fields.StringField({ required: true, blank: true, initial: "" }),
|
||||||
|
reponses: new fields.SchemaField( Array.fromRange(6, 1).reduce((resp, i) => {
|
||||||
|
resp[`reponse${i}`] = new fields.SchemaField({
|
||||||
|
num: new fields.NumberField({ ...requiredInteger, initial: i, min:i }),
|
||||||
|
reponse: new fields.StringField({ required: true, blank: true, initial: "" }),
|
||||||
|
compName: new fields.StringField({ required: true, blank: true, initial: "" })
|
||||||
|
});
|
||||||
|
return resp;
|
||||||
|
}, {}))
|
||||||
|
});
|
||||||
|
return questions;
|
||||||
|
}, {}));
|
||||||
|
schema.cagnotteMultiplier = new fields.NumberField({ ...requiredDouble, initial: 1.0, min: 0 });
|
||||||
|
|
||||||
schema.description = new fields.HTMLField({ required: true, blank: true });
|
schema.description = new fields.HTMLField({ required: true, blank: true });
|
||||||
|
|
||||||
return schema;
|
return schema;
|
||||||
|
@ -2,8 +2,13 @@ export class TeDeumEquipementSchema extends foundry.abstract.TypeDataModel {
|
|||||||
static defineSchema() {
|
static defineSchema() {
|
||||||
const fields = foundry.data.fields;
|
const fields = foundry.data.fields;
|
||||||
const requiredInteger = { required: true, nullable: false, integer: true };
|
const requiredInteger = { required: true, nullable: false, integer: true };
|
||||||
|
const requiredDouble = { required: true, nullable: false, integer: false };
|
||||||
|
|
||||||
const schema = {};
|
const schema = {};
|
||||||
|
|
||||||
|
schema.prix = new fields.NumberField({ ...requiredDouble, initial: 0, min: 0 });
|
||||||
|
schema.monnaie = new fields.StringField({ required: true, blank: false, initial: "denier" });
|
||||||
|
|
||||||
schema.description = new fields.HTMLField({ required: true, blank: true });
|
schema.description = new fields.HTMLField({ required: true, blank: true });
|
||||||
|
|
||||||
return schema;
|
return schema;
|
||||||
|
@ -9,7 +9,7 @@ export class TeDeumItemSheet extends ItemSheet {
|
|||||||
/** @override */
|
/** @override */
|
||||||
static get defaultOptions() {
|
static get defaultOptions() {
|
||||||
return mergeObject(super.defaultOptions, {
|
return mergeObject(super.defaultOptions, {
|
||||||
classes: ["fvtt-tedeum", "sheet", "item"],
|
classes: ["fvtt-te-deum", "sheet", "item"],
|
||||||
template: "systems/fvtt-te-deum/templates/item-sheet.hbs",
|
template: "systems/fvtt-te-deum/templates/item-sheet.hbs",
|
||||||
dragDrop: [{ dragSelector: null, dropSelector: null }],
|
dragDrop: [{ dragSelector: null, dropSelector: null }],
|
||||||
width: 620,
|
width: 620,
|
||||||
@ -45,6 +45,7 @@ export class TeDeumItemSheet extends ItemSheet {
|
|||||||
cssClass: this.isEditable ? "editable" : "locked",
|
cssClass: this.isEditable ? "editable" : "locked",
|
||||||
system: duplicate(this.object.system),
|
system: duplicate(this.object.system),
|
||||||
config: duplicate(game.system.tedeum.config),
|
config: duplicate(game.system.tedeum.config),
|
||||||
|
competences: TeDeumUtility.getCompetencesForDropDown(),
|
||||||
limited: this.object.limited,
|
limited: this.object.limited,
|
||||||
options: this.options,
|
options: this.options,
|
||||||
owner: this.document.isOwner,
|
owner: this.document.isOwner,
|
||||||
@ -53,6 +54,10 @@ export class TeDeumItemSheet extends ItemSheet {
|
|||||||
isGM: game.user.isGM
|
isGM: game.user.isGM
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.object.type == "education") {
|
||||||
|
TeDeumUtility.prepareEducationContent(formData);
|
||||||
|
}
|
||||||
|
|
||||||
this.options.editable = !(this.object.origin == "embeddedItem");
|
this.options.editable = !(this.object.origin == "embeddedItem");
|
||||||
console.log("ITEM DATA", formData, this);
|
console.log("ITEM DATA", formData, this);
|
||||||
return formData;
|
return formData;
|
||||||
|
@ -2,8 +2,10 @@ import { TeDeumUtility } from "../common/tedeum-utility.js";
|
|||||||
|
|
||||||
export const defaultItemImg = {
|
export const defaultItemImg = {
|
||||||
arme: "systems/fvtt-te-deum/images/icons/icon_arme.webp",
|
arme: "systems/fvtt-te-deum/images/icons/icon_arme.webp",
|
||||||
|
armure: "systems/fvtt-te-deum/images/icons/icon_armure.webp",
|
||||||
equipement: "systems/fvtt-te-deum/images/icons/icon_equipement.webp",
|
equipement: "systems/fvtt-te-deum/images/icons/icon_equipement.webp",
|
||||||
competence: "systems/fvtt-te-deum/images/icons/icon_competence.webp",
|
competence: "systems/fvtt-te-deum/images/icons/icon_competence.webp",
|
||||||
|
education: "systems/fvtt-te-deum/images/icons/icon_education.webp",
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -18,7 +18,6 @@ import { TeDeumCompetenceSchema } from "./data/tedeum-schema-competence.js";
|
|||||||
import { TeDeumEquipementSchema } from "./data/tedeum-schema-equipement.js";
|
import { TeDeumEquipementSchema } from "./data/tedeum-schema-equipement.js";
|
||||||
import { TeDeumOrigineSchema } from "./data/tedeum-schema-origine.js";
|
import { TeDeumOrigineSchema } from "./data/tedeum-schema-origine.js";
|
||||||
import { TeDeumEducationSchema } from "./data/tedeum-schema-education.js";
|
import { TeDeumEducationSchema } from "./data/tedeum-schema-education.js";
|
||||||
import { TeDeumDeboucheSchema } from "./data/tedeum-schema-debouche.js";
|
|
||||||
|
|
||||||
import { TeDeumItem } from "./items/tedeum-item.js";
|
import { TeDeumItem } from "./items/tedeum-item.js";
|
||||||
import { TeDeumItemSheet } from "./items/tedeum-item-sheet.js";
|
import { TeDeumItemSheet } from "./items/tedeum-item-sheet.js";
|
||||||
@ -27,8 +26,8 @@ import { TeDeumHotbar } from "./app/tedeum-hotbar.js"
|
|||||||
import { TeDeumCombat } from "./app/tedeum-combat.js";
|
import { TeDeumCombat } from "./app/tedeum-combat.js";
|
||||||
|
|
||||||
import { TeDeumUtility } from "./common/tedeum-utility.js";
|
import { TeDeumUtility } from "./common/tedeum-utility.js";
|
||||||
import { TEDEUM_CONFIG, LOCALISATION, ARME_SPECIFICITE} from "./common/tedeum-config.js";
|
import { TEDEUM_CONFIG } from "./common/tedeum-config.js";
|
||||||
import { ClassCounter} from "https://www.uberwald.me/fvtt_appcount/count-class-ready.js";
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
/* Foundry VTT Initialization */
|
/* Foundry VTT Initialization */
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
@ -40,8 +39,6 @@ Hooks.once("init", async function () {
|
|||||||
|
|
||||||
game.system.tedeum = {
|
game.system.tedeum = {
|
||||||
config: TEDEUM_CONFIG,
|
config: TEDEUM_CONFIG,
|
||||||
LOCALISATION: LOCALISATION,
|
|
||||||
ARME_SPECIFICITE: ARME_SPECIFICITE,
|
|
||||||
TeDeumHotbar
|
TeDeumHotbar
|
||||||
}
|
}
|
||||||
console.log(`Initializing TeDeum RPG 2`);
|
console.log(`Initializing TeDeum RPG 2`);
|
||||||
@ -72,8 +69,7 @@ Hooks.once("init", async function () {
|
|||||||
equipement: TeDeumEquipementSchema,
|
equipement: TeDeumEquipementSchema,
|
||||||
armure: TeDeumArmureSchema,
|
armure: TeDeumArmureSchema,
|
||||||
origine: TeDeumOrigineSchema,
|
origine: TeDeumOrigineSchema,
|
||||||
education: TeDeumEducationSchema,
|
education: TeDeumEducationSchema
|
||||||
debouche: TeDeumDeboucheSchema,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log("TeDeum RPG | Ready");
|
console.log("TeDeum RPG | Ready");
|
||||||
@ -83,7 +79,7 @@ Hooks.once("init", async function () {
|
|||||||
Actors.registerSheet("fvtt-te-deum", TeDeumActorPJSheet, { types: ["pnj"], makeDefault: true });
|
Actors.registerSheet("fvtt-te-deum", TeDeumActorPJSheet, { types: ["pnj"], makeDefault: true });
|
||||||
|
|
||||||
Items.unregisterSheet("core", ItemSheet);
|
Items.unregisterSheet("core", ItemSheet);
|
||||||
Items.registerSheet("fvtt-te-deum", TeDeumItemSheet, { types: ["arme"], makeDefault: true });
|
Items.registerSheet("fvtt-te-deum", TeDeumItemSheet, { makeDefault: true });
|
||||||
|
|
||||||
TeDeumUtility.init()
|
TeDeumUtility.init()
|
||||||
});
|
});
|
||||||
@ -113,11 +109,16 @@ Hooks.once("ready", function () {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("YEADEAE");
|
import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{
|
||||||
ClassCounter.registerUsageCount();
|
console.log("ClassCounter loaded", moduleCounter)
|
||||||
welcomeMessage();
|
moduleCounter.ClassCounter.registerUsageCount()
|
||||||
|
}).catch(err=>
|
||||||
|
console.log("No stats available, giving up.")
|
||||||
|
)
|
||||||
TeDeumUtility.ready();
|
TeDeumUtility.ready();
|
||||||
|
|
||||||
|
welcomeMessage();
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
MANIFEST-000030
|
MANIFEST-000076
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/02/19-21:26:30.030455 7fc68ee006c0 Recovering log #28
|
2024/02/29-22:27:55.142370 7fd557e006c0 Recovering log #74
|
||||||
2024/02/19-21:26:30.041661 7fc68ee006c0 Delete type=3 #26
|
2024/02/29-22:27:55.153628 7fd557e006c0 Delete type=3 #72
|
||||||
2024/02/19-21:26:30.042288 7fc68ee006c0 Delete type=0 #28
|
2024/02/29-22:27:55.153680 7fd557e006c0 Delete type=0 #74
|
||||||
2024/02/19-22:02:32.194497 7fc68d0006c0 Level-0 table #33: started
|
2024/02/29-22:28:38.441598 7fd555a006c0 Level-0 table #79: started
|
||||||
2024/02/19-22:02:32.194586 7fc68d0006c0 Level-0 table #33: 0 bytes OK
|
2024/02/29-22:28:38.441626 7fd555a006c0 Level-0 table #79: 0 bytes OK
|
||||||
2024/02/19-22:02:32.236476 7fc68d0006c0 Delete type=0 #31
|
2024/02/29-22:28:38.447661 7fd555a006c0 Delete type=0 #77
|
||||||
2024/02/19-22:02:32.286376 7fc68d0006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
2024/02/29-22:28:38.454433 7fd555a006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/02/19-21:20:44.806918 7fc68ee006c0 Recovering log #24
|
2024/02/29-22:04:33.935165 7fd556a006c0 Recovering log #70
|
||||||
2024/02/19-21:20:44.818366 7fc68ee006c0 Delete type=3 #22
|
2024/02/29-22:04:33.945327 7fd556a006c0 Delete type=3 #68
|
||||||
2024/02/19-21:20:44.818471 7fc68ee006c0 Delete type=0 #24
|
2024/02/29-22:04:33.945415 7fd556a006c0 Delete type=0 #70
|
||||||
2024/02/19-21:26:26.162483 7fc68d0006c0 Level-0 table #29: started
|
2024/02/29-22:27:52.954004 7fd555a006c0 Level-0 table #75: started
|
||||||
2024/02/19-21:26:26.162535 7fc68d0006c0 Level-0 table #29: 0 bytes OK
|
2024/02/29-22:27:52.954056 7fd555a006c0 Level-0 table #75: 0 bytes OK
|
||||||
2024/02/19-21:26:26.169669 7fc68d0006c0 Delete type=0 #27
|
2024/02/29-22:27:52.990626 7fd555a006c0 Delete type=0 #73
|
||||||
2024/02/19-21:26:26.169948 7fc68d0006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
2024/02/29-22:27:53.023766 7fd555a006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||||
|
Binary file not shown.
@ -52,7 +52,7 @@
|
|||||||
.sheet nav.sheet-tabs {
|
.sheet nav.sheet-tabs {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
} /* For nav and title */
|
} /* For nav and title */
|
||||||
.window-app input, .fvtt-ecryme .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
|
.window-app input, .fvtt-te-deum .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -202,7 +202,7 @@ table {border: 1px solid #7a7971;}
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Styles limited to sheets */
|
/* Styles limited to sheets */
|
||||||
.fvtt-ecryme .sheet-header {
|
.fvtt-te-deum .sheet-header {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-ms-flex: 0 0 210px;
|
-ms-flex: 0 0 210px;
|
||||||
flex: 0 0 210px;
|
flex: 0 0 210px;
|
||||||
@ -222,7 +222,7 @@ table {border: 1px solid #7a7971;}
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-header .profile-img {
|
.fvtt-te-deum .sheet-header .profile-img {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-ms-flex: 0 0 128px;
|
-ms-flex: 0 0 128px;
|
||||||
flex: 0 0 128px;
|
flex: 0 0 128px;
|
||||||
@ -271,20 +271,20 @@ table {border: 1px solid #7a7971;}
|
|||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-header .header-fields {
|
.fvtt-te-deum .sheet-header .header-fields {
|
||||||
-webkit-box-flex: 1;
|
-webkit-box-flex: 1;
|
||||||
-ms-flex: 1;
|
-ms-flex: 1;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-header h1.charname {
|
.fvtt-te-deum .sheet-header h1.charname {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-header h1.charname input {
|
.fvtt-te-deum .sheet-header h1.charname input {
|
||||||
font-family: MailartRubberstamp;
|
font-family: MailartRubberstamp;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -292,7 +292,7 @@ table {border: 1px solid #7a7971;}
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-tabs {
|
.fvtt-te-deum .sheet-tabs {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-ms-flex: 0;
|
-ms-flex: 0;
|
||||||
flex: 0;
|
flex: 0;
|
||||||
@ -300,9 +300,9 @@ table {border: 1px solid #7a7971;}
|
|||||||
font-size: 2.2rem;
|
font-size: 2.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-body,
|
.fvtt-te-deum .sheet-body,
|
||||||
.fvtt-ecryme .sheet-body .tab,
|
.fvtt-te-deum .sheet-body .tab,
|
||||||
.fvtt-ecryme .sheet-body .tab .editor {
|
.fvtt-te-deum .sheet-body .tab .editor {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
@ -325,70 +325,70 @@ table {border: 1px solid #7a7971;}
|
|||||||
padding: 0 3px;
|
padding: 0 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .tox .tox-editor-container {
|
.fvtt-te-deum .tox .tox-editor-container {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .tox .tox-edit-area {
|
.fvtt-te-deum .tox .tox-edit-area {
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .resource-label {
|
.fvtt-te-deum .resource-label {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .tabs {
|
.fvtt-te-deum .tabs {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
border-top: 1px solid #AAA;
|
border-top: 1px solid #AAA;
|
||||||
border-bottom: 1px solid #AAA;
|
border-bottom: 1px solid #AAA;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .tabs .item {
|
.fvtt-te-deum .tabs .item {
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .tabs .item.active {
|
.fvtt-te-deum .tabs .item.active {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list {
|
.fvtt-te-deum .items-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 1px 0;
|
margin: 1px 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item-header {
|
.fvtt-te-deum .items-list .item-header {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item {
|
.fvtt-te-deum .items-list .item {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
padding: 1px 0;
|
padding: 1px 0;
|
||||||
border-bottom: 1px solid #BBB;
|
border-bottom: 1px solid #BBB;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item .item-image {
|
.fvtt-te-deum .items-list .item .item-image {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-ms-flex: 0 0 24px;
|
-ms-flex: 0 0 24px;
|
||||||
flex: 0 0 24px;
|
flex: 0 0 24px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item img {
|
.fvtt-te-deum .items-list .item img {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item-name {
|
.fvtt-te-deum .items-list .item-name {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item-controls {
|
.fvtt-te-deum .items-list .item-controls {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-ms-flex: 0 0 86px;
|
-ms-flex: 0 0 86px;
|
||||||
flex: 0 0 86px;
|
flex: 0 0 86px;
|
||||||
@ -403,7 +403,8 @@ li.folder > .folder-header h3 {
|
|||||||
/* Sheet */
|
/* Sheet */
|
||||||
.window-app.sheet .window-content .sheet-header{
|
.window-app.sheet .window-content .sheet-header{
|
||||||
color: rgba(19, 18, 18, 0.95);
|
color: rgba(19, 18, 18, 0.95);
|
||||||
background: url("../images/ui/fond_carnet_01.webp");
|
/*background: url("../images/ui/frise_topleft_01.webp");*/
|
||||||
|
background: rgba(226, 226, 222, 0.95);
|
||||||
/*background: #494e6b;*/
|
/*background: #494e6b;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -425,15 +426,8 @@ select {
|
|||||||
|
|
||||||
.window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] {
|
.window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] {
|
||||||
color: rgba(19, 18, 18, 0.95);
|
color: rgba(19, 18, 18, 0.95);
|
||||||
background: url("../images/ui/fond_carnet_01.webp");
|
/*background: url("../images/ui/frise_topleft_01.webp");*/
|
||||||
border: 1 none;
|
background: rgba(226, 226, 222, 0.95);
|
||||||
margin-bottom: 0.25rem;
|
|
||||||
margin-left: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.window-app.sheet .window-content .sheet-body input[type="password"], .window-app.sheet .window-content .sheet-body input[type="date"], .window-app.sheet .window-content .sheet-body input[type="time"] {
|
|
||||||
color: rgba(19, 18, 18, 0.95);
|
|
||||||
background: url("../images/ui/fond_carnet_01.webp");
|
|
||||||
border: 1 none;
|
border: 1 none;
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
@ -450,7 +444,8 @@ select {
|
|||||||
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
|
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
/*background: url("../images/ui/pc_sheet_bg.webp") repeat left top;*/
|
/*background: url("../images/ui/pc_sheet_bg.webp") repeat left top;*/
|
||||||
background: url("../images/ui/fond_carnet_01.webp");
|
/*background: url("../images/ui/frise_topleft_01.webp");*/
|
||||||
|
background: rgba(226, 226, 222, 0.95);
|
||||||
color: rgba(19, 18, 18, 0.95);
|
color: rgba(19, 18, 18, 0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -477,14 +472,20 @@ section.sheet-body{padding: 0.25rem 0.5rem;}
|
|||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
border-top: 0 none;
|
border-top: 0 none;
|
||||||
border-bottom: 0 none;
|
border-bottom: 0 none;
|
||||||
background-color:#252525;
|
background: linear-gradient(rgba(226, 226, 222, 0.5), rgba(226, 226, 222, 0.5)), url("../images/ui/frise_bottom_01.webp");
|
||||||
color:beige;
|
background-repeat: no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
z-index: 1;
|
||||||
|
/*background-color:#252525;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/
|
/* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/
|
||||||
|
|
||||||
nav.sheet-tabs .item {
|
nav.sheet-tabs .item {
|
||||||
|
z-index: 2;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
opacity: 1.0;
|
||||||
|
color:rgba(29, 28, 31);
|
||||||
padding: 0 0.25rem;
|
padding: 0 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -799,7 +800,7 @@ ul, li {
|
|||||||
background-color:#f5f5f5;
|
background-color:#f5f5f5;
|
||||||
background-position: 0px 35px;
|
background-position: 0px 35px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-image: url("../images/ui/fond_carnet_01.webp");
|
background: rgba(226, 226, 222, 0.95);
|
||||||
color: rgba(19, 18, 18, 0.95);
|
color: rgba(19, 18, 18, 0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1155,7 +1156,7 @@ ul, li {
|
|||||||
color: #CCC
|
color: #CCC
|
||||||
}
|
}
|
||||||
#pause > img {
|
#pause > img {
|
||||||
content: url(../images/ui/ecryme_logo_small_01.webp);
|
content: url(../images/ui/te-deum_logo_small_01.webp);
|
||||||
height: 200px;
|
height: 200px;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
top: -200px;
|
top: -200px;
|
||||||
@ -1163,7 +1164,7 @@ ul, li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#logo {
|
#logo {
|
||||||
content : url(../images/ui/ecryme_logo_small_01.webp);
|
content : url(../images/ui/te-deum_logo_small_01.webp);
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
@ -1259,24 +1260,34 @@ ul, li {
|
|||||||
min-width: 10rem;
|
min-width: 10rem;
|
||||||
}
|
}
|
||||||
.item-name-label-long {
|
.item-name-label-long {
|
||||||
margin-top: 4px;
|
|
||||||
flex-grow:2;
|
flex-grow:2;
|
||||||
max-width: 12rem;
|
max-width: 12rem;
|
||||||
min-width: 12rem;
|
min-width: 12rem;
|
||||||
}
|
}
|
||||||
|
.item-name-label-long2 {
|
||||||
|
flex-grow:2;
|
||||||
|
max-width: 20rem;
|
||||||
|
min-width: 20rem;
|
||||||
|
}
|
||||||
|
.item-name-label-long3 {
|
||||||
|
flex-grow:2;
|
||||||
|
max-width: 18rem;
|
||||||
|
min-width: 18rem;
|
||||||
|
}
|
||||||
.item-name-label-short {
|
.item-name-label-short {
|
||||||
flex-grow:1;
|
flex-grow:1;
|
||||||
max-width: 4rem;
|
max-width: 4rem;
|
||||||
min-width: 4rem;
|
min-width: 4rem;
|
||||||
}
|
}
|
||||||
.item-name-label-medium {
|
.item-name-label-medium {
|
||||||
margin-top: 4px;
|
|
||||||
flex-grow:2;
|
flex-grow:2;
|
||||||
max-width: 6rem;
|
max-width: 6rem;
|
||||||
min-width: 6rem;
|
min-width: 6rem;
|
||||||
}
|
}
|
||||||
.item-name-label-long2 {
|
.item-name-label-text-margin {
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
.item-name-label-long2 {
|
||||||
flex-grow:2;
|
flex-grow:2;
|
||||||
max-width: 22rem;
|
max-width: 22rem;
|
||||||
min-width: 22rem;
|
min-width: 22rem;
|
||||||
@ -1339,10 +1350,10 @@ ul, li {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ecryme-roll-dialog .window-header {
|
.te-deum-roll-dialog .window-header {
|
||||||
border-radius: 10px 10px 0% 0%;
|
border-radius: 10px 10px 0% 0%;
|
||||||
}
|
}
|
||||||
.ecryme-roll-dialog .window-content {
|
.te-deum-roll-dialog .window-content {
|
||||||
border-radius: 0% 0% 10px 10px;
|
border-radius: 0% 0% 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
.sheet nav.sheet-tabs {
|
.sheet nav.sheet-tabs {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
} /* For nav and title */
|
} /* For nav and title */
|
||||||
.window-app input, .fvtt-ecryme .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
|
.window-app input, .fvtt-te-deum .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ table {border: 1px solid #7a7971;}
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Styles limited to sheets */
|
/* Styles limited to sheets */
|
||||||
.fvtt-ecryme .sheet-header {
|
.fvtt-te-deum .sheet-header {
|
||||||
flex: 0 0 210px;
|
flex: 0 0 210px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -199,7 +199,7 @@ table {border: 1px solid #7a7971;}
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-header .profile-img {
|
.fvtt-te-deum .sheet-header .profile-img {
|
||||||
flex: 0 0 128px;
|
flex: 0 0 128px;
|
||||||
width: 128px;
|
width: 128px;
|
||||||
height: auto;
|
height: auto;
|
||||||
@ -248,18 +248,18 @@ table {border: 1px solid #7a7971;}
|
|||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-header .header-fields {
|
.fvtt-te-deum .sheet-header .header-fields {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-header h1.charname {
|
.fvtt-te-deum .sheet-header h1.charname {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-header h1.charname input {
|
.fvtt-te-deum .sheet-header h1.charname input {
|
||||||
font-family: MailartRubberstamp;
|
font-family: MailartRubberstamp;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -267,15 +267,15 @@ table {border: 1px solid #7a7971;}
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-tabs {
|
.fvtt-te-deum .sheet-tabs {
|
||||||
flex: 0;
|
flex: 0;
|
||||||
font-family: MailartRubberstamp;
|
font-family: MailartRubberstamp;
|
||||||
font-size: 2.2rem;
|
font-size: 2.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .sheet-body,
|
.fvtt-te-deum .sheet-body,
|
||||||
.fvtt-ecryme .sheet-body .tab,
|
.fvtt-te-deum .sheet-body .tab,
|
||||||
.fvtt-ecryme .sheet-body .tab .editor {
|
.fvtt-te-deum .sheet-body .tab .editor {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
@ -298,68 +298,68 @@ table {border: 1px solid #7a7971;}
|
|||||||
padding: 0 3px;
|
padding: 0 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .tox .tox-editor-container {
|
.fvtt-te-deum .tox .tox-editor-container {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .tox .tox-edit-area {
|
.fvtt-te-deum .tox .tox-edit-area {
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .resource-label {
|
.fvtt-te-deum .resource-label {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .tabs {
|
.fvtt-te-deum .tabs {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
border-top: 1px solid #AAA;
|
border-top: 1px solid #AAA;
|
||||||
border-bottom: 1px solid #AAA;
|
border-bottom: 1px solid #AAA;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .tabs .item {
|
.fvtt-te-deum .tabs .item {
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .tabs .item.active {
|
.fvtt-te-deum .tabs .item.active {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list {
|
.fvtt-te-deum .items-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 1px 0;
|
margin: 1px 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item-header {
|
.fvtt-te-deum .items-list .item-header {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item {
|
.fvtt-te-deum .items-list .item {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
padding: 1px 0;
|
padding: 1px 0;
|
||||||
border-bottom: 1px solid #BBB;
|
border-bottom: 1px solid #BBB;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item .item-image {
|
.fvtt-te-deum .items-list .item .item-image {
|
||||||
flex: 0 0 24px;
|
flex: 0 0 24px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item img {
|
.fvtt-te-deum .items-list .item img {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item-name {
|
.fvtt-te-deum .items-list .item-name {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fvtt-ecryme .items-list .item-controls {
|
.fvtt-te-deum .items-list .item-controls {
|
||||||
flex: 0 0 86px;
|
flex: 0 0 86px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
@ -372,7 +372,8 @@ li.folder > .folder-header h3 {
|
|||||||
/* Sheet */
|
/* Sheet */
|
||||||
.window-app.sheet .window-content .sheet-header{
|
.window-app.sheet .window-content .sheet-header{
|
||||||
color: rgba(19, 18, 18, 0.95);
|
color: rgba(19, 18, 18, 0.95);
|
||||||
background: url("../images/ui/fond_carnet_01.webp");
|
/*background: url("../images/ui/frise_topleft_01.webp");*/
|
||||||
|
background: rgba(226, 226, 222, 0.95);
|
||||||
/*background: #494e6b;*/
|
/*background: #494e6b;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -394,15 +395,8 @@ select {
|
|||||||
|
|
||||||
.window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] {
|
.window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] {
|
||||||
color: rgba(19, 18, 18, 0.95);
|
color: rgba(19, 18, 18, 0.95);
|
||||||
background: url("../images/ui/fond_carnet_01.webp");
|
/*background: url("../images/ui/frise_topleft_01.webp");*/
|
||||||
border: 1 none;
|
background: rgba(226, 226, 222, 0.95);
|
||||||
margin-bottom: 0.25rem;
|
|
||||||
margin-left: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.window-app.sheet .window-content .sheet-body input[type="password"], .window-app.sheet .window-content .sheet-body input[type="date"], .window-app.sheet .window-content .sheet-body input[type="time"] {
|
|
||||||
color: rgba(19, 18, 18, 0.95);
|
|
||||||
background: url("../images/ui/fond_carnet_01.webp");
|
|
||||||
border: 1 none;
|
border: 1 none;
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
@ -419,7 +413,8 @@ select {
|
|||||||
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
|
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
/*background: url("../images/ui/pc_sheet_bg.webp") repeat left top;*/
|
/*background: url("../images/ui/pc_sheet_bg.webp") repeat left top;*/
|
||||||
background: url("../images/ui/fond_carnet_01.webp");
|
/*background: url("../images/ui/frise_topleft_01.webp");*/
|
||||||
|
background: rgba(226, 226, 222, 0.95);
|
||||||
color: rgba(19, 18, 18, 0.95);
|
color: rgba(19, 18, 18, 0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -448,14 +443,20 @@ section.sheet-body{padding: 0.25rem 0.5rem;}
|
|||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
border-top: 0 none;
|
border-top: 0 none;
|
||||||
border-bottom: 0 none;
|
border-bottom: 0 none;
|
||||||
background-color:#252525;
|
background: linear-gradient(rgba(226, 226, 222, 0.5), rgba(226, 226, 222, 0.5)), url("../images/ui/frise_bottom_01.webp");
|
||||||
color:beige;
|
background-repeat: no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
z-index: 1;
|
||||||
|
/*background-color:#252525;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/
|
/* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/
|
||||||
|
|
||||||
nav.sheet-tabs .item {
|
nav.sheet-tabs .item {
|
||||||
|
z-index: 2;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
opacity: 1.0;
|
||||||
|
color:rgba(29, 28, 31);
|
||||||
padding: 0 0.25rem;
|
padding: 0 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -772,7 +773,7 @@ ul, li {
|
|||||||
background-color:#f5f5f5;
|
background-color:#f5f5f5;
|
||||||
background-position: 0px 35px;
|
background-position: 0px 35px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-image: url("../images/ui/fond_carnet_01.webp");
|
background: rgba(226, 226, 222, 0.95);
|
||||||
color: rgba(19, 18, 18, 0.95);
|
color: rgba(19, 18, 18, 0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1135,7 +1136,7 @@ ul, li {
|
|||||||
color: #CCC
|
color: #CCC
|
||||||
}
|
}
|
||||||
#pause > img {
|
#pause > img {
|
||||||
content: url(../images/ui/ecryme_logo_small_01.webp);
|
content: url(../images/ui/te-deum_logo_small_01.webp);
|
||||||
height: 200px;
|
height: 200px;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
top: -200px;
|
top: -200px;
|
||||||
@ -1143,7 +1144,7 @@ ul, li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#logo {
|
#logo {
|
||||||
content : url(../images/ui/ecryme_logo_small_01.webp);
|
content : url(../images/ui/te-deum_logo_small_01.webp);
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
@ -1239,24 +1240,34 @@ ul, li {
|
|||||||
min-width: 10rem;
|
min-width: 10rem;
|
||||||
}
|
}
|
||||||
.item-name-label-long {
|
.item-name-label-long {
|
||||||
margin-top: 4px;
|
|
||||||
flex-grow:2;
|
flex-grow:2;
|
||||||
max-width: 12rem;
|
max-width: 12rem;
|
||||||
min-width: 12rem;
|
min-width: 12rem;
|
||||||
}
|
}
|
||||||
|
.item-name-label-long2 {
|
||||||
|
flex-grow:2;
|
||||||
|
max-width: 20rem;
|
||||||
|
min-width: 20rem;
|
||||||
|
}
|
||||||
|
.item-name-label-long3 {
|
||||||
|
flex-grow:2;
|
||||||
|
max-width: 18rem;
|
||||||
|
min-width: 18rem;
|
||||||
|
}
|
||||||
.item-name-label-short {
|
.item-name-label-short {
|
||||||
flex-grow:1;
|
flex-grow:1;
|
||||||
max-width: 4rem;
|
max-width: 4rem;
|
||||||
min-width: 4rem;
|
min-width: 4rem;
|
||||||
}
|
}
|
||||||
.item-name-label-medium {
|
.item-name-label-medium {
|
||||||
margin-top: 4px;
|
|
||||||
flex-grow:2;
|
flex-grow:2;
|
||||||
max-width: 6rem;
|
max-width: 6rem;
|
||||||
min-width: 6rem;
|
min-width: 6rem;
|
||||||
}
|
}
|
||||||
.item-name-label-long2 {
|
.item-name-label-text-margin {
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
.item-name-label-long2 {
|
||||||
flex-grow:2;
|
flex-grow:2;
|
||||||
max-width: 22rem;
|
max-width: 22rem;
|
||||||
min-width: 22rem;
|
min-width: 22rem;
|
||||||
@ -1319,10 +1330,10 @@ ul, li {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ecryme-roll-dialog .window-header {
|
.te-deum-roll-dialog .window-header {
|
||||||
border-radius: 10px 10px 0% 0%;
|
border-radius: 10px 10px 0% 0%;
|
||||||
}
|
}
|
||||||
.ecryme-roll-dialog .window-content {
|
.te-deum-roll-dialog .window-content {
|
||||||
border-radius: 0% 0% 10px 10px;
|
border-radius: 0% 0% 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
14
system.json
14
system.json
@ -31,6 +31,18 @@
|
|||||||
"PLAYER": "OBSERVER",
|
"PLAYER": "OBSERVER",
|
||||||
"ASSISTANT": "OWNER"
|
"ASSISTANT": "OWNER"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Compétences",
|
||||||
|
"type": "Item",
|
||||||
|
"name": "competences",
|
||||||
|
"path": "packs/competences",
|
||||||
|
"system": "fvtt-te-deum",
|
||||||
|
"flags": {},
|
||||||
|
"ownership": {
|
||||||
|
"PLAYER": "OBSERVER",
|
||||||
|
"ASSISTANT": "OWNER"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"license": "LICENSE.txt",
|
"license": "LICENSE.txt",
|
||||||
@ -50,7 +62,7 @@
|
|||||||
},
|
},
|
||||||
"title": "Te Deum pour Un Massacre, le Jeu de Rôles",
|
"title": "Te Deum pour Un Massacre, le Jeu de Rôles",
|
||||||
"url": "https://www.uberwald.me/gitea/public/fvtt-te-deum",
|
"url": "https://www.uberwald.me/gitea/public/fvtt-te-deum",
|
||||||
"version": "11.0.0",
|
"version": "11.0.1",
|
||||||
"download": "https://www.uberwald.me/gitea/public/fvtt-te-deum/archive/fvtt-te-deum-v11.0.0.zip",
|
"download": "https://www.uberwald.me/gitea/public/fvtt-te-deum/archive/fvtt-te-deum-v11.0.0.zip",
|
||||||
"background": ""
|
"background": ""
|
||||||
}
|
}
|
@ -5,7 +5,7 @@
|
|||||||
"pnj": {}
|
"pnj": {}
|
||||||
},
|
},
|
||||||
"Item": {
|
"Item": {
|
||||||
"types": ["arme", "competence", "armure", "equipement", "origine", "education", "debouche"],
|
"types": ["arme", "competence", "armure", "equipement", "origine", "education"],
|
||||||
"arme": {},
|
"arme": {},
|
||||||
"competence": {},
|
"competence": {},
|
||||||
"armure": {},
|
"armure": {},
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<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>
|
||||||
|
|
||||||
{{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}}
|
{{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}}
|
||||||
@ -26,9 +26,40 @@
|
|||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
{{#each system.specificites as |spec specId|}}
|
||||||
|
<li class="flexrow">
|
||||||
|
<label class="item-name-label-long">{{getConfigLabel "ARME_SPECIFICITE" specId}}</label>
|
||||||
|
<input type="checkbox" name="system.specificites.{{specId}}.hasSpec" {{checked
|
||||||
|
spec.hasSpec}} />
|
||||||
|
</li>
|
||||||
|
{{/each}}
|
||||||
|
|
||||||
|
{{#each system.degatsArmure as |degat degtId|}}
|
||||||
|
<li class="flexrow">
|
||||||
|
<label class="item-name-label-long">{{getConfigLabel "degatsArmure" degtId}}</label>
|
||||||
|
<input type="text" class="padd-right numeric-input item-field-label-short"
|
||||||
|
name="system.degatsArmure.{{degtId}}" value="{{degat}}" data-dtype="Number" />
|
||||||
|
</li>
|
||||||
|
{{/each}}
|
||||||
|
|
||||||
|
<li class="flexrow">
|
||||||
|
<label class="item-name-label-long">Bonus d'Initiative</label>
|
||||||
|
<input type="text" class="padd-right numeric-input item-field-label-short"
|
||||||
|
name="system.initiativeBonus" value="{{system.initiativeBonus}}" data-dtype="Number" />
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="flexrow">
|
||||||
|
<label class="item-name-label-long">Prix</label>
|
||||||
|
<input type="text" class="padd-right numeric-input item-field-label-short"
|
||||||
|
name="system.prix" value="{{system.prix}}" data-dtype="Number" />
|
||||||
|
<select name="system.monnaie">
|
||||||
|
{{selectOptions config.monnaie selected=system.monnaie labelAttr="label" blank="denier"}}
|
||||||
|
</select>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
@ -1,27 +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>
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-nav.hbs}}
|
|
||||||
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-description.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
|
||||||
|
|
||||||
<div class="tab" data-group="primary">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</form>
|
|
@ -1,25 +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>
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-nav.hbs}}
|
|
||||||
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-description.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-equipment.hbs}}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</form>
|
|
@ -1,48 +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>
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-nav.hbs}}
|
|
||||||
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-description.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
|
||||||
|
|
||||||
<div class="tab" data-group="primary">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="flexrow">
|
|
||||||
<label class="item-name-label-long">{{localize "ECRY.ui.impactType"}}</label>
|
|
||||||
<select class="item-field-label-medium" type="text" name="system.impacttype" value="{{system.impacttype}}" data-dtype="String">
|
|
||||||
{{#select system.impacttype}}
|
|
||||||
{{#each config.impactTypes as |type key| }}
|
|
||||||
<option value="{{key}}">{{localize type}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="flexrow">
|
|
||||||
<label class="item-name-label-long">{{localize "ECRY.ui.impactLevel"}}</label>
|
|
||||||
<select class="item-field-label-medium" type="text" name="system.impactlevel" value="{{system.impactlevel}}" data-dtype="String">
|
|
||||||
{{#select system.impactlevel}}
|
|
||||||
{{#each config.impactLevels as |level key| }}
|
|
||||||
<option value="{{key}}">{{localize level}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</form>
|
|
@ -1,27 +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>
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-nav.hbs}}
|
|
||||||
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-description.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
|
||||||
|
|
||||||
<div class="tab" data-group="primary">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</form>
|
|
@ -1,43 +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>
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-nav.hbs}}
|
|
||||||
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-description.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
|
||||||
|
|
||||||
<div class="tab" data-group="primary">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="flexrow">
|
|
||||||
<label class="item-name-label-long">{{localize "ECRY.ui.skill"}}</label>
|
|
||||||
<select class="item-field-label-medium" type="text" name="system.skillkey" value="{{system.skillkey}}" data-dtype="String">
|
|
||||||
{{#select system.skillkey}}
|
|
||||||
{{#each config.skills as |skill key| }}
|
|
||||||
<option value="{{key}}">{{localize skill.name}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="flexrow">
|
|
||||||
<label class="item-name-label-long">{{localize "ECRY.ui.bonus"}}</label>
|
|
||||||
<input type="text" class="item-field-label-short" name="system.bonus" value="{{system.bonus}}" data-dtype="Number"/>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</form>
|
|
@ -1,48 +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>
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-nav.hbs}}
|
|
||||||
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
|
||||||
<section class="sheet-body">
|
|
||||||
|
|
||||||
{{> systems/fvtt-ecryme/templates/items/partial-item-description.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
|
||||||
|
|
||||||
<div class="tab" data-group="primary">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="flexrow">
|
|
||||||
<label class="item-name-label-long">{{localize "ECRY.ui.traitType"}}</label>
|
|
||||||
<select class="item-field-label-medium" type="text" name="system.traitype" value="{{system.traitype}}" data-dtype="String">
|
|
||||||
{{#select system.traitype}}
|
|
||||||
{{#each config.traitTypes as |type key| }}
|
|
||||||
<option value="{{key}}">{{type}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="flexrow">
|
|
||||||
<label class="item-name-label-long">{{localize "ECRY.ui.niveauTrait"}}</label>
|
|
||||||
<select class="item-field-label-medium" type="text" name="system.level" value="{{system.level}}" data-dtype="Number">
|
|
||||||
{{#select system.level}}
|
|
||||||
{{#each config.traitLevel as |level key| }}
|
|
||||||
<option value="{{level.value}}">{{level.text}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</form>
|
|
@ -1,18 +0,0 @@
|
|||||||
<li class="flexrow">
|
|
||||||
<label class="item-field-label-long">{{localize "ECRY.ui.weight"}}</label>
|
|
||||||
<input type="text" class="item-field-label-short" name="system.weight" value="{{system.weight}}"
|
|
||||||
data-dtype="Number" />
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="flexrow">
|
|
||||||
<label class="item-field-label-long">{{localize "ECRY.ui.cost"}}</label>
|
|
||||||
<input type="text" class="item-field-label-short" name="system.cost" value="{{system.cost}}" data-dtype="Number" />
|
|
||||||
<select class="item-field-label-medium" type="text" name="system.costunit" value="{{system.costunit}}" data-dtype="String">
|
|
||||||
{{#select system.costunit}}
|
|
||||||
{{#each config.costUnits as |unit key| }}
|
|
||||||
<option value="{{key}}">{{localize unit.name}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</li>
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user