Skip to content

Commit

Permalink
remove overclock divisor config, we love hard coding
Browse files Browse the repository at this point in the history
  • Loading branch information
YoungOnionMC committed Dec 3, 2024
1 parent 3f3826e commit ef47300
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 14 deletions.
1 change: 0 additions & 1 deletion src/generated/resources/assets/gtceu/lang/en_ud.json
Original file line number Diff line number Diff line change
Expand Up @@ -2335,7 +2335,6 @@
"config.gtceu.option.oreVeinGridSize": "ǝzıSpıɹ⅁uıǝΛǝɹo",
"config.gtceu.option.oreVeinRandomOffset": "ʇǝsɟɟOɯopuɐᴚuıǝΛǝɹo",
"config.gtceu.option.oreVeins": "suıǝΛǝɹo",
"config.gtceu.option.overclockDivisor": "ɹosıʌıᗡʞɔoןɔɹǝʌo",
"config.gtceu.option.ownerOPBypass": "ssɐdʎᗺԀOɹǝuʍo",
"config.gtceu.option.prospectorEnergyUseMultiplier": "ɹǝıןdıʇןnWǝs∩ʎbɹǝuƎɹoʇɔǝdsoɹd",
"config.gtceu.option.recipeProgressLowEnergy": "ʎbɹǝuƎʍoꞀssǝɹboɹԀǝdıɔǝɹ",
Expand Down
1 change: 0 additions & 1 deletion src/generated/resources/assets/gtceu/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -2335,7 +2335,6 @@
"config.gtceu.option.oreVeinGridSize": "oreVeinGridSize",
"config.gtceu.option.oreVeinRandomOffset": "oreVeinRandomOffset",
"config.gtceu.option.oreVeins": "oreVeins",
"config.gtceu.option.overclockDivisor": "overclockDivisor",
"config.gtceu.option.ownerOPBypass": "ownerOPBypass",
"config.gtceu.option.prospectorEnergyUseMultiplier": "prospectorEnergyUseMultiplier",
"config.gtceu.option.recipeProgressLowEnergy": "recipeProgressLowEnergy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.gregtechceu.gtceu.api.recipe.logic.OCParams;
import com.gregtechceu.gtceu.api.recipe.logic.OCResult;
import com.gregtechceu.gtceu.config.ConfigHolder;
import com.gregtechceu.gtceu.utils.GTUtil;

import lombok.Getter;
Expand Down Expand Up @@ -30,8 +29,8 @@ public interface Logic {

public static final double STD_VOLTAGE_FACTOR = 4.0;
public static final double PERFECT_HALF_VOLTAGE_FACTOR = 2.0;
public static final double STD_DURATION_FACTOR = 1 / ConfigHolder.INSTANCE.machines.overclockDivisor;
public static final double STD_DURATION_FACTOR_INV = ConfigHolder.INSTANCE.machines.overclockDivisor;
public static final double STD_DURATION_FACTOR = 0.5;
public static final double STD_DURATION_FACTOR_INV = 2.0;
public static final double PERFECT_DURATION_FACTOR = 0.25;
public static final double PERFECT_DURATION_FACTOR_INV = 4.0;
public static final double PERFECT_HALF_DURATION_FACTOR = 0.5;
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/com/gregtechceu/gtceu/config/ConfigHolder.java
Original file line number Diff line number Diff line change
Expand Up @@ -423,11 +423,6 @@ public static class MachineConfigs {
"Default: false" })
public boolean harmlessActiveTransformers = false;
@Configurable
@Configurable.Comment({ "Divisor for Recipe Duration per Overclock.", "Default: 2.0" })
@Configurable.DecimalRange(min = 2.0, max = 3.0)
@Configurable.Gui.NumberFormat("0.0#")
public double overclockDivisor = 2.0;
@Configurable
@Configurable.Comment({ "Whether to play machine sounds while machines are active.", "Default: true" })
public boolean machineSounds = true;
@Configurable
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/assets/gtceu/lang/ja_jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -2265,7 +2265,6 @@
"config.gtceu.option.oreVeinGridSize": "鉱脈グリッドサイズ",
"config.gtceu.option.oreVeinRandomOffset": "鉱脈ランダムオフセット",
"config.gtceu.option.oreVeins": "鉱脈",
"config.gtceu.option.overclockDivisor": "オーバークロック除算器",
"config.gtceu.option.platformToEuRatio": "プラットフォームとEUの比率",
"config.gtceu.option.prospectorEnergyUseMultiplier": "プロスペクター エネルギー使用乗数",
"config.gtceu.option.recipeProgressLowEnergy": "レシピ プログレス 低エネルギー",
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/assets/gtceu/lang/ru_ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,6 @@
"config.gtceu.option.oreVeinGridSize": "oreVeinGridSize",
"config.gtceu.option.oreVeinRandomOffset": "oreVeinRandomOffset",
"config.gtceu.option.oreVeins": "oreVeins",
"config.gtceu.option.overclockDivisor": "overclockDivisor",
"config.gtceu.option.platformToEuRatio": "platformToEuRatio",
"config.gtceu.option.recipeProgressLowEnergy": "recipeProgressLowEnergy",
"config.gtceu.option.recipes": "recipes",
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/assets/gtceu/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -2325,7 +2325,6 @@
"config.gtceu.option.oreVeinGridSize":"矿脉网格大小",
"config.gtceu.option.oreVeinRandomOffset":"矿脉随机偏移",
"config.gtceu.option.oreVeins":"矿脉",
"config.gtceu.option.overclockDivisor":"超频除数",
"config.gtceu.option.platformToEuRatio":"GTEU与加载器原生能量之间的转化率(转换器)",
"config.gtceu.option.prospectorEnergyUseMultiplier":"探矿仪能源消耗乘数",
"config.gtceu.option.recipeProgressLowEnergy":"跳电时,机器进度将",
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/assets/gtceu/lang/zh_tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -2325,7 +2325,6 @@
"config.gtceu.option.oreVeinGridSize":"礦脈網格大小",
"config.gtceu.option.oreVeinRandomOffset":"礦脈隨機偏移",
"config.gtceu.option.oreVeins":"礦脈",
"config.gtceu.option.overclockDivisor":"超頻除數",
"config.gtceu.option.platformToEuRatio":"GTEU與載入器原生能量之間的轉化率(轉換器)",
"config.gtceu.option.prospectorEnergyUseMultiplier":"探礦儀能源消耗倍率",
"config.gtceu.option.recipeProgressLowEnergy":"跳電時,機器進度將",
Expand Down

0 comments on commit ef47300

Please sign in to comment.