Compare commits
5 Commits
foundryvtt
...
foundryvtt
Author | SHA1 | Date | |
---|---|---|---|
c061b67bb3 | |||
c6c8622552 | |||
f6104e533c | |||
23b6a41eac | |||
f0c5e7b95d |
@ -388,10 +388,10 @@ export class SoSActor extends Actor {
|
|||||||
if ( alreadyInside.length >= container.system.container ) {
|
if ( alreadyInside.length >= container.system.container ) {
|
||||||
ui.notifications.warn("Container is already full !");
|
ui.notifications.warn("Container is already full !");
|
||||||
} else {
|
} else {
|
||||||
await this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':containerId }]);
|
setTimeout(function() { this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':containerId }])}, 800 )
|
||||||
}
|
}
|
||||||
} else if ( object && object.system.containerid) { // remove from container
|
} else if ( object && object.system.containerid) { // remove from container
|
||||||
await this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':"" }]);
|
setTimeout(function() { this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':"" }])}, 800 )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
"description": "Shadows over Sol for FoundryVTT",
|
"description": "Shadows over Sol for FoundryVTT",
|
||||||
"url": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/",
|
"url": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/",
|
||||||
"license": "LICENSE.txt",
|
"license": "LICENSE.txt",
|
||||||
"version": "10.0.7",
|
"version": "10.0.10",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "10",
|
"minimum": "10",
|
||||||
"verified": "10.285",
|
"verified": "10",
|
||||||
"maximum": "10"
|
"maximum": "10"
|
||||||
},
|
},
|
||||||
"esmodules": [
|
"esmodules": [
|
||||||
@ -109,7 +109,7 @@
|
|||||||
],
|
],
|
||||||
"socket": true,
|
"socket": true,
|
||||||
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/raw/branch/v10/system.json",
|
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/raw/branch/v10/system.json",
|
||||||
"download": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/archive/foundryvtt-shadows-over-sol-10.0.7.zip",
|
"download": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/releases/tag/foundryvtt-shadows-over-sol-10.0.10.zip",
|
||||||
"gridDistance": 5,
|
"gridDistance": 5,
|
||||||
"gridUnits": "ft"
|
"gridUnits": "ft"
|
||||||
}
|
}
|
Reference in New Issue
Block a user