mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
More Energy Configs
Make previously hardcoded energy capacity configurable (Electric Bow, Configurator, Energy Tablet, etc). Base Teleport Cost is now configurable.
This commit is contained in:
1 parent
7ece19eaa3
commit
357aea976a
14 files changed
+160
-92
No files matched your search
@@ -9,6 +9,7 @@ import mekanism.api.*;
|
||||
import mekanism.api.transmitters.TransmissionType;
|
||||
import mekanism.common.Mekanism;
|
||||
import mekanism.common.SideData;
|
||||
import mekanism.common.Tier;
|
||||
import mekanism.common.base.ISideConfiguration;
|
||||
import mekanism.common.network.PacketTileEntity.TileEntityMessage;
|
||||
import mekanism.common.tile.TileEntityBasicBlock;
|
||||
@@ -39,14 +40,14 @@ import java.util.Random;
|
||||
})
|
||||
public class ItemConfigurator extends ItemEnergized implements IMekWrench, IToolWrench, IToolHammer
|
||||
{
|
||||
public final int ENERGY_PER_CONFIGURE = 400;
|
||||
public final int ENERGY_PER_ITEM_DUMP = 8;
|
||||
public final int ENERGY_PER_CONFIGURE = (int) (MAX_ELECTRICITY/150);
|
||||
public final int ENERGY_PER_ITEM_DUMP = (int) (MAX_ELECTRICITY/500);
|
||||
|
||||
private Random random = new Random();
|
||||
|
||||
public ItemConfigurator()
|
||||
{
|
||||
super(60000);
|
||||
super(Tier.EquipmentTier.BASIC.energy);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user