WIP for vehicle sheets

This commit is contained in:
sladecraven 2022-09-08 21:26:45 +02:00
parent 1849a60194
commit ecf5a38eb0
14 changed files with 429 additions and 137 deletions

View File

@ -1,6 +1,6 @@
[Dolphin]
SortRole=creationtime
Timestamp=2021,4,13,9,23,48.267
SortRole=modificationtime
Timestamp=2022,9,8,20,43,38.73
Version=4
ViewMode=1
VisibleRoles=Details_text,Details_size,Details_modificationtime,Details_creationtime,CustomizedDetails

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -106,6 +106,42 @@ export class PegasusActor extends Actor {
let comp = this.items.filter(item => item.type == 'effect');
return comp;
}
/* -------------------------------------------- */
getCombatModules() {
let comp = this.items.filter(item => item.type == 'combatmodule');
return comp;
}
/* -------------------------------------------- */
getVehicleHull() {
let comp = this.items.filter(item => item.type == 'vehiclehull');
return comp;
}
/* -------------------------------------------- */
getPowercoreModules() {
let comp = this.items.filter(item => item.type == 'powercoremodule');
return comp;
}
/* -------------------------------------------- */
getMobilityModules() {
let comp = this.items.filter(item => item.type == 'mobilitymodule');
return comp;
}
/* -------------------------------------------- */
getPropulsionModules() {
let comp = this.items.filter(item => item.type == 'propulsionmodule');
return comp;
}
/* -------------------------------------------- */
getVehicleModules() {
let comp = this.items.filter(item => item.type == 'vehiclemodule');
return comp;
}
/* -------------------------------------------- */
getVehicleWeaponModules() {
let comp = this.items.filter(item => item.type == 'vehicleweaponmodule');
return comp;
}
/* -------------------------------------------- */
getPowers() {
let comp = this.items.filter(item => item.type == 'power');

View File

@ -43,6 +43,13 @@ export class PegasusVehicleSheet extends ActorSheet {
optionsLevel: PegasusUtility.getOptionsLevel(),
subActors: duplicate(this.actor.getSubActors()),
effects: duplicate(this.actor.getEffects()),
combatModules: duplicate(this.actor.getCombatModules()),
powerCoreModules: duplicate(this.actor.getPowercoreModules()),
vehicleHull: duplicate(this.actor.getVehicleHull()),
mobilityModules: duplicate(this.actor.getMobilityModules()),
propulsionModules: duplicate(this.actor.getPropulsionModules()),
vehicleModules: duplicate(this.actor.getVehicleModules()),
vehicleWeaponModules: duplicate(this.actor.getVehicleWeaponModules()),
options: this.options,
owner: this.document.isOwner,
editScore: this.options.editScore,

View File

@ -1235,8 +1235,7 @@ ul, li {
/*************************************************************/
#pause
{
font-size: 2rem;
{ font-size: 2rem;
}
#pause > h3
{
@ -1285,6 +1284,8 @@ Focus FOC: #ff0084
background-color: black;
background: black;
}
.color-class-fc,
.color-class-man,
.color-class-agi,
.color-class-ranged-attack {
background-color: #02a41d;
@ -1303,10 +1304,12 @@ Focus FOC: #ff0084
.color-class-meleedmg {
background-color: #5f3d00;
}
.color-class-hr,
.color-class-phy,
.color-class-dmgres {
background-color: #990304;
}
.color-class-ad,
.color-class-mr {
background-color: #050505;
}
@ -1325,6 +1328,7 @@ Focus FOC: #ff0084
.color-class-ranged-damage {
background-color: #f9c801;
}
.color-class-pc,
.color-class-foc {
background-color: #ff0084;
}
@ -1377,8 +1381,8 @@ Focus FOC: #ff0084
min-height: 36px;
}
.item-stat-roll-vehicle {
max-height: 96px;
min-height: 90px;
max-height: 102px;
min-height: 102px;
}
.item-stat-roll select, .item-stat-roll input {
margin-top: 4px;

View File

@ -1,6 +1,6 @@
{
"description": "Pegasus RPG system for FoundryVTT",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v10.0.4.zip",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v10.0.5.zip",
"esmodules": [
"modules/pegasus-main.js"
],
@ -10,7 +10,8 @@
{
"lang": "en",
"name": "English",
"path": "lang/en.json"
"path": "lang/en.json",
"flags": {}
}
],
"authors": [
@ -19,11 +20,8 @@
"flags": {}
}
],
"library": false,
"license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/raw/branch/master/system.json",
"manifestPlusVersion": "1.0.0",
"media": [],
"compatibility": {
"minimum": "10",
"verified": "10.284",
@ -35,241 +33,217 @@
"type": "Item",
"label": "Specialisations",
"name": "specialisations",
"path": "./packs/specialisations.db",
"path": "packs/specialisations.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"specialisation"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Racial Abilities",
"name": "racial-abilities",
"path": "./packs/racial-abilities.db",
"path": "packs/racial-abilities.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"ability"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Perks",
"name": "perk",
"path": "./packs/perk.db",
"path": "packs/perk.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"perk"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Powers",
"name": "powers",
"path": "./packs/powers.db",
"path": "packs/powers.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"power"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Race",
"name": "race",
"path": "./packs/race.db",
"path": "packs/race.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"race"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Role",
"name": "role",
"path": "./packs/role.db",
"path": "packs/role.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"role"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Effects",
"name": "effects",
"path": "./packs/effects.db",
"path": "packs/effects.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"effect"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Armour",
"name": "armour",
"path": "./packs/armour.db",
"path": "packs/armour.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"armour"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Equipment",
"name": "equipment",
"path": "./packs/equipment.db",
"path": "packs/equipment.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"equipment"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Shields",
"name": "shields",
"path": "./packs/shields.db",
"path": "packs/shields.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"shield"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Melee Weapons",
"name": "melee-weapons",
"path": "./packs/melee-weapons.db",
"path": "packs/melee-weapons.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"weapon", "melee"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Ranged Weapons",
"name": "ranged-weapons",
"path": "./packs/ranged-weapons.db",
"path": "packs/ranged-weapons.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"weapon", "ranged"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Currency",
"name": "currency",
"path": "./packs/currency.db",
"path": "packs/currency.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"currency", "money"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Macros",
"name": "macro-commands",
"path": "./packs/macro-commands.db",
"path": "packs/macro-commands.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"macro", "command"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Vehicle - Weapon modules",
"name": "vm-vehicle-weapons-modules",
"path": "./packs/vm-vehicle-weapons-modules.db",
"path": "packs/vm-vehicle-weapons-modules.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"weapon", "vehicle"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Vehicle - Propulsion modules",
"name": "vm-vehicle-propulsion-modules",
"path": "./packs/vm-vehicle-propulsion-modules.db",
"path": "packs/vm-vehicle-propulsion-modules.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"propulsion", "vehicle"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Vehicle - Power core modules",
"name": "vm-vehicle-power-core-module",
"path": "./packs/vm-vehicle-power-core-module.db",
"path": "packs/vm-vehicle-power-core-module.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"propulsion", "vehicle"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Vehicle - Modules",
"name": "vm-vehicle-modules",
"path": "./packs/vm-vehicle-modules.db",
"path": "packs/vm-vehicle-modules.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"module", "vehicle"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Vehicle - Mobility module",
"name": "vm-vehicle-mobility-module",
"path": "./packs/vm-vehicle-mobility-module.db",
"path": "packs/vm-vehicle-mobility-module.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"mobility", "vehicle"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Vehicle - Hull module",
"name": "vm-vehicle-hulls",
"path": "./packs/vm-vehicle-hulls.db",
"path": "packs/vm-vehicle-hulls.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"hull", "vehicle"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Vehicle - Combat module",
"name": "vm-vehicle-combat-module",
"path": "./packs/vm-vehicle-combat-module.db",
"path": "packs/vm-vehicle-combat-module.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"combat", "vehicle"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Vices",
"name": "vices",
"path": "./packs/vices.db",
"path": "packs/vices.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"vice"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "Virtues",
"name": "virtues",
"path": "./packs/virtues.db",
"path": "packs/virtues.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"virtue"
]
"private": false,
"flags": {}
},
{
"type": "Item",
"label": "ZZ-Admin-FX",
"name": "zz-adminfx-zz",
"path": "./packs/zz-adminfx-zz.db",
"path": "packs/zz-adminfx-zz.db",
"system": "fvtt-pegasus-rpg",
"tags": [
"fx"
]
"private": false,
"flags": {}
}
],
"primaryTokenAttribute": "secondary.health",
@ -278,9 +252,8 @@
"styles": [
"styles/simple.css"
],
"templateVersion": 112,
"title": "Pegasus RPG",
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
"version": "10.0.4",
"background" : "systems/fvtt-pegasus-rpg/images/ui/pegasus_welcome_page.webp"
}
"version": "10.0.5",
"background": "systems/fvtt-pegasus-rpg/images/ui/pegasus_welcome_page.webp"
}

