Revert "12/10/23 - Map swap update" (#15593)

This commit is contained in:
Selis
2023-12-10 23:37:45 +01:00
committed by GitHub
parent e3bd8a2821
commit f00d13da66
115 changed files with 3432 additions and 9945 deletions
+5 -5
View File
@@ -185,22 +185,22 @@
user.do_attack_animation(src)
shatter()
else if (user.a_intent == I_HURT)
else if (usr.a_intent == I_HURT)
if (istype(user,/mob/living/carbon/human))
var/mob/living/carbon/human/H = user
if (istype(usr,/mob/living/carbon/human))
var/mob/living/carbon/human/H = usr
if(H.species.can_shred(H))
attack_generic(H,25)
return
playsound(src, 'sound/effects/glassknock.ogg', 80, 1)
user.do_attack_animation(src)
user.visible_message("<span class='danger'>\The [user] bangs against \the [src]!</span>",
usr.visible_message("<span class='danger'>\The [usr] bangs against \the [src]!</span>",
"<span class='danger'>You bang against \the [src]!</span>",
"You hear a banging sound.")
else
playsound(src, 'sound/effects/glassknock.ogg', 80, 1)
user.visible_message("[user.name] knocks on the [src.name].",
usr.visible_message("[usr.name] knocks on the [src.name].",
"You knock on the [src.name].",
"You hear a knocking sound.")
return