The blob eats nondense things in all cases.

Probably fixes one or two bugs in the process.
This commit is contained in:
Nerd Lord
2015-11-20 21:03:43 -05:00
parent 7595a4b728
commit f458c2cead
14 changed files with 17 additions and 67 deletions
+1 -4
View File
@@ -1167,10 +1167,7 @@
set_broken()
/obj/machinery/power/apc/blob_act()
if (prob(75))
set_broken()
if (cell && prob(5))
cell.blob_act()
set_broken()
/obj/machinery/power/apc/disconnect_terminal()
if(terminal)
+1 -8
View File
@@ -13,11 +13,4 @@
if(prob(50))
ChangeTurf(src.baseturf)
else
return
/turf/simulated/floor/engine/blob_act()
if (prob(25))
ChangeTurf(src.baseturf)
qdel(src)
return
return
return
-8
View File
@@ -524,14 +524,6 @@
if(prob(25))
broken()
//blob effect
/obj/machinery/light/blob_act()
if(prob(75))
broken()
// called when area power state changes
/obj/machinery/light/power_change()
var/area/A = get_area(src)
-13
View File
@@ -75,13 +75,6 @@
src.healthcheck()
..()
/obj/machinery/power/solar/blob_act()
src.health--
src.healthcheck()
return
/obj/machinery/power/solar/proc/healthcheck()
if (src.health <= 0)
if(!(stat & BROKEN))
@@ -155,12 +148,6 @@
if(prob(25) && broken())
new /obj/item/weapon/shard(src.loc)
/obj/machinery/power/solar/blob_act()
if(prob(75))
broken()
src.density = 0
/obj/machinery/power/solar/fake/New(var/turf/loc, var/obj/item/solar_assembly/S)
..(loc, S, 0)