For example, Deconstruction Staff use this function as a check:
Spoiler
local function CheckSpawnedLoot(loot) if loot.components.inventoryitem == nil or not loot.components.inventoryitem:IsHeld() then local x, y, z = loot.Transform:GetWorldPosition() if not loot:IsOnValidGround() or TheWorld.Map:IsPointNearHole(Vector3(x, 0, z)) then SpawnPrefab("splash_ocean").Transform:SetPosition(x, y, z) if loot:HasTag("irreplaceable") then loot.Transform:SetPosition(FindSafeSpawnLocation(x, y, z)) else loot:Remove() end end end end
Steps to Reproduce
Wrap something with bundling/gift wrap. Unwrap it near of the edge of the world.
Wrap something with bundling/gift wrap. Unwrap it near of the edge of the world.
- 1
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now