Skip to content

Commit

Permalink
Update computer.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzmike authored Jul 8, 2024
1 parent 3f35344 commit 9b52cc7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion code/modules/shuttle/computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,17 @@
. = ..()
var/obj/docking_port/mobile/crashable/lifeboat/lifeboat = SSshuttle.getShuttle(shuttleId)
if(lifeboat.status == LIFEBOAT_LOCKED)
to_chat(user, SPAN_WARNING("[src] flickers with error messages."))
if(skillcheck(user, SKILL_PILOT, SKILL_PILOT_TRAINED))
user.visible_message(SPAN_NOTICE("[user] starts to type on [src]."),
SPAN_NOTICE("You try to take back the control over the lifeboat. It will take around 3 minutes."))
if(do_after(user, 3 MINUTES, INTERRUPT_ALL, BUSY_ICON_FRIENDLY))
lifeboat.status = LIFEBOAT_ACTIVE
lifeboat.available = TRUE
user.visible_message(SPAN_NOTICE("[src] blinks with blue lights."),
SPAN_NOTICE("You have successfully taken back the control over the lifeboat."))
return
else
to_chat(user, SPAN_WARNING("[src] flickers with error messages."))
else if(lifeboat.status == LIFEBOAT_INACTIVE)
to_chat(user, SPAN_NOTICE("[src]'s screen says \"Awaiting evacuation order\"."))
else if(lifeboat.status == LIFEBOAT_ACTIVE)
Expand Down Expand Up @@ -451,6 +461,7 @@
var/obj/docking_port/stationary/lifeboat_dock/lifeboat_dock = lifeboat.get_docked()
lifeboat_dock.open_dock()
xeno_message(SPAN_XENOANNOUNCE("We have wrested away control of one of the metal birds! They shall not escape!"), 3, xeno.hivenumber)
launch_initiated = FALSE
return XENO_NO_DELAY_ACTION
else
return ..()

0 comments on commit 9b52cc7

Please sign in to comment.