Fueltanks now log and admin_msg when shot at / weldered

This commit is contained in:
Ccomp5950
2014-08-04 21:11:09 -05:00
parent 4df46548ac
commit 52da372bac
2 changed files with 8 additions and 4 deletions
+4 -4
View File
@@ -251,9 +251,9 @@
playsound(src.loc, 'sound/effects/refill.ogg', 50, 1, -6)
return
else if (istype(O, /obj/structure/reagent_dispensers/fueltank) && get_dist(src,O) <= 1 && src.welding)
message_admins("[key_name_admin(user)] triggered a fueltank explosion.")
log_game("[key_name(user)] triggered a fueltank explosion.")
user << "\red That was stupid of you."
message_admins("[key_name_admin(user)] triggered a fueltank explosion with a welding tool.")
log_game("[key_name(user)] triggered a fueltank explosion with a welding tool.")
user << "\red You begin welding on the fueltank and with a moment of lucidity you realize, this might not have been the smartest thing you've ever done."
var/obj/structure/reagent_dispensers/fueltank/tank = O
tank.explode()
return
@@ -470,4 +470,4 @@
user << "Nothing to fix!"
else
return ..()
return ..()