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", weapon: "systems/fvtt-pegasus-rpg/images/icons/icon_weapon.webp",
equipment: "systems/fvtt-pegasus-rpg/images/icons/icon_equipment.webp", equipment: "systems/fvtt-pegasus-rpg/images/icons/icon_equipment.webp",
effect: "systems/fvtt-pegasus-rpg/images/icons/icon_effect.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": [ "tags": [
"perk" "perk"
] ]
},
{
"entity": "Item",
"label": "Effects",
"name": "effect",
"path": "./packs/effect.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"effect"
]
} }
], ],
"primaryTokenAttribute": "endurance.endurance", "primaryTokenAttribute": "endurance.endurance",
@ -100,9 +110,9 @@
"styles": [ "styles": [
"styles/simple.css" "styles/simple.css"
], ],
"templateVersion": 52, "templateVersion": 54,
"title": "Pegasus RPG", "title": "Pegasus RPG",
"url": "https://www.uberwald.me/data/files/fvtt-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" "background" : "./images/ui/pegasus_welcome_page.webp"
} }

View File

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

View File

@ -233,6 +233,7 @@
<span class="generic-label">{{upperFirst effect.data.type}}</span> <span class="generic-label">{{upperFirst effect.data.type}}</span>
<span class="generic-label">{{upperFirst effect.data.genre}}</span> <span class="generic-label">{{upperFirst effect.data.genre}}</span>
<span class="generic-label">Lvl:{{effect.data.effectlevel}}</span> <span class="generic-label">Lvl:{{effect.data.effectlevel}}</span>
<span class="generic-label">{{upper effect.data.stataffected}}</span>
<div class="item-controls"> <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-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> <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"/> <input type="text" class="input-numeric-short padd-right" name="data.effectlevel" value="{{data.effectlevel}}" data-dtype="Number"/>
</li> </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"> <label class="generic-label">Affected Specialisations </label></li>
<li class="flexrow"> <li class="flexrow">
<ul class="ul-level1"> <ul class="ul-level1">
@ -98,7 +102,15 @@
<li class="flexrow"><label class="generic-label">Recovery Roll ?</label> <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> <label class="attribute-value checkbox"><input type="checkbox" name="data.recoveryroll" {{checked data.recoveryroll}}/></label>
</li> </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"> <li class="flexrow">
<ul class="ul-level1"> <ul class="ul-level1">
<li class="flexrow"> <li class="flexrow">
@ -116,6 +128,7 @@
{{/each}} {{/each}}
</ul> </ul>
</li> </li>
{{/if}}
{{/if}} {{/if}}