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:
UristMcKerman
2014-05-26 12:34:46 +04:00
parent 08357b5cb5
commit 2bc475ec41
3 changed files with 7 additions and 0 deletions

View File

@@ -61,6 +61,7 @@
#include "code\ATMOSPHERICS\components\binary_devices\circulator.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\pipeturbine.dm"
#include "code\ATMOSPHERICS\components\binary_devices\pump.dm"
#include "code\ATMOSPHERICS\components\binary_devices\volume_pump.dm"
#include "code\ATMOSPHERICS\components\trinary_devices\filter.dm"

View File

@@ -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

BIN
icons/obj/pipeturbine.dmi Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB