Added process on machines A to J. Changed some world iterations to machines iterations.

This commit is contained in:
Daniel García Baldomir
2015-03-14 19:45:34 +01:00
parent 8e5751a632
commit 78798e7548
10 changed files with 44 additions and 5 deletions

View File

@@ -54,6 +54,9 @@
var/base_state = "migniter"
anchored = 1
/obj/machinery/sparker/process()
return
/obj/machinery/sparker/New()
..()
@@ -129,12 +132,12 @@
active = 1
icon_state = "launcheract"
for(var/obj/machinery/sparker/M in world)
for(var/obj/machinery/sparker/M in machines)
if (M.id == src.id)
spawn( 0 )
M.ignite()
for(var/obj/machinery/igniter/M in world)
for(var/obj/machinery/igniter/M in machines)
if(M.id == src.id)
use_power(50)
M.on = !( M.on )