Add vehicles item

This commit is contained in:
2022-08-03 18:52:24 +02:00
parent 6479996312
commit 76c8cde3d9
14 changed files with 797 additions and 36 deletions

View File

@ -451,7 +451,8 @@ export class PegasusItemSheet extends ItemSheet {
}
if (this.object.type == 'weapon' || this.object.type == 'armor' || this.object.type == 'shield'
|| this.object.type == 'equipment') {
|| this.object.type == 'equipment' || this.object.type == 'vehiclemodule'
|| this.object.type == 'vehicleweaponmodule') {
let data = event.dataTransfer.getData('text/plain');
if (data) {
let dataItem = JSON.parse(data);