Re: [Mod-Assets] Keys in locks. (re-usable keys)
Posted: Mon Dec 21, 2015 6:24 am
Then, I beleive this should do the trick (add inside a function and associate it with onInsertItem hook of the lock):
Vand
Code: Select all
local itemObj = self.go.socket:getItem()
itemObj.go.item:disable()