From c5633a9fc54e79f2c6d77b1e7e22818058dac413 Mon Sep 17 00:00:00 2001
From: Vincent Vandemeulebrouck {{linkCompendium document.pack document.id document.name}}
'))
})
- return {
- _id: it._id,
- 'system.pr': nouveauReve,
- 'system.quantite': nouveauReve > 0 ? it.system.quantite : 0
- }
- }))
-
- await this.updateEmbeddedDocuments('Item', potionUpdates);
+ await this.updateEmbeddedDocuments('Item', potionUpdates);
+ }
}
/** --------------------------------------------
diff --git a/module/item-sheet.js b/module/item-sheet.js
index 5e965140..ea7cf51c 100644
--- a/module/item-sheet.js
+++ b/module/item-sheet.js
@@ -1,7 +1,6 @@
import { RdDItemSort } from "./item-sort.js";
import { RdDUtility } from "./rdd-utility.js";
import { RdDItemCompetence } from "./item-competence.js";
-import { RdDHerbes } from "./rdd-herbes.js";
import { RdDGemme } from "./rdd-gemme.js";
import { HtmlUtility } from "./html-utility.js";
import { ReglesOptionnelles } from "./settings/regles-optionnelles.js";
@@ -26,8 +25,8 @@ export class RdDItemSheet extends ItemSheet {
static defaultTemplate(type) {
return type ?
- `systems/foundryvtt-reve-de-dragon/templates/item-${type}-sheet.html` :
- "systems/foundryvtt-reve-de-dragon/templates/item-sheet.html";
+ `systems/foundryvtt-reve-de-dragon/templates/item/${type}-sheet.hbs` :
+ "systems/foundryvtt-reve-de-dragon/templates/item/item-sheet.hbs";
}
static register(sheetClass) {
@@ -136,9 +135,7 @@ export class RdDItemSheet extends ItemSheet {
formData.gemmeTypeList = RdDGemme.getGemmeTypeOptionList();
RdDGemme.calculDataDerivees(this.item)
}
- if (this.item.type == ITEM_TYPES.potion) {
- RdDHerbes.calculFormData(formData, this.item)
- }
+
if (this.item.type == ITEM_TYPES.herbe) {
if (formData.options.isOwned && ['Soin', 'Repos'].includes(formData.system.categorie)) {
formData.isIngredientPotionBase = true;
@@ -193,14 +190,6 @@ export class RdDItemSheet extends ItemSheet {
this.supprimerBonusCase(event.currentTarget.attributes['data-deleteCoord'].value)
})
- this.html.find('.date-enchantement').change((event) => {
- const jour = Number(this.html.find('input.date-enchantement[name="enchantement.jour"]').val());
- const mois = RdDTimestamp.definition(this.html.find('select.date-enchantement[name="enchantement.mois"]').val());
- const indexDate = game.system.rdd.calendrier.getIndexFromDate(jour, mois.heure);
- this.item.update({ 'system.prdate': indexDate });
- console.warn(`Date d'enchantement modifiée ${jour}/${mois.heure}: ${indexDate}`)
- });
-
this.html.find('.creer-tache-livre').click((event) => this._getEventActor(event).creerTacheDepuisLivre(this.item));
this.html.find('.consommer-potion').click((event) => this._getEventActor(event).consommerPotion(this.item, this.getActionRenderItem()));
this.html.find('.creer-potion-base').click((event) => this._getEventActor(event).actionHerbe(this.item));
diff --git a/module/item.js b/module/item.js
index 74ac8bef..40ecfcac 100644
--- a/module/item.js
+++ b/module/item.js
@@ -1,7 +1,6 @@
import { DialogItemVente } from "./achat-vente/dialog-item-vente.js";
import { Grammar } from "./grammar.js";
import { Misc } from "./misc.js";
-import { RdDHerbes } from "./rdd-herbes.js";
import { RdDTimestamp } from "./time/rdd-timestamp.js";
import { RdDUtility } from "./rdd-utility.js";
import { SystemCompendiums } from "./settings/system-compendiums.js";
@@ -356,13 +355,6 @@ export class RdDItem extends Item {
getUtilisation() {
switch (this.type) {
- case ITEM_TYPES.potion:
- switch (this.system.categorie) {
- case 'Alchimie': case 'AlchimieEnchante': case 'AlchimieAutre': return 'alchimie'
- case 'Cuisine': return 'cuisine'
- case 'Remede': case 'Repos': case 'ReposEnchante': case 'Soin': case 'SoinEnchante': return 'soins'
- }
- return '';
case ITEM_TYPES.nourritureboisson: return 'cuisine';
case ITEM_TYPES.herbe: case ITEM_TYPES.faune: case ITEM_TYPES.ingredient: case ITEM_TYPES.plante:
switch (this.system.categorie) {
@@ -478,25 +470,11 @@ export class RdDItem extends Item {
super.prepareDerivedData();
if (this.isInventaire()) {
this.system.encTotal = this.getEncTotal();
- if (this.isPotion()) {
- this.prepareDataPotion()
- }
this.system.actionPrincipale = this.getActionPrincipale({ warnIfNot: false });
}
this.equipable = this.isEquipable();
}
- prepareDataPotion() {
- const categorie = Grammar.toLowerCaseNoAccent(this.system.categorie);
- this.system.magique = categorie.includes('enchante');
- if (this.system.magique) {
- if (categorie.includes('soin') || categorie.includes('repos')) {
- // TODO: utiliser calculPointsRepos / calculPointsGuerison
- this.system.puissance = RdDHerbes.calculPuissancePotion(this);
- }
- }
- }
-
getActionPrincipale(options = { warnIfNot: true }) {
switch (this.type) {
case ITEM_TYPES.conteneur: return 'Ouvrir';
@@ -514,7 +492,7 @@ export class RdDItem extends Item {
case ITEM_TYPES.queue: case ITEM_TYPES.ombre: return this.system.refoulement > 0 ? 'Refouler' : undefined;
}
}
- return undefined;
+ return undefined
}
/* -------------------------------------------- */
@@ -805,14 +783,6 @@ export class RdDItem extends Item {
]
}
/* -------------------------------------------- */
- _potionChatData() {
- return [
- `Rareté: ${this.system.rarete}`,
- `Catégorie: ${this.system.categorie}`,
- ...this._inventaireTemplateChatData()
- ]
- }
- /* -------------------------------------------- */
_queueChatData() {
function label(categorie) {
switch (categorie) {
diff --git a/module/item/potion.js b/module/item/potion.js
new file mode 100644
index 00000000..5110c151
--- /dev/null
+++ b/module/item/potion.js
@@ -0,0 +1,150 @@
+import { Grammar } from "../grammar.js";
+import { RdDItem } from "../item.js";
+import { SystemCompendiums } from "../settings/system-compendiums.js";
+import { RdDTimestamp } from "../time/rdd-timestamp.js";
+import { DialogEnchanter } from "./potion/dialog-enchanter.js";
+
+const POTION_MAGIQUE = ['AlchimieEnchante', 'ReposEnchante', 'SoinEnchante', 'AutreEnchante']
+const POTION_ENCHANTABLE = ['Alchimie', 'Repos', 'Soin', 'Autre']
+ .concat(POTION_MAGIQUE)
+
+const MAP_CATEGORIE_ENCHANTEMENT = [
+ { basique: 'Alchimie', enchante: 'AlchimieEnchante' },
+ { basique: 'Repos', enchante: 'ReposEnchante' },
+ { basique: 'Soin', enchante: 'SoinEnchante' },
+ { basique: 'Autre', enchante: 'AutreEnchante' }]
+
+export class RdDItemPotion extends RdDItem {
+
+ static async herbesSoins() {
+ return await RdDItemPotion.$listHerbes(it => Grammar.equalsInsensitive(it.system.categorie, 'Soin') && it.system.niveau > 0)
+ }
+ static async herbesRepos() {
+ return await RdDItemPotion.$listHerbes(it => Grammar.equalsInsensitive(it.system.categorie, 'Repos') && it.system.niveau > 0)
+ }
+
+ static async $listHerbes(filter) {
+ const herbes = await SystemCompendiums.getWorldOrCompendiumItems('herbe', 'faune-flore-mineraux');
+ return herbes.filter(filter)
+ }
+
+ static get defaultIcon() {
+ return "systems/foundryvtt-reve-de-dragon/icons/objets/liqueur_de_bagdol.webp"
+ }
+
+ prepareDerivedData() {
+ super.prepareDerivedData()
+ this.system.puissance = this.system.magique ? this.calculPuissance() : 0
+ }
+
+ isPotion() { return true }
+ isEnchantable() { return POTION_ENCHANTABLE.includes(this.system.categorie) }
+ isMagique() { return POTION_MAGIQUE.includes(this.system.categorie) }
+
+ getActions(options = { warnIfNot: true }) {
+ const actionConsommer = this.prepareAction('Consommer', options.warnIfNot);
+ if (this.isEnchantable()) {
+ return [
+ actionConsommer,
+ this.prepareAction('Enchanter', options.warnIfNot)
+ ]
+ }
+ return [
+ actionConsommer
+ ]
+ }
+
+
+ getUtilisation() {
+ switch (this.system.categorie) {
+ case 'Alchimie': case 'AlchimieEnchante':
+ case 'AlchimieAutre':
+ return 'alchimie'
+ case 'Cuisine': return 'cuisine'
+ case 'Remede': case 'Repos': case 'ReposEnchante': case 'Soin': case 'SoinEnchante':
+ return 'soins'
+ }
+ return ''
+ }
+
+ _potionChatData() {
+ return [
+ `Rareté: ${this.system.rarete}`,
+ `Catégorie: ${this.system.categorie}`,
+ ...this._inventaireTemplateChatData()
+ ]
+ }
+
+ async enchanterPotion() {
+ const actor = this.parent;
+ if (actor && (!actor.isPersonnage() || !actor.isHautRevant())) {
+ ui.notifications.info('Seul un haut rêvant peut enchanter une potion')
+ return
+ }
+ const dailog = await DialogEnchanter.create(this, actor, (updates) => this.$onEnchanterPotion(updates));
+ dailog.render(true)
+ }
+
+ perteRevePotion() {
+ if (this.system.magique && !this.system.prpermanent && this.system.pr > 0) {
+ const nouveauReve = Math.max(this.system.pr - 1, 0)
+ return {
+ _id: it._id,
+ name: this.name,
+ img: this.img,
+ 'system.pr': nouveauReve,
+ 'system.quantite': nouveauReve > 0 ? it.system.quantite : 0,
+ 'system.magique': nouveauReve > 0
+ }
+ }
+ return undefined
+ }
+
+ async $onEnchanterPotion(enchanter) {
+ if (enchanter.nouveaupr == 0) {
+ await this.update({
+ 'system.pr': 0,
+ 'system.purifie': false,
+ 'system.magique': false,
+ 'system.categorie': this.categorieEnchantement().basique,
+ 'system.prpermanent': false,
+ 'system.prdate': 0,
+ 'system.quantite': this.parent ? 0 : this.system.quantite
+ })
+ }
+ else {
+ const updates = {
+ 'system.pr': enchanter.nouveaupr,
+ 'system.purifie': enchanter.purifier,
+ 'system.magique': true,
+ 'system.categorie': this.categorieEnchantement().enchante,
+ 'system.prpermanent': enchanter.prpermanent,
+ 'system.prdate': RdDItemPotion.dateEnchantement()
+ }
+ this.update(updates)
+ }
+ }
+
+ calculPuissance() { return this.system.herbebonus * this.system.pr }
+
+ categorieEnchantement() {
+ const categorie = this.system.categorie
+ const categorieEnchantement = MAP_CATEGORIE_ENCHANTEMENT.find(it => [it.basique, it.enchante].includes(categorie))
+ return categorieEnchantement ?? { basique: categorie, enchante: categorie }
+ }
+
+ static dateEnchantement() {
+ return game.system.rdd.calendrier.getTimestamp().debutJournee()
+ }
+
+ static buildHerbesList(listeHerbes, max) {
+ let list = {}
+ for (let herbe of listeHerbes) {
+ let brins = max - herbe.system.niveau;
+ list[herbe.name] = `${herbe.name} (Bonus: ${herbe.system.niveau}, Brins: ${brins})`;
+ }
+ list['Autre'] = 'Autre (Bonus: variable, Brins: variable)'
+ return list;
+ }
+
+}
\ No newline at end of file
diff --git a/module/item/potion/dialog-enchanter.js b/module/item/potion/dialog-enchanter.js
new file mode 100644
index 00000000..248f9485
--- /dev/null
+++ b/module/item/potion/dialog-enchanter.js
@@ -0,0 +1,46 @@
+
+export class DialogEnchanter extends Dialog {
+
+ static async create(item, actor, callback) {
+ const enchanter = {
+ actor: actor,
+ item: item,
+ nouveaupr: item.system.pr,
+ prpermanent: item.system.prpermanent,
+ purifier: false
+ }
+ const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/item/potion/dialog-enchanter.hbs`, enchanter)
+ return new DialogEnchanter(enchanter, html, callback)
+ }
+
+ constructor(enchanter, html, callback) {
+ let options = { classes: ["dialog-enchanter"], width: 400, height: 'fit-content', 'z-index': 99999 }
+ let conf = {
+ title: "Enchanter une potion",
+ content: html,
+ default: "enchanter",
+ buttons: {
+ "enchanter": { label: "Enchanter", callback: it => this.onEnchanter() }
+ }
+ };
+ super(conf, options)
+
+ this.callback = callback
+ this.enchanter = enchanter
+ }
+
+ activateListeners(html) {
+ super.activateListeners(html)
+ this.html = html
+ this.html.find("input.nouveaupr").change(event => this.enchanter.nouveaupr = Number(event.currentTarget.value))
+ this.html.find("input.purifier").change(event => this.enchanter.purifier = event.currentTarget.checked)
+ this.html.find("input.prpermanent").change(event => this.enchanter.prpermanent = event.currentTarget.checked)
+ }
+
+
+ async onEnchanter() {
+ await this.html.find(".nouveaupr").change()
+ this.callback(this.enchanter);
+ }
+
+}
\ No newline at end of file
diff --git a/module/item/sheet-potion.js b/module/item/sheet-potion.js
new file mode 100644
index 00000000..ff29ebb9
--- /dev/null
+++ b/module/item/sheet-potion.js
@@ -0,0 +1,57 @@
+import { ITEM_TYPES } from "../item.js";
+import { RdDTimestamp } from "../time/rdd-timestamp.js";
+import { RdDItemPotion } from "./potion.js";
+import { RdDItemInventaireSheet } from "./sheet-base-inventaire.js";
+
+
+export class RdDPotionItemSheet extends RdDItemInventaireSheet {
+
+ static get ITEM_TYPE() { return ITEM_TYPES.potion };
+
+ static $calculBonusHerbe(formData, herbesList, max) {
+ if (Number(formData.system.herbebrins)) {
+ let herbe = herbesList.find(h => h.name.toLowerCase() == formData.system.herbe.toLowerCase());
+ if (herbe) {
+ const brinsRequis = max - herbe.system.niveau;
+ const brinsManquants = Math.max(brinsRequis - formData.system.herbebrins, 0);
+ formData.system.herbebonus = Math.max(herbe.system.niveau - brinsManquants, 0);
+ }
+ }
+ }
+ get potion(){ return this.item }
+
+ async getData() {
+ const formData = await super.getData()
+ formData.enchantable = this.potion.isEnchantable()
+ const enchantement = this.potion.categorieEnchantement()
+ formData.isSoins = enchantement.basique == 'Soin'
+ formData.isRepos = enchantement.basique == 'Repos'
+ if (formData.isSoins) {
+ const herbesSoins = await RdDItemPotion.herbesSoins()
+ RdDPotionItemSheet.$calculBonusHerbe(formData, herbesSoins, 12);
+ formData.herbesSoins = RdDItemPotion.buildHerbesList(herbesSoins, 12)
+ }
+ if (formData.isRepos) {
+ const herbesRepos = await RdDItemPotion.herbesRepos()
+ RdDPotionItemSheet.$calculBonusHerbe(formData, herbesRepos, 7);
+ formData.herbesRepos = RdDItemPotion.buildHerbesList(herbesRepos, 7)
+ }
+ formData.dateActuelle = game.system.rdd.calendrier.dateCourante()
+ formData.enchantement = RdDTimestamp.splitIndexDate(this.potion.system.prdate)
+ return formData
+ }
+
+ activateListeners(html) {
+ super.activateListeners(html);
+ this.html.find('.enchanter-potion').click((event) => this.potion.enchanterPotion())
+
+ this.html.find('.date-enchantement').change((event) => {
+ const jour = Number(this.html.find('input.date-enchantement[name="enchantement.jour"]').val())
+ const mois = RdDTimestamp.definition(this.html.find('select.date-enchantement[name="enchantement.mois"]').val())
+ const indexDate = game.system.rdd.calendrier.getIndexFromDate(jour, mois.heure)
+ this.potion.update({ 'system.prdate': indexDate })
+ console.warn(`Date d'enchantement modifiée ${jour}/${mois.heure}: ${indexDate}`)
+ });
+
+ }
+}
diff --git a/module/rdd-herbes.js b/module/rdd-herbes.js
deleted file mode 100644
index 2a94b5ff..00000000
--- a/module/rdd-herbes.js
+++ /dev/null
@@ -1,73 +0,0 @@
-import { Grammar } from "./grammar.js";
-import { SystemCompendiums } from "./settings/system-compendiums.js";
-import { RdDTimestamp } from "./time/rdd-timestamp.js";
-
-/* -------------------------------------------- */
-export class RdDHerbes extends Item {
-
- /* -------------------------------------------- */
- static async onReady() {
- this.herbesSoins = await RdDHerbes.listCategorieHerbes('Soin');
- this.herbesRepos = await RdDHerbes.listCategorieHerbes('Repos');
- }
-
- static async listCategorieHerbes(categorie) {
- const herbes = await SystemCompendiums.getWorldOrCompendiumItems('herbe', 'faune-flore-mineraux');
- return herbes.filter(it => Grammar.equalsInsensitive(it.system.categorie, categorie));
- }
-
- /* -------------------------------------------- */
- static buildHerbesList(listeHerbes, max) {
- let list = {}
- for (let herbe of listeHerbes) {
- let brins = max - herbe.system.niveau;
- list[herbe.name] = `${herbe.name} (Bonus: ${herbe.system.niveau}, Brins: ${brins})`;
- }
- list['Autre'] = 'Autre (Bonus: variable, Brins: variable)'
- return list;
- }
-
- /* -------------------------------------------- */
- static calculFormData(formData, item) {
- formData.isSoins = item.system.categorie.includes('Soin');
- formData.isRepos = item.system.categorie.includes('Repos');
- if (formData.isSoins) {
- RdDHerbes.calculBonusHerbe(formData, this.herbesSoins, 12);
- }
- if (formData.isRepos) {
- RdDHerbes.calculBonusHerbe(formData, this.herbesRepos, 7);
- }
- formData.herbesSoins = RdDHerbes.buildHerbesList(this.herbesSoins, 12);
- formData.herbesRepos = RdDHerbes.buildHerbesList(this.herbesRepos, 7);
- formData.dateActuelle = game.system.rdd.calendrier.dateCourante();
- formData.enchantement = RdDTimestamp.splitIndexDate(item.system.prdate);
- }
-
- /* -------------------------------------------- */
- static calculPuissancePotion(potion) {
- return potion.system.herbebonus * potion.system.pr;
- }
-
- /* -------------------------------------------- */
- static calculPointsRepos(potion) {
- return potion.system.herbebonus * potion.system.pr;
- }
-
- /* -------------------------------------------- */
- static calculPointsGuerison(potion) {
- return potion.system.herbebonus * potion.system.pr;
- }
-
- /* -------------------------------------------- */
- static calculBonusHerbe(formData, herbesList, max) {
- if (Number(formData.system.herbebrins)) {
- let herbe = herbesList.find(item => item.name.toLowerCase() == formData.system.herbe.toLowerCase());
- if (herbe) {
- const brinsRequis = max - herbe.system.niveau;
- const brinsManquants = Math.max(brinsRequis - formData.system.herbebrins, 0);
- formData.system.herbebonus = Math.max(herbe.system.niveau - brinsManquants, 0);
- }
- }
- }
-
-}
\ No newline at end of file
diff --git a/module/rdd-main.js b/module/rdd-main.js
index 2096ca9f..907781c1 100644
--- a/module/rdd-main.js
+++ b/module/rdd-main.js
@@ -18,7 +18,6 @@ import { RdDCompendiumOrganiser } from "./rdd-compendium-organiser.js"
import { ReglesOptionnelles } from "./settings/regles-optionnelles.js"
import { RdDHotbar } from "./rdd-hotbar-drop.js"
import { EffetsDraconiques } from "./tmr/effets-draconiques.js"
-import { RdDHerbes } from "./rdd-herbes.js"
import { RdDDice } from "./rdd-dice.js"
import { RdDPossession } from "./rdd-possession.js"
import { Misc } from "./misc.js"
@@ -76,7 +75,8 @@ import { AppPersonnageAleatoire } from "./actor/random/app-personnage-aleatoire.
import { RdDActorExportSheet } from "./actor/export-scriptarium/actor-encart-sheet.js"
import { RdDStatBlockParser } from "./apps/rdd-import-stats.js"
import { RdDJournalSheet } from "./journal/journal-sheet.js"
-import { RdDTextEditor } from "./apps/rdd-text-roll-editor.js"
+import { RdDPotionItemSheet } from "./item/sheet-potion.js"
+import { RdDItemPotion } from "./item/potion.js"
/**
* RdD system
@@ -105,6 +105,7 @@ export class SystemReveDeDragon {
poison: RdDItemPoison,
queue: RdDItemQueue,
tete: RdDItemTete,
+ potion: RdDItemPotion,
race: RdDItemRace,
rencontre: RdDRencontre,
service: RdDItemService,
@@ -195,6 +196,7 @@ export class SystemReveDeDragon {
RdDItemSheet.register(RdDHerbeItemSheet)
RdDItemSheet.register(RdDFauneItemSheet)
RdDItemSheet.register(RdDPlanteItemSheet)
+ RdDItemSheet.register(RdDPotionItemSheet)
RdDItemSheet.register(RdDIngredientItemSheet)
RdDItemSheet.register(RdDServiceItemSheet)
RdDItemSheet.register(RdDBlessureItemSheet)
@@ -202,9 +204,10 @@ export class SystemReveDeDragon {
Items.registerSheet(SYSTEM_RDD, RdDItemInventaireSheet, {
types: [
- "objet", "arme", "armure", "livre", "potion", "munition",
+ "objet", "arme", "armure", "livre", "munition",
"monnaie", "nourritureboisson", "gemme",
- ], makeDefault: true
+ ],
+ makeDefault: true
})
Items.registerSheet(SYSTEM_RDD, RdDItemSheet, {
types: [
@@ -214,7 +217,8 @@ export class SystemReveDeDragon {
"queue", "ombre", "souffle", "tete", "casetmr", "sort", "sortreserve",
"nombreastral", "tache", "maladie", "poison", "possession",
"tarot", "extraitpoetique", "empoignade"
- ], makeDefault: true
+ ],
+ makeDefault: true
})
// préparation des différents modules
@@ -316,7 +320,6 @@ export class SystemReveDeDragon {
}
StatusEffects.onReady()
- RdDHerbes.onReady()
RdDDice.onReady()
RdDStatBlockParser.parseStatBlock()
diff --git a/module/rdd-utility.js b/module/rdd-utility.js
index e592dcc2..b4da7b51 100644
--- a/module/rdd-utility.js
+++ b/module/rdd-utility.js
@@ -180,8 +180,9 @@ export class RdDUtility {
'systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html',
'systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html',
'systems/foundryvtt-reve-de-dragon/templates/item/partial-tab-environnement.html',
- 'systems/foundryvtt-reve-de-dragon/templates/item-queue-sheet.html',
'systems/foundryvtt-reve-de-dragon/templates/header-item.html',
+
+ 'systems/foundryvtt-reve-de-dragon/templates/item/queue-sheet.hbs',
// partial enums
'systems/foundryvtt-reve-de-dragon/templates/enum-aspect-tarot.html',
'systems/foundryvtt-reve-de-dragon/templates/enum-base-competence.html',
@@ -189,7 +190,7 @@ export class RdDUtility {
'systems/foundryvtt-reve-de-dragon/templates/enum-categories.html',
'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-ingredient.html',
'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html',
- 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-potion.html',
+ 'systems/foundryvtt-reve-de-dragon/templates/item/potion-enum-categorie.hbs',
'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-queue.html',
'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-vehicule.html',
'systems/foundryvtt-reve-de-dragon/templates/enum-competence.html',
diff --git a/module/time/rdd-timestamp.js b/module/time/rdd-timestamp.js
index b1cb827b..6e010cff 100644
--- a/module/time/rdd-timestamp.js
+++ b/module/time/rdd-timestamp.js
@@ -334,6 +334,12 @@ export class RdDTimestamp {
return this.nouvelleHeure().addHeures((12 + heure - this.heure) % 12);
}
+ debutJournee() {
+ return RdDTimestamp.timestamp(this.timestamp.annee,
+ this.timestamp.mois,
+ this.timestamp.jour)
+ }
+
async appliquerDuree(duree, actor) {
const formule = FORMULES_DUREE.find(it => it.code == duree) ?? FORMULES_DUREE.find(it => it.code == "");
return await formule.calcul(this, actor);
diff --git a/template.json b/template.json
index f1835b56..fec10313 100644
--- a/template.json
+++ b/template.json
@@ -802,7 +802,9 @@
"herbebrins": 0,
"herbebonus": 0,
"reposalchimique": false,
+ "magique": false,
"pr": 0,
+ "purifie": false,
"prpermanent": false,
"prdate": 0
},
diff --git a/templates/item-ombre-sheet.html b/templates/item-ombre-sheet.html
deleted file mode 100644
index 51f6c0d3..00000000
--- a/templates/item-ombre-sheet.html
+++ /dev/null
@@ -1 +0,0 @@
-{{>"systems/foundryvtt-reve-de-dragon/templates/item-queue-sheet.html"}}
diff --git a/templates/item-arme-sheet.html b/templates/item/arme-sheet.hbs
similarity index 100%
rename from templates/item-arme-sheet.html
rename to templates/item/arme-sheet.hbs
diff --git a/templates/item-armure-sheet.html b/templates/item/armure-sheet.hbs
similarity index 100%
rename from templates/item-armure-sheet.html
rename to templates/item/armure-sheet.hbs
diff --git a/templates/item-blessure-sheet.html b/templates/item/blessure-sheet.hbs
similarity index 100%
rename from templates/item-blessure-sheet.html
rename to templates/item/blessure-sheet.hbs
diff --git a/templates/item-casetmr-sheet.html b/templates/item/casetmr-sheet.hbs
similarity index 100%
rename from templates/item-casetmr-sheet.html
rename to templates/item/casetmr-sheet.hbs
diff --git a/templates/item-chant-sheet.html b/templates/item/chant-sheet.hbs
similarity index 100%
rename from templates/item-chant-sheet.html
rename to templates/item/chant-sheet.hbs
diff --git a/templates/item-competence-sheet.html b/templates/item/competence-sheet.hbs
similarity index 100%
rename from templates/item-competence-sheet.html
rename to templates/item/competence-sheet.hbs
diff --git a/templates/item-competencecreature-sheet.html b/templates/item/competencecreature-sheet.hbs
similarity index 100%
rename from templates/item-competencecreature-sheet.html
rename to templates/item/competencecreature-sheet.hbs
diff --git a/templates/item-conteneur-sheet.html b/templates/item/conteneur-sheet.hbs
similarity index 100%
rename from templates/item-conteneur-sheet.html
rename to templates/item/conteneur-sheet.hbs
diff --git a/templates/item-danse-sheet.html b/templates/item/danse-sheet.hbs
similarity index 100%
rename from templates/item-danse-sheet.html
rename to templates/item/danse-sheet.hbs
diff --git a/templates/item-empoignade-sheet.html b/templates/item/empoignade-sheet.hbs
similarity index 100%
rename from templates/item-empoignade-sheet.html
rename to templates/item/empoignade-sheet.hbs
diff --git a/templates/item-extraitpoetique-sheet.html b/templates/item/extraitpoetique-sheet.hbs
similarity index 100%
rename from templates/item-extraitpoetique-sheet.html
rename to templates/item/extraitpoetique-sheet.hbs
diff --git a/templates/item-faune-sheet.html b/templates/item/faune-sheet.hbs
similarity index 100%
rename from templates/item-faune-sheet.html
rename to templates/item/faune-sheet.hbs
diff --git a/templates/item-gemme-sheet.html b/templates/item/gemme-sheet.hbs
similarity index 100%
rename from templates/item-gemme-sheet.html
rename to templates/item/gemme-sheet.hbs
diff --git a/templates/item-herbe-sheet.html b/templates/item/herbe-sheet.hbs
similarity index 100%
rename from templates/item-herbe-sheet.html
rename to templates/item/herbe-sheet.hbs
diff --git a/templates/item-ingredient-sheet.html b/templates/item/ingredient-sheet.hbs
similarity index 100%
rename from templates/item-ingredient-sheet.html
rename to templates/item/ingredient-sheet.hbs
diff --git a/templates/item-sheet.html b/templates/item/item-sheet.hbs
similarity index 100%
rename from templates/item-sheet.html
rename to templates/item/item-sheet.hbs
diff --git a/templates/item-jeu-sheet.html b/templates/item/jeu-sheet.hbs
similarity index 100%
rename from templates/item-jeu-sheet.html
rename to templates/item/jeu-sheet.hbs
diff --git a/templates/item-livre-sheet.html b/templates/item/livre-sheet.hbs
similarity index 100%
rename from templates/item-livre-sheet.html
rename to templates/item/livre-sheet.hbs
diff --git a/templates/item-maladie-sheet.html b/templates/item/maladie-sheet.hbs
similarity index 100%
rename from templates/item-maladie-sheet.html
rename to templates/item/maladie-sheet.hbs
diff --git a/templates/item-meditation-sheet.html b/templates/item/meditation-sheet.hbs
similarity index 100%
rename from templates/item-meditation-sheet.html
rename to templates/item/meditation-sheet.hbs
diff --git a/templates/item-monnaie-sheet.html b/templates/item/monnaie-sheet.hbs
similarity index 100%
rename from templates/item-monnaie-sheet.html
rename to templates/item/monnaie-sheet.hbs
diff --git a/templates/item-munition-sheet.html b/templates/item/munition-sheet.hbs
similarity index 100%
rename from templates/item-munition-sheet.html
rename to templates/item/munition-sheet.hbs
diff --git a/templates/item-musique-sheet.html b/templates/item/musique-sheet.hbs
similarity index 100%
rename from templates/item-musique-sheet.html
rename to templates/item/musique-sheet.hbs
diff --git a/templates/item-nombreastral-sheet.html b/templates/item/nombreastral-sheet.hbs
similarity index 100%
rename from templates/item-nombreastral-sheet.html
rename to templates/item/nombreastral-sheet.hbs
diff --git a/templates/item-nourritureboisson-sheet.html b/templates/item/nourritureboisson-sheet.hbs
similarity index 100%
rename from templates/item-nourritureboisson-sheet.html
rename to templates/item/nourritureboisson-sheet.hbs
diff --git a/templates/item-objet-sheet.html b/templates/item/objet-sheet.hbs
similarity index 100%
rename from templates/item-objet-sheet.html
rename to templates/item/objet-sheet.hbs
diff --git a/templates/item-oeuvre-sheet.html b/templates/item/oeuvre-sheet.hbs
similarity index 100%
rename from templates/item-oeuvre-sheet.html
rename to templates/item/oeuvre-sheet.hbs
diff --git a/templates/item/ombre-sheet.hbs b/templates/item/ombre-sheet.hbs
new file mode 100644
index 00000000..eba4bac7
--- /dev/null
+++ b/templates/item/ombre-sheet.hbs
@@ -0,0 +1 @@
+{{>"systems/foundryvtt-reve-de-dragon/templates/item/queue-sheet.hbs"}}
diff --git a/templates/item-plante-sheet.html b/templates/item/plante-sheet.hbs
similarity index 100%
rename from templates/item-plante-sheet.html
rename to templates/item/plante-sheet.hbs
diff --git a/templates/item-poison-sheet.html b/templates/item/poison-sheet.hbs
similarity index 100%
rename from templates/item-poison-sheet.html
rename to templates/item/poison-sheet.hbs
diff --git a/templates/item-possession-sheet.html b/templates/item/possession-sheet.hbs
similarity index 100%
rename from templates/item-possession-sheet.html
rename to templates/item/possession-sheet.hbs
diff --git a/templates/enum-categorie-potion.html b/templates/item/potion-enum-categorie.hbs
similarity index 95%
rename from templates/enum-categorie-potion.html
rename to templates/item/potion-enum-categorie.hbs
index cf7325ef..a96437d0 100644
--- a/templates/enum-categorie-potion.html
+++ b/templates/item/potion-enum-categorie.hbs
@@ -1,12 +1,14 @@
-
-
+
-
-
+{{#if enchantable}}
+
+
+
+{{/if}}
diff --git a/templates/item-potion-sheet.html b/templates/item/potion-sheet.hbs
similarity index 55%
rename from templates/item-potion-sheet.html
rename to templates/item/potion-sheet.hbs
index 9ff3814d..ede90bbf 100644
--- a/templates/item-potion-sheet.html
+++ b/templates/item/potion-sheet.hbs
@@ -3,11 +3,14 @@
Poudre brune apparaissant sur les parois des grottes.
-VUE/Alchimie à -1.
+@roll[VUE/Alchimie/-1].
descriptionmj: '' encombrement: 0.001 quantite: 1 diff --git a/packs_src/faune-flore-mineraux/ingredient_Candique_FjfZ789LlkzUUSMU.yml b/packs_src/faune-flore-mineraux/ingredient_Candique_FjfZ789LlkzUUSMU.yml index 254a5ab4..a066aee9 100644 --- a/packs_src/faune-flore-mineraux/ingredient_Candique_FjfZ789LlkzUUSMU.yml +++ b/packs_src/faune-flore-mineraux/ingredient_Candique_FjfZ789LlkzUUSMU.yml @@ -7,7 +7,7 @@ system:Poudre blanche apparaissant sous l’écorce de nombreux arbres,
-VUE/Alchimie à 0.
+@roll[VUE/Alchimie/0].
descriptionmj: '' encombrement: 0.001 quantite: 1 diff --git a/packs_src/faune-flore-mineraux/ingredient_Chramaelium_NNTl6CAdRZcylrU1.yml b/packs_src/faune-flore-mineraux/ingredient_Chramaelium_NNTl6CAdRZcylrU1.yml index 0dd8fb20..3e508244 100644 --- a/packs_src/faune-flore-mineraux/ingredient_Chramaelium_NNTl6CAdRZcylrU1.yml +++ b/packs_src/faune-flore-mineraux/ingredient_Chramaelium_NNTl6CAdRZcylrU1.yml @@ -7,7 +7,7 @@ system:Poudre rouge obtenue par disruption alchimique de la chramaele, minerai ayant l’apparence de la glaise.
-VUE/Alchimie à -4
+@roll[VUE/Alchimie/-4]
descriptionmj: '' encombrement: 0.001 quantite: 1 diff --git a/packs_src/faune-flore-mineraux/ingredient_Nartha_SiFtJoydPawJaMKA.yml b/packs_src/faune-flore-mineraux/ingredient_Nartha_SiFtJoydPawJaMKA.yml index 5cf550fb..b8c77741 100644 --- a/packs_src/faune-flore-mineraux/ingredient_Nartha_SiFtJoydPawJaMKA.yml +++ b/packs_src/faune-flore-mineraux/ingredient_Nartha_SiFtJoydPawJaMKA.yml @@ -7,7 +7,7 @@ system:Poudre noire obtenue par disruption alchimique du minerai appelé narthalide, sorte de marne.
-VUE/Alchimie à -3
+@roll[VUE/Alchimie/-3]
descriptionmj: '' encombrement: 0.001 quantite: 1 diff --git a/packs_src/faune-flore-mineraux/ingredient_Obbadion_f4TPpX03pJuyBkuX.yml b/packs_src/faune-flore-mineraux/ingredient_Obbadion_f4TPpX03pJuyBkuX.yml index aa79c313..36d58fc5 100644 --- a/packs_src/faune-flore-mineraux/ingredient_Obbadion_f4TPpX03pJuyBkuX.yml +++ b/packs_src/faune-flore-mineraux/ingredient_Obbadion_f4TPpX03pJuyBkuX.yml @@ -7,7 +7,7 @@ system:Poudre bleuâtre obtenue par disruption alchimique du minerai appelé obbadine, sorte de tourbe.
-VUE/Alchimie à -2
+@roll[VUE/Alchimie/-2]
descriptionmj: '' encombrement: 0.001 quantite: 1 diff --git a/packs_src/faune-flore-mineraux/ingredient_Obyssum_gris_m9ONkzH9KwLk3P3i.yml b/packs_src/faune-flore-mineraux/ingredient_Obyssum_gris_m9ONkzH9KwLk3P3i.yml index 26a10a38..b7f369fe 100644 --- a/packs_src/faune-flore-mineraux/ingredient_Obyssum_gris_m9ONkzH9KwLk3P3i.yml +++ b/packs_src/faune-flore-mineraux/ingredient_Obyssum_gris_m9ONkzH9KwLk3P3i.yml @@ -7,7 +7,7 @@ system:Plus rare que le vert, poudre grisâtre apparaissant le long de certaines lianes des marais.
-VUE/Alchimie à -4
+@roll[VUE/Alchimie/-4]
descriptionmj: '' encombrement: 0.001 quantite: 1 diff --git a/packs_src/faune-flore-mineraux/ingredient_Obyssum_vert_HTtgzxpvUvMHilqx.yml b/packs_src/faune-flore-mineraux/ingredient_Obyssum_vert_HTtgzxpvUvMHilqx.yml index d2c6944c..2a9219a4 100644 --- a/packs_src/faune-flore-mineraux/ingredient_Obyssum_vert_HTtgzxpvUvMHilqx.yml +++ b/packs_src/faune-flore-mineraux/ingredient_Obyssum_vert_HTtgzxpvUvMHilqx.yml @@ -5,7 +5,7 @@ effects: [] system: description: |-Poudre verdâtre apparaissant sur les tiges de certains roseaux.
-VUE/Alchimie à -2
+@roll[VUE/Alchimie/-2]
descriptionmj: '' encombrement: 0.001 quantite: 1 diff --git a/packs_src/ombres-de-thanatos/ombre_Coup_de_barre_PMz7SaB6sRxhwrWw.yml b/packs_src/ombres-de-thanatos/ombre_Coup_de_barre_PMz7SaB6sRxhwrWw.yml index d9ee9912..6e90ada8 100644 --- a/packs_src/ombres-de-thanatos/ombre_Coup_de_barre_PMz7SaB6sRxhwrWw.yml +++ b/packs_src/ombres-de-thanatos/ombre_Coup_de_barre_PMz7SaB6sRxhwrWw.yml @@ -4,7 +4,7 @@ type: ombre img: systems/foundryvtt-reve-de-dragon/icons/queue_dragon.webp effects: [] system: - description:Prise immédiate de 3d6 points de fatigue.
+ description:Prise immédiate de @roll[3d6] points de fatigue.
descriptionmj: '' temporel: debut: diff --git a/packs_src/queues-de-dragon/queue_Casser_3d6_oeufs_en_les_jetant___terre_OjG8XRbeYtq2jcgB.yml b/packs_src/queues-de-dragon/queue_Casser_3d6_oeufs_en_les_jetant___terre_OjG8XRbeYtq2jcgB.yml index 2b6678a5..ce377cc1 100644 --- a/packs_src/queues-de-dragon/queue_Casser_3d6_oeufs_en_les_jetant___terre_OjG8XRbeYtq2jcgB.yml +++ b/packs_src/queues-de-dragon/queue_Casser_3d6_oeufs_en_les_jetant___terre_OjG8XRbeYtq2jcgB.yml @@ -1,5 +1,5 @@ _id: OjG8XRbeYtq2jcgB -name: Casser 3d6 oeufs en les jetant à terre +name: Casser @roll[3d6] oeufs en les jetant à terre type: queue img: systems/foundryvtt-reve-de-dragon/icons/queues/desir_lancinant.webp effects: [] diff --git a/packs_src/queues-de-dragon/queue_Coup_de_barre_Qgj5eSMpQ0IDHwZX.yml b/packs_src/queues-de-dragon/queue_Coup_de_barre_Qgj5eSMpQ0IDHwZX.yml index 173193f8..d6b0f31c 100644 --- a/packs_src/queues-de-dragon/queue_Coup_de_barre_Qgj5eSMpQ0IDHwZX.yml +++ b/packs_src/queues-de-dragon/queue_Coup_de_barre_Qgj5eSMpQ0IDHwZX.yml @@ -4,7 +4,7 @@ type: queue img: systems/foundryvtt-reve-de-dragon/icons/queue_dragon.webp effects: [] system: - description:Prise immédiate de 3d6 points de fatigue.
+ description:Prise immédiate de @roll[3d6] points de fatigue.
descriptionmj: '' temporel: debut: diff --git a/packs_src/queues-de-dragon/queue_Garder_sur_soi_3d6_kilos_de_cailloux_F8G3rdU1nfJzYwYR.yml b/packs_src/queues-de-dragon/queue_Garder_sur_soi_3d6_kilos_de_cailloux_F8G3rdU1nfJzYwYR.yml index da79c531..403b211d 100644 --- a/packs_src/queues-de-dragon/queue_Garder_sur_soi_3d6_kilos_de_cailloux_F8G3rdU1nfJzYwYR.yml +++ b/packs_src/queues-de-dragon/queue_Garder_sur_soi_3d6_kilos_de_cailloux_F8G3rdU1nfJzYwYR.yml @@ -1,5 +1,5 @@ _id: F8G3rdU1nfJzYwYR -name: Garder sur soi 3d6 kilos de cailloux +name: Garder sur soi @roll[3d6] kilos de cailloux type: queue img: systems/foundryvtt-reve-de-dragon/icons/queues/idee_fixe.webp effects: [] diff --git a/packs_src/recettes-alchimiques/recettealchimique_Bitume_de_Camphre_RXQcnXK88LjMICB5.yml b/packs_src/recettes-alchimiques/recettealchimique_Bitume_de_Camphre_RXQcnXK88LjMICB5.yml index b3733112..4d3999d0 100644 --- a/packs_src/recettes-alchimiques/recettealchimique_Bitume_de_Camphre_RXQcnXK88LjMICB5.yml +++ b/packs_src/recettes-alchimiques/recettealchimique_Bitume_de_Camphre_RXQcnXK88LjMICB5.yml @@ -9,7 +9,7 @@ system:L’huile de pierre (pétrole brut) se trouve naturellement à la surface de certains marais.
-VUE/Alchimie à zéro pour l’identifier.
+@roll[VUE/Alchimie/0] pour l’identifier.
diff --git a/packs_src/tables-diverses/tables_D_sirs_lancinants_sVWhyr4wPnieuPP8.yml b/packs_src/tables-diverses/tables_D_sirs_lancinants_sVWhyr4wPnieuPP8.yml index 5d1f1af0..5e2b46bc 100644 --- a/packs_src/tables-diverses/tables_D_sirs_lancinants_sVWhyr4wPnieuPP8.yml +++ b/packs_src/tables-diverses/tables_D_sirs_lancinants_sVWhyr4wPnieuPP8.yml @@ -252,7 +252,7 @@ results: - _id: 5AHjNXDrQL5TqLjv flags: {} type: pack - text: 'Désir lancinant : Casser 3d6 oeufs en les jetant à terre' + text: 'Désir lancinant : Casser @roll[3d6] oeufs en les jetant à terre' img: systems/foundryvtt-reve-de-dragon/icons/queues/desir_lancinant.webp weight: 1 range: diff --git a/packs_src/tables-diverses/tables_Id_es_fixes_nbH4v630P7ARaAHk.yml b/packs_src/tables-diverses/tables_Id_es_fixes_nbH4v630P7ARaAHk.yml index 4ff01473..34806c39 100644 --- a/packs_src/tables-diverses/tables_Id_es_fixes_nbH4v630P7ARaAHk.yml +++ b/packs_src/tables-diverses/tables_Id_es_fixes_nbH4v630P7ARaAHk.yml @@ -64,7 +64,7 @@ results: - _id: P0eaJjtQQfpNIL9I flags: {} type: pack - text: 'Idée fixe : Garder sur soi 3d6 kilos de cailloux' + text: 'Idée fixe : Garder sur soi @roll[3d6] kilos de cailloux' img: systems/foundryvtt-reve-de-dragon/icons/queues/idee_fixe.webp weight: 1 range: diff --git a/packs_src/tables-diverses/tables_Table_sp_ciale_de_rencontres_66ye0OOxBO9LEjdd.yml b/packs_src/tables-diverses/tables_Table_sp_ciale_de_rencontres_66ye0OOxBO9LEjdd.yml index 06cbd2df..d608e7bf 100644 --- a/packs_src/tables-diverses/tables_Table_sp_ciale_de_rencontres_66ye0OOxBO9LEjdd.yml +++ b/packs_src/tables-diverses/tables_Table_sp_ciale_de_rencontres_66ye0OOxBO9LEjdd.yml @@ -37,7 +37,7 @@ results: - _id: wpUaRAW4HVRM8eOs flags: {} type: text - text: Reflet d’ancien rêve 2d6+4. + text: Reflet d’ancien rêve @roll[2d6+4]. img: systems/foundryvtt-reve-de-dragon/icons/heures/hd06.webp weight: 1 range: @@ -53,7 +53,7 @@ results: - _id: tPwuPqShKzWo5jkG flags: {} type: text - text: Tourbillon blanc 2d6+4. + text: Tourbillon blanc @roll[2d6+4]. img: systems/foundryvtt-reve-de-dragon/icons/heures/hd06.webp weight: 1 range: From ac29e1410e277e4df204165f4a22357d9a1ce6d5 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck
Poudre brune apparaissant sur les parois des grottes.
-VUE/Alchimie à -1.
+@roll[VUE/Alchimie/-1].
descriptionmj: '' encombrement: 0.001 quantite: 1 @@ -8818,7 +8818,7 @@ items:Poudre blanche apparaissant sous l’écorce de nombreux arbres,
-VUE/Alchimie à 0.
+@roll[VUE/Alchimie/0].
descriptionmj: '' encombrement: 0.001 quantite: 1 @@ -8854,7 +8854,7 @@ items:Poudre rouge obtenue par disruption alchimique de la chramaele, minerai ayant l’apparence de la glaise.
-VUE/Alchimie à -4
+@roll[VUE/Alchimie/-4]
descriptionmj: '' encombrement: 0.001 quantite: 1 @@ -8899,7 +8899,7 @@ items:Poudre noire obtenue par disruption alchimique du minerai appelé narthalide, sorte de marne.
-VUE/Alchimie à -3
+@roll[VUE/Alchimie/-3]
descriptionmj: '' encombrement: 0.001 quantite: 1 @@ -8941,7 +8941,7 @@ items:Poudre bleuâtre obtenue par disruption alchimique du minerai appelé obbadine, sorte de tourbe.
-VUE/Alchimie à -2
+@roll[VUE/Alchimie/-2]
descriptionmj: '' encombrement: 0.001 quantite: 1 @@ -8983,7 +8983,7 @@ items:Plus rare que le vert, poudre grisâtre apparaissant le long de certaines lianes des marais.
-VUE/Alchimie à -4
+@roll[VUE/Alchimie/-4]
descriptionmj: '' encombrement: 0.001 quantite: 1 @@ -9019,7 +9019,7 @@ items:Poudre verdâtre apparaissant sur les tiges de certains roseaux.
-VUE/Alchimie à -2
+@roll[VUE/Alchimie/-2]
descriptionmj: '' encombrement: 0.001 quantite: 1 diff --git a/packs_src/equipement/potion_Elixir_des_gnomes_JXMef7FXVOG1XYWO.yml b/packs_src/equipement/potion_Elixir_des_gnomes_JXMef7FXVOG1XYWO.yml index 9e54b3ef..163bd09f 100644 --- a/packs_src/equipement/potion_Elixir_des_gnomes_JXMef7FXVOG1XYWO.yml +++ b/packs_src/equipement/potion_Elixir_des_gnomes_JXMef7FXVOG1XYWO.yml @@ -30,7 +30,7 @@ system: indexDate: -1 indexMinute: 0 rarete: '' - categorie: Remede + categorie: Alchimie herbe: '' herbebrins: 0 herbebonus: 0 diff --git a/packs_src/equipement/potion_Huile_de_S_likanthe_LkE8EjPfao9m6Rn7.yml b/packs_src/equipement/potion_Huile_de_S_likanthe_LkE8EjPfao9m6Rn7.yml index 51bd9957..86834b00 100644 --- a/packs_src/equipement/potion_Huile_de_S_likanthe_LkE8EjPfao9m6Rn7.yml +++ b/packs_src/equipement/potion_Huile_de_S_likanthe_LkE8EjPfao9m6Rn7.yml @@ -30,7 +30,7 @@ system: indexDate: -1 indexMinute: 0 rarete: '' - categorie: Remede + categorie: Alchimie herbe: '' herbebrins: 0 herbebonus: 0 diff --git a/packs_src/equipement/potion_Lait_de_lune_A3jx5dPkk5IeXSXn.yml b/packs_src/equipement/potion_Lait_de_lune_A3jx5dPkk5IeXSXn.yml index e759f785..ad79816a 100644 --- a/packs_src/equipement/potion_Lait_de_lune_A3jx5dPkk5IeXSXn.yml +++ b/packs_src/equipement/potion_Lait_de_lune_A3jx5dPkk5IeXSXn.yml @@ -30,7 +30,7 @@ system: indexDate: -1 indexMinute: 0 rarete: '' - categorie: Remede + categorie: Alchimie herbe: '' herbebrins: 0 herbebonus: 0 diff --git a/packs_src/equipement/potion_Liqueur_de_Bagdol_PrnJrG50u1UPdlJN.yml b/packs_src/equipement/potion_Liqueur_de_Bagdol_PrnJrG50u1UPdlJN.yml index 8ba5279c..2b8c8a83 100644 --- a/packs_src/equipement/potion_Liqueur_de_Bagdol_PrnJrG50u1UPdlJN.yml +++ b/packs_src/equipement/potion_Liqueur_de_Bagdol_PrnJrG50u1UPdlJN.yml @@ -28,7 +28,7 @@ system: indexDate: -1 indexMinute: 0 rarete: '' - categorie: Remede + categorie: Alchimie herbe: '' herbebrins: 0 herbebonus: 0 diff --git a/packs_src/equipement/potion_Mirobolant_keLCmhsbxHK39UIy.yml b/packs_src/equipement/potion_Mirobolant_keLCmhsbxHK39UIy.yml index 128ad052..6f164f04 100644 --- a/packs_src/equipement/potion_Mirobolant_keLCmhsbxHK39UIy.yml +++ b/packs_src/equipement/potion_Mirobolant_keLCmhsbxHK39UIy.yml @@ -30,7 +30,7 @@ system: indexDate: -1 indexMinute: 0 rarete: '' - categorie: Remede + categorie: Alchimie herbe: '' herbebrins: 0 herbebonus: 0 diff --git a/packs_src/equipement/potion_Teinture_d_Erozonne_bA0JDA7awoWhu0vO.yml b/packs_src/equipement/potion_Teinture_d_Erozonne_bA0JDA7awoWhu0vO.yml index 368eccd6..baea12de 100644 --- a/packs_src/equipement/potion_Teinture_d_Erozonne_bA0JDA7awoWhu0vO.yml +++ b/packs_src/equipement/potion_Teinture_d_Erozonne_bA0JDA7awoWhu0vO.yml @@ -30,7 +30,7 @@ system: indexDate: -1 indexMinute: 0 rarete: '' - categorie: Remede + categorie: Alchimie herbe: '' herbebrins: 0 herbebonus: 0 From 14391daa0be7d264bd2f21d5d33e7bff7104d600 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck