Tweaked capacitance and resistance

This commit is contained in:
Calclavia 2013-12-23 01:03:53 +08:00
parent bf0eee7058
commit 5b2e6c0cb7
2 changed files with 3 additions and 2 deletions

View file

@ -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;
}
/**

View file

@ -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))