mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user