/traderous

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

« back to all changes in this revision

Viewing changes to shield.lua

  • Committer: Josh C
  • Date: 2013-06-23 03:10:51 UTC
  • Revision ID: josh@9ix.org-20130623031051-3142chix333jkmqi
pay to fix shield

Show diffs side-by-side

added added

removed removed

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