Jump to content

Cannot remove item from winch after reload


O_Atoba_Azul
  • Fixed

What it says on the tin.
image.png.e67c07e2fa62fa4c7272705e6f605ab2.png

At first I thought this was a problem with my modded shelf based off the winch, but nope.
What's probably responsible is the fact that the winch sets in the fn cantakeitem to false, and that only gets changed if the item is changed. It probably should do something on save/load to account for pre-existing items on the inventory.

--scripts/prefabs/winch.lua; @494-495
inst:AddComponent("shelf")
inst.components.shelf.cantakeitem = false --here

Steps to Reproduce

- Place a heavy object on a winch
- c_reset()
- Unable to remove item from it

  • Like 1



User Feedback


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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...