From 739b1b7676db0d7b302a82722c2c8e1d440e1194 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Sat, 31 Mar 2018 13:51:35 -1000 Subject: Rewrite Power Sub-Station machine structure Machine now allows variable height with 2-16 layers of cells (configurable via CELL_HEIGHT_MIN/MAX constants). Machine now affords more cell types for its interior (as detected in `getCellTier()`). Three more tiers of cells are added. Machine now computes energy storage from the number and type of cells in its interior. Base energy storage drastically reduced. Energy storage is now computed using a base value for the lowest tier of cells along with a tier multiplier. If the machine fails to form, stored energy is conserved. When the machine successfully forms, any energy above the storage capacity is deleted. Machine fails to form if not all cells are identical, or if dynamo/energy hatches are above the cells' tier. TODO: Add more tiers of energy cells, add crafting recipes for all new energy cells, rename and retexture cells to match tier and/or recipe, maybe adjust energy storage values. --- src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/enums') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java b/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java index 9c3abb8625..afbf68d8a6 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java @@ -166,7 +166,10 @@ public enum GregtechItemList implements GregtechItemContainer { Casing_SifterGrate, //Power Substation - Casing_Vanadium_Redox, + Casing_Vanadium_Redox, + Casing_Vanadium_Redox_T2, + Casing_Vanadium_Redox_T3, + Casing_Vanadium_Redox_T4, Casing_Power_SubStation, //Cyclotron -- cgit From 2cf95a2b3e82ceb3a8eec69e33262cf36b797ae6 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Thu, 5 Apr 2018 22:26:38 -1000 Subject: Add energy cell tiers up to MAX voltage, make lowest cell EV tier Renamed cells to the voltage tiers Added textures for new cells, adjusted existing textures. Texture colors are vaguely similar to pump/robot arm colors Legacy power stations will have 1.8 billion EU storage --- .../gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/enums') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java b/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java index afbf68d8a6..2b9860ef1c 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java @@ -167,9 +167,12 @@ public enum GregtechItemList implements GregtechItemContainer { //Power Substation Casing_Vanadium_Redox, - Casing_Vanadium_Redox_T2, - Casing_Vanadium_Redox_T3, - Casing_Vanadium_Redox_T4, + Casing_Vanadium_Redox_IV, + Casing_Vanadium_Redox_LuV, + Casing_Vanadium_Redox_ZPM, + Casing_Vanadium_Redox_UV, + Casing_Vanadium_Redox_MAX, + Casing_Power_SubStation, //Cyclotron -- cgit