From feced9590878005e2f972e9eccd44e0215ce0362 Mon Sep 17 00:00:00 2001 From: SECBATON GRIFFON <87321915+SECBATON-GRIFFON@users.noreply.github.com> Date: Wed, 1 Jan 2025 02:44:25 +0000 Subject: [PATCH] more messages --- code/game/mecha/equipment/tools/tools.dm | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/code/game/mecha/equipment/tools/tools.dm b/code/game/mecha/equipment/tools/tools.dm index a7361182362c..b0a3b3ba3241 100644 --- a/code/game/mecha/equipment/tools/tools.dm +++ b/code/game/mecha/equipment/tools/tools.dm @@ -1856,6 +1856,15 @@ return occupant_message("Beginning probal of [probe_item] into rectal cavity.") if(do_after_cooldown(H,2.5)) + if(!H) + occupant_message("Probe failure: Occupant missing.") + return + if(!probe_item) + occupant_message("Probe failure: Probe item missing.") + return + if(!affected) + occupant_message("Probe failure: Implant area not found.") + return occupant_message("Probing complete.") affected.hidden = probe_item probe_item.forceMove(H) @@ -1864,13 +1873,11 @@ timp.insert(H, affected.name, chassis.occupant) affected.cavity = 0 probe_item = null - probing = 0 - abd.go_out() - return - chassis.visible_message("[chassis] makes some grinding noises!") - playsound(chassis.loc, 'sound/machines/ya_dun_clucked.ogg', 50, 1) - if(do_after_cooldown(abd.occupant)) - abd.occupant.adjustBruteLoss(abd.occupant.maxHealth) // the thing UFOs do to cattle + else + chassis.visible_message("[chassis] makes some grinding noises!") + playsound(chassis.loc, 'sound/machines/ya_dun_clucked.ogg', 50, 1) + if(do_after_cooldown(abd.occupant)) + abd.occupant.adjustBruteLoss(abd.occupant.maxHealth) // the thing UFOs do to cattle abd.go_out() probing = 0