View File

@ -214,6 +214,7 @@
"dicevalue": "",
"level": 0,
"currentlevel": 0,
"turningarc45": 0,
"col": 1
},
"hr": {

View File

@ -2,11 +2,11 @@
<div class="flexcol">
<div class="flexrow">
<span class="stat-icon">
<img class="stat-icon" src="systems/fvtt-pegasus-rpg/images/icons/{{stat.abbrev}}.webp">
<img class="stat-icon" src="systems/fvtt-pegasus-rpg/images/icons/icon_vehicle_{{stat.abbrev}}.webp">
</span>
<span class="stat-label stat-margin" name="{{key}}">
<h4 class="stat-text-white stat-margin"><a class="roll-stat stat-margin"
data-stat-key="{{key}}">{{stat.abbrev}}</a></h4>
data-stat-key="{{key}}">{{upper stat.abbrev}}</a></h4>
</span>
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.level"
value="{{stat.level}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
@ -15,7 +15,7 @@
{{/select}}
</select>
</div>
<div class="flexrow">
<div class="flexrow stat-text-white">
<span class="stat-label stat-margin" name="{{key}}">Current level</span>
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.currentlevel"
value="{{stat.currentlevel}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
@ -24,5 +24,53 @@
{{/select}}
</select>
</div>
{{#if (eq key "man")}}
<div class="flexrow stat-text-white">
<span class="stat-label stat-margin" name="{{key}}">45° Turning Arcs</span>
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.turningarc45"
value="{{stat.turningarc45}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
{{#select stat.turningarc45}}
{{{@root.optionsLevel}}}
{{/select}}
</select>
</div>
{{/if}}
{{#if (eq key "size")}}
<div class="flexrow stat-text-white">
<span class="stat-label stat-margin" name="{{key}}">Size</span>
<input type="text" class="input-numeric-short" name="system.statistics.{{key}}.size" value="{{stat.size}}" data-dtype="Number" />
</div>
{{/if}}
{{#if (eq key "pc")}}
<div class="flexrow stat-text-white">
<span class="stat-label stat-margin" name="{{key}}">Av NRG</span>
<input type="text" class="input-numeric-short" name="system.statistics.{{key}}.avgnrg" value="{{stat.avgnrg}}" data-dtype="Number" />
<span class="stat-label stat-margin" name="{{key}}">Cur NRG</span>
<input type="text" class="input-numeric-short" name="system.statistics.{{key}}.curnrg" value="{{stat.curnrg}}" data-dtype="Number" />
</div>
{{/if}}
{{#if (eq key "ad")}}
<div class="flexrow stat-text-white">
<span class="stat-label stat-margin" name="{{key}}">Acc Mode</span>
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.accmode"
value="{{stat.accmode}}" data-dtype="String" {{#unless @root.editScore}}disabled{{/unless}}>
{{#select stat.accmode}}
<option value="acc">ACC</option>
<option value="dec">DEC</option>
{{/select}}
</select>
<span class="stat-label stat-margin" name="{{key}}">Curr. speed</span>
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.currentspeed"
value="{{stat.currentspeed}}" data-dtype="String" {{#unless @root.editScore}}disabled{{/unless}}>
{{#select stat.currentspeed}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html}}
{{/select}}
</select>
</div>
{{/if}}
</div>
</li>

View File

@ -253,35 +253,260 @@
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Specialisations</label></h3>
<span class="item-name-label-header-long">
<h3><label class="items-title-text">STEP 1 - HULL TYPE</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Stat</label>
<label class="short-label">Size</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">Hull Type</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Dice</label>
<label class="short-label">HR</label>
</span>
<span class="item-field-label-long">
<label class="short-label">Powergroup</label>
<span class="item-field-label-short">
<label class="short-label">MAN</label>
</span>
<span class="item-field-label-short">
<label class="short-label">VMS</label>
</span>
</li>
{{#each specs as |spec key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{spec._id}}">
{{#each vehicleHull as |hull key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{hull._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{spec.img}}" /></a>
<span class="item-name-label"><a class="roll-spec">{{spec.name}}</a></span>
<span class="item-field-label-short">{{upper spec.system.statistic}}</span>
<span class="item-field-label-short">{{spec.system.dice}}</span>
{{#if spec.system.ispowergroup}}
{{#if spec.system.powersactivated}}
<span class="item-field-label-long"><a class="spec-group-deactivate">Deactivate</a></span>
{{else}}
<span class="item-field-label-long"><a class="spec-group-activate">Activate</a></span>
{{/if}}
{{else}}
<span class="item-field-label-long">&nbsp;-&nbsp;</span>
{{/if}}
src="{{hull.img}}" /></a>
<span class="item-name-label"><a class="roll-spec">{{hull.name}}</a></span>
<span class="item-field-label-medium">{{hull.system.hulltype}}</span>
<span class="item-field-label-short">{{hull.system.hr}}</span>
<span class="item-field-label-short">{{hull.system.man}}</span>
<span class="item-field-label-short">{{hull.system.vms}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">STEP 2 - POWER CORE MODULE</label></h3>
</span>
<span class="item-field-label-long">
<label class="short-label">Power Core Type</label>
</span>
<span class="item-field-label-sjort">
<label class="short-label">PC</label>
</span>
<span class="item-field-label-short">
<label class="short-label">NRG</label>
</span>
</li>
{{#each powerCoreModules as |powercore key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{powercore._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{powercore.img}}" /></a>
<span class="item-name-label"><a class="roll-spec">{{powercore.name}}</a></span>
<span class="item-field-label-medium">{{powercore.system.coretype}}</span>
<span class="item-field-label-short">{{powercore.system.pc}}</span>
<span class="item-field-label-short">{{powercore.system.nrg}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">STEP 3 - MOBILITY MODULE</label></h3>
</span>
<span class="item-field-label-long">
<label class="short-label">Vehicle Category</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">Quality</label>
</span>
<span class="item-field-label-short">
<label class="short-label">MR</label>
</span>
<span class="item-field-label-short">
<label class="short-label">TS:F</label>
</span>
<span class="item-field-label-short">
<label class="short-label">TS:S</label>
</span>
<span class="item-field-label-short">
<label class="short-label">TS:R</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">MAN Adj.</label>
</span>
</li>
{{#each mobilityModules as |mobility key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{mobility._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{mobility.img}}" /></a>
<span class="item-name-label"><a class="roll-spec">{{mobility.name}}</a></span>
<span class="item-field-label-long">{{mobility.system.vehiclecategory}}</span>
<span class="item-field-label-medium">{{mobility.system.quality}}</span>
<span class="item-field-label-short">{{mobility.system.mr}}</span>
<span class="item-field-label-short">{{mobility.system.ts_f}}</span>
<span class="item-field-label-short">{{mobility.system.ts_s}}</span>
<span class="item-field-label-short">{{mobility.system.ts_r}}</span>
<span class="item-field-label-medium">{{mobility.system.man}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">STEP 4 - PROPULSION MODULE</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">Quality</label>
</span>
<span class="item-field-label-short">
<label class="short-label">A/D</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">TS:F Adj.</label>
</span>
</li>
{{#each propulsionModules as |propulsion key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{propulsion._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{propulsion.img}}" /></a>
<span class="item-name-label"><a class="roll-spec">{{propulsion.name}}</a></span>
<span class="item-field-label-medium">{{propulsion.system.quality}}</span>
<span class="item-field-label-short">{{propulsion.system.ad}}</span>
<span class="item-field-label-short">{{propulsion.system.topspeed}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">STEP 5 - COMBAT MODULE</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">Quality</label>
</span>
<span class="item-field-label-short">
<label class="short-label">FC</label>
</span>
</li>
{{#each combatModules as |combat key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{combat._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{combat.img}}" /></a>
<span class="item-name-label"><a class="roll-spec">{{combat.name}}</a></span>
<span class="item-field-label-medium">{{combat.system.quality}}</span>
<span class="item-field-label-short">{{combat.system.fc}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">VEHICLES MODULES</label></h3>
</span>
<span class="item-field-label-long">
<label class="short-label">Category</label>
</span>
<span class="item-field-label-long">
<label class="short-label">Location</label>
</span>
<span class="item-field-label-long">
<label class="short-label">Security</label>
</span>
<span class="item-field-label-short">
<label class="short-label">NRG</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">Range</label>
</span>
<span class="item-field-label-short">
<label class="short-label">IDR</label>
</span>
</li>
{{#each vehicleModules as |vehiclemod key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{vehiclemod._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{vehiclemod.img}}" /></a>
<span class="item-name-label"><a class="roll-spec">{{vehiclemod.name}}</a></span>
<span class="item-field-label-long">{{vehiclemod.system.category}}</span>
<span class="item-field-label-long">{{vehiclemod.system.location}}</span>
<span class="item-field-label-long">{{vehiclemod.system.security}}</span>
<span class="item-field-label-short">{{vehiclemod.system.nrg}}</span>
<span class="item-field-label-medium">{{vehiclemod.system.range}}</span>
<span class="item-field-label-short">{{vehiclemod.system.idr}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">VEHICLES WEAPONS</label></h3>
</span>
<span class="item-field-label-long">
<label class="short-label">Site</label>
</span>
<span class="item-field-label-long">
<label class="short-label">Location</label>
</span>
<span class="item-field-label-short">
<label class="short-label">DMG</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">AoE</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">Turret</label>
</span>
<span class="item-field-label-short">
<label class="short-label">NRG</label>
</span>
<span class="item-field-label-short">
<label class="short-label">IDR</label>
</span>
</li>
{{#each vehicleWeaponModules as |weapon key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{weapon._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{weapon.img}}" /></a>
<span class="item-name-label"><a class="roll-spec">{{weapon.name}}</a></span>
<span class="item-field-label-long">{{weapon.system.site}}</span>
<span class="item-field-label-long">{{weapon.system.location}}</span>
<span class="item-field-label-short">{{weapon.system.dmg}}</span>
<span class="item-field-label-medium">{{weapon.system.aoe}}</span>
<span class="item-field-label-medium">{{weapon.system.turrent}}</span>
<span class="item-field-label-short">{{weapon.system.nrg}}</span>
<span class="item-field-label-short">{{weapon.system.idr}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
@ -289,9 +514,7 @@
</li>
{{/each}}
</ul>
</div>
</div>
</div>