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

8 lines
207 B
Python

from nullptr.util import AppError
def assign_siphon(c, s):
if s.crew is None:
raise AppError('ship has no crew')
w = s.crew.site
c.captain.init_mission(s, 'siphon')
c.captain.smipa(s, 'site', w)