From 911d8ffc12832ae08ae3409b24af94aeec5585c2 Mon Sep 17 00:00:00 2001
From: BlueWildrose <57083662+BlueWildrose@users.noreply.github.com>
Date: Sun, 18 Apr 2021 18:02:04 -0700
Subject: [PATCH] requested changes
---
.../game/objects/structures/ghost_role_spawners.dm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/code/game/objects/structures/ghost_role_spawners.dm b/code/game/objects/structures/ghost_role_spawners.dm
index ffe2b8a492..f5746d6ae7 100644
--- a/code/game/objects/structures/ghost_role_spawners.dm
+++ b/code/game/objects/structures/ghost_role_spawners.dm
@@ -623,19 +623,21 @@
if(user.mind.has_antag_datum(/datum/antagonist/pirate))
to_chat(user,"Why would you want to do that to your shipmate? That'd kill them.")
return
- user.visible_message("[user] start to pry open the [src]...",
- "You start to pry open the [src]...",
+ user.visible_message("[user] start to pry open [src]...",
+ "You start to pry open [src]...",
"You hear prying...")
W.play_tool_sound(src)
if(do_after(user, 100*W.toolspeed, target = src))
- user.visible_message("[user] pries open the [src], disrupting the sleep of the pirate within and killing them.",
- "You pry open the [src], disrupting the sleep of the pirate within and killing them.",
+ user.visible_message("[user] pries open [src], disrupting the sleep of the pirate within and killing them.",
+ "You pry open [src], disrupting the sleep of the pirate within and killing them.",
"You hear prying, followed by the death rattling of bones.")
log_game("[key_name(user)] has successfully pried open [src] and disabled a space pirate spawner.")
W.play_tool_sound(src)
playsound(src.loc, 'modular_citadel/sound/voice/scream_skeleton.ogg', 50, 1, 4, 1.2)
- if(rank == "Captain") new /obj/effect/mob_spawn/human/pirate/corpse/captain(get_turf(src))
- else new /obj/effect/mob_spawn/human/pirate/corpse(get_turf(src))
+ if(rank == "Captain")
+ new /obj/effect/mob_spawn/human/pirate/corpse/captain(get_turf(src))
+ else
+ new /obj/effect/mob_spawn/human/pirate/corpse(get_turf(src))
qdel(src)
else
..()