diff --git a/fonts/CaslonAntique.ttf b/fonts/CaslonAntique.ttf new file mode 100644 index 00000000..4b2093bf Binary files /dev/null and b/fonts/CaslonAntique.ttf differ diff --git a/module/rdd-tmr-dialog.js b/module/rdd-tmr-dialog.js index 466bd84b..b4ac69da 100644 --- a/module/rdd-tmr-dialog.js +++ b/module/rdd-tmr-dialog.js @@ -121,6 +121,16 @@ export class RdDTMRDialog extends Dialog { } } + /* -------------------------------------------- */ + async gererTourbillon( value ) { + this.nbFatigue += value; + await this.actor.updatePointsDeReve( -value ); + if ( !this.currentRencontre.tourbillonDirection ) { + this.currentRencontre.tourbillonDirection = TMRUtility.getDirectionPattern(); + + } + } + /* -------------------------------------------- */ /** Gère les rencontres avec du post-processing graphique (passeur, messagers, tourbillons, ...) */ async rencontrePostProcess( rencontreData) { @@ -139,6 +149,12 @@ export class RdDTMRDialog extends Dialog { } else if ( this.rencontreState == 'reflet' ) { this.nbFatigue += 1; + } else if ( this.rencontreState == 'tourbillonblanc' ) { + this.gererTourbillon(1); + + } else if ( this.rencontreState == 'tourbillonnoir' ) { + this.gererTourbillon(2); + } else { this.currentRencontre = undefined; // Cleanup, not used anymore } @@ -199,7 +215,7 @@ export class RdDTMRDialog extends Dialog { this.updateValuesDisplay(); this.checkQuitterTMR(); - if ( this.rencontreState == 'reflet') + if ( this.rencontreState == 'reflet' || this.rencontreState == 'tourbillonblanc' || this.rencontreState == 'tourbillonnoir' ) this.maitriser(); } @@ -222,7 +238,6 @@ export class RdDTMRDialog extends Dialog { let rencontre = this.rencontresExistantes.find(prev => prev.coord == coordTMR); if (rencontre == undefined) { let myRoll = new Roll("d7").roll(); - console.log("RLL RENC: ", myRoll.total, coordTMR, cellDescr); if (myRoll.total == 7) { rencontre = await TMRUtility.rencontreTMRRoll(coordTMR, cellDescr); } diff --git a/module/tmr-utility.js b/module/tmr-utility.js index ac77cadf..ac3a7f9f 100644 --- a/module/tmr-utility.js +++ b/module/tmr-utility.js @@ -207,6 +207,7 @@ const TMRMapping = { M15: { type: "cite", label: "Cité de Klana"} } +/* -------------------------------------------- */ const rencontresTable = [ {name:"Messagers des Rêves", data: { force: "2d4", ignorer: true, derober: true, refoulement: 1, quitterTMR: false, cite: "01-25", sanctuaire: "01-25", plaines: "01-20", pont: "01-20", collines: "01-15", foret: "01-15", monts: "01-10", desert: "01-10", fleuve: "01-05", @@ -229,10 +230,10 @@ const rencontresTable = [ {name:"Reflet d'ancien Rêve", data: { force: "2d6", ignorer: false, derober: true, refoulement: 1,quitterTMR: false, cite: "86-90", sanctuaire: "86-90", plaines: "83-88", pont: "83-88", collines: "83-88", foret: "83-88", monts: "76-85", desert: "76-85", fleuve: "66-79", lac: "66-79", marais: "61-75", gouffre: "61-75", necropole: "51-65", desolation: "51-65" } }, - {name:"Tourbillon blanc", data: { force: "2d6", ignorer: false, derober: true, refoulement: 1, quitterTMR: true, + {name:"Tourbillon blanc", data: { force: "2d6", ignorer: false, derober: true, refoulement: 1, quitterTMR: false, cite: "91-94", sanctuaire: "91-94", plaines: "89-93", pont: "89-93", collines: "89-93", foret: "89-93", monts: "86-92", desert: "86-92", fleuve: "80-89", lac: "80-89", marais: "76-86", gouffre: "76-86", necropole: "66-80", desolation: "66-80" } }, - {name:"Tourbillon noir", data: { force: "2d8", ignorer: false, derober: true, refoulement: 1, quitterTMR: true, + {name:"Tourbillon noir", data: { force: "2d8", ignorer: false, derober: true, refoulement: 1, quitterTMR: false, cite: "95-97", sanctuaire: "95-97", plaines: "94-97", pont: "94-97", collines: "94-97", foret: "94-97", monts: "93-97", desert: "93-97", fleuve: "90-97", lac: "90-97", marais: "87-97", gouffre: "90-97", necropole: "81-97", desolation: "81-97" } }, {name:"Rêve de Dragon", data: { force: "1ddr + 7", ignorer: false, derober: true, refoulement: 2, quitterTMR: true, @@ -240,6 +241,18 @@ const rencontresTable = [ lac: "98-00", marais: "98-00", gouffre: "98-00", necropole: "98-00", desolation: "98-00" } } ] +/* -------------------------------------------- */ +const tmrMovePattern = + [ { name: 'top', x: 'zero', y: 'dec' }, + { name: 'topright', x: 'inc', y: 'dec' }, + { name: 'left', x: 'inc', y: 'alt' }, + { name: 'botright', x: 'inc', y: 'inc' }, + { name: 'bot', x: 'zero', y: 'inc' }, + { name: 'botleft', x: 'dec', y: 'inc' }, + { name: 'left', x: 'dec', y: 'alt' }, + { name: 'topleft', x: 'dec', y: 'dec' } + ] + /* -------------------------------------------- */ export class TMRUtility { @@ -279,6 +292,12 @@ export class TMRUtility { return this.forceRencontre } + /* -------------------------------------------- */ + static getDirectionPattern() { + let index = new Roll("d"+tmrMovePattern.length+" -1").roll().total; + return tmrMovePattern[index]; + } + /* -------------------------------------------- */ static async rencontreTMRRoll( coordTMR, cellDescr ) { @@ -288,12 +307,14 @@ export class TMRUtility { rencontre = duplicate(rencontre); rencontre.force = this.evaluerForceRencontre(rencontre); rencontre.coord = coordTMR; + rencontre.nbCases = 0; // Utilisé pour les Tourbillons } if ( this.forceRencontre ) { // Forced rencontre = rencontresTable[this.forceRencontre.id]; rencontre.force = this.forceRencontre.force; rencontre.coord = coordTMR; + rencontre.nbCases = 0; // Utilisé pour les Tourbillons } return rencontre; diff --git a/packs/equipement.db b/packs/equipement.db index dbff059d..c324ee6c 100644 --- a/packs/equipement.db +++ b/packs/equipement.db @@ -17,7 +17,7 @@ {"name":"Obbadion","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"ingredient","data":{"description":"

Poudre bleuâtre obtenue par disruption alchimique du minerai appelé obbadine,  sorte de tourbe.

\n

VUE/Alchimie à -2

","niveau":0,"encombrement":0.001,"base":0,"quantite":1,"milieu":"Lieux humides","rarete":"","categorie":"Alchimie","cout":0.2},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/l_obbadion.webp","effects":[],"_id":"69vN8bRlnCrRHQCm"} {"_id":"6EmXVWHXtu3GaTsJ","name":"Gourde, outre (10 litres)","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"conteneur","data":{"description":"","capacite":5,"encombrement":0.1,"equipe":false,"qualite":0,"cout":0.2},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/gourde_10l.webp","effects":[]} {"name":"Entonnoir de fer","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.1,"equipe":false,"resistance":0,"qualite":0,"cout":0.15},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/entonnoir.webp","effects":[],"_id":"6MVWA3DYbpw8122A"} -{"name":"Premier Chant Dérisoire","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Les Chants Dérisoires de Yester l’Ancien ont été peu retranscrits, probablement à cause de leur ineptie fondamentale. En dénicher un exemplaire n’est donc déjà pas chose aisée. Le premier chant, cependant, peut être source de révélation pour les haut-rêvants. La découverte de ce sens caché demande un minimum de +4 en voie d’Hypnos et permet la synthèse du sort de Dérision. Sans son assimilation préalable, la synthèse de ce sort est totalement inenvisageable. Sa difficulté de lecture est de -5, son assimilation requiert 16 points de tâche, périodicité 1 heure.

","auteur":"Yester l’Ancien","quantite":1,"difficulte":-5,"points_de_tache":16,"encombrement":0,"xp":"","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_hypnos.webp","_id":"6fW8gPkxgeBCKA59"} +{"name":"Premier Chant Dérisoire","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Les Chants Dérisoires de Yester l’Ancien ont été peu retranscrits, probablement à cause de leur ineptie fondamentale. En dénicher un exemplaire n’est donc déjà pas chose aisée. Le premier chant, cependant, peut être source de révélation pour les haut-rêvants. La découverte de ce sens caché demande un minimum de +4 en voie d’Hypnos et permet la synthèse du sort de Dérision. Sans son assimilation préalable, la synthèse de ce sort est totalement inenvisageable. Sa difficulté de lecture est de -5, son assimilation requiert 16 points de tâche, périodicité 1 heure.

","auteur":"Yester l’Ancien","quantite":1,"difficulte":-5,"points_de_tache":16,"encombrement":0,"xp":"","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_hypnos.png","_id":"6fW8gPkxgeBCKA59"} {"_id":"6ijvX546B9rXtvbR","name":"Chemise de lin","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0,"equipe":false,"resistance":0,"qualite":0,"cout":0.3},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/chemise_lin.webp","effects":[]} {"name":"Drap Matelassé","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"armure","data":{"description":"

Deux épaisseurs de drap surpiquées, avec rembourrage de laine.

\n

Pourpoint ou cotte de drap matelassé + culottes de drap matelassé + bottes de cuir souple. Le pourpoint est une sorte de veste ; la cotte est une sorte de tunique, lacée sur la poitrine, et descendant jusqu’aux genoux, façon Robin des Bois.

\n

 

","quantite":1,"encombrement":0,"equipe":false,"protection":1,"deterioration":0,"malus":0,"cout":4},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armures/icon_drap_matelasse.webp","_id":"71JQGw2sbcl3wynB"} {"_id":"7JZ01gxQPv7bcGZB","name":"Fiole de verre (20 cl)","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"conteneur","data":{"description":"","capacite":0.1,"encombrement":0,"equipe":false,"qualite":0,"cout":0.2},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/fiole_40cl.webp","effects":[]} @@ -43,7 +43,7 @@ {"_id":"EcZfhfFt7pk9pgCT","name":"Bas de soie","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0,"equipe":false,"resistance":0,"qualite":0,"cout":3},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/bas_soie.webp","effects":[]} {"name":"Sable-Poudre","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"potion","data":{"description":"

Granulés. Poudre blanche.

","quantite":1,"encombrement":0.1,"rarete":"","categorie":"Alchimie","cout":2},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/sable_poudre.webp","effects":[],"_id":"ElweMV283IUpqaik"} {"name":"Lacet de cuir (1 m)","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.01,"equipe":false,"resistance":0,"qualite":0,"cout":0.06},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/lacet.webp","effects":[],"_id":"Eospy1EFNlhgOyXc"} -{"name":"Narcos, voie des Sortilèges","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Ce tome imposant, ouvertement destiné aux haut-rêvants, révèle que la voie de Narcos ne possède pas que des rituels, mais également des sortilèges. En saisir le sens demande toutefois un minimum de +4 en voie de Narcos. Il permet de comprendre le principe des sorts de transformation et d’envisager la synthèse de Flèche de feu, Dague de force, Dragonne lame et Gourdindragon. Sans son assimilation préalable, la synthèse de ces sorts est totalement inenvisageable. Sa difficulté de lecture est de -6, son assimilation requiert 28 points de tâche, périodicité 1 heure.

","auteur":"Segamor le Transformiste","quantite":1,"difficulte":-6,"points_de_tache":28,"encombrement":0,"xp":"","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_narcos.webp","_id":"F0hcXfGaaYKQ0229"} +{"name":"Narcos, voie des Sortilèges","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Ce tome imposant, ouvertement destiné aux haut-rêvants, révèle que la voie de Narcos ne possède pas que des rituels, mais également des sortilèges. En saisir le sens demande toutefois un minimum de +4 en voie de Narcos. Il permet de comprendre le principe des sorts de transformation et d’envisager la synthèse de Flèche de feu, Dague de force, Dragonne lame et Gourdindragon. Sans son assimilation préalable, la synthèse de ces sorts est totalement inenvisageable. Sa difficulté de lecture est de -6, son assimilation requiert 28 points de tâche, périodicité 1 heure.

","auteur":"Segamor le Transformiste","quantite":1,"difficulte":-6,"points_de_tache":28,"encombrement":0,"xp":"","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_narcos.png","_id":"F0hcXfGaaYKQ0229"} {"name":"Alêne, poinçon","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.05,"equipe":false,"resistance":0,"qualite":0,"cout":0.1},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/poincon_2.webp","effects":[],"_id":"F6ZHJth4t0PA5PMB"} {"name":"Topazoïne","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"potion","data":{"description":"

Granulés. Coquille d'oeuf de cane broyé.

","quantite":1,"encombrement":0.1,"rarete":"","categorie":"Alchimie","cout":2},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/topazoine.webp","effects":[],"_id":"FH3mSvdebfhIL2Af"} {"name":"Plume de fer","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.01,"equipe":false,"resistance":0,"qualite":0,"cout":0.1},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/plume_de_fer.webp","effects":[],"_id":"FaNRC7YQzibSdqZU"} @@ -110,7 +110,7 @@ {"name":"Fouet","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"arme","data":{"description":"

Provoque des dégâts \"non mortels\".

\n

Les armures sont majorées de 2.

\n

Si la protection atteint une valeur de 5 ou plus, le fouet ne peut causer de dégât.

","quantite":1,"encombrement":0.5,"equipe":false,"dommages":1,"force":0,"resistance":0,"competence":"Fouet","cout":1,"portee_courte":2,"portee_moyenne":null,"portee_extreme":null,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/fouet.webp","effects":[],"_id":"WTHZdtgf6lHUSKDx"} {"name":"Cire d'abeille 500g","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.2,"equipe":false,"resistance":0,"qualite":0,"cout":0.15},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/cire.webp","effects":[],"_id":"XTZVrcMNofAviP63"} {"name":"Encre 20 cl","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.1,"equipe":false,"resistance":0,"qualite":0,"cout":0.1},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/encre_20cl.webp","effects":[],"_id":"XwuLVGasPJXzvC09"} -{"name":"Le Principe Drachromatique","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Cet ouvrage de profonde érudition sur l’origine des couleurs et leur signification onirique est foncièrement incompréhensible, à moins de posséder un minimum de +4 en voie d’Oniros. Il permet d’envisager la synthèse des sorts d’Invulnérabilité Chromatique et de Transmutation Chromatique. Sans son assimilation préalable, la synthèse de ces sorts est totalement inenvisageable. Sa difficulté de lecture est de -4, son assimilation requiert 26 points de tâche, périodicité 1 heure.

","auteur":"Anonyme","quantite":1,"difficulte":-4,"points_de_tache":26,"encombrement":0,"xp":"","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_oniros.webp","_id":"YNHDt4EerstJvx5l"} +{"name":"Le Principe Drachromatique","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Cet ouvrage de profonde érudition sur l’origine des couleurs et leur signification onirique est foncièrement incompréhensible, à moins de posséder un minimum de +4 en voie d’Oniros. Il permet d’envisager la synthèse des sorts d’Invulnérabilité Chromatique et de Transmutation Chromatique. Sans son assimilation préalable, la synthèse de ces sorts est totalement inenvisageable. Sa difficulté de lecture est de -4, son assimilation requiert 26 points de tâche, périodicité 1 heure.

","auteur":"Anonyme","quantite":1,"difficulte":-4,"points_de_tache":26,"encombrement":0,"xp":"","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_oniros.png","_id":"YNHDt4EerstJvx5l"} {"name":"Manteau de laine","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.8,"equipe":false,"resistance":0,"qualite":0,"cout":0.6},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/manteau_laine.webp","effects":[],"_id":"YNbbSGLnexiXNyXU"} {"name":"Gourdin","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"arme","data":{"description":"","quantite":1,"encombrement":1,"equipe":false,"dommages":1,"force":7,"resistance":8,"competence":"Masse à 1 main","cout":0,"portee_courte":0,"portee_moyenne":0,"portee_extreme":0,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armes/icon_gourdin.webp","_id":"YOFn2Aom2J2vomXD"} {"name":"Echecs draconics en bois","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.5,"equipe":false,"resistance":0,"qualite":0,"cout":2},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/echecs.webp","effects":[],"_id":"Yyn39VDRnO6oA3Uq"} @@ -126,11 +126,11 @@ {"name":"Pilon en marbre","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.1,"equipe":false,"resistance":0,"qualite":0,"cout":0.2},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/pilon.webp","effects":[],"_id":"dBR6KXvfmjjIcwsc"} {"name":"Massette","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"arme","data":{"description":"","quantite":1,"encombrement":1,"equipe":false,"dommages":2,"force":9,"resistance":8,"competence":"Masse à 1 main","cout":2,"portee_courte":0,"portee_moyenne":0,"portee_extreme":0,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armes/icon_masse.webp","_id":"e22EuusE5kunvSRC"} {"_id":"eYjoaun2OCGzy28c","name":"Tube à parchemins","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"conteneur","data":{"description":"","capacite":1.3,"encombrement":0.1,"equipe":false,"qualite":0,"cout":0.5},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/rouleau_parchemin.webp","effects":[]} -{"name":"Arc","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"arme","data":{"description":"

Pour simuler la force de perforation de leurs projectiles, les arcs nient 2 points d’armure. Les plaques ne protègent plus que de 4 au lieu de 6, les mailles de 3, le cuir/métal de 2, le cuir épais de 1, le cuir souple de zéro. Cependant, le drap matelassé vaut aussi zéro, de même que les vêtements légers ou pas de vêtements du tout. Il ne s’agit pas d’une augmentation des dommages, mais d’une inefficacité relative des armures. Les protections naturelles des créatures ne sont pas affectées.

","quantite":1,"encombrement":1,"equipe":false,"dommages":2,"force":0,"resistance":0,"competence":"Arc","cout":10,"portee_courte":10,"portee_moyenne":20,"portee_extreme":50,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armes/icon_arc_long.webp","_id":"egGIQAqZw7ti23fn"} +{"name":"Arc","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"arme","data":{"description":"

Pour simuler la force de perforation de leurs projectiles, les arcs nient 2 points d’armure. Les plaques ne protègent plus que de 4 au lieu de 6, les mailles de 3, le cuir/métal de 2, le cuir épais de 1, le cuir souple de zéro. Cependant, le drap matelassé vaut aussi zéro, de même que les vêtements légers ou pas de vêtements du tout. Il ne s’agit pas d’une augmentation des dommages, mais d’une inefficacité relative des armures. Les protections naturelles des créatures ne sont pas affectées.

","quantite":1,"encombrement":1,"equipe":false,"dommages":2,"force":0,"resistance":0,"competence":"Arc","cout":10,"portee_courte":10,"portee_moyenne":20,"portee_extreme":50,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armes/icon_arc_long.png","_id":"egGIQAqZw7ti23fn"} {"name":"Graisse à Bottes 500g","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.2,"equipe":false,"resistance":0,"qualite":0,"cout":0.3},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/graisse_a_cuir.webp","effects":[],"_id":"fAzYb7kkW6QxG6i6"} {"name":"Flèche, carreau","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.1,"equipe":false,"resistance":0,"qualite":0,"cout":0.1},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/fleche.webp","effects":[],"_id":"fLKFTvLWoj7juxQE"} {"name":"Javelot","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"arme","data":{"description":"","quantite":1,"encombrement":1,"equipe":false,"dommages":1,"force":0,"resistance":0,"competence":"Javelot","cout":1,"portee_courte":6,"portee_moyenne":12,"portee_extreme":20,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armes/icon_javeline.webp","_id":"fW9LzW7Hiy9nar1Q"} -{"name":"Esparlongue","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"arme","data":{"description":"

C’est une épée semblable à la rapière, longue et ne, frappant uniquement d’estoc. Elle doit son nom à ce qu’elle était particulièrement en vogue, au Second Âge, dans la cité d’Esparlongue. En ce début du Troisième Âge, toutefois, on lui substitue le plus souvent la demi-dragonne, épée très voisine, ne frappant pareillement que d’estoc, mais plus résistante (résistance 10) et moins coûteuse (15 sols) ; son bonus aux dommages (+2) est identique.

","quantite":1,"encombrement":1.5,"equipe":false,"dommages":2,"force":10,"resistance":9,"competence":"Epée à 1 main","cout":20,"portee_courte":0,"portee_moyenne":0,"portee_extreme":0,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armes/icon_esparlongue.webp","_id":"fsSLxgZakXfpdjll"} +{"name":"Esparlongue","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"arme","data":{"description":"

C’est une épée semblable à la rapière, longue et ne, frappant uniquement d’estoc. Elle doit son nom à ce qu’elle était particulièrement en vogue, au Second Âge, dans la cité d’Esparlongue. En ce début du Troisième Âge, toutefois, on lui substitue le plus souvent la demi-dragonne, épée très voisine, ne frappant pareillement que d’estoc, mais plus résistante (résistance 10) et moins coûteuse (15 sols) ; son bonus aux dommages (+2) est identique.

","quantite":1,"encombrement":1.5,"equipe":false,"dommages":2,"force":10,"resistance":9,"competence":"Epée à 1 main","cout":20,"portee_courte":0,"portee_moyenne":0,"portee_extreme":0,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armes/icon_esparlongue.png","_id":"fsSLxgZakXfpdjll"} {"_id":"g8a2k5bytzIZa5Jw","name":"Bouteille de verre (1 litre)","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"conteneur","data":{"description":"","capacite":0.5,"encombrement":0.1,"equipe":false,"qualite":0,"cout":0.7},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/bouteille_40cl.webp","effects":[]} {"_id":"gfU7oZL1JYqF3lAW","name":"Robe de lin","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.1,"equipe":false,"resistance":0,"qualite":0,"cout":0.6},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/robe_lin.webp","effects":[]} {"name":"Miroir en cuivre poli 20 cm","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.2,"equipe":false,"resistance":0,"qualite":0,"cout":1},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/miroir.webp","effects":[],"_id":"gmBC6SO3F5d64Vpl"} @@ -158,7 +158,7 @@ {"name":"Arbalète","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"arme","data":{"description":"

Nie jusqu'à 2 points d'armure.

\n

Rechargement 1 round.

","quantite":1,"encombrement":3,"equipe":false,"dommages":3,"force":0,"resistance":0,"competence":"Arbalète","cout":30,"portee_courte":15,"portee_moyenne":30,"portee_extreme":70,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/arbalete.webp","effects":[],"_id":"lOI2HVu3B6EDY4sE"} {"name":"Lanterne à bougie","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"conteneur","data":{"description":"","capacite":0.1,"encombrement":1,"equipe":false,"qualite":0,"contenu":[],"cout":3},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/lanterne_bougie.webp","effects":[],"_id":"m9yuZjp9DK7pSqPK"} {"name":"Hachette","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"arme","data":{"description":"","quantite":1,"encombrement":1,"equipe":false,"dommages":2,"force":8,"resistance":6,"competence":"Hache à 1 main","cout":4,"portee_courte":0,"portee_moyenne":0,"portee_extreme":0,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armes/icon_hachette.webp","_id":"mEyzxMTjSU8yX9N9"} -{"name":"Le Narcolepton","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Cet ouvrage ne peut être assimilé que si l’on possède un niveau minimum de zéro en voie de Narcos. Il confère un bonus de synthèse de +3 aux sept Écailles de Protection présentées dans les règles (Venin, Maladie, Feu, Magie, Projectiles, Lames, Griffes et crocs), mais aucun bonus de points de sorts. Sa difficulté de lecture est de -4, son assimilation requiert 24 points de tâche, périodicité une heure.

","auteur":"anonyme","quantite":1,"difficulte":-4,"points_de_tache":24,"encombrement":0,"xp":"","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_narcos.webp","_id":"mOZodpJYobvmZO9o"} +{"name":"Le Narcolepton","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Cet ouvrage ne peut être assimilé que si l’on possède un niveau minimum de zéro en voie de Narcos. Il confère un bonus de synthèse de +3 aux sept Écailles de Protection présentées dans les règles (Venin, Maladie, Feu, Magie, Projectiles, Lames, Griffes et crocs), mais aucun bonus de points de sorts. Sa difficulté de lecture est de -4, son assimilation requiert 24 points de tâche, périodicité une heure.

","auteur":"anonyme","quantite":1,"difficulte":-4,"points_de_tache":24,"encombrement":0,"xp":"","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_narcos.png","_id":"mOZodpJYobvmZO9o"} {"name":"Grande hache","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"arme","data":{"description":"","quantite":1,"encombrement":3,"equipe":false,"dommages":4,"force":13,"resistance":8,"competence":"Hache à 2 mains","cout":15,"portee_courte":0,"portee_moyenne":0,"portee_extreme":0,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armes/icon_grande_hache.webp","_id":"mPowqVLTcF3yFDEx"} {"name":"Parchemin 1 feuille","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.02,"equipe":false,"resistance":0,"qualite":0,"cout":0.2},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/parchemin_1_feuille.webp","effects":[],"_id":"n2HMv0xv0MFpuiKp"} {"name":"Tonnelet (10 litres)","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"conteneur","data":{"description":"","capacite":5,"encombrement":1,"equipe":false,"qualite":0,"contenu":[],"cout":0.25},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/tonnelet.webp","effects":[],"_id":"nBhYyPbRwcWswiyC"} @@ -197,7 +197,7 @@ {"name":"Gants de cuir","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.05,"equipe":false,"resistance":0,"qualite":0,"cout":1},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/gants_de_cuir.webp","effects":[],"_id":"wcW5KcideGi8EY67"} {"name":"Cuir Epais","permission":{"default":0,"Q4cUvqxCxMoTJXDL":3},"type":"armure","data":{"description":"

Cuir très épais comme le cuir de botte. Pectoral de cuir épais + jupon de bandes ou de tresses de cuir ou cuissards de cuir épais sur culottes de cuir souple + bottes dures + casque de cuir.

\n

 

","quantite":1,"encombrement":2,"equipe":false,"protection":3,"deterioration":-1,"malus":0,"cout":10},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armures/icon_cuir_epais.webp","_id":"wePwDpfZKDkhEJla"} {"_id":"wpWaqe96x3cvqTXy","name":"Robe de laine","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.2,"equipe":false,"resistance":0,"qualite":0,"cout":0.4},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/robe_laine.webp","effects":[]} -{"name":"Le Paradoxe de l’Immobilité Rapide","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Ce texte de pure logique ne peut être assimilé que si l’on possède un minimum de +4 en voie d’Hypnos. Il permet d’envisager la synthèse du sort de Concentration. (Sans son assimilation préalable, la synthèse de ce sort est totalement inenvisageable.) Sa difficulté de lecture est de -5, son assimilation requiert 12 points de tâche, périodicité 1 heure.

","auteur":"Wanister de Bravo","quantite":1,"difficulte":-5,"points_de_tache":12,"encombrement":0,"xp":"","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_hypnos.webp","_id":"wwWRn95ByBD08eGQ"} +{"name":"Le Paradoxe de l’Immobilité Rapide","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Ce texte de pure logique ne peut être assimilé que si l’on possède un minimum de +4 en voie d’Hypnos. Il permet d’envisager la synthèse du sort de Concentration. (Sans son assimilation préalable, la synthèse de ce sort est totalement inenvisageable.) Sa difficulté de lecture est de -5, son assimilation requiert 12 points de tâche, périodicité 1 heure.

","auteur":"Wanister de Bravo","quantite":1,"difficulte":-5,"points_de_tache":12,"encombrement":0,"xp":"","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_hypnos.png","_id":"wwWRn95ByBD08eGQ"} {"name":"Eponge de mer","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.04,"equipe":false,"resistance":0,"qualite":0,"cout":1},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/eponge.webp","effects":[],"_id":"x4g6bDu3eUllSSSJ"} {"name":"Huile 20 cl (4 heures)","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.1,"equipe":false,"resistance":0,"qualite":0,"cout":0.04},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/huile.webp","effects":[],"_id":"xfdeDEyMK8YtBpzC"} {"_id":"xuk60njqtrSZusSX","name":"Chemise de laine","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.1,"equipe":false,"resistance":0,"qualite":0,"cout":0.2},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/chemise_laine.webp","effects":[]} @@ -205,7 +205,7 @@ {"name":"Ecritoire","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":1,"equipe":false,"resistance":0,"qualite":0,"cout":1},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/ecritoire.webp","effects":[],"_id":"yILNvELKbsz2OOln"} {"name":"Hachette","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"arme","data":{"description":"","quantite":1,"encombrement":1,"equipe":false,"dommages":2,"force":8,"resistance":6,"competence":"Hache à 1 main","cout":4,"portee_courte":0,"portee_moyenne":0,"portee_extreme":0,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/hachette.webp","effects":[],"_id":"yd4XGzrOMEo4fmiZ"} {"_id":"yiyxpEyt68CI611S","name":"Fiole en grès (20 cl)","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"conteneur","data":{"description":"","capacite":0.1,"encombrement":0.1,"equipe":false,"qualite":0,"cout":0.1},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/fiole_40cl.webp","effects":[]} -{"name":"Le Grand Iris","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Cette judicieuse réflexion sur les sorts d’illusion visuelle d’Hypnos ne peut être assimilée que si l’on possède au minimum zéro en voie d’Hypnos. Il confère un bonus de synthèse de +2 et de 12 points de sorts aux trois yeux d’Hypnos : Invisibilité, Transfiguration, Métamorphose. Sa difficulté de lecture est de -3, son assimilation requiert 16 points de tâche, périodicité une heure.

","auteur":"Khrachtchoum le Problémeux","quantite":1,"difficulte":-3,"points_de_tache":16,"encombrement":0,"xp":"0","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_hypnos.webp","_id":"z3xiBzZBZXlaRVzZ"} +{"name":"Le Grand Iris","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"livre","data":{"description":"

Cette judicieuse réflexion sur les sorts d’illusion visuelle d’Hypnos ne peut être assimilée que si l’on possède au minimum zéro en voie d’Hypnos. Il confère un bonus de synthèse de +2 et de 12 points de sorts aux trois yeux d’Hypnos : Invisibilité, Transfiguration, Métamorphose. Sa difficulté de lecture est de -3, son assimilation requiert 16 points de tâche, périodicité une heure.

","auteur":"Khrachtchoum le Problémeux","quantite":1,"difficulte":-3,"points_de_tache":16,"encombrement":0,"xp":"0","cout":0},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/competence_hypnos.png","_id":"z3xiBzZBZXlaRVzZ"} {"name":"Aiguille à coudre","permission":{"default":0,"rYShh2P1DNavdoBD":3},"type":"objet","data":{"description":"","quantite":1,"encombrement":0.01,"equipe":false,"resistance":0,"qualite":0,"cout":0.1},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/aiguille.webp","effects":[],"_id":"zQWlnUsd8bPySujd"} {"_id":"zYI8mDiysWtmsSyy","name":"Carquois","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"conteneur","data":{"description":"","capacite":2,"encombrement":0.1,"equipe":false,"qualite":0,"cout":0.5},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/objets/carquois.webp","effects":[]} {"name":"Bouclier lourd","permission":{"default":0,"jOzRscDxoXZWpGS6":3},"type":"arme","data":{"description":"","quantite":1,"encombrement":3,"equipe":false,"dommages":0,"force":13,"resistance":20,"competence":"Bouclier","cout":8,"portee_courte":0,"portee_moyenne":0,"portee_extreme":0,"rapide":false},"flags":{},"img":"systems/foundryvtt-reve-de-dragon/icons/armes/icon_bouclier_lourd.webp","_id":"zkQzTL14jPfRBNQ0"} diff --git a/styles/img/.directory b/styles/img/.directory new file mode 100644 index 00000000..a534bbde --- /dev/null +++ b/styles/img/.directory @@ -0,0 +1,4 @@ +[Dolphin] +Timestamp=2020,11,21,13,59,38 +Version=4 +VisibleRoles=Details_text,Details_size,Details_modificationtime,Details_creationtime,CustomizedDetails diff --git a/styles/img/bg_header.webp b/styles/img/bg_header.webp new file mode 100644 index 00000000..28564e8d Binary files /dev/null and b/styles/img/bg_header.webp differ diff --git a/styles/simple.css b/styles/simple.css index 74382710..1c200645 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -15,31 +15,35 @@ font-family: "Fondamento"; src: url('../fonts/Fondamento.ttf') format("truetype"); } + @font-face { + font-family: "CaslonAntique"; + src: url('../fonts/CaslonAntique.ttf') format("truetype"); + } :root { /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-title-font-family: Gothic; + --window-header-title-font-family: CaslonAntique; --window-header-title-font-size: 1.5rem; --window-header-title-font-weight: normal; --window-header-title-color: #f5f5f5; - --major-button-font-family: Gothic; + --major-button-font-family: CaslonAntique; --major-button-font-size: 1.25rem; --major-button-font-weight: normal; --major-button-color: #dadada; - --tab-header-font-family: Gothic; + --tab-header-font-family: CaslonAntique; --tab-header-font-size: 1rem; --tab-header-font-weight: 700; --tab-header-color: #403f3e; --tab-header-color-active: #4a0404; - --actor-input-font-family: Gothic; + --actor-input-font-family: CaslonAntique; --actor-input-font-size: 1rem; --actor-input-font-weight: 500; --actor-input-color: black; - --actor-label-font-family: Gothic; + --actor-label-font-family: CaslonAntique; --actor-label-font-size: 1rem; --actor-label-font-weight: 700; --actor-label-color: #464331c4; @@ -57,7 +61,7 @@ /*@import url("https://fonts.googleapis.com/css2?family=Martel:wght@400;800&family=Roboto:wght@300;400;500&display=swap");*/ /* Global styles & Font */ .window-app { - font-family: Gothic; + font-family: CaslonAntique; text-align: justify; font-size: 14px; letter-spacing: 1px; @@ -65,9 +69,9 @@ /* Fonts */ .sheet header.sheet-header h1 input, .window-app .window-header, #actors .directory-list, #navigation #scene-list .scene.nav-item {font-family: "GoudyAcc"} -.sheet nav.sheet-tabs {font-family: "MedievalSharp";} +.sheet nav.sheet-tabs {font-family: "GoudyAcc";} .window-app input, .foundryvtt-reve-de-dragon .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-family: "Gothic"; + font-family: "CaslonAntique"; } .window-header{ @@ -356,7 +360,7 @@ table {border: 1px solid #7a7971;} /* ======================================== */ /* Sheet */ .window-app.sheet .window-content .sheet-header{ - background: #011d33 url("img/bg_header.jpg") no-repeat left top; + background: #011d33 url("img/bg_header.webp") no-repeat left top; color: rgba(255, 255, 255, 1); } diff --git a/system.json b/system.json index d848f421..638300c3 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "0.9.70", + "version": "0.9.71", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.6", "templateVersion": 47,