/traderous

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

« back to all changes in this revision

Viewing changes to shield.lua

  • Committer: Josh C
  • Date: 2013-06-25 18:23:38 UTC
  • Revision ID: josh@9ix.org-20130625182338-gkx8evr4z93zh9x7
load/save (not working yet)

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
   strength = 5,
10
10
   max = 5,
11
11
   velocity = {rotation = 5},
 
12
   cost = 100, -- cost to repair 1 shield strength
12
13
   setImage = function (self)
13
14
                 if self.strength < 1 or self.strength == 5 then
14
15
                    self.visible = false