/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-23 02:05:10 UTC
  • Revision ID: josh@9ix.org-20130623020510-i4t86yocvbjab19o
higher planet floor, recharge shields when you land, stop moving when you land

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
13
12
   setImage = function (self)
14
13
                 if self.strength < 1 or self.strength == 5 then
15
14
                    self.visible = false