Done with maxCharge and trasnferRate review for powered items

This commit is contained in:
drcrazy 2018-07-23 14:21:07 +03:00
parent eb2816df1d
commit a42e04606f
5 changed files with 13 additions and 6 deletions

View file

@ -37,7 +37,7 @@ public class ConfigTechReborn {
public static boolean enableGemArmorAndTools = true;
@ConfigRegistry(config = "items", category = "power", key = "nanoSaberCharge", comment = "Energy Capacity for Nano Saber (FE)")
public static int nanoSaberCharge = 640_000;
public static int nanoSaberCharge = 4_000_000;
@ConfigRegistry(config = "items", category = "power", key = "steelDrillCharge", comment = "Energy Capacity for Steel Drill (FE)")
public static int SteelDrillCharge = 40_000;
@ -67,7 +67,7 @@ public class ConfigTechReborn {
public static int AdvancedJackhammerCharge = 4_000_000;
@ConfigRegistry(config = "items", category = "power", key = "omniToolCharge", comment = "Energy Capacity for Omni Tool (FE)")
public static int OmniToolCharge = 20_000;
public static int OmniToolCharge = 4_000_000;
@ConfigRegistry(config = "items", category = "power", key = "rockCutterCharge", comment = "Energy Capacity for Rock Cutter (FE)")
public static int RockCutterCharge = 400_000;

View file

@ -60,9 +60,10 @@ public class ItemCloakingDevice extends ItemTRArmour implements IEnergyItemInfo
public static int usage = 10;
public static int maxCharge = ConfigTechReborn.CloakingDeviceCharge;
public static int transferLimit = 100;
public static int transferLimit = 10_000;
public static boolean isActive;
// 40M FE capacity with 10k FE\t charge rate
public ItemCloakingDevice() {
super(Reference.CLOAKING_ARMOR, EntityEquipmentSlot.CHEST);
setTranslationKey("techreborn.cloakingdevice");

View file

@ -63,8 +63,10 @@ import java.util.List;
public class ItemNanosaber extends ItemSword implements IEnergyItemInfo {
public static final int maxCharge = ConfigTechReborn.nanoSaberCharge;
public int transferLimit = 1_000;
public int cost = 250;
// 4M FE max charge with 1k charge rate
public ItemNanosaber() {
super(ToolMaterial.DIAMOND);
setNoRepair();
@ -237,7 +239,7 @@ public class ItemNanosaber extends ItemSword implements IEnergyItemInfo {
@Override
public int getMaxInput() {
return 1_000;
return transferLimit;
}
@Override

View file

@ -57,9 +57,11 @@ import java.util.List;
public class ItemOmniTool extends ItemPickaxe implements IEnergyItemInfo {
public static final int maxCharge = ConfigTechReborn.OmniToolCharge;
public int transferLimit = 1_000;
public int cost = 100;
public int hitCost = 125;
// 4M FE max charge with 1k charge rate
public ItemOmniTool() {
super(ToolMaterial.DIAMOND);
efficiency = 13F;
@ -177,7 +179,7 @@ public class ItemOmniTool extends ItemPickaxe implements IEnergyItemInfo {
@Override
public int getMaxInput() {
return 1_000;
return transferLimit;
}
@Override

View file

@ -55,8 +55,10 @@ import java.util.Random;
public class ItemRockCutter extends ItemPickaxe implements IEnergyItemInfo {
public static final int maxCharge = ConfigTechReborn.RockCutterCharge;
public int transferLimit = 1_000;
public int cost = 500;
// 400k FE with 1k FE\t charge rate
public ItemRockCutter() {
super(ToolMaterial.DIAMOND);
setTranslationKey("techreborn.rockcutter");
@ -163,7 +165,7 @@ public class ItemRockCutter extends ItemPickaxe implements IEnergyItemInfo {
@Override
public int getMaxInput() {
return 1_000;
return transferLimit;
}
@Override