diff --git a/images/icons/epee.webp b/images/icons/epee.webp new file mode 100644 index 0000000..30b8f4d Binary files /dev/null and b/images/icons/epee.webp differ diff --git a/images/tarots/Malefice_Tarot_Adam_600 dpi.webp b/images/tarots/Malefice_Tarot_Adam_600 dpi.webp new file mode 100644 index 0000000..f775e2e Binary files /dev/null and b/images/tarots/Malefice_Tarot_Adam_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Alchimiste_600 dpi.webp b/images/tarots/Malefice_Tarot_Alchimiste_600 dpi.webp new file mode 100644 index 0000000..700a8e4 Binary files /dev/null and b/images/tarots/Malefice_Tarot_Alchimiste_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Archange_600 dpi.webp b/images/tarots/Malefice_Tarot_Archange_600 dpi.webp new file mode 100644 index 0000000..d38e7ae Binary files /dev/null and b/images/tarots/Malefice_Tarot_Archange_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Archiviste_600 dpi.webp b/images/tarots/Malefice_Tarot_Archiviste_600 dpi.webp new file mode 100644 index 0000000..4d8421f Binary files /dev/null and b/images/tarots/Malefice_Tarot_Archiviste_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Artiste_600 dpi.webp b/images/tarots/Malefice_Tarot_Artiste_600 dpi.webp new file mode 100644 index 0000000..ffe82c0 Binary files /dev/null and b/images/tarots/Malefice_Tarot_Artiste_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Cabaliste_600 dpi.webp b/images/tarots/Malefice_Tarot_Cabaliste_600 dpi.webp new file mode 100644 index 0000000..9eb9534 Binary files /dev/null and b/images/tarots/Malefice_Tarot_Cabaliste_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Centurion_600 dpi.webp b/images/tarots/Malefice_Tarot_Centurion_600 dpi.webp new file mode 100644 index 0000000..b7479bb Binary files /dev/null and b/images/tarots/Malefice_Tarot_Centurion_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Chance_600 dpi.webp b/images/tarots/Malefice_Tarot_Chance_600 dpi.webp new file mode 100644 index 0000000..7bfb307 Binary files /dev/null and b/images/tarots/Malefice_Tarot_Chance_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Diable_600 dpi.webp b/images/tarots/Malefice_Tarot_Diable_600 dpi.webp new file mode 100644 index 0000000..ff5c5fc Binary files /dev/null and b/images/tarots/Malefice_Tarot_Diable_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Eve_600 dpi.webp b/images/tarots/Malefice_Tarot_Eve_600 dpi.webp new file mode 100644 index 0000000..837c10b Binary files /dev/null and b/images/tarots/Malefice_Tarot_Eve_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Grand Livre_600 dpi.webp b/images/tarots/Malefice_Tarot_Grand Livre_600 dpi.webp new file mode 100644 index 0000000..f46dfec Binary files /dev/null and b/images/tarots/Malefice_Tarot_Grand Livre_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Hippocrate_600 dpi.webp b/images/tarots/Malefice_Tarot_Hippocrate_600 dpi.webp new file mode 100644 index 0000000..f7efb7a Binary files /dev/null and b/images/tarots/Malefice_Tarot_Hippocrate_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_La Mort_600 dpi.webp b/images/tarots/Malefice_Tarot_La Mort_600 dpi.webp new file mode 100644 index 0000000..377b947 Binary files /dev/null and b/images/tarots/Malefice_Tarot_La Mort_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_La roue de la fortune_600 dpi.webp b/images/tarots/Malefice_Tarot_La roue de la fortune_600 dpi.webp new file mode 100644 index 0000000..b0e852d Binary files /dev/null and b/images/tarots/Malefice_Tarot_La roue de la fortune_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Laboureur_600 dpi.webp b/images/tarots/Malefice_Tarot_Laboureur_600 dpi.webp new file mode 100644 index 0000000..32c959c Binary files /dev/null and b/images/tarots/Malefice_Tarot_Laboureur_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Le Juge_600 dpi.webp b/images/tarots/Malefice_Tarot_Le Juge_600 dpi.webp new file mode 100644 index 0000000..9efb8f0 Binary files /dev/null and b/images/tarots/Malefice_Tarot_Le Juge_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Lune Noire_600 dpi.webp b/images/tarots/Malefice_Tarot_Lune Noire_600 dpi.webp new file mode 100644 index 0000000..b22157d Binary files /dev/null and b/images/tarots/Malefice_Tarot_Lune Noire_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Medium_600 dpi.webp b/images/tarots/Malefice_Tarot_Medium_600 dpi.webp new file mode 100644 index 0000000..fd09c9a Binary files /dev/null and b/images/tarots/Malefice_Tarot_Medium_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Moine_600 dpi.webp b/images/tarots/Malefice_Tarot_Moine_600 dpi.webp new file mode 100644 index 0000000..6298d39 Binary files /dev/null and b/images/tarots/Malefice_Tarot_Moine_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Savetier_600 dpi copie.webp b/images/tarots/Malefice_Tarot_Savetier_600 dpi copie.webp new file mode 100644 index 0000000..3a86c88 Binary files /dev/null and b/images/tarots/Malefice_Tarot_Savetier_600 dpi copie.webp differ diff --git a/images/tarots/Malefice_Tarot_Sorcier_600 dpi.webp b/images/tarots/Malefice_Tarot_Sorcier_600 dpi.webp new file mode 100644 index 0000000..8c5b6a2 Binary files /dev/null and b/images/tarots/Malefice_Tarot_Sorcier_600 dpi.webp differ diff --git a/images/tarots/Malefice_Tarot_Vicaire_600 dpi.webp b/images/tarots/Malefice_Tarot_Vicaire_600 dpi.webp new file mode 100644 index 0000000..d2e4049 Binary files /dev/null and b/images/tarots/Malefice_Tarot_Vicaire_600 dpi.webp differ diff --git a/images/ui/background_01.webp b/images/ui/background_01.webp new file mode 100644 index 0000000..8c9a9b8 Binary files /dev/null and b/images/ui/background_01.webp differ diff --git a/modules/malefices-actor.js b/modules/malefices-actor.js index ba5fa98..a8ee401 100644 --- a/modules/malefices-actor.js +++ b/modules/malefices-actor.js @@ -270,7 +270,7 @@ export class MaleficesActor extends Actor { /* -------------------------------------------- */ incDecDestin( value) { - let newValue = this.system.pointdestin + value + let newValue = Math.max( this.system.pointdestin + value, 0) this.update( {'system.pointdestin': newValue}) } diff --git a/modules/malefices-item-sheet.js b/modules/malefices-item-sheet.js index af71b3b..8586ca5 100644 --- a/modules/malefices-item-sheet.js +++ b/modules/malefices-item-sheet.js @@ -14,7 +14,7 @@ export class MaleficesItemSheet extends ItemSheet { template: "systems/fvtt-malefices/templates/item-sheet.hbs", dragDrop: [{ dragSelector: null, dropSelector: null }], width: 620, - height: 480, + height: 'fit-content', tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }] }); } diff --git a/packs/malefices-armes.db b/packs/malefices-armes.db new file mode 100644 index 0000000..62f15bf --- /dev/null +++ b/packs/malefices-armes.db @@ -0,0 +1,9 @@ +{"name":"Pistolet (Petit calibre)","type":"arme","img":"systems/fvtt-malefices/images/icons/revolver.webp","system":{"armetype":"pistoletpetit","porteecourte":5,"porteemoyenne":30,"dommagenormale":3,"dommagepart":5,"dommagecritique":0,"dommagecritiqueKO":false,"dommagecritiquemort":true,"description":""},"effects":[],"flags":{"core":{"sourceId":"Item.JVpvjDTWDo4boT7A"}},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.4","coreVersion":"10.291","createdTime":1675260395590,"modifiedTime":1675372799547,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"5J6qIaWdnhEGMAXJ"} +{"name":"Arc","type":"arme","img":"systems/fvtt-malefices/images/icons/arc.webp","system":{"armetype":"arc","porteecourte":10,"porteemoyenne":30,"dommagenormale":3,"dommagepart":5,"dommagecritique":0,"dommagecritiqueKO":false,"dommagecritiquemort":true,"description":""},"effects":[],"flags":{"core":{"sourceId":"Item.JVpvjDTWDo4boT7A"}},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.4","coreVersion":"10.291","createdTime":1675260395590,"modifiedTime":1675372799550,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"7keD0tMsa49zblQQ"} +{"name":"Fusil de Guerre","type":"arme","img":"systems/fvtt-malefices/images/icons/fusil.webp","system":{"armetype":"fusilguerre","porteecourte":50,"porteemoyenne":200,"dommagenormale":6,"dommagepart":8,"dommagecritique":0,"dommagecritiqueKO":false,"dommagecritiquemort":true,"description":""},"effects":[],"flags":{"core":{"sourceId":"Item.JVpvjDTWDo4boT7A"}},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.4","coreVersion":"10.291","createdTime":1675260395590,"modifiedTime":1675372799544,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"CSwB7XBdCzNVmQg5"} +{"name":"Pistolet (Moyen calibre)","type":"arme","img":"systems/fvtt-malefices/images/icons/revolver.webp","system":{"armetype":"pistoletmoyen","porteecourte":5,"porteemoyenne":30,"dommagenormale":4,"dommagepart":6,"dommagecritique":0,"dommagecritiqueKO":false,"dommagecritiquemort":true,"description":""},"effects":[],"flags":{"core":{"sourceId":"Item.JVpvjDTWDo4boT7A"}},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.4","coreVersion":"10.291","createdTime":1675260395590,"modifiedTime":1675372799546,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"CT2fhwqIafHniF8e"} +{"name":"Epée","type":"arme","img":"systems/fvtt-malefices/images/icons/epee.webp","system":{"armetype":"arc","porteecourte":1,"porteemoyenne":1,"dommagenormale":4,"dommagepart":5,"dommagecritique":6,"dommagecritiqueKO":true,"dommagecritiquemort":false,"description":""},"effects":[],"flags":{"core":{"sourceId":"Item.JVpvjDTWDo4boT7A"}},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.4","coreVersion":"10.291","createdTime":1675260395590,"modifiedTime":1675372799550,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"V3rk42gTKrm3O8Tj"} +{"name":"Pistolet (Gros calibre)","type":"arme","img":"systems/fvtt-malefices/images/icons/revolver.webp","system":{"armetype":"pistoletgros","porteecourte":5,"porteemoyenne":30,"dommagenormale":5,"dommagepart":7,"dommagecritique":0,"dommagecritiqueKO":false,"dommagecritiquemort":true,"description":""},"effects":[],"flags":{"core":{"sourceId":"Item.JVpvjDTWDo4boT7A"}},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.4","coreVersion":"10.291","createdTime":1675260395590,"modifiedTime":1675372799545,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"d9D0KtChngKMBoqQ"} +{"name":"Fusil de Chasse","type":"arme","img":"systems/fvtt-malefices/images/icons/fusil.webp","system":{"armetype":"fusilchasse","porteecourte":30,"porteemoyenne":120,"dommagenormale":5,"dommagepart":7,"dommagecritique":0,"dommagecritiqueKO":false,"dommagecritiquemort":true,"description":""},"effects":[],"flags":{"core":{"sourceId":"Item.nz5QUOYDWhfuuoB6"}},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.4","coreVersion":"10.291","createdTime":1675260395590,"modifiedTime":1675372799545,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"kywMcn4Jxr5JonVt"} +{"name":"Arbalete","type":"arme","img":"systems/fvtt-malefices/images/icons/arbalete.webp","system":{"armetype":"arbalete","porteecourte":10,"porteemoyenne":30,"dommagenormale":4,"dommagepart":6,"dommagecritique":0,"dommagecritiqueKO":false,"dommagecritiquemort":true,"description":""},"effects":[],"flags":{"core":{"sourceId":"Item.JVpvjDTWDo4boT7A"}},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.4","coreVersion":"10.291","createdTime":1675260395590,"modifiedTime":1675372799549,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"lULKUHca9kDlhnxl"} +{"name":"Mains Nues","type":"arme","img":"systems/fvtt-malefices/images/icons/mainsnues.webp","system":{"armetype":"mainsnues","porteecourte":1,"porteemoyenne":1,"dommagenormale":2,"dommagepart":4,"dommagecritique":5,"dommagecritiqueKO":true,"dommagecritiquemort":false,"description":""},"effects":[],"flags":{"core":{"sourceId":"Item.JVpvjDTWDo4boT7A"}},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.4","coreVersion":"10.291","createdTime":1675260395590,"modifiedTime":1675372799551,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"nkRQU81L1gWOfaeo"} diff --git a/packs/malefices-tarots.db b/packs/malefices-tarots.db new file mode 100644 index 0000000..eec7ac6 --- /dev/null +++ b/packs/malefices-tarots.db @@ -0,0 +1,22 @@ +{"name":"Le Moine","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Moine_600%20dpi.webp","system":{"tarottype":"metier","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053851,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"1DRKmbzGzbCRCswc"} +{"name":"La Lune Noire","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Lune%20Noire_600%20dpi.webp","system":{"tarottype":"majeur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053846,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"6jHm4eWelq7eLKwU"} +{"name":"Hippocrate","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Hippocrate_600%20dpi.webp","system":{"tarottype":"metier","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053843,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"BCQenQMvFjLKkl56"} +{"name":"Eve","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Eve_600%20dpi.webp","system":{"tarottype":"mineur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053842,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"IJaK9oxcsamMs4pw"} +{"name":"Le Sorcier","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Sorcier_600%20dpi.webp","system":{"tarottype":"majeur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053852,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"IwsZkMHLKGuCGUf7"} +{"name":"La Mort","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_La%20Mort_600%20dpi.webp","system":{"tarottype":"majeur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053847,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"MHdmnX0tbbjhPbA0"} +{"name":"L'Artiste","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Artiste_600%20dpi.webp","system":{"tarottype":"metier","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053845,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"NQBZmrYhEiyNxEo2"} +{"name":"Le Savetier","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Savetier_600%20dpi%20copie.webp","system":{"tarottype":"metier","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053852,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"SClVaCgZjZoR1WiD"} +{"name":"La Roue de la Fortune","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_La%20roue%20de%20la%20fortune_600%20dpi.webp","system":{"tarottype":"mineur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053847,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"WRILaKwS1cjxZGRk"} +{"name":"L'Alchimiste","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Alchimiste_600%20dpi.webp","system":{"tarottype":"mineur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053844,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"WlsCeal346QfJweB"} +{"name":"L'Archange","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Archange_600%20dpi.webp","system":{"tarottype":"majeur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053844,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"bVvGkOVe3BQeK7HR"} +{"name":"La Chance","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Chance_600%20dpi.webp","system":{"tarottype":"majeur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053846,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"ba7fmG0dYpV2jpIv"} +{"name":"Le Vicaire","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Vicaire_600%20dpi.webp","system":{"tarottype":"majeur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053853,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"dbc8W1qD0kj5rQ4s"} +{"name":"Le Juge","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Le%20Juge_600%20dpi.webp","system":{"tarottype":"metier","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053849,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"dkvHSWzgbOqbykUL"} +{"name":"Le Diable","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Diable_600%20dpi.webp","system":{"tarottype":"majeur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053848,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"earXcKB3NZ9sM8S7"} +{"name":"Le Centurion","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Centurion_600%20dpi.webp","system":{"tarottype":"metier","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053848,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"fIHWGqwcubToEjOK"} +{"name":"Le Cabaliste","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Cabaliste_600%20dpi.webp","system":{"tarottype":"mineur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053847,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"gS7fULIr9lPCl5Vb"} +{"name":"Adam","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Adam_600%20dpi.webp","system":{"tarottype":"mineur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053841,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"ooRr6cSNg73cPyaU"} +{"name":"Le Medium","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Medium_600%20dpi.webp","system":{"tarottype":"mineur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053850,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"rOgagyXv5RWxvyBa"} +{"name":"L'Archiviste","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Archiviste_600%20dpi.webp","system":{"tarottype":"metier","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053845,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"wHc7WwyWPZIqt219"} +{"name":"Le Laboureur","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Laboureur_600%20dpi.webp","system":{"tarottype":"metier","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053850,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"wLFdvRd9eLiCtc7b"} +{"name":"Le Grand Livre","type":"tarot","img":"systems/fvtt-malefices/images/tarots/Malefice_Tarot_Grand%20Livre_600%20dpi.webp","system":{"tarottype":"majeur","isreversed":false,"description":""},"effects":[],"flags":{},"_stats":{"systemId":"fvtt-malefices","systemVersion":"10.0.3","coreVersion":"10.291","createdTime":1675369447354,"modifiedTime":1675372053849,"lastModifiedBy":"R9gIh86vXDB4IFn1"},"folder":null,"sort":0,"ownership":{"default":0,"R9gIh86vXDB4IFn1":3},"_id":"zbGGMEQFdwVdlKAf"} diff --git a/styles/simple.css b/styles/simple.css index 5b2be68..fbb696b 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -48,7 +48,7 @@ .sheet nav.sheet-tabs { font-size: 0.8rem; } /* For nav and title */ -.window-app input, .fvtt-avd12 .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle { +.window-app input, .fvtt-malefices .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle { font-size: 0.8rem; } @@ -198,7 +198,7 @@ table {border: 1px solid #7a7971;} } /* Styles limited to sheets */ -.fvtt-avd12 .sheet-header { +.fvtt-malefices .sheet-header { -webkit-box-flex: 0; -ms-flex: 0 0 210px; flex: 0 0 210px; @@ -218,13 +218,13 @@ table {border: 1px solid #7a7971;} margin-bottom: 10px; } -.fvtt-avd12 .sheet-header .profile-img { +.fvtt-malefices .sheet-header .profile-img { -webkit-box-flex: 0; -ms-flex: 0 0 128px; flex: 0 0 128px; - width: 256px; + width: 128px; height: auto; - max-height:256px; + max-height:128px; margin-top: 0px; margin-right: 10px; object-fit: cover; @@ -262,34 +262,34 @@ table {border: 1px solid #7a7971;} vertical-align: bottom; } -.fvtt-avd12 .sheet-header .header-fields { +.fvtt-malefices .sheet-header .header-fields { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } -.fvtt-avd12 .sheet-header h1.charname { +.fvtt-malefices .sheet-header h1.charname { height: 50px; padding: 0px; margin: 5px 0; border-bottom: 0; } -.fvtt-avd12 .sheet-header h1.charname input { +.fvtt-malefices .sheet-header h1.charname input { width: 100%; height: 100%; margin: 0; } -.fvtt-avd12 .sheet-tabs { +.fvtt-malefices .sheet-tabs { -webkit-box-flex: 0; -ms-flex: 0; flex: 0; } -.fvtt-avd12 .sheet-body, -.fvtt-avd12 .sheet-body .tab, -.fvtt-avd12 .sheet-body .tab .editor { +.fvtt-malefices .sheet-body, +.fvtt-malefices .sheet-body .tab, +.fvtt-malefices .sheet-body .tab .editor { height: 100%; font-size: 0.8rem; } @@ -312,83 +312,86 @@ table {border: 1px solid #7a7971;} padding: 0 3px; } -.fvtt-avd12 .tox .tox-editor-container { +.fvtt-malefices .tox .tox-editor-container { background: #fff; } -.fvtt-avd12 .tox .tox-edit-area { +.fvtt-malefices .tox .tox-edit-area { padding: 0 8px; } -.fvtt-avd12 .resource-label { +.fvtt-malefices .resource-label { font-weight: bold; text-transform: uppercase; } -.fvtt-avd12 .tabs { +.fvtt-malefices .tabs { height: 40px; border-top: 1px solid #AAA; border-bottom: 1px solid #AAA; color: #000000; } -.fvtt-avd12 .tabs .item { +.fvtt-malefices .tabs .item { line-height: 40px; font-weight: bold; } -.fvtt-avd12 .tabs .item.active { +.fvtt-malefices .tabs .item.active { text-decoration: underline; text-shadow: none; } -.fvtt-avd12 .items-list { +.fvtt-malefices .items-list { list-style: none; margin: 1px 0; padding: 0; overflow-y: auto; } -.fvtt-avd12 .items-list .item-header { +.fvtt-malefices .items-list .item-header { font-weight: bold; } -.fvtt-avd12 .items-list .item { +.fvtt-malefices .items-list .item { height: 30px; line-height: 24px; padding: 1px 0; border-bottom: 1px solid #BBB; } -.fvtt-avd12 .items-list .item .item-image { +.fvtt-malefices .items-list .item .item-image { -webkit-box-flex: 0; -ms-flex: 0 0 24px; flex: 0 0 24px; margin-right: 5px; } -.fvtt-avd12 .items-list .item img { +.fvtt-malefices .items-list .item img { display: block; } -.fvtt-avd12 .items-list .item-name { +.fvtt-malefices .items-list .item-name { margin: 0; } -.fvtt-avd12 .items-list .item-controls { +.fvtt-malefices .items-list .item-controls { -webkit-box-flex: 0; -ms-flex: 0 0 86px; flex: 0 0 86px; text-align: right; } +li.folder > .folder-header h3 { + color: rgba(19, 18, 18, 0.95); +} /* ======================================== */ /* Sheet */ .window-app.sheet .window-content .sheet-header{ - color: rgba(228, 240, 240, 0.75); - /*background: url("../images/ui/pc_sheet_bg.webp");*/ - background: #494e6b; + color: rgba(19, 18, 18, 0.95); + background: url("../images/ui/background_01.webp"); + /*background: #494e6b;*/ } input[type="text"], select[type="text"] { @@ -403,29 +406,29 @@ select { /* background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ /*color: rgba(168, 139, 139, 0.5);*/ .window-app.sheet .window-content .sheet-header select[type="text"], .window-app.sheet .window-content .sheet-header input[type="text"], .window-app.sheet .window-content .sheet-header input[type="number"], .window-app.sheet .window-content .sheet-body input[type="text"], .window-app.sheet .window-content .sheet-body input[type="number"], .window-app.sheet .window-content .sheet-body select[type="text"] { - background:white; - color: #494e6b; + color: rgba(19, 18, 18, 0.95); + /*color: #494e6b;*/ } .window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] { - color: #494e6b; - background: #494e6b; + color: rgba(19, 18, 18, 0.95); + background: url("../images/ui/background_01.webp"); border: 1 none; margin-bottom: 0.25rem; margin-left: 2px; } .window-app.sheet .window-content .sheet-body input[type="password"], .window-app.sheet .window-content .sheet-body input[type="date"], .window-app.sheet .window-content .sheet-body input[type="time"] { - color: rgba(228, 240, 240, 0.75); - background: #494e6b; + color: rgba(19, 18, 18, 0.95); + background: url("../images/ui/background_01.webp"); border: 1 none; margin-bottom: 0.25rem; margin-left: 2px; } .window-app.sheet .window-content .sheet-body select, .window-app.sheet .window-content .sheet-header select { - color: rgba(228, 240, 240, 0.75); - background: #494e6b; + color: rgba(19, 18, 18, 0.95); + background: #fff; border: 1 none; margin-bottom: 0.25rem; margin-left: 2px; @@ -434,8 +437,8 @@ select { .window-app .window-content, .window-app.sheet .window-content .sheet-body{ font-size: 0.8rem; /*background: url("../images/ui/pc_sheet_bg.webp") repeat left top;*/ - background: #494e6b; - color: rgba(228, 240, 240, 0.75); + background: url("../images/ui/background_01.webp"); + color: rgba(19, 18, 18, 0.95); } /* background: rgba(245,245,240,0.6) url("../images/ui/sheet_background.webp") left top;*/ @@ -566,7 +569,7 @@ ul, li { padding: 0.125rem; flex: 1 1 5rem; display: flex !important; - color: rgba(228, 240, 240, 0.75); + color: rgba(19, 18, 18, 0.95); } .list-item-shadow { background:rgba(87, 60, 32, 0.35); @@ -675,70 +678,20 @@ ul, li { margin-right: 0.25rem; margin-left: 0.25rem; } -.competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; -} -.blessures-title { - font-weight: bold; -} -.alchimie-title { - font-weight: bold; -} -.blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; -} -.blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; -} -.blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; -} -.pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; -} - -.input-sante-header, -.stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; -} - .small-label { margin-top: 5px; } - .padd-right { margin-right: 8px; } .padd-left { margin-left: 8px; } - .stack-left { align-items:center; flex-shrink: 1; flex-grow: 0; } -.npc-ability-label { - flex-grow: 2; -} - .packed-left { white-space: nowrap; flex-grow: 0; @@ -826,7 +779,8 @@ ul, li { #sidebar { font-size: 1rem; background-position: 100%; - color: rgba(220,220,220,0.75); + background: url("../images/ui/background_01.webp"); + color: rgba(19, 18, 18, 0.95); } /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ @@ -836,7 +790,7 @@ ul, li { } #sidebar-tabs > .collapsed, #chat-controls .chat-control-icon { - color: rgba(220,220,220,0.75); + color: rgba(19, 18, 18, 0.95); text-shadow: 1px 1px 0 rgba(0,0,0,0.75); } @@ -914,18 +868,6 @@ ul, li { padding-bottom: .2rem; } -.div-river-full { - height: 5rem; - align-items: flex-start; -} - -.div-river { - align-content: center; - margin-left: 8px; - align-content:space-around; - justify-content: space-around; -} - .div-center { align-self: center; } @@ -1194,7 +1136,7 @@ ul, li { } #logo { - content : url(../images/ui/crucible_game_logo.png); + content : url(../images/ui/logo_pause.webp); width: 100px; height: 60px; } @@ -1229,8 +1171,8 @@ ul, li { } .items-title-bg { margin-top: 6px; - background-color:#252525; - color: white; + color: rgba(19, 18, 18, 0.95); + } .items-title-text { margin-left: 4px; @@ -1330,27 +1272,3 @@ ul, li { max-width: 16px; max-height: 12px; } -.drop-module-step { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; -} -.module-level-box { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - border-radius: 5px; - padding: 4px; - margin-bottom: 8px; - margin-left: 12px; - border: 2px ridge #846109; - max-width: 45%; - min-height: 64px; - align-content: center; -} -.color-selected { - background: linear-gradient(to bottom, #9ae470fc 5%, #247e30ab 100%); -} -.flex-center { - align-items: center; - align-content: space-between; -} \ No newline at end of file diff --git a/system.json b/system.json index 1be01b5..3f44f4f 100644 --- a/system.json +++ b/system.json @@ -19,6 +19,26 @@ "flags": {} } ], + "packs": [ + { + "type": "Item", + "label": "Tarots", + "name": "malefices-tarots", + "path": "packs/malefices-tarots.db", + "system": "fvtt-malefices", + "private": false, + "flags": {} + }, + { + "type": "Item", + "label": "Armes", + "name": "malefices-armes", + "path": "packs/malefices-armes.db", + "system": "fvtt-malefices", + "private": false, + "flags": {} + } + ], "license": "LICENSE.txt", "manifest": "https://www.uberwald.me/gitea/public/fvtt-malefices/raw/branch/master/system.json", "compatibility": { @@ -33,11 +53,9 @@ "styles": [ "styles/simple.css" ], - "packs": [ - ], "title": "Maléfices, le Jeu de Rôle", "url": "https://www.uberwald.me/gitea/public/fvtt-malefices", - "version": "10.0.2", - "download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v10.0.2.zip", + "version": "10.0.4", + "download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v10.0.4.zip", "background": "systems/fvtt-malefices/images/ui/malefice_welcome_page.webp" } \ No newline at end of file diff --git a/template.json b/template.json index d90d994..dffdb4d 100644 --- a/template.json +++ b/template.json @@ -100,17 +100,19 @@ "equipement", "tarot" ], - "templates": { - }, - "equipement" : { + "templates": {}, + "equipement": { "description": "" }, - "tarot" : { + "tarot": { "tarottype": "", + "isreversed": false, "description": "" }, - "arme" : { + "arme": { "armetype": 0, + "porteecourte": "", + "porteemoyenne": "", "dommagenormale": 0, "dommagepart": 0, "dommagecritique": 0, @@ -118,5 +120,5 @@ "dommagecritiquemort": false, "description": "" } - } + } } \ No newline at end of file diff --git a/templates/actors/actor-sheet.hbs b/templates/actors/actor-sheet.hbs index ae3983d..af38ec1 100644 --- a/templates/actors/actor-sheet.hbs +++ b/templates/actors/actor-sheet.hbs @@ -161,28 +161,28 @@