10 lines
209 B
Python
10 lines
209 B
Python
|
from nullptr.util import AppError
|
||
|
|
||
|
|
||
|
def assign_surveyor(c, s):
|
||
|
if s.crew is None:
|
||
|
raise AppError('ship has no crew')
|
||
|
w = s.crew.site
|
||
|
c.init_mission(s, 'survey')
|
||
|
c.smipa(s, 'site', w)
|
||
|
|