fix the generals problems
This commit is contained in:
@@ -195,7 +195,12 @@ class BaseMission(Mission):
|
||||
def step_market(self):
|
||||
loc = self.ship.location
|
||||
self.api.marketplace(loc)
|
||||
|
||||
|
||||
def step_shipyard(self):
|
||||
loc = self.ship.location
|
||||
if 'SHIPYARD' in loc.traits:
|
||||
self.api.shipyard(loc)
|
||||
|
||||
def step_unload(self):
|
||||
delivery = self.st('delivery')
|
||||
if delivery == 'sell':
|
||||
|
||||
@@ -14,9 +14,10 @@ class SitMission(BaseMission):
|
||||
|
||||
def steps(self):
|
||||
return {
|
||||
**self.travel_steps('to', 'dest', 'sit'),
|
||||
**self.travel_steps('to', 'dest', 'market'),
|
||||
'sit': (self.step_sit, 'market'),
|
||||
'market': (self.step_market, 'sit')
|
||||
'market': (self.step_market, 'shipyard'),
|
||||
'shipyard': (self.step_shipyard, 'sit')
|
||||
}
|
||||
|
||||
def step_sit(self):
|
||||
|
||||
Reference in New Issue
Block a user