Skip to content
Snippets Groups Projects
Commit 11cd214c authored by dg's avatar dg
Browse files

sort inven

git-svn-id: http://svn.net-core.org/repos/t-engine4@2807 51575b47-30f0-44d4-a5cc-537603b46e54
parent 981dfebf
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ newTalent{
self:addObject(self.INVEN_INVEN, gem)
self:removeObject(inven, item)
game.logPlayer(self, "You create: %s", gem:getName{do_color=true, do_count=true})
self:sortInven()
return true
end)
game:playSoundNear(self, "talents/arcane")
......@@ -72,6 +73,7 @@ newTalent{
if gem then
self:addObject(self.INVEN_INVEN, gem)
game.logPlayer(self, "You extract: %s", gem:getName{do_color=true, do_count=true})
self:sortInven()
end
return true
end)
......
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