big refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-19 11:57:12 +02:00
parent 667990f7d8
commit 7740ba2f7a
28 changed files with 271 additions and 266 deletions
+4 -4
View File
@@ -2,9 +2,9 @@ aux.module 'tooltip'
_G.aux_tooltip_value = true
private.game_tooltip_hooks = {}
private.hooked_setter = nil
private.game_tooltip_money = nil
game_tooltip_hooks = {}
hooked_setter = nil
game_tooltip_money = nil
function m.LOAD()
for func, hook in m.game_tooltip_hooks do
@@ -43,7 +43,7 @@ function m.LOAD()
end)
end
function private.extend_tooltip(tooltip, link, quantity)
function extend_tooltip(tooltip, link, quantity)
local item_id, suffix_id = aux.info.parse_link(link)
quantity = IsShiftKeyDown() and quantity or 1