Skip to content

Commit

Permalink
more messages
Browse files Browse the repository at this point in the history
  • Loading branch information
SECBATON-GRIFFON committed Jan 1, 2025
1 parent 4c76e12 commit feced95
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions code/game/mecha/equipment/tools/tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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("<span class='danger'>[chassis] makes some grinding noises!</span>")
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("<span class='danger'>[chassis] makes some grinding noises!</span>")
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

Expand Down

0 comments on commit feced95

Please sign in to comment.