Minor tweaks on MFFS Field Teleporter module.
This commit is contained in:
parent
fb8af398ac
commit
602177edc3
2 changed files with 6 additions and 3 deletions
|
@ -336,7 +336,7 @@ public class ItemPowerGauntlet extends ItemElectricTool
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (FMLCommonHandler.instance().getEffectiveSide().isServer()) {
|
else if (FMLCommonHandler.instance().getEffectiveSide().isServer()) {
|
||||||
player.sendChatToPlayer("[Field Security] Could not teleport through forcefield. 10,000J is required to teleport.");
|
player.sendChatToPlayer("[Field Security] Could not teleport through forcefield. 20,000J is required to teleport.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -2,8 +2,10 @@ package net.machinemuse.powersuits.powermodule.tool;
|
||||||
|
|
||||||
import net.machinemuse.api.IModularItem;
|
import net.machinemuse.api.IModularItem;
|
||||||
import net.machinemuse.powersuits.common.ModCompatability;
|
import net.machinemuse.powersuits.common.ModCompatability;
|
||||||
|
import net.machinemuse.powersuits.item.ItemComponent;
|
||||||
import net.machinemuse.powersuits.powermodule.PowerModuleBase;
|
import net.machinemuse.powersuits.powermodule.PowerModuleBase;
|
||||||
import net.machinemuse.utils.MuseCommonStrings;
|
import net.machinemuse.utils.MuseCommonStrings;
|
||||||
|
import net.machinemuse.utils.MuseItemUtils;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -17,8 +19,9 @@ public class MFFSFieldTeleporterModule extends PowerModuleBase {
|
||||||
|
|
||||||
public MFFSFieldTeleporterModule(List<IModularItem> validItems) {
|
public MFFSFieldTeleporterModule(List<IModularItem> validItems) {
|
||||||
super(validItems);
|
super(validItems);
|
||||||
addBaseProperty(FIELD_TELEPORTER_ENERGY_CONSUMPTION, 10000, "J");
|
addBaseProperty(FIELD_TELEPORTER_ENERGY_CONSUMPTION, 20000, "J");
|
||||||
addInstallCost(ModCompatability.getMFFSItem("MFFSitemFieldTeleporter", 1));
|
addInstallCost(ModCompatability.getMFFSItem("MFFSitemForcePowerCrystal", 1));
|
||||||
|
addInstallCost(MuseItemUtils.copyAndResize(ItemComponent.controlCircuit, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue