mirror of
https://github.com/goonstation/goonstation-2016.git
synced 2026-07-13 18:12:20 +01:00
15 lines
274 B
Plaintext
15 lines
274 B
Plaintext
datum/controller/process/railway
|
|
var/tmp/list/vehicles
|
|
|
|
setup()
|
|
name = "Railways"
|
|
schedule_interval = 5
|
|
vehicles = global.railway_vehicles
|
|
|
|
doWork()
|
|
var/c
|
|
for(var/obj/railway_vehicle/v in global.railway_vehicles)
|
|
v.process()
|
|
if (!(c++ % 10))
|
|
scheck()
|