Compare commits

..

2 Commits

Author SHA1 Message Date
ecef47eca8 Data model change 2022-07-24 23:55:27 +02:00
db3f10bfb1 Data model change 2022-07-24 18:43:32 +02:00
4 changed files with 102 additions and 21 deletions

View File

@ -23,20 +23,20 @@
"packs": [
{
"entity": "Item",
"label": "Armour",
"name": "armour",
"path": "./packs/armour.db",
"system": "fvtt-pegasus-rpg",
"label": "Armors",
"name": "armor",
"path": "./packs/armor.db",
"system": "fvtt-crucible-rpg",
"tags": [
"armour"
]
},
{
"entity": "Item",
"label": "Equipment",
"label": "Equipments",
"name": "equipment",
"path": "./packs/equipment.db",
"system": "fvtt-pegasus-rpg",
"system": "fvtt-crucible-rpg",
"tags": [
"equipment"
]
@ -46,29 +46,29 @@
"label": "Shields",
"name": "shields",
"path": "./packs/shields.db",
"system": "fvtt-pegasus-rpg",
"system": "fvtt-crucible-rpg",
"tags": [
"shield"
]
},
{
"entity": "Item",
"label": "Melee Weapons",
"name": "melee-weapons",
"path": "./packs/melee-weapons.db",
"system": "fvtt-pegasus-rpg",
"label": "Weapons",
"name": "weapons",
"path": "./packs/weapons.db",
"system": "fvtt-crucible-rpg",
"tags": [
"weapon", "melee"
"weapon", "melee", "ranged"
]
},
{
"entity": "Item",
"label": "Ranged Weapons",
"name": "ranged-weapons",
"path": "./packs/ranged-weapons.db",
"system": "fvtt-pegasus-rpg",
"label": "Conditions",
"name": "conditions",
"path": "./packs/conditions.db",
"system": "fvtt-crucible-rpg",
"tags": [
"weapon", "ranged"
"condition"
]
},
{
@ -76,10 +76,70 @@
"label": "Currency",
"name": "currency",
"path": "./packs/currency.db",
"system": "fvtt-pegasus-rpg",
"system": "fvtt-crucible-rpg",
"tags": [
"currency", "money"
]
},
{
"entity": "Item",
"label": "Lore - Air",
"name": "lore-air",
"path": "./packs/lore-air.db",
"system": "fvtt-crucible-rpg",
"tags": [
"lore", "air"
]
},
{
"entity": "Item",
"label": "Lore - Earth",
"name": "lore-earth",
"path": "./packs/lore-earth.db",
"system": "fvtt-crucible-rpg",
"tags": [
"lore", "earth"
]
},
{
"entity": "Item",
"label": "Lore - Fire",
"name": "lore-fire",
"path": "./packs/lore-fire.db",
"system": "fvtt-crucible-rpg",
"tags": [
"lore", "fire"
]
},
{
"entity": "Item",
"label": "Lore - Water",
"name": "lore-water",
"path": "./packs/lore-water.db",
"system": "fvtt-crucible-rpg",
"tags": [
"lore", "water"
]
},
{
"entity": "Item",
"label": "Lore - Shadow",
"name": "lore-shadow",
"path": "./packs/lore-shadow.db",
"system": "fvtt-crucible-rpg",
"tags": [
"lore", "shadow"
]
},
{
"entity": "Item",
"label": "Skills",
"name": "skills",
"path": "./packs/skills.db",
"system": "fvtt-crucible-rpg",
"tags": [
"skill"
]
}
],
"primaryTokenAttribute": "secondary.health",
@ -88,11 +148,11 @@
"styles": [
"styles/simple.css"
],
"templateVersion": 3,
"templateVersion": 4,
"title": "Crucible RPG",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/raw/master/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/archive/fvtt-crucible-rpg-v0.1.3.zip",
"download": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/archive/fvtt-crucible-rpg-v0.1.6.zip",
"url": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg",
"version": "0.1.3",
"version": "0.1.6",
"background" : "./images/ui/crucible_welcome_page.webp"
}

View File

@ -99,6 +99,7 @@
"skill": {
"ability": "",
"armorpenalty": false,
"bonusdice": "",
"level": 0,
"background": 0,
"basic": 0,
@ -140,6 +141,7 @@
"damage": "",
"range": "",
"maxrange": "",
"minstr": 0,
"cost": 0,
"equipped": false,
"description": ""

View File

@ -43,6 +43,22 @@
</select>
</li>
<li class="flexrow"><label class="generic-label">Bonus dice</label>
<select class="competence-base flexrow" type="text" name="data.bonusdice" value="{{data.bonusdice}}" data-dtype="String">
{{#select data.bonusdice}}
<option value="none">None</option>
<option value="1d6">1d6</option>
<option value="2d6">2d6</option>
<option value="3d6">3d6</option>
<option value="4d6">4d6</option>
<option value="5d6">5d6</option>
<option value="6d6">6d6</option>
<option value="7d6">7d6</option>
<option value="8d6">8d6</option>
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Background</label>
<input type="text" class="" name="data.background" value="{{data.background}}" data-dtype="Number"/>
</li>

View File

@ -47,6 +47,9 @@
<li class="flexrow"><label class="generic-label">Max range</label>
<input type="text" class="right" name="data.maxrange" value="{{data.maxrange}}" data-dtype="String"/>
</li>
<li class="flexrow"><label class="generic-label">Minimum strength</label>
<input type="text" class="input-numeric-short padd-right" name="data.minstr" value="{{data.minstr}}" data-dtype="Number"/>
</li>
<li class="flexrow"><label class="generic-label">Equipped ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>