diff --git a/code/game/objects/structures/ghost_role_spawners.dm b/code/game/objects/structures/ghost_role_spawners.dm index 9a85a700e2..2e1f76cefe 100644 --- a/code/game/objects/structures/ghost_role_spawners.dm +++ b/code/game/objects/structures/ghost_role_spawners.dm @@ -623,14 +623,19 @@ 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("[usr.name] 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.", - "You hear prying, followed by the death rattling of bones.") + user.visible_message("[user] start to pry open the [src]...", + "You start to pry open the [src]...", + "You hear prying...") 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)) - qdel(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.", + "You hear prying, followed by the death rattling of bones.") + 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)) + qdel(src) else ..()