/ld26

To get this branch, use:
bzr branch http://9ix.org/bzr/ld26

« back to all changes in this revision

Viewing changes to inventory.lua

  • Committer: Josh C
  • Date: 2013-04-29 00:42:39 UTC
  • Revision ID: josh@9ix.org-20130429004239-r0yedw9bxk7infzs
drop

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
            item.invTile.y = 10
7
7
            item.invTile.x = 50 * #self.items
8
8
            self.items[item.name] = item
 
9
            the.app.view:flash({0,255,0})
9
10
         end,
10
11
   remove = function(self, name)
11
12
               self.had[name] = self.items[name]