This commit is contained in:
sladecraven 2022-01-12 19:57:36 +01:00
parent edfe666e27
commit a78351e613
5 changed files with 31 additions and 3 deletions

View File

@ -8,6 +8,8 @@ export const defaultItemImg = {
weapon: "systems/fvtt-pegasus-rpg/images/icons/icon_weapon.webp",
equipment: "systems/fvtt-pegasus-rpg/images/icons/icon_equipment.webp",
effect: "systems/fvtt-pegasus-rpg/images/icons/icon_effect.webp",
race: "systems/fvtt-pegasus-rpg/images/icons/icon_race.webp",
power: "systems/fvtt-pegasus-rpg/images/icons/icon_power.webp",
}
/**

View File

@ -92,6 +92,16 @@
"tags": [
"perk"
]
},
{
"entity": "Item",
"label": "Effects",
"name": "effect",
"path": "./packs/effect.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"effect"
]
}
],
"primaryTokenAttribute": "endurance.endurance",
@ -100,9 +110,9 @@
"styles": [
"styles/simple.css"
],
"templateVersion": 52,
"templateVersion": 54,
"title": "Pegasus RPG",
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
"version": "0.0.52",
"version": "0.0.54",
"background" : "./images/ui/pegasus_welcome_page.webp"
}

View File

@ -179,6 +179,7 @@
"type": "",
"genre": "",
"effectlevel": 0,
"reducedicevalue": false,
"stataffected": "",
"specaffected": [],
"statdice": false,
@ -187,6 +188,7 @@
"hindrance" : false,
"resistedby": "",
"recoveryroll": false,
"recoveryrollstat": "",
"recoveryrollspec": [],
"description": ""
},

View File

@ -233,6 +233,7 @@
<span class="generic-label">{{upperFirst effect.data.type}}</span>
<span class="generic-label">{{upperFirst effect.data.genre}}</span>
<span class="generic-label">Lvl:{{effect.data.effectlevel}}</span>
<span class="generic-label">{{upper effect.data.stataffected}}</span>
<div class="item-controls">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>

View File

@ -35,6 +35,10 @@
<input type="text" class="input-numeric-short padd-right" name="data.effectlevel" value="{{data.effectlevel}}" data-dtype="Number"/>
</li>
<li class="flexrow"><label class="generic-label">Reduce Dice Value ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.reducedicevalue" {{checked data.reducedicevalue}}/></label>
</li>
<li class="flexrow"> <label class="generic-label">Affected Specialisations </label></li>
<li class="flexrow">
<ul class="ul-level1">
@ -98,7 +102,15 @@
<li class="flexrow"><label class="generic-label">Recovery Roll ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.recoveryroll" {{checked data.recoveryroll}}/></label>
</li>
{{#if data.recoveryroll}}
<li class="flexrow"><label class="generic-label">Recovery Stat</label>
<select class="competence-base flexrow" type="text" name="data.recoveryrollstat" value="{{data.recoveryrollstat}}" data-dtype="String">
{{#select data.recoveryrollstat}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=false all=false}}
{{/select}}
</select>
</li>
<li class="flexrow">
<ul class="ul-level1">
<li class="flexrow">
@ -116,6 +128,7 @@
{{/each}}
</ul>
</li>
{{/if}}
{{/if}}