Skip to content
Snippets Groups Projects
Commit 1f853b00 authored by dg's avatar dg
Browse files

New hook "UISet:Classic:Resources"

git-svn-id: http://svn.net-core.org/repos/t-engine4@6801 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4a21c030
No related branches found
No related tags found
No related merge requests found
......@@ -380,6 +380,12 @@ function _M:display()
)) h = h + self.font_h
end
-- Any hooks
local hd = {"UISet:Classic:Resources", player=player, x=x, y=y}
if self:triggerHook(hd) then
x, y = hd.x, hd.y
end
local quiver = player:getInven("QUIVER")
local ammo = quiver and quiver[1]
if ammo then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment