From f9f1bd2f8d83bf9289254beb93efd65f9bcc5fed Mon Sep 17 00:00:00 2001
From: NexusNull
Date: Sat, 11 Mar 2023 22:59:54 +0100
Subject: Add regulator abilities to Steam Valve (#1785)
* fix: fix Steam Valve not being configurable
* Revert "fix: fix Steam Valve not being configurable"
This reverts commit 505d9e273b48315fde154490e116d58fed46ffaf.
* feat: add steam regulator
* feat: add superheated steam to steam valve
---
.../common/covers/GT_Cover_FluidRegulator.java | 10 ++++++---
.../common/covers/GT_Cover_SteamRegulator.java | 26 ++++++++++++++++++++++
.../common/covers/GT_Cover_SteamValve.java | 2 +-
3 files changed, 34 insertions(+), 4 deletions(-)
create mode 100644 src/main/java/gregtech/common/covers/GT_Cover_SteamRegulator.java
(limited to 'src/main/java/gregtech/common/covers')
diff --git a/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java b/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java
index df0b16c297..b02610ebf4 100644
--- a/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java
+++ b/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java
@@ -36,13 +36,13 @@ import io.netty.buffer.ByteBuf;
/**
* Cover variable
- *
+ *
*
* 1111 1111 1111 1111 1111 1111 1111 1111
* |- interval-| |- flow rate 2 compl. -|
* ^ export?
*
- *
+ *
* Concat export and flow rate 2 compl. together to get actual flow rate. A positive actual flow rate is export, and
* vice versa.
*
@@ -123,7 +123,7 @@ public class GT_Cover_FluidRegulator extends GT_CoverBehaviorBase 0) {
@@ -184,6 +184,10 @@ public class GT_Cover_FluidRegulator extends GT_CoverBehaviorBase