Various enhancements + fixes
All checks were successful
Release Creation / build (release) Successful in 56s

This commit is contained in:
LeRatierBretonnien 2025-04-12 00:18:45 +02:00
parent 84cc59c57d
commit edfb2105d3
66 changed files with 314 additions and 144 deletions

View File

@ -42,6 +42,7 @@ export class TeDeumActorPJSheet extends ActorSheet {
providence: this.actor.prepareProvidence(),
arbreCompetences: this.actor.prepareArbreCompetences(),
equipements: this.actor.getEquipements(),
simples: this.actor.getSimples(),
armures: this.actor.getArmures(),
graces: this.actor.getGraces(),
blessures: this.actor.getBlessures(),

View File

@ -200,6 +200,11 @@ export class TeDeumActor extends Actor {
TeDeumUtility.sortArrayObjectsByName(comp)
return comp;
}
getSimples() {
let comp = foundry.utils.duplicate(this.items.filter(item => item.type == 'simple') || [])
TeDeumUtility.sortArrayObjectsByName(comp)
return comp;
}
getArmures() {
let comp = foundry.utils.duplicate(this.items.filter(item => item.type == 'armure') || [])
TeDeumUtility.sortArrayObjectsByName(comp)
@ -305,7 +310,11 @@ export class TeDeumActor extends Actor {
c.key = key
c.name = game.system.tedeum.config.caracteristiques[key].label
c.generalqualite = game.system.tedeum.config.descriptionValeur[c.value].qualite
if (this.system.genre.toLowerCase() == "homme") {
c.qualite = game.system.tedeum.config.descriptionValeur[c.value][key]
} else {
c.qualite = game.system.tedeum.config.descriptionValeurFemme[c.value][key]
}
c.dice = game.system.tedeum.config.descriptionValeur[c.value].dice
c.negativeDice = game.system.tedeum.config.descriptionValeur[c.value].negativeDice
}
@ -324,7 +333,11 @@ export class TeDeumActor extends Actor {
prepareProvidence() {
let providence = foundry.utils.deepClone(this.system.providence)
providence.name = "Providence"
providence.qualite = game.system.tedeum.config.providence[providence.value].labelM
if (this.system.genre.toLowerCase() == "homme") {
providence.qualite = game.system.tedeum.config.providence[providence.value].labelH
} else {
providence.qualite = game.system.tedeum.config.providence[providence.value].labelF
}
providence.dice = game.system.tedeum.config.providence[providence.value].diceValue
providence.description = "La Providence représente la Volonté Divine à l'œuvre pour guider ou sauver un être humain. Les PJ montent dans léchelle de la Providence en menant à bien leurs missions et en se montrant vertueux. Les points de Providence peuvent servir à augmenter temporairement une caractéris- tique, à modifier la gravité d'une blessure, et à résister au vieillissement. Chaque person- nage commence avec un score initial de 1 en Providence (au niveau Pauvre pécheur)."
return providence

View File

@ -77,6 +77,14 @@ export const TEDEUM_CONFIG = {
5: { valeur: 5, qualite: "Excellent", dice: "d12", negativeDice: "d6", savoir: "Docte", sensibilite: "Subtil", entregent: "Galant", puissance: "Musculeux", complexion: "Sanguin", adresse: "Preste" },
6: { valeur: 6, qualite: "Admirable", dice: "d20", negativeDice: "d4", savoir: "Humaniste", sensibilite: "Spirituel", entregent: "Sémillant", puissance: "Hercule", complexion: "Aguerri", adresse: "Alerte" },
},
descriptionValeurFemme: {
1: { valeur: 1, qualite: "Mauvais", dice: "d4", negativeDice: "d20", savoir: "Sotte", sensibilite: "Obtuse", entregent: "Rustaude", puissance: "Menue", complexion: "Anémique", adresse: "Empesée" },
2: { valeur: 2, qualite: "Médiocre", dice: "d6", negativeDice: "d12", savoir: "Limitée", sensibilite: "Etriquée", entregent: "Fruste", puissance: "Délicate", complexion: "Languide", adresse: "Gauche" },
3: { valeur: 3, qualite: "Correct", dice: "d8", negativeDice: "d10", savoir: "Mêlée", sensibilite: "Ouverte", entregent: "Badine", puissance: "Membrue", complexion: "Dispose", adresse: "Ingambe" },
4: { valeur: 4, qualite: "Bon", dice: "d10", negativeDice: "d8", savoir: "Lettrée", sensibilite: "Fine", entregent: "Diserte", puissance: "Vigoureuse", complexion: "Gaillarde", adresse: "Leste" },
5: { valeur: 5, qualite: "Excellent", dice: "d12", negativeDice: "d6", savoir: "Docte", sensibilite: "Subtile", entregent: "Galante", puissance: "Musculeuse", complexion: "Sanguine", adresse: "Preste" },
6: { valeur: 6, qualite: "Admirable", dice: "d20", negativeDice: "d4", savoir: "Humaniste", sensibilite: "Spirituelle", entregent: "Sémillante", puissance: "Hercule", complexion: "Aguerrie", adresse: "Alerte" },
},
diceValeur: ["d4", "d6", "d8", "d10", "d12", "d20"],
degatsArmure: {
sansarmure: { label: "Sans armure" },
@ -157,6 +165,11 @@ export const TEDEUM_CONFIG = {
sol: { label: "Sols", id: "sol", value: 10 },
livre: { label: "Livres", id: "livre", value: 100 }
},
monnaieUnit: {
"1": { label: "Deniers", id: "denier", value: 1 },
"10": { label: "Sols", id: "sol", value: 10 },
"100": { label: "Livres", id: "livre", value: 100 }
},
etapesEducation: {
pouponniere: { label: "La Pouponnière", value: "pouponniere", agemin: 0, agemax: 6, nbCompetences: 2, nbCaracteristiques: 3, hasGenre: false, hasQuestionnaire: true, hasDebouches: false, hasMultiplier: false, canCompetencesOpt: false },
petitsgrimauds: { label: "La classe des Petits Grimauds", value: "petitsgrimauds", agemin: 7, agemax: 12, nbCompetences: 10, hasGenre: true, nbCaracteristiques: 3, hasDebouches: false, hasQuestionnaire: true, hasMultiplier: false, canCompetencesOpt: false },

View File

@ -92,6 +92,13 @@ export class TeDeumUtility {
Handlebars.registerHelper('isGM', function () {
return game.user.isGM
})
Handlebars.registerHelper('monnaie', function (value) {
let monnaie = game.system.tedeum.config.monnaieUnit[String(value)]
if (monnaie) {
return monnaie.label
}
return value
})
// Load compendium data
const competences = await TeDeumUtility.loadCompendium("fvtt-te-deum.competences")

View File

@ -13,4 +13,10 @@ export class TeDeumEquipementSchema extends foundry.abstract.TypeDataModel {
return schema;
}
get monnaieLabel() {
console.log("monnaieLabel", this.monnaie,game.system.tedeum.config.monnaieUnit)
return game.system.tedeum.config.monnaieUnit[String(this.monnaie)]?.label;
}
}

View File

@ -9,7 +9,8 @@ export class TeDeumMaladieSchema extends foundry.abstract.TypeDataModel {
schema.virulence = new fields.StringField({required: true, choices: ["fatigue", "epuisement", "souffrance", "agonie"], initial: "fatigue"});
schema.fievre = new fields.StringField({required: true, choices: ["aucune", "legere", "forte", "grave"], initial: "aucune"});
schema.symptomes = new fields.HTMLField({ required: true, blank: true });
schema.appliquee = new fields.BooleanField({initial: false}),
schema.complications = new fields.HTMLField({ required: true, blank: true });
schema.appliquee = new fields.BooleanField({initial: false});
schema.description = new fields.HTMLField({ required: true, blank: true });

View File

@ -1 +1 @@
MANIFEST-000087
MANIFEST-000091

View File

@ -1,7 +1,7 @@
2025/04/05-23:14:49.037668 7f9c6affd6c0 Recovering log #86
2025/04/05-23:14:49.047402 7f9c6affd6c0 Delete type=0 #86
2025/04/05-23:14:49.047473 7f9c6affd6c0 Delete type=3 #85
2025/04/05-23:15:15.842682 7f9c69bff6c0 Level-0 table #90: started
2025/04/05-23:15:15.842744 7f9c69bff6c0 Level-0 table #90: 0 bytes OK
2025/04/05-23:15:15.848975 7f9c69bff6c0 Delete type=0 #88
2025/04/05-23:15:15.860649 7f9c69bff6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)
2025/04/11-23:06:48.405694 7f6df09f96c0 Recovering log #89
2025/04/11-23:06:48.416695 7f6df09f96c0 Delete type=3 #87
2025/04/11-23:06:48.416810 7f6df09f96c0 Delete type=0 #89
2025/04/12-00:18:27.794309 7f6deabff6c0 Level-0 table #94: started
2025/04/12-00:18:27.794331 7f6deabff6c0 Level-0 table #94: 0 bytes OK
2025/04/12-00:18:27.828514 7f6deabff6c0 Delete type=0 #92
2025/04/12-00:18:27.828757 7f6deabff6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)

View File

@ -1,3 +1,7 @@
2025/04/05-18:56:55.040362 7fa86b7fe6c0 Recovering log #83
2025/04/05-18:56:55.054999 7fa86b7fe6c0 Delete type=3 #81
2025/04/05-18:56:55.055109 7fa86b7fe6c0 Delete type=0 #83
2025/04/05-23:14:49.037668 7f9c6affd6c0 Recovering log #86
2025/04/05-23:14:49.047402 7f9c6affd6c0 Delete type=0 #86
2025/04/05-23:14:49.047473 7f9c6affd6c0 Delete type=3 #85
2025/04/05-23:15:15.842682 7f9c69bff6c0 Level-0 table #90: started
2025/04/05-23:15:15.842744 7f9c69bff6c0 Level-0 table #90: 0 bytes OK
2025/04/05-23:15:15.848975 7f9c69bff6c0 Delete type=0 #88
2025/04/05-23:15:15.860649 7f9c69bff6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000189
MANIFEST-000193

View File

@ -1,7 +1,14 @@
2025/04/05-23:14:48.938481 7f9c6a7fc6c0 Recovering log #188
2025/04/05-23:14:48.948878 7f9c6a7fc6c0 Delete type=0 #188
2025/04/05-23:14:48.948933 7f9c6a7fc6c0 Delete type=3 #187
2025/04/05-23:15:15.775044 7f9c69bff6c0 Level-0 table #192: started
2025/04/05-23:15:15.775079 7f9c69bff6c0 Level-0 table #192: 0 bytes OK
2025/04/05-23:15:15.780958 7f9c69bff6c0 Delete type=0 #190
2025/04/05-23:15:15.800666 7f9c69bff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)
2025/04/11-23:06:48.304335 7f6df11fa6c0 Recovering log #191
2025/04/11-23:06:48.314473 7f6df11fa6c0 Delete type=3 #189
2025/04/11-23:06:48.314529 7f6df11fa6c0 Delete type=0 #191
2025/04/12-00:18:27.071344 7f6deabff6c0 Level-0 table #196: started
2025/04/12-00:18:27.085927 7f6deabff6c0 Level-0 table #196: 1371 bytes OK
2025/04/12-00:18:27.118250 7f6deabff6c0 Delete type=0 #194
2025/04/12-00:18:27.311443 7f6deabff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at '!items!GZ3Q17VzRvdlrtdF' @ 40 : 1
2025/04/12-00:18:27.311451 7f6deabff6c0 Compacting 1@0 + 1@1 files
2025/04/12-00:18:27.331173 7f6deabff6c0 Generated table #197@0: 38 keys, 31023 bytes
2025/04/12-00:18:27.331200 7f6deabff6c0 Compacted 1@0 + 1@1 files => 31023 bytes
2025/04/12-00:18:27.373984 7f6deabff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2025/04/12-00:18:27.374177 7f6deabff6c0 Delete type=2 #174
2025/04/12-00:18:27.374459 7f6deabff6c0 Delete type=2 #196
2025/04/12-00:18:27.426656 7f6deabff6c0 Manual compaction at level-0 from '!items!GZ3Q17VzRvdlrtdF' @ 40 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)

View File

@ -1,3 +1,7 @@
2025/04/05-18:56:54.933660 7fa86affd6c0 Recovering log #185
2025/04/05-18:56:54.943911 7fa86affd6c0 Delete type=3 #183
2025/04/05-18:56:54.943971 7fa86affd6c0 Delete type=0 #185
2025/04/05-23:14:48.938481 7f9c6a7fc6c0 Recovering log #188
2025/04/05-23:14:48.948878 7f9c6a7fc6c0 Delete type=0 #188
2025/04/05-23:14:48.948933 7f9c6a7fc6c0 Delete type=3 #187
2025/04/05-23:15:15.775044 7f9c69bff6c0 Level-0 table #192: started
2025/04/05-23:15:15.775079 7f9c69bff6c0 Level-0 table #192: 0 bytes OK
2025/04/05-23:15:15.780958 7f9c69bff6c0 Delete type=0 #190
2025/04/05-23:15:15.800666 7f9c69bff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/armes/MANIFEST-000193 Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000189
MANIFEST-000193

View File

@ -1,7 +1,7 @@
2025/04/05-23:14:48.952138 7f9c6affd6c0 Recovering log #188
2025/04/05-23:14:48.962116 7f9c6affd6c0 Delete type=0 #188
2025/04/05-23:14:48.962182 7f9c6affd6c0 Delete type=3 #187
2025/04/05-23:15:15.788075 7f9c69bff6c0 Level-0 table #192: started
2025/04/05-23:15:15.788095 7f9c69bff6c0 Level-0 table #192: 0 bytes OK
2025/04/05-23:15:15.794438 7f9c69bff6c0 Delete type=0 #190
2025/04/05-23:15:15.800687 7f9c69bff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)
2025/04/11-23:06:48.318150 7f6df09f96c0 Recovering log #191
2025/04/11-23:06:48.328364 7f6df09f96c0 Delete type=3 #189
2025/04/11-23:06:48.328522 7f6df09f96c0 Delete type=0 #191
2025/04/12-00:18:27.192248 7f6deabff6c0 Level-0 table #196: started
2025/04/12-00:18:27.192320 7f6deabff6c0 Level-0 table #196: 0 bytes OK
2025/04/12-00:18:27.261480 7f6deabff6c0 Delete type=0 #194
2025/04/12-00:18:27.426624 7f6deabff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)

View File

@ -1,3 +1,7 @@
2025/04/05-18:56:54.946918 7fa86b7fe6c0 Recovering log #185
2025/04/05-18:56:54.957003 7fa86b7fe6c0 Delete type=3 #183
2025/04/05-18:56:54.957057 7fa86b7fe6c0 Delete type=0 #185
2025/04/05-23:14:48.952138 7f9c6affd6c0 Recovering log #188
2025/04/05-23:14:48.962116 7f9c6affd6c0 Delete type=0 #188
2025/04/05-23:14:48.962182 7f9c6affd6c0 Delete type=3 #187
2025/04/05-23:15:15.788075 7f9c69bff6c0 Level-0 table #192: started
2025/04/05-23:15:15.788095 7f9c69bff6c0 Level-0 table #192: 0 bytes OK
2025/04/05-23:15:15.794438 7f9c69bff6c0 Delete type=0 #190
2025/04/05-23:15:15.800687 7f9c69bff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000186
MANIFEST-000190

View File

@ -1,7 +1,7 @@
2025/04/05-23:14:48.923788 7f9c6bfff6c0 Recovering log #185
2025/04/05-23:14:48.933992 7f9c6bfff6c0 Delete type=0 #185
2025/04/05-23:14:48.934095 7f9c6bfff6c0 Delete type=3 #184
2025/04/05-23:15:15.781052 7f9c69bff6c0 Level-0 table #189: started
2025/04/05-23:15:15.781077 7f9c69bff6c0 Level-0 table #189: 0 bytes OK
2025/04/05-23:15:15.787996 7f9c69bff6c0 Delete type=0 #187
2025/04/05-23:15:15.800677 7f9c69bff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)
2025/04/11-23:06:48.289349 7f6debfff6c0 Recovering log #188
2025/04/11-23:06:48.299353 7f6debfff6c0 Delete type=3 #186
2025/04/11-23:06:48.299496 7f6debfff6c0 Delete type=0 #188
2025/04/12-00:18:27.261661 7f6deabff6c0 Level-0 table #193: started
2025/04/12-00:18:27.261699 7f6deabff6c0 Level-0 table #193: 0 bytes OK
2025/04/12-00:18:27.311309 7f6deabff6c0 Delete type=0 #191
2025/04/12-00:18:27.426641 7f6deabff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)

