2017-02-26 13:56:36 +01:00
|
|
|
/*
|
2016-12-13 21:00:07 +01:00
|
|
|
* This file is part of Industrial Wires.
|
2017-02-26 13:56:36 +01:00
|
|
|
* Copyright (C) 2016-2017 malte0811
|
2016-12-13 21:00:07 +01:00
|
|
|
*
|
|
|
|
* Industrial Wires is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Industrial Wires is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with Industrial Wires. If not, see <http://www.gnu.org/licenses/>.
|
2017-02-26 13:56:36 +01:00
|
|
|
*/
|
2016-12-08 18:16:58 +01:00
|
|
|
package malte0811.industrialWires;
|
|
|
|
|
|
|
|
import net.minecraftforge.common.config.Config;
|
|
|
|
import net.minecraftforge.common.config.Config.Comment;
|
|
|
|
|
2017-05-11 16:39:20 +02:00
|
|
|
@Config(modid = IndustrialWires.MODID)
|
2016-12-08 18:16:58 +01:00
|
|
|
public class IWConfig {
|
|
|
|
@Comment({"The maximum length of a single connection.", "Order: Tin, Copper, Gold, HV, Glass Fiber"})
|
|
|
|
public static int[] maxLengthPerConn = {16, 16, 16, 32, 32};
|
|
|
|
@Comment({"The maximum length of wire a coil item.", "Order: Tin, Copper, Gold, HV, Glass Fiber (as above)"})
|
|
|
|
public static int[] maxLengthOnCoil = {1024, 1024, 1024, 2048, 2048};
|
2016-12-13 21:00:07 +01:00
|
|
|
|
|
|
|
@Comment({"Set this to false to completely disable any conversion between IF and EU (default: true)"})
|
|
|
|
public static boolean enableConversion = true;
|
2017-05-11 16:39:20 +02:00
|
|
|
|
|
|
|
public static MechConversion mech;
|
|
|
|
|
2016-12-13 21:00:07 +01:00
|
|
|
public static class MechConversion {
|
2017-04-12 15:55:37 +02:00
|
|
|
@Comment({"The amount of EU that would be produced by an ideal converter from 1 IF (default: 0.25)"})
|
|
|
|
public static double euPerIf = .25;
|
2016-12-13 21:00:07 +01:00
|
|
|
@Comment({"The amount of IC2 kinetic energy that an ideal converter produces from 1 EU"})
|
|
|
|
public static double kinPerEu = 4;
|
2017-05-11 16:39:20 +02:00
|
|
|
|
2016-12-13 21:00:07 +01:00
|
|
|
@Comment({"The maximum amount of IF that can be converted to rotational energy", "by one motor in one tick (default: 100)"})
|
|
|
|
public static int maxIfToMech = 100;
|
|
|
|
@Comment({"The efficiency of the IF motor. The default value of 0.9 means that 10% of the energy are lost in the conversion."})
|
|
|
|
public static double ifMotorEfficiency = .9;
|
|
|
|
|
|
|
|
@Comment({"The maximum amount of IE rotational energy that can be converted into IC2 kinetic energy", "by one converter in one tick"})
|
|
|
|
public static double maxRotToKin = 50;
|
|
|
|
@Comment({"The efficiency of the conversion from IE rotational energy to IC2 kinetic energy"})
|
|
|
|
public static double rotToKinEfficiency = .7;
|
2017-05-11 16:39:20 +02:00
|
|
|
|
2016-12-13 21:00:07 +01:00
|
|
|
@Comment({"The maximum amount of IC2 kinetic energy that can be converted into IE rotational energy", "by one converter in one tick"})
|
2016-12-15 21:32:28 +01:00
|
|
|
public static int maxKinToRot = 2400;
|
2016-12-13 21:00:07 +01:00
|
|
|
@Comment({"The efficiency of the conversion from IC2 kinetic energy to IE rotational energy"})
|
|
|
|
public static double kinToRotEfficiency = .8;
|
2017-02-26 13:56:36 +01:00
|
|
|
}
|
2017-05-11 16:39:20 +02:00
|
|
|
|
|
|
|
public static HVStuff hv;
|
|
|
|
|
2017-02-26 13:56:36 +01:00
|
|
|
public static class HVStuff {
|
2017-05-11 16:39:20 +02:00
|
|
|
@Comment({"The amount of EU a Jacobs Ladder uses per tick, sorted by size of the ladder"})
|
|
|
|
public static double[] jacobsUsageEU = {20, 50, 100};
|
2017-03-03 17:52:22 +01:00
|
|
|
@Comment({"The damage dealt by a small Jacobs Ladder. Normal Ladders deal twice this damage, huge ones 3 times as much"})
|
|
|
|
public static float jacobsBaseDmg = 5;
|
2016-12-13 21:00:07 +01:00
|
|
|
}
|
2016-12-08 18:16:58 +01:00
|
|
|
}
|