16 lines
357 B
Python
16 lines
357 B
Python
from nullptr.missions.base import BaseMission, MissionParam
|
|
|
|
class SurveyMission(BaseMission):
|
|
def start_state(self):
|
|
return 'survey'
|
|
|
|
def steps(self):
|
|
return {
|
|
'survey': (self.step_survey, 'survey')
|
|
}
|
|
|
|
def step_survey(self):
|
|
result = self.api.survey(self.ship)
|
|
#pprint(result, 2)
|
|
self.next_step = self.ship.cooldown
|