/ld26

To get this branch, use:
bzr branch /bzr/ld26

« back to all changes in this revision

Viewing changes to inventory.lua

  • Committer: Josh C
  • Date: 2013-04-28 22:26:28 UTC
  • Revision ID: josh@9ix.org-20130428222628-iw5am8h8mrzedutb
really basic feedback that your inventory changed

Show diffs side-by-side

added added

removed removed

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]