0ptr/nullptr/roles/surveyor.py
Richard 74ce884b05 major command staff restructure
Heads had to roll
2024-02-09 15:52:30 +01:00

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)