2024-09-01 03-08-47.mp4
2024-09-01 03-08-47.mp4
2024-09-01 03-08-47.mp4 Steps to Reproduce Obtain a fake staff without a skin applied to it, insert it into the moon stone, then break the economy.
Report reply Cassielu 5682 Posted September 2, 2024 (edited) I don't know how it works. But if it's a mimic staff with skin on it, then it won't become a real staff. Edited September 2, 2024 by Cassielu Share this comment Link to comment Share on other sites More sharing options...
Report reply loganpea 201 Posted September 2, 2024 I think what's going on here is that if it has a skin, it will not replace it, which keeps the data in that case. if skin_build ~= nil then inst.AnimState:OverrideItemSkinSymbol("swap_staffs", skin_build, GetStaffSymbol(staffname), item.GUID, "staffs") inst.components.pickable:ChangeProduct(nil) inst._staffinst = item inst._staffuse = nil inst:AddChild(item) item.Transform:SetPosition(0, 0, 0) item:RemoveFromScene() else inst.AnimState:OverrideSymbol("swap_staffs", "staffs", GetStaffSymbol(staffname)) if type(item) == "table" then if inst._staffinst ~= nil then --Shouldn't happen inst._staffinst:Remove() inst._staffinst = nil end inst._staffuse = item.components.finiteuses ~= nil and item.components.finiteuses:GetUses() or nil item:Remove() end end Share this comment Link to comment Share on other sites More sharing options...
Report reply loganpea 201 Posted September 12, 2024 This seems to be fixed because doing the give action will fail now, however the moonbase code wasn't changed Share this comment Link to comment Share on other sites More sharing options...
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