From 5b2e6c0cb7050b9875c07bb834c6d1e89c90f7c5 Mon Sep 17 00:00:00 2001 From: Calclavia Date: Mon, 23 Dec 2013 01:03:53 +0800 Subject: [PATCH] Tweaked capacitance and resistance --- src/resonantinduction/wire/part/PartAdvancedWire.java | 4 ++-- src/resonantinduction/wire/part/TraitConductor.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/resonantinduction/wire/part/PartAdvancedWire.java b/src/resonantinduction/wire/part/PartAdvancedWire.java index 928b2b86a..df157a163 100644 --- a/src/resonantinduction/wire/part/PartAdvancedWire.java +++ b/src/resonantinduction/wire/part/PartAdvancedWire.java @@ -61,13 +61,13 @@ public abstract class PartAdvancedWire extends PartConductor /** * TODO: FIX THIS! */ - return (int) (this.getMaterial().resistance * 1000); + return (int) (this.getMaterial().resistance * 10); } @Override public long getEnergyCapacitance() { - return this.getMaterial().maxAmps; + return this.getMaterial().maxAmps * 1000; } /** diff --git a/src/resonantinduction/wire/part/TraitConductor.java b/src/resonantinduction/wire/part/TraitConductor.java index cb91948bb..01e5fb26a 100644 --- a/src/resonantinduction/wire/part/TraitConductor.java +++ b/src/resonantinduction/wire/part/TraitConductor.java @@ -101,6 +101,7 @@ public class TraitConductor extends TileMultipart implements IConductor @Override public long onReceiveEnergy(ForgeDirection from, long receive, boolean doReceive) { + // TODO: Allow floor connections to also receive this. TMultiPart part = this.partMap(from.ordinal()); if (this.interfaces.contains(part))