mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 20:23:26 +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:
@@ -61,6 +61,7 @@
|
|||||||
#include "code\ATMOSPHERICS\components\binary_devices\circulator.dm"
|
#include "code\ATMOSPHERICS\components\binary_devices\circulator.dm"
|
||||||
#include "code\ATMOSPHERICS\components\binary_devices\dp_vent_pump.dm"
|
#include "code\ATMOSPHERICS\components\binary_devices\dp_vent_pump.dm"
|
||||||
#include "code\ATMOSPHERICS\components\binary_devices\passive_gate.dm"
|
#include "code\ATMOSPHERICS\components\binary_devices\passive_gate.dm"
|
||||||
|
#include "code\ATMOSPHERICS\components\binary_devices\pipeturbine.dm"
|
||||||
#include "code\ATMOSPHERICS\components\binary_devices\pump.dm"
|
#include "code\ATMOSPHERICS\components\binary_devices\pump.dm"
|
||||||
#include "code\ATMOSPHERICS\components\binary_devices\volume_pump.dm"
|
#include "code\ATMOSPHERICS\components\binary_devices\volume_pump.dm"
|
||||||
#include "code\ATMOSPHERICS\components\trinary_devices\filter.dm"
|
#include "code\ATMOSPHERICS\components\trinary_devices\filter.dm"
|
||||||
|
|||||||
@@ -50,6 +50,9 @@
|
|||||||
turbine = locate() in get_step(src, get_dir(inturf, src))
|
turbine = locate() in get_step(src, get_dir(inturf, src))
|
||||||
if(!turbine)
|
if(!turbine)
|
||||||
stat |= BROKEN
|
stat |= BROKEN
|
||||||
|
else
|
||||||
|
turbine.stat &= !BROKEN
|
||||||
|
turbine.compressor = src
|
||||||
|
|
||||||
|
|
||||||
#define COMPFRICTION 5e5
|
#define COMPFRICTION 5e5
|
||||||
@@ -104,6 +107,9 @@
|
|||||||
compressor = locate() in get_step(src, get_dir(outturf, src))
|
compressor = locate() in get_step(src, get_dir(outturf, src))
|
||||||
if(!compressor)
|
if(!compressor)
|
||||||
stat |= BROKEN
|
stat |= BROKEN
|
||||||
|
else
|
||||||
|
compressor.stat &= !BROKEN
|
||||||
|
compressor.turbine = src
|
||||||
|
|
||||||
|
|
||||||
#define TURBPRES 9000000
|
#define TURBPRES 9000000
|
||||||
|
|||||||
BIN
icons/obj/pipeturbine.dmi
Normal file
BIN
icons/obj/pipeturbine.dmi
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
Reference in New Issue
Block a user