module refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-10-14 01:55:38 +02:00
parent 2660b44861
commit cc7139c0e2
30 changed files with 326 additions and 343 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ local stack = require 'aux.core.stack'
local state
function private.process()
function process()
if state.posted < state.count then
local stacking_complete
@@ -29,7 +29,7 @@ function private.process()
return stop()
end
function private.post_auction(slot, k)
function post_auction(slot, k)
local item_info = info.container_item(unpack(slot))
if item_info.item_key == state.item_key and info.auctionable(item_info.tooltip) and item_info.aux_quantity == state.stack_size then