ENH: Demo, clean template

master
U~man 2020-08-01 11:17:51 +02:00
parent 1c28b286d9
commit 14f77057b8
3 changed files with 7 additions and 5 deletions

View File

@ -82,6 +82,9 @@
</p> </p>
</div> </div>
</div> </div>
<div id="demo" class="row" style="text-align: center;">
<iframe width="560" height="315" src="https://www.youtube.com/embed/xKFuPXfyMoE" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div id="setup" class="row"> <div id="setup" class="row">
<h4>Setup</h4> <h4>Setup</h4>
<p>You can find System settings in the Configure Settings dialog you <p>You can find System settings in the Configure Settings dialog you

View File

@ -50,7 +50,7 @@ export class OseItem extends Item {
const labels = this.labels; const labels = this.labels;
if (this.data.type == "weapon") { if (this.data.type == "weapon") {
props.push(data.qualities); data.tags.forEach(t => props.push(t.value));
} }
if (this.data.type == "spell") { if (this.data.type == "spell") {
props.push(`${data.class} ${data.lvl}`, data.range, data.duration); props.push(`${data.class} ${data.lvl}`, data.range, data.duration);

View File

@ -165,7 +165,7 @@
}, },
"treasure": false, "treasure": false,
"cost": 0, "cost": 0,
"weight": 80 "weight": 0
}, },
"weapon": { "weapon": {
"range": { "range": {
@ -174,14 +174,13 @@
"long": 0 "long": 0
}, },
"save": "", "save": "",
"pattern": "white", "pattern": "transparent",
"description": "", "description": "",
"damage": "1d6", "damage": "1d6",
"bonus": 0, "bonus": 0,
"tags": [], "tags": [],
"qualities": "",
"slow": false, "slow": false,
"missile": true, "missile": false,
"melee": true, "melee": true,
"cost": 0, "cost": 0,
"equipped": false, "equipped": false,