mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
Added process on machines A to J. Changed some world iterations to machines iterations.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user