Skip to content
Snippets Groups Projects
Commit 3101e238 authored by dg's avatar dg
Browse files

mooooarr

git-svn-id: http://svn.net-core.org/repos/t-engine4@4570 51575b47-30f0-44d4-a5cc-537603b46e54
parent c548b19f
No related branches found
No related tags found
No related merge requests found
......@@ -1977,6 +1977,7 @@ function _M:onWear(o, bypass_set)
end
self:updateModdableTile()
if self == game.player then game:playSound("actions/wear") end
end
--- Call when an object is taken off
......@@ -2028,6 +2029,7 @@ function _M:onTakeoff(o, bypass_set)
end
self:updateModdableTile()
if self == game.player then game:playSound("actions/takeoff") end
end
--- Call when an object is added
......
......@@ -716,6 +716,7 @@ function _M:doDrop(inven, item, on_done)
self:sortInven(inven)
self:useEnergy()
self.changed = true
game:playSound("actions/drop")
if on_done then on_done() end
end
......
File added
File added
File added
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