Skip to content

Commit b69a227

Browse files
committed
8.3.0
1 parent c42bec9 commit b69a227

4 files changed

Lines changed: 13 additions & 8 deletions

File tree

modules/system/config-wfrp4e.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,7 @@ WFRP4E.premiumModules = {
10921092
"wfrp4e-soc" : "Sea of Claws",
10931093
"wfrp4e-lustria" : "Lustria",
10941094
"wfrp4e-archives3" : "Archives of the Empire: Vol III.",
1095+
"wfrp4e-ua3" : "Ubersreik Adventures III"
10951096
}
10961097

10971098
WFRP4E.trade = {

src/apps/sheets/actor/base.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,20 @@ export default class BaseWFRP4eActorSheet extends WarhammerActorSheetV2
208208
let document = await fromUuid(data.uuid);
209209
let container = await fromUuid(containerDropElement.dataset.uuid);
210210

211+
let documentData = document.toObject();
212+
211213
//
212214
if (container.id == document.system.location.value)
213215
{
214216
return super._onDropItem(data, ev);
215217
}
216218
if (container)
217219
{
218-
document.update({"system.location.value" : container.id})
220+
documentData.system.location.value = container.id;
221+
documentData.system.equipped.value = false;
222+
223+
// This handles both updating when dragging within the same sheet and creating a new item when dragging from another sheet
224+
this.document.update({items : [documentData]});
219225
}
220226
}
221227
else

static/css/wfrp4e.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,7 +2225,6 @@
22252225
}
22262226
.app.window-app.sheet.item-sheet .sheet-tabs.tabs .item.active {
22272227
border-radius: 0px;
2228-
border-bottom: none;
22292228
width: 72px;
22302229
color: #4a0404;
22312230
box-shadow: none;
@@ -3747,7 +3746,6 @@
37473746
}
37483747
.app.window-app.sheet.wfrp4e.actor .sheet-tabs > .item.active {
37493748
border-radius: 0px;
3750-
border-bottom: none;
37513749
width: 72px;
37523750
color: var(--tab-header-color-active);
37533751
box-shadow: none;

system.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "wfrp4e",
33
"title": "Warhammer Fantasy Roleplay 4th Edition",
44
"description": "A comprehensive system for running grim and perilous games of Warhammer Fantasy Roleplay in the Foundry VTT environment.",
5-
"version": "8.2.3",
5+
"version": "8.3.0",
66
"authors" : [
77
{
88
"name": "Moo Man",
@@ -63,15 +63,15 @@
6363
"requires": [{
6464
"id": "warhammer-lib",
6565
"type": "module",
66-
"manifest": "https://raw.githubusercontent.com/moo-man/WarhammerLibrary-FVTT/1.2.0/module.json",
66+
"manifest": "https://raw.githubusercontent.com/moo-man/WarhammerLibrary-FVTT/1.3.0/module.json",
6767
"compatibility": {
68-
"minimum" : "1.2.0",
69-
"verified": "1.2.0"
68+
"minimum" : "1.3.0",
69+
"verified": "1.3.0"
7070
}
7171
}]
7272
},
7373
"socket": true,
7474
"manifest" : "https://github.com/moo-man/WFRP4e-FoundryVTT/releases/latest/download/system.json",
75-
"download" : "https://github.com/moo-man/WFRP4e-FoundryVTT/releases/download/8.2.3/wfrp4e.zip",
75+
"download" : "https://github.com/moo-man/WFRP4e-FoundryVTT/releases/download/8.3.0/wfrp4e.zip",
7676
"url" : "https://github.com/moo-man/WFRP4e-FoundryVTT"
7777
}

0 commit comments

Comments
 (0)