/traderous

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

« back to all changes in this revision

Viewing changes to planet.lua

  • Committer: Josh C
  • Date: 2013-06-30 23:48:52 UTC
  • Revision ID: josh@9ix.org-20130630234852-rja5zhlmup3cp0tm
award bounty

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
                       the.player:save()
55
55
 
56
 
                       -- disengage all the enemies
57
 
                       for _, enemy in pairs(the.enemies.sprites) do
58
 
                          if enemy.state == 'combat' then
59
 
                             enemy.state = 'patrolling'
60
 
                          end
61
 
                       end
62
 
 
63
56
                       tradeView = TradeView:new{ planet = self }
64
57
                       tradeView:activate()
65
58
                    end