Done with maxCharge and trasnferRate review for powered items
This commit is contained in:
parent
eb2816df1d
commit
a42e04606f
5 changed files with 13 additions and 6 deletions
|
@ -37,7 +37,7 @@ public class ConfigTechReborn {
|
||||||
public static boolean enableGemArmorAndTools = true;
|
public static boolean enableGemArmorAndTools = true;
|
||||||
|
|
||||||
@ConfigRegistry(config = "items", category = "power", key = "nanoSaberCharge", comment = "Energy Capacity for Nano Saber (FE)")
|
@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)")
|
@ConfigRegistry(config = "items", category = "power", key = "steelDrillCharge", comment = "Energy Capacity for Steel Drill (FE)")
|
||||||
public static int SteelDrillCharge = 40_000;
|
public static int SteelDrillCharge = 40_000;
|
||||||
|
@ -67,7 +67,7 @@ public class ConfigTechReborn {
|
||||||
public static int AdvancedJackhammerCharge = 4_000_000;
|
public static int AdvancedJackhammerCharge = 4_000_000;
|
||||||
|
|
||||||
@ConfigRegistry(config = "items", category = "power", key = "omniToolCharge", comment = "Energy Capacity for Omni Tool (FE)")
|
@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)")
|
@ConfigRegistry(config = "items", category = "power", key = "rockCutterCharge", comment = "Energy Capacity for Rock Cutter (FE)")
|
||||||
public static int RockCutterCharge = 400_000;
|
public static int RockCutterCharge = 400_000;
|
||||||
|
|
|
@ -60,9 +60,10 @@ public class ItemCloakingDevice extends ItemTRArmour implements IEnergyItemInfo
|
||||||
public static int usage = 10;
|
public static int usage = 10;
|
||||||
|
|
||||||
public static int maxCharge = ConfigTechReborn.CloakingDeviceCharge;
|
public static int maxCharge = ConfigTechReborn.CloakingDeviceCharge;
|
||||||
public static int transferLimit = 100;
|
public static int transferLimit = 10_000;
|
||||||
public static boolean isActive;
|
public static boolean isActive;
|
||||||
|
|
||||||
|
// 40M FE capacity with 10k FE\t charge rate
|
||||||
public ItemCloakingDevice() {
|
public ItemCloakingDevice() {
|
||||||
super(Reference.CLOAKING_ARMOR, EntityEquipmentSlot.CHEST);
|
super(Reference.CLOAKING_ARMOR, EntityEquipmentSlot.CHEST);
|
||||||
setTranslationKey("techreborn.cloakingdevice");
|
setTranslationKey("techreborn.cloakingdevice");
|
||||||
|
|
|
@ -63,8 +63,10 @@ import java.util.List;
|
||||||
|
|
||||||
public class ItemNanosaber extends ItemSword implements IEnergyItemInfo {
|
public class ItemNanosaber extends ItemSword implements IEnergyItemInfo {
|
||||||
public static final int maxCharge = ConfigTechReborn.nanoSaberCharge;
|
public static final int maxCharge = ConfigTechReborn.nanoSaberCharge;
|
||||||
|
public int transferLimit = 1_000;
|
||||||
public int cost = 250;
|
public int cost = 250;
|
||||||
|
|
||||||
|
// 4M FE max charge with 1k charge rate
|
||||||
public ItemNanosaber() {
|
public ItemNanosaber() {
|
||||||
super(ToolMaterial.DIAMOND);
|
super(ToolMaterial.DIAMOND);
|
||||||
setNoRepair();
|
setNoRepair();
|
||||||
|
@ -237,7 +239,7 @@ public class ItemNanosaber extends ItemSword implements IEnergyItemInfo {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMaxInput() {
|
public int getMaxInput() {
|
||||||
return 1_000;
|
return transferLimit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -57,9 +57,11 @@ import java.util.List;
|
||||||
public class ItemOmniTool extends ItemPickaxe implements IEnergyItemInfo {
|
public class ItemOmniTool extends ItemPickaxe implements IEnergyItemInfo {
|
||||||
|
|
||||||
public static final int maxCharge = ConfigTechReborn.OmniToolCharge;
|
public static final int maxCharge = ConfigTechReborn.OmniToolCharge;
|
||||||
|
public int transferLimit = 1_000;
|
||||||
public int cost = 100;
|
public int cost = 100;
|
||||||
public int hitCost = 125;
|
public int hitCost = 125;
|
||||||
|
|
||||||
|
// 4M FE max charge with 1k charge rate
|
||||||
public ItemOmniTool() {
|
public ItemOmniTool() {
|
||||||
super(ToolMaterial.DIAMOND);
|
super(ToolMaterial.DIAMOND);
|
||||||
efficiency = 13F;
|
efficiency = 13F;
|
||||||
|
@ -177,7 +179,7 @@ public class ItemOmniTool extends ItemPickaxe implements IEnergyItemInfo {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMaxInput() {
|
public int getMaxInput() {
|
||||||
return 1_000;
|
return transferLimit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -55,8 +55,10 @@ import java.util.Random;
|
||||||
public class ItemRockCutter extends ItemPickaxe implements IEnergyItemInfo {
|
public class ItemRockCutter extends ItemPickaxe implements IEnergyItemInfo {
|
||||||
|
|
||||||
public static final int maxCharge = ConfigTechReborn.RockCutterCharge;
|
public static final int maxCharge = ConfigTechReborn.RockCutterCharge;
|
||||||
|
public int transferLimit = 1_000;
|
||||||
public int cost = 500;
|
public int cost = 500;
|
||||||
|
|
||||||
|
// 400k FE with 1k FE\t charge rate
|
||||||
public ItemRockCutter() {
|
public ItemRockCutter() {
|
||||||
super(ToolMaterial.DIAMOND);
|
super(ToolMaterial.DIAMOND);
|
||||||
setTranslationKey("techreborn.rockcutter");
|
setTranslationKey("techreborn.rockcutter");
|
||||||
|
@ -163,7 +165,7 @@ public class ItemRockCutter extends ItemPickaxe implements IEnergyItemInfo {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMaxInput() {
|
public int getMaxInput() {
|
||||||
return 1_000;
|
return transferLimit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue