Review nanosaber config

This commit is contained in:
drcrazy 2020-01-24 16:01:56 +03:00
parent 9cccc70071
commit 1cb6623dd7
3 changed files with 27 additions and 27 deletions

View file

@ -166,11 +166,11 @@ public class TechRebornConfig {
@Config(config = "items", category = "general", key = "enableGemTools", comment = "Enable Gem armor and tools") @Config(config = "items", category = "general", key = "enableGemTools", comment = "Enable Gem armor and tools")
public static boolean enableGemArmorAndTools = true; public static boolean enableGemArmorAndTools = true;
@Config(config = "items", category = "power", key = "nanoSaberCharge", comment = "Energy Capacity for Nano Saber (FE)") @Config(config = "items", category = "power", key = "nanoSaberCharge", comment = "Energy Capacity for Nano Saber")
public static int nanosaberCharge = 4_000_000; public static int nanosaberCharge = 1_000_000;
@Config(config = "items", category = "power", key = "nanoSaberCost", comment = "Energy Cost for Nano Saber (FE)") @Config(config = "items", category = "power", key = "nanoSaberCost", comment = "Energy Cost for Nano Saber")
public static int nanosaberCost = 250; public static int nanosaberCost = 150;
@Config(config = "items", category = "power", key = "electricTreetapCharge", comment = "Energy Capacity for Electric Treetap") @Config(config = "items", category = "power", key = "electricTreetapCharge", comment = "Energy Capacity for Electric Treetap")
public static int electricTreetapCharge = 10_000; public static int electricTreetapCharge = 10_000;
@ -232,13 +232,13 @@ public class TechRebornConfig {
@Config(config = "items", category = "power", key = "industrialJackhammerCost", comment = "Energy Cost for Industrial Jackhammer") @Config(config = "items", category = "power", key = "industrialJackhammerCost", comment = "Energy Cost for Industrial Jackhammer")
public static int industrialJackhammerCost = 150; public static int industrialJackhammerCost = 150;
@Config(config = "items", category = "power", key = "omniToolCharge", comment = "Energy Capacity for Omni Tool (FE)") @Config(config = "items", category = "power", key = "omniToolCharge", comment = "Energy Capacity for Omni Tool")
public static int omniToolCharge = 4_000_000; public static int omniToolCharge = 1_000_000;
@Config(config = "items", category = "power", key = "omniToolCost", comment = "Energy Cost for Omni Tool (FE)") @Config(config = "items", category = "power", key = "omniToolCost", comment = "Energy Cost for Omni Tool")
public static int omniToolCost = 100; public static int omniToolCost = 100;
@Config(config = "items", category = "power", key = "omniToolHitCost", comment = "Hit Energy Cost for Omni Tool (FE)") @Config(config = "items", category = "power", key = "omniToolHitCost", comment = "Hit Energy Cost for Omni Tool")
public static int omniToolHitCost = 125; public static int omniToolHitCost = 125;
@Config(config = "items", category = "power", key = "rockCutterCharge", comment = "Energy Capacity for Rock Cutter (FE)") @Config(config = "items", category = "power", key = "rockCutterCharge", comment = "Energy Capacity for Rock Cutter (FE)")

View file

@ -59,7 +59,7 @@ public class NanosaberItem extends SwordItem implements EnergyHolder, ItemDurabi
public static final int maxCharge = TechRebornConfig.nanosaberCharge; public static final int maxCharge = TechRebornConfig.nanosaberCharge;
public int cost = TechRebornConfig.nanosaberCost; public int cost = TechRebornConfig.nanosaberCost;
// 4M FE max charge with 1k charge rate // 4ME max charge with 1k charge rate
public NanosaberItem() { public NanosaberItem() {
super(ToolMaterials.DIAMOND, 1, 1, new Item.Settings().group(TechReborn.ITEMGROUP).maxCount(1).maxDamage(-1)); super(ToolMaterials.DIAMOND, 1, 1, new Item.Settings().group(TechReborn.ITEMGROUP).maxCount(1).maxDamage(-1));
this.addPropertyGetter(new Identifier("techreborn:active"), (stack, worldIn, entityIn) -> { this.addPropertyGetter(new Identifier("techreborn:active"), (stack, worldIn, entityIn) -> {