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