/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-10-21 18:10:48 UTC
  • Revision ID: josh@9ix.org-20131021181048-03jg7enu0pu4mmco
recharge shields automatically for free, remove bandit bounty

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