a few tweaks

- makes tesla bomb immune so it wont destroy itself
- makes lights spew fire when they explode instead of the regular explosion
- makes cameras with EMP immunity also have tesla immunity
tesla can now keep itself fully contained (at least on box)
This commit is contained in:
PKPenguin321
2016-08-24 19:23:18 -07:00
parent 86aeb63205
commit 438d8d8047
3 changed files with 11 additions and 0 deletions
+4
View File
@@ -535,6 +535,10 @@
else
flicker()
/obj/machinery/light/tesla_act(var/power)
explosion(src.loc,0,0,0,flame_range = 5, adminlog = 0)
qdel(src)
// called when area power state changes
/obj/machinery/light/power_change()
var/area/A = get_area(src)
+3
View File
@@ -38,6 +38,9 @@ var/list/blacklisted_tesla_types = typecacheof(list(/obj/machinery/atmospherics,
var/energy_to_raise = 32
var/energy_to_lower = -20
/obj/singularity/energy_ball/ex_act(severity, target)
return
/obj/singularity/energy_ball/Destroy()
if(orbiting && istype(orbiting, /obj/singularity/energy_ball))
var/obj/singularity/energy_ball/EB = orbiting