Fix stuff

This commit is contained in:
sladecraven 2021-05-30 00:21:00 +02:00
parent 4c99b11bb1
commit d3eba25f83
7 changed files with 23 additions and 19 deletions

View File

@ -36,7 +36,7 @@ input[type="datetime-local"]:focus {
.editor-edit {
display: none;
font-size: 1.25em;
font-size: 1.0em;
position: absolute;
top: 5px;
right: 5px;

View File

@ -1,3 +1,3 @@
{"name":"Light Armour","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"","category":"Armour","subcategory":"Light","damage":null,"armour":1,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/armor/leather.png","_id":"I51JRohC7U9QZQf4"}
{"name":"Shield","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"<p>May not be carried with a two-handed weapon or staff.</p>","category":"Armour","subcategory":"Shield","damage":null,"armour":1,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/armor/shield.png","_id":"XdYmXpKWziTu3TsF"}
{"name":"Heavy Armour","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"<p>-1 Move.</p>","category":"Armour","subcategory":"Heavy","damage":null,"armour":2,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/armor/scale.png","_id":"nQ5smVtqMU2hduea"}
{"_id":"I51JRohC7U9QZQf4","name":"Light Armour","type":"item","img":"icons/equipment/chest/breastplate-layered-leather-brown.webp","data":{"description":null,"category":"Armour","subcategory":"Light","damage":null,"armour":1,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.armour.I51JRohC7U9QZQf4"}}}
{"_id":"XdYmXpKWziTu3TsF","name":"Shield","type":"item","img":"icons/equipment/shield/kite-wooden-axe-blue-black.webp","data":{"description":"<p>May not be carried with a two-handed weapon or staff.</p>","category":"Armour","subcategory":"Shield","damage":null,"armour":1,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.armour.XdYmXpKWziTu3TsF"}}}
{"_id":"nQ5smVtqMU2hduea","name":"Heavy Armour","type":"item","img":"icons/equipment/chest/breastplate-layered-steel-grey.webp","data":{"description":"<p>-1 Move.</p>","category":"Armour","subcategory":"Heavy","damage":null,"armour":2,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.armour.nQ5smVtqMU2hduea"}}}

View File

@ -1 +1 @@
{"name":"Potion of Healing","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"<p>This potion restores up to 5 lost points of Health. It may not take a figure above its normal starting Health.</p>","category":"Potion","subcategory":"Lesser Potion","damage":null,"armour":null,"range":null,"effect":null,"price":75,"sale":50,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/potions/minor-red.jpg","_id":"gOvnL5aOzyEOO0s8"}
{"_id":"gOvnL5aOzyEOO0s8","name":"Potion of Healing","type":"item","img":"icons/consumables/potions/bottle-round-corked-green.webp","data":{"description":"<p>This potion restores up to 5 lost points of Health. It may not take a figure above its normal starting Health.</p>","category":"Potion","subcategory":"Lesser Potion","damage":null,"armour":null,"range":null,"effect":null,"price":75,"sale":50,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.potions.gOvnL5aOzyEOO0s8"}}}

View File

@ -1,9 +1,9 @@
{"_id":"3znr4S0pBxvsjHfT","name":"Staff","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"<p>-1 damage modifier to opponent in hand-to-hand combat.</p>","category":"Weapon","subcategory":"Staff","damage":-1,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/weapons/quarterstaff.jpg"}
{"_id":"I5dzIblASNnXm6wP","name":"Hand Weapon","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"","category":"Weapon","subcategory":"Hand Weapon","damage":0,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/weapons/sword-short.jpg"}
{"_id":"J2MgKDjl7PnzfFk7","name":"Quiver","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"","category":"Weapon","subcategory":"Quiver","damage":null,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/weapons/arrows.jpg"}
{"_id":"NCVtlHqckthPSqQT","name":"Bow","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"<p>Load and fire as a single action. Must have a quiver.</p>","category":"Weapon","subcategory":"Bow","damage":0,"armour":null,"range":24,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/weapons/bow-long.jpg"}
{"_id":"bc8K2X35HyZ3ilLv","name":"Crossbow","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"<p>Load and fire as separate actions. May reload in place of movement. Must have a quiver.</p>","category":"Weapon","subcategory":"Crossbow","damage":2,"armour":null,"range":24,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/weapons/crossbow-light.jpg"}
{"_id":"pIUgVtBi8HY0wWad","name":"Two-Handed Weapon","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"<p>Takes up two item slots.</p>","category":"Weapon","subcategory":"Two-Handed Weapon","damage":2,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/weapons/glaive.png"}
{"_id":"tepMTpdLsYToTt6Q","name":"Unarmed","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"<p>-2 Fight.</p>","category":"Weapon","subcategory":"Unarmed","damage":-2,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/skills/blood_11.jpg"}
{"_id":"xdAmMNWwT945pgHx","name":"Dagger","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"<p>First dagger does not take up an item slot.</p>","category":"Weapon","subcategory":"Dagger","damage":-1,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/items/weapons/dagger.jpg"}
{"name":"Natural Weapon","permission":{"default":0,"t4s6NRodQrHWaAMD":3},"type":"item","data":{"description":"","category":"Weapon","subcategory":"Natural Weapon","damage":0,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"flags":{},"img":"systems/dnd5e/icons/skills/blood_06.jpg","_id":"xiMhRBKLUKy5wHFY"}
{"_id":"3znr4S0pBxvsjHfT","name":"Staff","type":"item","img":"icons/weapons/staves/staff-simple-carved.webp","data":{"description":"<p>-1 damage modifier to opponent in hand-to-hand combat.</p>","category":"Weapon","subcategory":"Staff","damage":-1,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.weapons.3znr4S0pBxvsjHfT"}}}
{"_id":"I5dzIblASNnXm6wP","name":"Hand Weapon","type":"item","img":"icons/weapons/swords/greatsword-blue.webp","data":{"description":null,"category":"Weapon","subcategory":"Hand Weapon","damage":0,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.weapons.I5dzIblASNnXm6wP"}}}
{"_id":"J2MgKDjl7PnzfFk7","name":"Quiver","type":"item","img":"icons/containers/ammunition/arrows-quiver-brown-grey.webp","data":{"description":null,"category":"Weapon","subcategory":"Quiver","damage":null,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.weapons.J2MgKDjl7PnzfFk7"}}}
{"_id":"NCVtlHqckthPSqQT","name":"Bow","type":"item","img":"icons/weapons/bows/shortbow-leather.webp","data":{"description":"<p>Load and fire as a single action. Must have a quiver.</p>","category":"Weapon","subcategory":"Bow","damage":0,"armour":null,"range":24,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.weapons.NCVtlHqckthPSqQT"}}}
{"_id":"bc8K2X35HyZ3ilLv","name":"Crossbow","type":"item","img":"icons/weapons/crossbows/crossbow-purple.webp","data":{"description":"<p>Load and fire as separate actions. May reload in place of movement. Must have a quiver.</p>","category":"Weapon","subcategory":"Crossbow","damage":2,"armour":null,"range":24,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.weapons.bc8K2X35HyZ3ilLv"}}}
{"_id":"pIUgVtBi8HY0wWad","name":"Two-Handed Weapon","type":"item","img":"icons/weapons/polearms/halberd-curved-steel.webp","data":{"description":"<p>Takes up two item slots.</p>","category":"Weapon","subcategory":"Two-Handed Weapon","damage":2,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.weapons.pIUgVtBi8HY0wWad"}}}
{"_id":"tepMTpdLsYToTt6Q","name":"Unarmed","type":"item","img":"icons/skills/melee/unarmed-punch-fist.webp","data":{"description":"<p>-2 Fight.</p>","category":"Weapon","subcategory":"Unarmed","damage":-2,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.weapons.tepMTpdLsYToTt6Q"}}}
{"_id":"xdAmMNWwT945pgHx","name":"Dagger","type":"item","img":"icons/weapons/daggers/dagger-straight-cracked.webp","data":{"description":"<p>First dagger does not take up an item slot.</p>","category":"Weapon","subcategory":"Dagger","damage":-1,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.weapons.xdAmMNWwT945pgHx"}}}
{"_id":"xiMhRBKLUKy5wHFY","name":"Natural Weapon","type":"item","img":"icons/creatures/claws/claw-hooked-curved.webp","data":{"description":null,"category":"Weapon","subcategory":"Natural Weapon","damage":0,"armour":null,"range":null,"effect":"","price":null,"sale":null,"ingredient":null},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"t4s6NRodQrHWaAMD":3},"flags":{"core":{"sourceId":"Compendium.foundryvtt-frostgrave.weapons.xiMhRBKLUKy5wHFY"}}}

View File

@ -2,11 +2,11 @@
"name": "foundryvtt-frostgrave",
"title": "Frostgrave",
"description": "The Frostgrave system for Foundry VTT",
"version": "2.0.0",
"version": "2.0.1",
"minimumCoreVersion": "0.8.0",
"compatibleCoreVersion": "0.8.5",
"templateVersion": 2,
"author": "Phenomen",
"templateVersion": 3,
"author": "LeRatierBretonnien/Phenomen",
"esmodules": [
"module/frostgrave.js"
],

View File

@ -15,6 +15,7 @@
"expscenario": 0,
"exptotal": 0,
"level": 0,
"money":0,
"levellog": "<ul><li>1:</li><li>2:</li><li>3:</li><li>4:</li><li>5:</li><li>6:</li><li>7:</li><li>8:</li><li>9:</li><li>10:</li></ul>",
"mod": 0,
"health": {

View File

@ -29,8 +29,11 @@
</div>
<div class="media-content">
{{#if (ne item.data.data.damage null)}}
<div class="is-capitalized is-size-5 has-text-weight-bold"><a>{{item.name}} <i class="fas fa-dice-d20"></i></a></div>
{{else}}
<div class="is-capitalized is-size-5 has-text-weight-bold">{{item.name}}</div>
{{/if}}
<div class="field is-grouped is-grouped-multiline">
<div class="control">