This commit is contained in:
Simon Hirsig
2017-11-01 15:10:02 +01:00
parent 8823b34904
commit ac49811f27
4 changed files with 26 additions and 8 deletions
+4
View File
@@ -8,6 +8,10 @@ local info = require 'aux.util.info'
local state
function handle.CLOSE()
stop()
end
function stack_size(slot)
local container_item_info = T.temp-info.container_item(unpack(slot))
return container_item_info and container_item_info.count or 0