View File

@ -1,3 +1,7 @@
2025/04/05-18:56:54.918444 7fa870bfa6c0 Recovering log #182
2025/04/05-18:56:54.929675 7fa870bfa6c0 Delete type=3 #180
2025/04/05-18:56:54.929721 7fa870bfa6c0 Delete type=0 #182
2025/04/05-23:14:48.923788 7f9c6bfff6c0 Recovering log #185
2025/04/05-23:14:48.933992 7f9c6bfff6c0 Delete type=0 #185
2025/04/05-23:14:48.934095 7f9c6bfff6c0 Delete type=3 #184
2025/04/05-23:15:15.781052 7f9c69bff6c0 Level-0 table #189: started
2025/04/05-23:15:15.781077 7f9c69bff6c0 Level-0 table #189: 0 bytes OK
2025/04/05-23:15:15.787996 7f9c69bff6c0 Delete type=0 #187
2025/04/05-23:15:15.800677 7f9c69bff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000197
MANIFEST-000201

View File

@ -1,7 +1,14 @@
2025/04/05-23:14:48.965558 7f9c6b7fe6c0 Recovering log #196
2025/04/05-23:14:48.975684 7f9c6b7fe6c0 Delete type=0 #196
2025/04/05-23:14:48.975771 7f9c6b7fe6c0 Delete type=3 #195
2025/04/05-23:15:15.794548 7f9c69bff6c0 Level-0 table #200: started
2025/04/05-23:15:15.794568 7f9c69bff6c0 Level-0 table #200: 0 bytes OK
2025/04/05-23:15:15.800586 7f9c69bff6c0 Delete type=0 #198
2025/04/05-23:15:15.800695 7f9c69bff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)
2025/04/11-23:06:48.331428 7f6deb7fe6c0 Recovering log #199
2025/04/11-23:06:48.343033 7f6deb7fe6c0 Delete type=3 #197
2025/04/11-23:06:48.343104 7f6deb7fe6c0 Delete type=0 #199
2025/04/12-00:18:27.118439 7f6deabff6c0 Level-0 table #204: started
2025/04/12-00:18:27.137069 7f6deabff6c0 Level-0 table #204: 6892 bytes OK
2025/04/12-00:18:27.191998 7f6deabff6c0 Delete type=0 #202
2025/04/12-00:18:27.374641 7f6deabff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at '!items!eILBnECWQOFfkxIL' @ 443 : 1
2025/04/12-00:18:27.374657 7f6deabff6c0 Compacting 1@0 + 1@1 files
2025/04/12-00:18:27.393149 7f6deabff6c0 Generated table #205@0: 71 keys, 263379 bytes
2025/04/12-00:18:27.393180 7f6deabff6c0 Compacted 1@0 + 1@1 files => 263379 bytes
2025/04/12-00:18:27.425988 7f6deabff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2025/04/12-00:18:27.426166 7f6deabff6c0 Delete type=2 #186
2025/04/12-00:18:27.426484 7f6deabff6c0 Delete type=2 #204
2025/04/12-00:18:27.426669 7f6deabff6c0 Manual compaction at level-0 from '!items!eILBnECWQOFfkxIL' @ 443 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)

View File

@ -1,3 +1,7 @@
2025/04/05-18:56:54.959243 7fa86bfff6c0 Recovering log #193
2025/04/05-18:56:54.969916 7fa86bfff6c0 Delete type=3 #191
2025/04/05-18:56:54.970132 7fa86bfff6c0 Delete type=0 #193
2025/04/05-23:14:48.965558 7f9c6b7fe6c0 Recovering log #196
2025/04/05-23:14:48.975684 7f9c6b7fe6c0 Delete type=0 #196
2025/04/05-23:14:48.975771 7f9c6b7fe6c0 Delete type=3 #195
2025/04/05-23:15:15.794548 7f9c69bff6c0 Level-0 table #200: started
2025/04/05-23:15:15.794568 7f9c69bff6c0 Level-0 table #200: 0 bytes OK
2025/04/05-23:15:15.800586 7f9c69bff6c0 Delete type=0 #198
2025/04/05-23:15:15.800695 7f9c69bff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000188
MANIFEST-000192

View File

@ -1,7 +1,14 @@
2025/04/05-23:14:48.980636 7f9c6bfff6c0 Recovering log #187
2025/04/05-23:14:48.991406 7f9c6bfff6c0 Delete type=0 #187
2025/04/05-23:14:48.991533 7f9c6bfff6c0 Delete type=3 #186
2025/04/05-23:15:15.806897 7f9c69bff6c0 Level-0 table #191: started
2025/04/05-23:15:15.806941 7f9c69bff6c0 Level-0 table #191: 0 bytes OK
2025/04/05-23:15:15.814152 7f9c69bff6c0 Delete type=0 #189
2025/04/05-23:15:15.826768 7f9c69bff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)
2025/04/11-23:06:48.348395 7f6debfff6c0 Recovering log #190
2025/04/11-23:06:48.358966 7f6debfff6c0 Delete type=3 #188
2025/04/11-23:06:48.359028 7f6debfff6c0 Delete type=0 #190
2025/04/12-00:18:27.516559 7f6deabff6c0 Level-0 table #195: started
2025/04/12-00:18:27.532890 7f6deabff6c0 Level-0 table #195: 2579 bytes OK
2025/04/12-00:18:27.581168 7f6deabff6c0 Delete type=0 #193
2025/04/12-00:18:27.688801 7f6deabff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at '!items!o71YhfDj6rschyQM' @ 59 : 1
2025/04/12-00:18:27.688816 7f6deabff6c0 Compacting 1@0 + 1@1 files
2025/04/12-00:18:27.707304 7f6deabff6c0 Generated table #196@0: 49 keys, 19688 bytes
2025/04/12-00:18:27.707343 7f6deabff6c0 Compacted 1@0 + 1@1 files => 19688 bytes
2025/04/12-00:18:27.739125 7f6deabff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2025/04/12-00:18:27.739315 7f6deabff6c0 Delete type=2 #173
2025/04/12-00:18:27.739599 7f6deabff6c0 Delete type=2 #195
2025/04/12-00:18:27.828729 7f6deabff6c0 Manual compaction at level-0 from '!items!o71YhfDj6rschyQM' @ 59 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)

View File

@ -1,3 +1,7 @@
2025/04/05-18:56:54.978266 7fa870bfa6c0 Recovering log #184
2025/04/05-18:56:54.988217 7fa870bfa6c0 Delete type=3 #182
2025/04/05-18:56:54.988347 7fa870bfa6c0 Delete type=0 #184
2025/04/05-23:14:48.980636 7f9c6bfff6c0 Recovering log #187
2025/04/05-23:14:48.991406 7f9c6bfff6c0 Delete type=0 #187
2025/04/05-23:14:48.991533 7f9c6bfff6c0 Delete type=3 #186
2025/04/05-23:15:15.806897 7f9c69bff6c0 Level-0 table #191: started
2025/04/05-23:15:15.806941 7f9c69bff6c0 Level-0 table #191: 0 bytes OK
2025/04/05-23:15:15.814152 7f9c69bff6c0 Delete type=0 #189
2025/04/05-23:15:15.826768 7f9c69bff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packs/maladies/000196.ldb Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000188
MANIFEST-000192

View File

@ -1,7 +1,14 @@
2025/04/05-23:14:48.995168 7f9c6a7fc6c0 Recovering log #187
2025/04/05-23:14:49.005707 7f9c6a7fc6c0 Delete type=0 #187
2025/04/05-23:14:49.005879 7f9c6a7fc6c0 Delete type=3 #186
2025/04/05-23:15:15.800840 7f9c69bff6c0 Level-0 table #191: started
2025/04/05-23:15:15.800872 7f9c69bff6c0 Level-0 table #191: 0 bytes OK
2025/04/05-23:15:15.806702 7f9c69bff6c0 Delete type=0 #189
2025/04/05-23:15:15.826756 7f9c69bff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)
2025/04/11-23:06:48.361948 7f6df11fa6c0 Recovering log #190
2025/04/11-23:06:48.372204 7f6df11fa6c0 Delete type=3 #188
2025/04/11-23:06:48.372273 7f6df11fa6c0 Delete type=0 #190
2025/04/12-00:18:27.468730 7f6deabff6c0 Level-0 table #195: started
2025/04/12-00:18:27.487486 7f6deabff6c0 Level-0 table #195: 19996 bytes OK
2025/04/12-00:18:27.516404 7f6deabff6c0 Delete type=0 #193
2025/04/12-00:18:27.626078 7f6deabff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at '!items!ysGehYm1VkMWrI22' @ 47 : 1
2025/04/12-00:18:27.626091 7f6deabff6c0 Compacting 1@0 + 1@1 files
2025/04/12-00:18:27.644729 7f6deabff6c0 Generated table #196@0: 17 keys, 11448 bytes
2025/04/12-00:18:27.644759 7f6deabff6c0 Compacted 1@0 + 1@1 files => 11448 bytes
2025/04/12-00:18:27.688168 7f6deabff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2025/04/12-00:18:27.688361 7f6deabff6c0 Delete type=2 #173
2025/04/12-00:18:27.688608 7f6deabff6c0 Delete type=2 #195
2025/04/12-00:18:27.828710 7f6deabff6c0 Manual compaction at level-0 from '!items!ysGehYm1VkMWrI22' @ 47 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)

View File

@ -1,3 +1,7 @@
2025/04/05-18:56:54.993562 7fa86affd6c0 Recovering log #184
2025/04/05-18:56:55.005280 7fa86affd6c0 Delete type=3 #182
2025/04/05-18:56:55.005390 7fa86affd6c0 Delete type=0 #184
2025/04/05-23:14:48.995168 7f9c6a7fc6c0 Recovering log #187
2025/04/05-23:14:49.005707 7f9c6a7fc6c0 Delete type=0 #187
2025/04/05-23:14:49.005879 7f9c6a7fc6c0 Delete type=3 #186
2025/04/05-23:15:15.800840 7f9c69bff6c0 Level-0 table #191: started
2025/04/05-23:15:15.800872 7f9c69bff6c0 Level-0 table #191: 0 bytes OK
2025/04/05-23:15:15.806702 7f9c69bff6c0 Delete type=0 #189
2025/04/05-23:15:15.826756 7f9c69bff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000126
MANIFEST-000130

View File

@ -1,7 +1,7 @@
2025/04/05-23:14:49.022817 7f9c6b7fe6c0 Recovering log #125
2025/04/05-23:14:49.033064 7f9c6b7fe6c0 Delete type=0 #125
2025/04/05-23:14:49.033117 7f9c6b7fe6c0 Delete type=3 #124
2025/04/05-23:15:15.820812 7f9c69bff6c0 Level-0 table #129: started
2025/04/05-23:15:15.820832 7f9c69bff6c0 Level-0 table #129: 0 bytes OK
2025/04/05-23:15:15.826647 7f9c69bff6c0 Delete type=0 #127
2025/04/05-23:15:15.826788 7f9c69bff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)
2025/04/11-23:06:48.390538 7f6deb7fe6c0 Recovering log #128
2025/04/11-23:06:48.400234 7f6deb7fe6c0 Delete type=3 #126
2025/04/11-23:06:48.400355 7f6deb7fe6c0 Delete type=0 #128
2025/04/12-00:18:27.426850 7f6deabff6c0 Level-0 table #133: started
2025/04/12-00:18:27.426889 7f6deabff6c0 Level-0 table #133: 0 bytes OK
2025/04/12-00:18:27.468595 7f6deabff6c0 Delete type=0 #131
2025/04/12-00:18:27.626052 7f6deabff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)

View File

@ -1,3 +1,7 @@
2025/04/05-18:56:55.022532 7fa86bfff6c0 Recovering log #122
2025/04/05-18:56:55.035510 7fa86bfff6c0 Delete type=3 #120
2025/04/05-18:56:55.035608 7fa86bfff6c0 Delete type=0 #122
2025/04/05-23:14:49.022817 7f9c6b7fe6c0 Recovering log #125
2025/04/05-23:14:49.033064 7f9c6b7fe6c0 Delete type=0 #125
2025/04/05-23:14:49.033117 7f9c6b7fe6c0 Delete type=3 #124
2025/04/05-23:15:15.820812 7f9c69bff6c0 Level-0 table #129: started
2025/04/05-23:15:15.820832 7f9c69bff6c0 Level-0 table #129: 0 bytes OK
2025/04/05-23:15:15.826647 7f9c69bff6c0 Delete type=0 #127
2025/04/05-23:15:15.826788 7f9c69bff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000188
MANIFEST-000192

View File

@ -1,7 +1,14 @@
2025/04/05-23:14:49.009401 7f9c6affd6c0 Recovering log #187
2025/04/05-23:14:49.019412 7f9c6affd6c0 Delete type=0 #187
2025/04/05-23:14:49.019467 7f9c6affd6c0 Delete type=3 #186
2025/04/05-23:15:15.814317 7f9c69bff6c0 Level-0 table #191: started
2025/04/05-23:15:15.814353 7f9c69bff6c0 Level-0 table #191: 0 bytes OK
2025/04/05-23:15:15.820737 7f9c69bff6c0 Delete type=0 #189
2025/04/05-23:15:15.826778 7f9c69bff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)
2025/04/11-23:06:48.375560 7f6df09f96c0 Recovering log #190
2025/04/11-23:06:48.386162 7f6df09f96c0 Delete type=3 #188
2025/04/11-23:06:48.386247 7f6df09f96c0 Delete type=0 #190
2025/04/12-00:18:27.581367 7f6deabff6c0 Level-0 table #195: started
2025/04/12-00:18:27.597317 7f6deabff6c0 Level-0 table #195: 4361 bytes OK
2025/04/12-00:18:27.625802 7f6deabff6c0 Delete type=0 #193
2025/04/12-00:18:27.739840 7f6deabff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at '!items!yf5aoqeuNknhABWX' @ 41 : 1
2025/04/12-00:18:27.739867 7f6deabff6c0 Compacting 1@0 + 1@1 files
2025/04/12-00:18:27.757841 7f6deabff6c0 Generated table #196@0: 36 keys, 20777 bytes
2025/04/12-00:18:27.757871 7f6deabff6c0 Compacted 1@0 + 1@1 files => 20777 bytes
2025/04/12-00:18:27.793933 7f6deabff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2025/04/12-00:18:27.794075 7f6deabff6c0 Delete type=2 #173
2025/04/12-00:18:27.794233 7f6deabff6c0 Delete type=2 #195
2025/04/12-00:18:27.828743 7f6deabff6c0 Manual compaction at level-0 from '!items!yf5aoqeuNknhABWX' @ 41 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)

View File

@ -1,3 +1,7 @@
2025/04/05-18:56:55.008325 7fa86b7fe6c0 Recovering log #184
2025/04/05-18:56:55.018646 7fa86b7fe6c0 Delete type=3 #182
2025/04/05-18:56:55.018796 7fa86b7fe6c0 Delete type=0 #184
2025/04/05-23:14:49.009401 7f9c6affd6c0 Recovering log #187
2025/04/05-23:14:49.019412 7f9c6affd6c0 Delete type=0 #187
2025/04/05-23:14:49.019467 7f9c6affd6c0 Delete type=3 #186
2025/04/05-23:15:15.814317 7f9c69bff6c0 Level-0 table #191: started
2025/04/05-23:15:15.814353 7f9c69bff6c0 Level-0 table #191: 0 bytes OK
2025/04/05-23:15:15.820737 7f9c69bff6c0 Delete type=0 #189
2025/04/05-23:15:15.826778 7f9c69bff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -375,7 +375,7 @@
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{equip.img}}" /></a>
<span class="item-name-label">{{equip.name}}</span>
<span class="item-field-label-medium">{{equip.system.prix}} {{equip.system.monnaie}}</span>
<span class="item-field-label-medium">{{equip.system.prix}} {{monnaie equip.system.monnaie}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
@ -384,7 +384,39 @@
</div>
</li>
{{/each}}
</ul>
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-field-label-long">
<h3><label class="item-field-label-long">Simples</label></h3>
</span>
<span class="item-field-label-medium">
<label class="item-field-label-medium">Prix</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="simple" title="Créer une simple"><i
class="fas fa-plus"></i></a>
</div>
</li>
{{#each simples as |simple key|}}
<li class="item list-item flexrow list-item-shadow item-id" data-item-id="{{simple._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{simple.img}}" /></a>
<span class="item-name-label">{{simple.name}}</span>
<span class="item-field-label-medium">{{simple.system.prix}} {{monnaie simple.system.monnaie}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Editer une simple"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Supprimer une simple"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
{{!-- Biography Tab --}}

View File

@ -12,20 +12,37 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-te-deum/templates/items/partial-item-description.hbs}}
<div class="tab description" data-group="primary" data-tab="description">
<div class="grace-texte">
<strong>Transmission</strong> : {{system.transmission}}
</div>
<div class="grace-texte">
<strong>Symptômes</strong> : {{system.symptomes}}
</div>
<div class="grace-texte">
<strong>Complications</strong> : {{system.complications}}
</div>
<hr>
{{editor description target="system.description" button=true owner=owner editable=editable}}
</div>
<div class="tab details" data-group="primary" data-tab="details">
<h4 class="item-name-label-long">Transmission</h4>
<textarea name="system.transmission" data-dtype="String">
<textarea name="system.transmission" rows="6" data-dtype="String">
{{{system.transmission}}}
</textarea>
<h4 class="item-name-label-long">Symptômes</h4>
<textarea name="system.symptomes" data-dtype="String">
<textarea name="system.symptomes" rows="6" data-dtype="String">
{{{system.symptomes}}}
</textarea>
<h4 class="item-name-label-long">Complications</h4>
<textarea name="system.complications" rows="6" data-dtype="String">
{{{system.complications}}}
</textarea>
<ul>
<li class="flexrow">
<label class="item-name-label-long">Difficulté au test d'Endurance</label>

View File

@ -12,17 +12,26 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-te-deum/templates/items/partial-item-description.hbs}}
<div class="tab description" data-group="primary" data-tab="description">
<div class="grace-texte">
<strong>Vertus médicinales</strong> : {{system.vertus}}
</div>
<div class="grace-texte">
<strong>Toxicité</strong> : {{system.toxicite}}
</div>
<hr>
{{editor description target="system.description" button=true owner=owner editable=editable}}
</div>
<div class="tab details" data-group="primary" data-tab="details">
<h4 class="item-name-label-long">Vertus médicinales</h4>
<textarea name="system.vertus" data-dtype="String">
<textarea name="system.vertus" rows="6" data-dtype="String">
{{{system.vertus}}}
</textarea>
<h4 class="item-name-label-long">Toxicité</h4>
<textarea name="system.toxicite" data-dtype="String">
<textarea name="system.toxicite" rows="6" data-dtype="String">
{{{system.toxicite}}}
</textarea>