From 96ba97f503606fae4efdb19c09eb480459b45ff3 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sun, 18 Dec 2022 17:36:15 +0100 Subject: [PATCH] Minot fixes + first pack --- packs/armors.db | 12 ++++++++++++ styles/simple.css | 6 ++++-- system.json | 15 +++++++++++++-- templates/items/partial-options-damage-types.hbs | 6 ++++++ templates/items/partial-options-spell-levels.hbs | 1 + templates/items/partial-options-spell-schools.hbs | 4 +++- 6 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 packs/armors.db diff --git a/packs/armors.db b/packs/armors.db new file mode 100644 index 0000000..3545f30 --- /dev/null +++ b/packs/armors.db @@ -0,0 +1,12 @@ +{"name":"Medium Armor (Large)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":2},"psychic":{"value":0},"fire":{"value":1},"lightning":{"value":1},"cold":{"value":1},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":400,"cost":2400,"health":0,"movespeed":0,"equipped":false,"category":"medium","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHar0HiB3nPU","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Ultra-Heavy Armor (Medium)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":6},"psychic":{"value":0},"fire":{"value":0},"lightning":{"value":0},"cold":{"value":0},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":600,"cost":4400,"health":0,"movespeed":0,"equipped":false,"category":"ultraheavy","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHar0w1P6MgG","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Light Armor (Medium)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":1},"psychic":{"value":0},"fire":{"value":2},"lightning":{"value":2},"cold":{"value":2},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":100,"cost":900,"health":0,"movespeed":0,"equipped":false,"category":"light","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHar2D0yPmBo","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Heavy Armor (Medium)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":4},"psychic":{"value":0},"fire":{"value":0},"lightning":{"value":0},"cold":{"value":0},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":400,"cost":3000,"health":0,"movespeed":0,"equipped":false,"category":"heavy","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHar4ZD8O3GQ","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Medium Armor (Small)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":2},"psychic":{"value":0},"fire":{"value":1},"lightning":{"value":1},"cold":{"value":1},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":100,"cost":600,"health":0,"movespeed":0,"equipped":false,"category":"medium","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHar6XCzYQZD","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Heavy Armor (Large)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":4},"psychic":{"value":0},"fire":{"value":0},"lightning":{"value":0},"cold":{"value":0},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":800,"cost":6000,"health":0,"movespeed":0,"equipped":false,"category":"heavy","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHarA0H7UbzW","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Ultra-Heavy Armor (Small)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":6},"psychic":{"value":0},"fire":{"value":0},"lightning":{"value":0},"cold":{"value":0},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":300,"cost":2200,"health":0,"movespeed":0,"equipped":false,"category":"ultraheavy","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHarGr05MjOS","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Medium Armor (Medium)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":2},"psychic":{"value":0},"fire":{"value":1},"lightning":{"value":1},"cold":{"value":1},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":200,"cost":1200,"health":0,"movespeed":0,"equipped":false,"category":"medium","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHarTsmPFoM4","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Light Armor (Large)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":1},"psychic":{"value":0},"fire":{"value":2},"lightning":{"value":2},"cold":{"value":2},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":200,"cost":1800,"health":0,"movespeed":0,"equipped":false,"category":"light","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHarUn99c4jf","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Ultra-Heavy Armor (Large)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":6},"psychic":{"value":0},"fire":{"value":0},"lightning":{"value":0},"cold":{"value":0},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":1200,"cost":8800,"health":0,"movespeed":0,"equipped":false,"category":"ultraheavy","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHaroYGcAVjt","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Heavy Armor (Small)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":4},"psychic":{"value":0},"fire":{"value":0},"lightning":{"value":0},"cold":{"value":0},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":200,"cost":1500,"health":0,"movespeed":0,"equipped":false,"category":"heavy","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHarxj9KqSh0","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} +{"name":"Light Armor (Small)","type":"armor","img":"systems/fvtt-avd12/images/icons/chest2.webp","system":{"focuspointsbonus":0,"focusregenbonus":0,"burnchancebonus":0,"mitigation":{"physical":{"value":1},"psychic":{"value":0},"fire":{"value":2},"lightning":{"value":2},"cold":{"value":2},"dark":{"value":0},"divine":{"value":0},"arcane":{"value":0}},"bonus":{"block":{"value":0},"dodge":{"value":0},"resistance":{"value":0}},"focus":{"isfocus":false,"core":"corenone","treatment":"treatmentnone","bond":"bondnone"},"weight":50,"cost":450,"health":0,"movespeed":0,"equipped":false,"category":"light","description":""},"effects":[],"flags":{"core":{"sourceId":"Item.MOcIlHar8MM7JNm7"}},"_stats":{"systemId":"fvtt-avd12","systemVersion":"10.0.11","coreVersion":"10.288","createdTime":1671358405255,"modifiedTime":1671361680079,"lastModifiedBy":"JgmaAbvFHQvSlowN"},"_id":"MOcIlHary7qd5sG7","folder":null,"sort":0,"ownership":{"default":0,"JgmaAbvFHQvSlowN":3}} diff --git a/styles/simple.css b/styles/simple.css index 77f0675..88f7827 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -390,22 +390,24 @@ table {border: 1px solid #7a7971;} background: #494e6b; } -input[type="text"], select[type="text"] { +input[type="text"], select[type="text"] { background:white; color: #494e6b; } select { background:white; + color: #494e6b; } /* 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; } .window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] { - color: rgba(228, 240, 240, 0.75); + color: #494e6b; background: #494e6b; border: 1 none; margin-bottom: 0.25rem; diff --git a/system.json b/system.json index 2f661ef..1efc144 100644 --- a/system.json +++ b/system.json @@ -33,9 +33,20 @@ "styles": [ "styles/simple.css" ], + "packs": [ + { + "type": "Item", + "label": "Armors", + "name": "armors", + "path": "packs/armors.db", + "system": "fvtt-avd12", + "private": false, + "flags": {} + } + ], "title": "AnyVenture D12 RPG", "url": "https://www.uberwald.me/gitea/public/fvtt-avd12", - "version": "10.0.11", - "download": "https://www.uberwald.me/gitea/public/fvtt-avd12/archive/fvtt-avd12-v10.0.11.zip", + "version": "10.0.12", + "download": "https://www.uberwald.me/gitea/public/fvtt-avd12/archive/fvtt-avd12-v10.0.12.zip", "background": "systems/fvtt-avd12/images/ui/avd12_welcome_page.webp" } \ No newline at end of file diff --git a/templates/items/partial-options-damage-types.hbs b/templates/items/partial-options-damage-types.hbs index 9627d4c..bea4c8a 100644 --- a/templates/items/partial-options-damage-types.hbs +++ b/templates/items/partial-options-damage-types.hbs @@ -1,3 +1,4 @@ + @@ -6,3 +7,8 @@ + + + + + diff --git a/templates/items/partial-options-spell-levels.hbs b/templates/items/partial-options-spell-levels.hbs index 2748cc4..8d82953 100644 --- a/templates/items/partial-options-spell-levels.hbs +++ b/templates/items/partial-options-spell-levels.hbs @@ -2,3 +2,4 @@ + diff --git a/templates/items/partial-options-spell-schools.hbs b/templates/items/partial-options-spell-schools.hbs index 6e58f8b..84909f7 100644 --- a/templates/items/partial-options-spell-schools.hbs +++ b/templates/items/partial-options-spell-schools.hbs @@ -1,6 +1,6 @@ - + @@ -10,3 +10,5 @@ + +