mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Fix multiple instances of to_chat not being used
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
if(!map)
|
||||
return
|
||||
if(copytext("[map]",-4) != ".dmm")
|
||||
usr << "Bad map file: [map]"
|
||||
to_chat(usr, "Bad map file: [map]")
|
||||
return
|
||||
|
||||
var/datum/map_template/M = new(map=map, rename="[map]")
|
||||
|
||||
@@ -293,7 +293,7 @@
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/grown/attack(var/mob/living/carbon/M, var/mob/user, var/def_zone)
|
||||
if(awakening)
|
||||
user << "<span class='warning'>The [src] is twitching and shaking, preventing you from eating it.</span>"
|
||||
to_chat(user, "<span class='warning'>The [src] is twitching and shaking, preventing you from eating it.</span>")
|
||||
return
|
||||
if(user == M)
|
||||
return ..()
|
||||
@@ -451,7 +451,7 @@
|
||||
if("killertomato")
|
||||
if(awakening || istype(user.loc,/turf/space))
|
||||
return
|
||||
user << "<span class='notice'>You begin to awaken the Killer Tomato...</span>"
|
||||
to_chat(user, "<span class='notice'>You begin to awaken the Killer Tomato...</span>")
|
||||
awakening = 1
|
||||
|
||||
spawn(30)
|
||||
|
||||
@@ -761,7 +761,7 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump,
|
||||
buckled.user_unbuckle_mob(src,src)
|
||||
else
|
||||
if(src && buckled)
|
||||
src << "<span class='warning'>You fail to unbuckle yourself!</span>"
|
||||
to_chat(src, "<span class='warning'>You fail to unbuckle yourself!</span>")
|
||||
else
|
||||
buckled.user_unbuckle_mob(src,src)
|
||||
|
||||
|
||||
@@ -99,6 +99,6 @@
|
||||
if(!istype(pAI))
|
||||
return 0
|
||||
if(!pAI.software["messenger"])
|
||||
usr << "<span class='warning'>You have not purchased the digital messenger!</span>"
|
||||
to_chat(usr, "<span class='warning'>You have not purchased the digital messenger!</span>")
|
||||
return 0
|
||||
return ..() && !pAI.silence_time
|
||||
Reference in New Issue
Block a user