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": [ "packs": [
{ {
"entity": "Item", "entity": "Item",
"label": "Armour", "label": "Armors",
"name": "armour", "name": "armor",
"path": "./packs/armour.db", "path": "./packs/armor.db",
"system": "fvtt-pegasus-rpg", "system": "fvtt-crucible-rpg",
"tags": [ "tags": [
"armour" "armour"
] ]
}, },
{ {
"entity": "Item", "entity": "Item",
"label": "Equipment", "label": "Equipments",
"name": "equipment", "name": "equipment",
"path": "./packs/equipment.db", "path": "./packs/equipment.db",
"system": "fvtt-pegasus-rpg", "system": "fvtt-crucible-rpg",
"tags": [ "tags": [
"equipment" "equipment"
] ]
@ -46,29 +46,29 @@
"label": "Shields", "label": "Shields",
"name": "shields", "name": "shields",
"path": "./packs/shields.db", "path": "./packs/shields.db",
"system": "fvtt-pegasus-rpg", "system": "fvtt-crucible-rpg",
"tags": [ "tags": [
"shield" "shield"
] ]
}, },
{ {
"entity": "Item", "entity": "Item",
"label": "Melee Weapons", "label": "Weapons",
"name": "melee-weapons", "name": "weapons",
"path": "./packs/melee-weapons.db", "path": "./packs/weapons.db",
"system": "fvtt-pegasus-rpg", "system": "fvtt-crucible-rpg",
"tags": [ "tags": [
"weapon", "melee" "weapon", "melee", "ranged"
] ]
}, },
{ {
"entity": "Item", "entity": "Item",
"label": "Ranged Weapons", "label": "Conditions",
"name": "ranged-weapons", "name": "conditions",
"path": "./packs/ranged-weapons.db", "path": "./packs/conditions.db",
"system": "fvtt-pegasus-rpg", "system": "fvtt-crucible-rpg",
"tags": [ "tags": [
"weapon", "ranged" "condition"
] ]
}, },
{ {
@ -76,10 +76,70 @@
"label": "Currency", "label": "Currency",
"name": "currency", "name": "currency",
"path": "./packs/currency.db", "path": "./packs/currency.db",
"system": "fvtt-pegasus-rpg", "system": "fvtt-crucible-rpg",
"tags": [ "tags": [
"currency", "money" "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", "primaryTokenAttribute": "secondary.health",
@ -88,11 +148,11 @@
"styles": [ "styles": [
"styles/simple.css" "styles/simple.css"
], ],
"templateVersion": 3, "templateVersion": 4,
"title": "Crucible RPG", "title": "Crucible RPG",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/raw/master/system.json", "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", "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" "background" : "./images/ui/crucible_welcome_page.webp"
} }

View File

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

View File

@ -43,6 +43,22 @@
</select> </select>
</li> </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> <li class="flexrow"><label class="generic-label">Background</label>
<input type="text" class="" name="data.background" value="{{data.background}}" data-dtype="Number"/> <input type="text" class="" name="data.background" value="{{data.background}}" data-dtype="Number"/>
</li> </li>

View File

@ -47,6 +47,9 @@
<li class="flexrow"><label class="generic-label">Max range</label> <li class="flexrow"><label class="generic-label">Max range</label>
<input type="text" class="right" name="data.maxrange" value="{{data.maxrange}}" data-dtype="String"/> <input type="text" class="right" name="data.maxrange" value="{{data.maxrange}}" data-dtype="String"/>
</li> </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> <li class="flexrow"><label class="generic-label">Equipped ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label> <label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>