Item review and commit
This commit is contained in:
parent
a91eb3d7bd
commit
521d14c263
@ -30,12 +30,12 @@ export const Hero6_CONFIG = {
|
|||||||
"none": "None",
|
"none": "None",
|
||||||
"attack": "Attack",
|
"attack": "Attack",
|
||||||
"automaton": "Automaton",
|
"automaton": "Automaton",
|
||||||
"bodyaffecting": "Bodyaffecting",
|
"bodyaffecting": "Body-Affecting",
|
||||||
"defense": "Defense",
|
"defense": "Defense",
|
||||||
"sensory": "Sensory"
|
"sensory": "Sensory"
|
||||||
},
|
},
|
||||||
powerSenseAffecting: {
|
powerSenseAffecting: {
|
||||||
"none": "None",
|
"none": "None",
|
||||||
"senseaffecting": "Senseaffecting",
|
"senseaffecting": "Sense-Affecting",
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -43,7 +43,7 @@ export class Hero6Utility {
|
|||||||
return __locationNames[key]
|
return __locationNames[key]
|
||||||
})
|
})
|
||||||
Handlebars.registerHelper('isSkillCustom', function (key) {
|
Handlebars.registerHelper('isSkillCustom', function (key) {
|
||||||
if (key == "custom" || key == "background" || key == "combat" ) {
|
if (key == "custom" || key == "background" ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
@ -158,6 +158,7 @@ export class Hero6Utility {
|
|||||||
'systems/fvtt-hero-system-6/templates/partials/partial-actor-equipment.hbs',
|
'systems/fvtt-hero-system-6/templates/partials/partial-actor-equipment.hbs',
|
||||||
'systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs',
|
'systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs',
|
||||||
'systems/fvtt-hero-system-6/templates/partials/partial-power-equipment-cost.hbs',
|
'systems/fvtt-hero-system-6/templates/partials/partial-power-equipment-cost.hbs',
|
||||||
|
'systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs',
|
||||||
]
|
]
|
||||||
return loadTemplates(templatePaths);
|
return loadTemplates(templatePaths);
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
"packs": [
|
"packs": [
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Equipments",
|
"label": "Equipment",
|
||||||
"name": "equipment",
|
"name": "equipment",
|
||||||
"path": "packs/equipment.db",
|
"path": "packs/equipment.db",
|
||||||
"system": "fvtt-hero-system-6",
|
"system": "fvtt-hero-system-6",
|
||||||
@ -82,7 +82,7 @@
|
|||||||
"styles": [
|
"styles": [
|
||||||
"styles/simple.css"
|
"styles/simple.css"
|
||||||
],
|
],
|
||||||
"version": "10.0.3",
|
"version": "10.0.4",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "10",
|
"minimum": "10",
|
||||||
"verified": "10",
|
"verified": "10",
|
||||||
@ -90,7 +90,7 @@
|
|||||||
},
|
},
|
||||||
"title": "Hero System v6 for FoundrtVTT (Official)",
|
"title": "Hero System v6 for FoundrtVTT (Official)",
|
||||||
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/raw/branch/main/system.json",
|
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/raw/branch/main/system.json",
|
||||||
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/archive/fvtt-hero-system-6-v10.0.3.zip",
|
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/archive/fvtt-hero-system-6-v10.0.4.zip",
|
||||||
"url": "https://www.uberwald.me/gitea/uberwald/",
|
"url": "https://www.uberwald.me/gitea/uberwald/",
|
||||||
"background": "images/ui/hro6_welcome_page.webp",
|
"background": "images/ui/hro6_welcome_page.webp",
|
||||||
"id": "fvtt-hero-system-6"
|
"id": "fvtt-hero-system-6"
|
||||||
|
@ -236,7 +236,7 @@
|
|||||||
"skilltype": "agility",
|
"skilltype": "agility",
|
||||||
"characteristic": "",
|
"characteristic": "",
|
||||||
"base": "",
|
"base": "",
|
||||||
"skillroll": 0,
|
"levelscost": 0,
|
||||||
"levels": 0,
|
"levels": 0,
|
||||||
"templates": [
|
"templates": [
|
||||||
"common"
|
"common"
|
||||||
@ -309,12 +309,14 @@
|
|||||||
"velValue": 0
|
"velValue": 0
|
||||||
},
|
},
|
||||||
"perk": {
|
"perk": {
|
||||||
|
"hasroll": false,
|
||||||
"roll": 0,
|
"roll": 0,
|
||||||
"templates": [
|
"templates": [
|
||||||
"common"
|
"common"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"talent": {
|
"talent": {
|
||||||
|
"hasroll": false,
|
||||||
"roll": 0,
|
"roll": 0,
|
||||||
"templates": [
|
"templates": [
|
||||||
"common"
|
"common"
|
||||||
|
@ -14,9 +14,11 @@
|
|||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<ul>
|
||||||
<input type="text" class="" name="system.cost" value="{{system.cost}}" data-dtype="Number"/>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
</li>
|
<input type="text" class="" name="system.cost" value="{{system.cost}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
@ -15,18 +15,11 @@
|
|||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
|
|
||||||
<li class="flexrow"><label class="item-field-label-long">Has Roll ?</label>
|
<ul>
|
||||||
<label class="item-field-label-medium"><input type="checkbox" name="system.hasroll" {{checked system.hasroll}}/></label>
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
|
||||||
</li>
|
|
||||||
|
|
||||||
{{#if system.hasroll}}
|
|
||||||
<li class="flexrow"><label class="item-field-label-long">Roll</label>
|
|
||||||
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
|
|
||||||
</li>
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
|
||||||
|
|
||||||
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -12,10 +12,12 @@
|
|||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
|
||||||
|
<ul>
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<li class="flexrow"><label class="item-field-label-long">Roll</label>
|
|
||||||
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
<ul>
|
||||||
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
|
||||||
|
|
||||||
</div>
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -14,20 +14,14 @@
|
|||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-power-equipment-cost.hbs}}
|
|
||||||
|
|
||||||
<li class="flexrow"><label class="item-field-label-long">Has Roll ?</label>
|
<ul>
|
||||||
<label class="item-field-label-medium"><input type="checkbox" name="system.hasroll" {{checked system.hasroll}}/></label>
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
|
||||||
</li>
|
|
||||||
|
|
||||||
{{#if system.hasroll}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-power-equipment-cost.hbs}}
|
||||||
<li class="flexrow"><label class="item-field-label-long">Roll</label>
|
|
||||||
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
|
|
||||||
</li>
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
|
||||||
|
|
||||||
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -46,9 +46,11 @@
|
|||||||
<input type="text" class="item-field-label-medium" name="system.levels" value="{{system.levels}}" data-dtype="Number"/>
|
<input type="text" class="item-field-label-medium" name="system.levels" value="{{system.levels}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="item-field-label-long">Skill Roll points</label>
|
{{#if (ne system.skilltype "combat")}}
|
||||||
<input type="text" class="item-field-label-medium" name="system.skillroll" value="{{system.skillroll}}" data-dtype="Number"/>
|
<li class="flexrow"><label class="item-field-label-long">Levels Cost</label>
|
||||||
</li>
|
<input type="text" class="item-field-label-medium" name="system.levelscost" value="{{system.levelscost}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
|
||||||
|
@ -14,7 +14,12 @@
|
|||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
|
||||||
|
<ul>
|
||||||
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
|
||||||
|
|
||||||
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
9
templates/partials/partial-item-hasroll.hbs
Normal file
9
templates/partials/partial-item-hasroll.hbs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<li class="flexrow"><label class="item-field-label-long">Has Roll ?</label>
|
||||||
|
<label class="item-field-label-medium"><input type="checkbox" name="system.hasroll" {{checked system.hasroll}}/></label>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
{{#if system.hasroll}}
|
||||||
|
<li class="flexrow"><label class="item-field-label-long">Roll</label>
|
||||||
|
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
Loading…
Reference in New Issue
Block a user