File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
10971098WFRP4E . trade = {
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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;
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;
Original file line number Diff line number Diff line change 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" ,
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}
You can’t perform that action at this time.
0 commit comments