Well it seems to be working now, I did it like this:
local config = {
[45111] = { storage = 16125 },
[45112] = { storage = 16126 },
[45113] = { storage = 16127 }
}
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local statue =...