Tweaked capacitance and resistance
This commit is contained in:
parent
bf0eee7058
commit
5b2e6c0cb7
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue