chiark / gitweb /
Disembark when we take a job
[ypp-sc-tools.web-live.git] / yoweb-scrape
index c3e6d73513adc3d5516252d8bd5c06ef706a26bd..947e5e4c05d3089ee441a1cbf694c5c5e69d15f3 100755 (executable)
@@ -706,6 +706,11 @@ class ChatLogTracker:
                m = rm('(\\w+) officer chats, "(.*)"$')
                if m: return chat_metacmd('officer')
 
+               m = rm('Ye accepted the offer to job with ')
+               if m:
+                       self._disembark_myself()
+                       return d('taking-job')
+
                m = rm('Game over\\.  Winners: ([A-Za-z, ]+)\\.$')
                if m:
                        pl = m.group(1).split(', ')
@@ -961,7 +966,7 @@ def do_ship_aid(args, bu):
                s = "%s" % track.myname()
 
                vn = track.vessel()
-               if vn is None: s += " not on a vessel?!"
+               if vn is None: s += " not on a vessel"
                else: s += " on board the %s" % vn
                s += " at %s\n" % time.strftime("%Y-%m-%d %H:%M:%S")