aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/tectech/loader/ConfigHandler.java
blob: e360b5f6714793de904d83b94a975224b5c94a4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package tectech.loader;

import com.gtnewhorizon.gtnhlib.config.Config;

import gregtech.api.enums.Mods;

@Config(modid = Mods.Names.TECTECH, filename = "tectech")
@Config.LangKeyPattern(pattern = "GT5U.gui.config.%cat.%field", fullyQualified = true)
@Config.RequiresMcRestart
public class ConfigHandler {

    public static Debug debug = new Debug();
    public static TeslaTweaks teslaTweaks = new TeslaTweaks();

    @Config.Comment("Debug section")
    public static class Debug {

        @Config.Comment("Enables logging and other purely debug features")
        @Config.DefaultBoolean(false)
        public boolean DEBUG_MODE;
    }

    @Config.Comment("Tesla tweaks section")
    public static class TeslaTweaks {

        @Config.Ignore()
        public static final float TESLA_MULTI_LOSS_FACTOR_OVERDRIVE = 0.25f;
        @Config.Ignore()
        public static final int TESLA_MULTI_LOSS_PER_BLOCK_T0 = 1;
        @Config.Ignore()
        public static final int TESLA_MULTI_LOSS_PER_BLOCK_T1 = 1;
        @Config.Ignore()
        public static final int TESLA_MULTI_LOSS_PER_BLOCK_T2 = 1;
        @Config.Ignore()
        public static final int TESLA_MULTI_PLASMA_PER_SECOND_T1_HELIUM = 100;
        @Config.Ignore()
        public static final int TESLA_MULTI_PLASMA_PER_SECOND_T1_NITROGEN = 50;
        @Config.Ignore()
        public static final int TESLA_MULTI_PLASMA_PER_SECOND_T2_RADON = 50;
        @Config.Ignore()
        public static final int TESLA_MULTI_RANGE_COEFFICIENT_PLASMA_T1 = 2;
        @Config.Ignore()
        public static final int TESLA_MULTI_RANGE_COEFFICIENT_PLASMA_T2 = 4;
        @Config.Ignore()
        public static final int TESLA_MULTI_RANGE_COVER = 16;
        @Config.Ignore()
        public static final int TESLA_MULTI_RANGE_TOWER = 32;
        @Config.Ignore()
        public static final int TESLA_MULTI_RANGE_TRANSCEIVER = 16;
        @Config.Ignore()
        public static final float TESLA_SINGLE_LOSS_FACTOR_OVERDRIVE = 0.25f;
        @Config.Ignore()
        public static final int TESLA_SINGLE_LOSS_PER_BLOCK = 1;

        @Config.Ignore()
        public static final int TESLA_SINGLE_RANGE = 20;
        @Config.Comment("Set true to enable the cool visual effect when tesla tower running.")
        @Config.DefaultBoolean(true)
        public boolean TESLA_VISUAL_EFFECT;
    }
}