mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Created new turbine
Created turbine which inputs from pipes and motor. Also slightly fixed currently existing turbine (still unbuildable though).
This commit is contained in:
@@ -50,6 +50,9 @@
|
||||
turbine = locate() in get_step(src, get_dir(inturf, src))
|
||||
if(!turbine)
|
||||
stat |= BROKEN
|
||||
else
|
||||
turbine.stat &= !BROKEN
|
||||
turbine.compressor = src
|
||||
|
||||
|
||||
#define COMPFRICTION 5e5
|
||||
@@ -104,6 +107,9 @@
|
||||
compressor = locate() in get_step(src, get_dir(outturf, src))
|
||||
if(!compressor)
|
||||
stat |= BROKEN
|
||||
else
|
||||
compressor.stat &= !BROKEN
|
||||
compressor.turbine = src
|
||||
|
||||
|
||||
#define TURBPRES 9000000
|
||||
|
||||
Reference in New Issue
Block a user