Fixed EMP area logging.

Fixed some incorrect messages associated with EMP grenades.
Unchecked an unused file.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1873 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
musketstgstation@gmail.com
2011-07-17 13:52:40 +00:00
parent c9df2ae62e
commit e72cd0fdbd
4 changed files with 6 additions and 6 deletions
+4 -3
View File
@@ -1,12 +1,13 @@
proc/empulse(turf/epicenter, heavy_range, light_range, nolog=0)
if(!epicenter) return
if (!nolog)
message_admins("EMP with size ([heavy_range], [light_range]) in area [epicenter.loc.name] ")
log_game("EMP with size ([heavy_range], [light_range]) in area [epicenter.loc.name] ")
if (!istype(epicenter, /turf))
epicenter = get_turf(epicenter.loc)
if (!nolog)
message_admins("EMP with size ([heavy_range], [light_range]) in area [epicenter.loc.name] ")
log_game("EMP with size ([heavy_range], [light_range]) in area [epicenter.loc.name] ")
if(heavy_range > 1)
var/obj/overlay/pulse = new/obj/overlay ( epicenter )
pulse.icon = 'effects.dmi'
+1 -1
View File
@@ -220,7 +220,7 @@ FLASHBANG
prime()
return
else
user << "\red You prime the flashbang! [det_time/10] seconds!"
user << "\red You prime the EMP grenade! [det_time/10] seconds!"
src.state = 1
src.icon_state = "empar"
add_fingerprint(user)