mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Unhardens flush message code
Makes it possible to varedit utilize a toilet into a non-toilet use without awkwardly revealing messages.
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
bowl_contents += L
|
bowl_contents += L
|
||||||
if(bowl_contents.len)
|
if(bowl_contents.len)
|
||||||
refilling = TRUE
|
refilling = TRUE
|
||||||
user.visible_message("<span class='notice'>[user] flushes the toilet.</span>", "<span class='notice'>You flush the toilet.</span>")
|
user.visible_message("<span class='notice'>[user] flushes the [lowertext(name)].</span>", "<span class='notice'>You flush the [lowertext(name)].</span>")
|
||||||
playsound(src, 'sound/vore/death7.ogg', 50, 1) //Got lazy about getting new sound files. Have a sick remix lmao.
|
playsound(src, 'sound/vore/death7.ogg', 50, 1) //Got lazy about getting new sound files. Have a sick remix lmao.
|
||||||
playsound(src, 'sound/effects/bubbles.ogg', 50, 1)
|
playsound(src, 'sound/effects/bubbles.ogg', 50, 1)
|
||||||
playsound(src, 'sound/mecha/powerup.ogg', 30, 1)
|
playsound(src, 'sound/mecha/powerup.ogg', 30, 1)
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
return
|
return
|
||||||
if(refilling)
|
if(refilling)
|
||||||
playsound(src, 'sound/machines/door_locked.ogg', 30, 1)
|
playsound(src, 'sound/machines/door_locked.ogg', 30, 1)
|
||||||
to_chat(user, "<span class='notice'>The toilet is still refilling its tank.</span>")
|
to_chat(user, "<span class='notice'>The [lowertext(name)] is still refilling its tank.</span>")
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/obj/structure/toilet/attackby(obj/item/I as obj, mob/living/user as mob)
|
/obj/structure/toilet/attackby(obj/item/I as obj, mob/living/user as mob)
|
||||||
|
|||||||
Reference in New Issue
Block a user