mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-25 22:34:31 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4d4246577 | ||
|
|
be88ceed7b | ||
|
|
ff25437d14 | ||
|
|
69b43d2874 | ||
|
|
aae438a098 | ||
|
|
97dcff302c | ||
|
|
57b7e8e841 | ||
|
|
e4df980eac | ||
|
|
632f0fb2f7 | ||
|
|
dfb6ca1735 | ||
|
|
77dc95d4d5 | ||
|
|
f3ef2a4244 | ||
|
|
a332cabdf7 | ||
|
|
69b64368f8 | ||
|
|
ccfc699180 | ||
|
|
6c5443c859 | ||
|
|
b4c34554c2 | ||
|
|
1f1795e635 | ||
|
|
9bf423b0da | ||
|
|
e97b70cab5 | ||
|
|
b6a965af46 | ||
|
|
584f5bd4f6 | ||
|
|
eea1549684 | ||
|
|
8246b036f3 | ||
|
|
228508a755 | ||
|
|
0e26ab800f | ||
|
|
281ab32e95 | ||
|
|
399cbe76aa | ||
|
|
25077b70c0 | ||
|
|
0ca43106f3 | ||
|
|
28acd83b5b | ||
|
|
b14153f46b | ||
|
|
b46d49e269 |
No files matched your search
@@ -0,0 +1,62 @@
|
||||
|
||||
# Electro-Magic-Tools
|
||||
|
||||
Changelog of Electro-Magic-Tools.
|
||||
|
||||
|
||||
### [#22 fix(textures): deprecated use of CASING_BLOCKS](https://github.com/GTNewHorizons/Electro-Magic-Tools/pull/22)
|
||||
**Merge pull request #22 from GTNewHorizons/fix_CASING_BLOCKS**
|
||||
* fix(textures): deprecated use of CASING_BLOCKS
|
||||
|
||||
[69b43d28740ac13](https://github.com/GTNewHorizons/Electro-Magic-Tools/commit/69b43d28740ac13)
|
||||
by Léa Gris *2021-05-22 21:45:02*
|
||||
### No issue
|
||||
**bump version**
|
||||
|
||||
[ff25437d148f471](https://github.com/GTNewHorizons/Electro-Magic-Tools/commit/ff25437d148f471)
|
||||
by DreamMasterXXL *2021-06-15 19:54:07*
|
||||
|
||||
**fix(textures): deprecated use of CASING_BLOCKS**
|
||||
|
||||
[aae438a09871b7d](https://github.com/GTNewHorizons/Electro-Magic-Tools/commit/aae438a09871b7d)
|
||||
by Léa Gris *2021-05-22 19:49:01*
|
||||
|
||||
### [#19 Essentia gen fixes](https://github.com/GTNewHorizons/Electro-Magic-Tools/pull/19)
|
||||
**Merge pull request #19 from GTNewHorizons/essentiaGenFix**
|
||||
* Essentia gen fixes
|
||||
|
||||
[e4df980eacf77fa](https://github.com/GTNewHorizons/Electro-Magic-Tools/commit/e4df980eacf77fa)
|
||||
by Martin Robertz *2021-01-10 14:17:56*
|
||||
### [#20 fixed gens outputting their amps up to 6 times](https://github.com/GTNewHorizons/Electro-Magic-Tools/pull/20)
|
||||
**fixed gens outputting their amps up to 6 times (#20)**
|
||||
* fixed gens outputting their amps up to 6 times
|
||||
* change according to review
|
||||
|
||||
[57b7e8e84176818](https://github.com/GTNewHorizons/Electro-Magic-Tools/commit/57b7e8e84176818)
|
||||
by KiloJoel *2021-02-12 16:58:07*
|
||||
### No issue
|
||||
**bump version**
|
||||
|
||||
[97dcff302ca936e](https://github.com/GTNewHorizons/Electro-Magic-Tools/commit/97dcff302ca936e)
|
||||
by DreamMasterXXL *2021-02-26 06:23:40*
|
||||
|
||||
**fixed essentia gens accepting essentia when full**
|
||||
|
||||
[632f0fb2f74fcac](https://github.com/GTNewHorizons/Electro-Magic-Tools/commit/632f0fb2f74fcac)
|
||||
by KiloJoel *2021-01-10 08:16:36*
|
||||
|
||||
**fixed other server-client problems**
|
||||
|
||||
[dfb6ca173567017](https://github.com/GTNewHorizons/Electro-Magic-Tools/commit/dfb6ca173567017)
|
||||
by KiloJoel *2021-01-10 07:44:38*
|
||||
|
||||
**fixed log spam from essentia gens**
|
||||
|
||||
[77dc95d4d5c51d7](https://github.com/GTNewHorizons/Electro-Magic-Tools/commit/77dc95d4d5c51d7)
|
||||
by KiloJoel *2021-01-10 07:33:58*
|
||||
|
||||
**updated gradle wrapper**
|
||||
|
||||
[f3ef2a42440344a](https://github.com/GTNewHorizons/Electro-Magic-Tools/commit/f3ef2a42440344a)
|
||||
by KiloJoel *2021-01-10 07:27:39*
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package_group=emt
|
||||
mc_version=1.7.10
|
||||
forge_version=10.13.4.1614
|
||||
mod_version=1.2.7.6
|
||||
mod_version=1.2.8.3
|
||||
mod_name=ElectroMagicTools
|
||||
Vendored
BIN
Binary file not shown.
+2
-2
@@ -1,6 +1,6 @@
|
||||
#Fri Nov 27 18:08:08 MSK 2015
|
||||
#Sat Jan 04 01:56:22 CET 2020
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-bin.zip
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -52,6 +52,8 @@ public class ConainerGenerator
|
||||
if (i == 0) {
|
||||
this.tileentity.generating = (((int) j) * 400);
|
||||
} else if (i == 1) {
|
||||
if (j == 0 || this.tileentity.fuel != j)
|
||||
this.tileentity.tick = 0;
|
||||
this.tileentity.fuel = ((byte) j);
|
||||
} else if (i == 2) {
|
||||
this.tileentity.mpshownstroage = (short) j;
|
||||
|
||||
+2
-2
@@ -68,9 +68,9 @@ public class EMT_Large_Essentia_Gen extends GT_MetaTileEntity_MultiBlockBase {
|
||||
@Override
|
||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||
if (aSide == aFacing) {
|
||||
return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[CASING_INDEX], new GT_RenderedTexture(aActive ? Textures.BlockIcons.OVERLAY_FRONT_DISTILLATION_TOWER_ACTIVE : Textures.BlockIcons.OVERLAY_FRONT_DISTILLATION_TOWER)};
|
||||
return new ITexture[]{Textures.BlockIcons.getCasingTextureForId(CASING_INDEX), new GT_RenderedTexture(aActive ? Textures.BlockIcons.OVERLAY_FRONT_DISTILLATION_TOWER_ACTIVE : Textures.BlockIcons.OVERLAY_FRONT_DISTILLATION_TOWER)};
|
||||
}
|
||||
return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[CASING_INDEX]};
|
||||
return new ITexture[]{Textures.BlockIcons.getCasingTextureForId(CASING_INDEX)};
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -16,7 +16,9 @@ import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.potion.Potion;
|
||||
import net.minecraft.potion.PotionEffect;
|
||||
import net.minecraft.util.ChatComponentText;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
import net.minecraft.util.IIcon;
|
||||
import thaumcraft.api.ThaumcraftApiHelper;
|
||||
import thaumcraft.api.IRunicArmor;
|
||||
import thaumcraft.api.IWarpingGear;
|
||||
|
||||
@@ -56,6 +58,14 @@ public class ItemOneRing extends ItemBase implements IBauble, IWarpingGear, IRun
|
||||
return "item." + EMT.MOD_ID + ".bauble." + name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack itemStack, EntityPlayer player, List list, boolean par4) {
|
||||
String colourCode = ""+ EnumChatFormatting.DARK_RED;
|
||||
list.add(colourCode+"The Ring whispers to you, promising power. But at what cost? Long-term usage is NOT advised.");
|
||||
list.add(colourCode+"Can RUIN your game if you don't understand what this does. READ THE QUEST!!");
|
||||
super.addInformation(itemStack, player, list, par4);
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IIconRegister ri) {
|
||||
this.icon[0] = ri.registerIcon(EMT.TEXTURE_PATH + ":onering");
|
||||
@@ -164,11 +174,24 @@ public class ItemOneRing extends ItemBase implements IBauble, IWarpingGear, IRun
|
||||
player.addPotionEffect(new PotionEffect(Potion.wither.id, 100, 4, false));
|
||||
}
|
||||
|
||||
if (corruption >= 300) {
|
||||
if (random.nextInt(100) == 0) {
|
||||
if (corruption >= 300) { //worn more than 5 minutes
|
||||
if (random.nextInt(100) == 0) { //every 100 seconds
|
||||
getItemWarpLevel(stack, true);
|
||||
((EntityPlayer) player).addChatMessage(new ChatComponentText(EMTTextHelper.PURPLE + "The Ring suddenly starts to glow purple"));
|
||||
}
|
||||
if (random.nextInt(300) == 0) { //randomly every 5 minutes
|
||||
ThaumcraftApiHelper.addWarpToPlayer((EntityPlayer) player, 1, false); //adds 1 perm warp
|
||||
ThaumcraftApiHelper.addStickyWarpToPlayer((EntityPlayer) player, random.nextInt(1)); //adds 0-1 sticky warp
|
||||
((EntityPlayer) player).addChatMessage(new ChatComponentText(EMTTextHelper.PURPLE + "Your body suddenly starts to glow purple"));
|
||||
}
|
||||
if (corruption >= 3600) { //if you wear it for more than an hour total
|
||||
if (random.nextInt(300) == 0) {
|
||||
ThaumcraftApiHelper.addWarpToPlayer((EntityPlayer) player, 5 + random.nextInt(5), false); //adds 5-10 perm warp
|
||||
ThaumcraftApiHelper.addStickyWarpToPlayer((EntityPlayer) player, 5 + random.nextInt(5)); //adds 5-10 sticky warp
|
||||
ThaumcraftApiHelper.addWarpToPlayer((EntityPlayer) player, 10 + random.nextInt(40), true); //adds 10-50 temp warp, but this is ultra easy to remove
|
||||
((EntityPlayer) player).addChatMessage(new ChatComponentText(EMTTextHelper.PURPLE + "Your body resonates with the Ring and suddenly starts to glow purple ominously"));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
forgeTag.setInteger(NBT_TAG_MIND_CORRUPTION, ++corruption);
|
||||
|
||||
@@ -475,7 +475,10 @@ public class ItemInfusedQuantumChestplate extends ItemArmorElectric implements I
|
||||
byte f = nbt.getByte("f");
|
||||
|
||||
nbt.setBoolean("isHolding", true);
|
||||
nbt.setByte("f", (byte) (f + 1));
|
||||
if (IC2.keyboard.isSneakKeyDown(player))
|
||||
nbt.setByte("f", (byte) (0));
|
||||
else
|
||||
nbt.setByte("f", (byte) (f + 1));
|
||||
|
||||
if (f > 7) {
|
||||
nbt.setByte("f", (byte) 7);
|
||||
@@ -483,21 +486,23 @@ public class ItemInfusedQuantumChestplate extends ItemArmorElectric implements I
|
||||
} else if (nbt.getBoolean("isHolding")) {
|
||||
byte f = nbt.getByte("f");
|
||||
nbt.setBoolean("isHolding", false);
|
||||
player.motionY = motionY * f;
|
||||
if (!IC2.keyboard.isSneakKeyDown(player)) {
|
||||
player.motionY = motionY * f;
|
||||
|
||||
if (isElectric) {
|
||||
ElectricItem.manager.use(stack, ((motionY * f) * 10) * amount, player);
|
||||
}
|
||||
if (isElectric) {
|
||||
ElectricItem.manager.use(stack, ((motionY * f) * 10) * amount, player);
|
||||
}
|
||||
|
||||
if (player.motionX < 0.5 && player.motionZ < 0.5 && player.motionX > -0.5 && player.motionZ > -0.5) {
|
||||
player.motionX /= motionXZ;
|
||||
player.motionZ /= motionXZ;
|
||||
}
|
||||
if (player.motionX < 0.5 && player.motionZ < 0.5 && player.motionX > -0.5 && player.motionZ > -0.5) {
|
||||
player.motionX /= motionXZ;
|
||||
player.motionZ /= motionXZ;
|
||||
}
|
||||
|
||||
world.playSoundEffect(player.posX, player.posY, player.posZ, "mob.ghast.fireball", 1, 1);
|
||||
world.playSoundEffect(player.posX, player.posY, player.posZ, "mob.ghast.fireball", 1, 1);
|
||||
|
||||
for (int i = 0; i < 4; i++) {
|
||||
world.spawnParticle("cloud", player.posX - 1 + (world.rand.nextInt(100) / 50d), player.posY - 1, player.posZ - 1 + (world.rand.nextInt(100) / 50d), 0, -0.5, 0);
|
||||
for (int i = 0; i < 4; i++) {
|
||||
world.spawnParticle("cloud", player.posX - 1 + (world.rand.nextInt(100) / 50d), player.posY - 1, player.posZ - 1 + (world.rand.nextInt(100) / 50d), 0, -0.5, 0);
|
||||
}
|
||||
}
|
||||
|
||||
nbt.setByte("f", (byte) 0);
|
||||
|
||||
@@ -77,21 +77,26 @@ public class ItemFeatherWing extends ItemArmor implements IRunicArmor {
|
||||
if (isJmuping) {
|
||||
byte f = nbtData.getByte("f");
|
||||
nbtData.setBoolean("isHolding", true);
|
||||
nbtData.setByte("f", (byte) (f + 1));
|
||||
if (IC2.keyboard.isSneakKeyDown(player))
|
||||
nbtData.setByte("f", (byte) (0));
|
||||
else
|
||||
nbtData.setByte("f", (byte) (f + 1));
|
||||
if (f > 7)
|
||||
nbtData.setByte("f", (byte) 7);
|
||||
} else if (isHolding) {
|
||||
byte f = nbtData.getByte("f");
|
||||
nbtData.setBoolean("isHolding", false);
|
||||
player.motionY = motionY * f;
|
||||
ElectricItem.manager.use(stack, ((motionY * f) * 10) * amount, player);
|
||||
if (player.motionX < 0.5 && player.motionZ < 0.5 && player.motionX > -0.5 && player.motionZ > -0.5) {
|
||||
player.motionX /= motionXZ;
|
||||
player.motionZ /= motionXZ;
|
||||
}
|
||||
world.playSoundEffect(player.posX, player.posY, player.posZ, "mob.ghast.fireball", 1, 1);
|
||||
for (int i = 0; i < 4; i++) {
|
||||
world.spawnParticle("cloud", player.posX - 1 + (world.rand.nextInt(100) / 50d), player.posY - 1, player.posZ - 1 + (world.rand.nextInt(100) / 50d), 0, -0.5, 0);
|
||||
if (!IC2.keyboard.isSneakKeyDown(player)) {
|
||||
player.motionY = motionY * f;
|
||||
ElectricItem.manager.use(stack, ((motionY * f) * 10) * amount, player);
|
||||
if (player.motionX < 0.5 && player.motionZ < 0.5 && player.motionX > -0.5 && player.motionZ > -0.5) {
|
||||
player.motionX /= motionXZ;
|
||||
player.motionZ /= motionXZ;
|
||||
}
|
||||
world.playSoundEffect(player.posX, player.posY, player.posZ, "mob.ghast.fireball", 1, 1);
|
||||
for (int i = 0; i < 4; i++) {
|
||||
world.spawnParticle("cloud", player.posX - 1 + (world.rand.nextInt(100) / 50d), player.posY - 1, player.posZ - 1 + (world.rand.nextInt(100) / 50d), 0, -0.5, 0);
|
||||
}
|
||||
}
|
||||
nbtData.setByte("f", (byte) 0);
|
||||
}
|
||||
|
||||
@@ -96,6 +96,9 @@ public class TileEntityBaseGenerator
|
||||
|
||||
|
||||
public void storeFuel() {
|
||||
if (!side)
|
||||
return;
|
||||
|
||||
if (this.fuel < this.maxfuel) {
|
||||
for (int x = this.xCoord - 4; x < this.xCoord + 4; x++) {
|
||||
for (int y = this.yCoord - 4; y < this.yCoord + 4; y++) {
|
||||
@@ -116,6 +119,12 @@ public class TileEntityBaseGenerator
|
||||
}
|
||||
|
||||
public void fillfrompipe() {
|
||||
if (!side)
|
||||
return;
|
||||
|
||||
if (this.fuel == this.maxfuel)
|
||||
return;
|
||||
|
||||
TileEntity[] te = new TileEntity[ForgeDirection.VALID_DIRECTIONS.length];
|
||||
for (int i = 0; i < ForgeDirection.VALID_DIRECTIONS.length; i++) {
|
||||
te[i] = ThaumcraftApiHelper.getConnectableTile(this.worldObj, this.xCoord, this.yCoord, this.zCoord, ForgeDirection.VALID_DIRECTIONS[i]);
|
||||
@@ -136,31 +145,24 @@ public class TileEntityBaseGenerator
|
||||
}
|
||||
|
||||
public void createEnergy() {
|
||||
if (!side) {
|
||||
if (this.isActive && this.tick < 400) {
|
||||
this.tick += 1;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.fuel > 0) {
|
||||
if (this.storage + this.generating / 20.0D / 20.0D < this.maxstorage) {
|
||||
this.isActive = true;
|
||||
if (side) {
|
||||
this.energySource.addEnergy(this.generating / 20.0D / 20.0D);
|
||||
this.storage = ((int) this.energySource.getEnergyStored());
|
||||
}
|
||||
this.tick += 1;
|
||||
if (this.tick == 400) {
|
||||
this.fuel -= 1;
|
||||
this.tick = 0;
|
||||
}
|
||||
} else if (this.storage == this.maxstorage) {
|
||||
this.isActive = false;
|
||||
} else if ((this.storage + this.generating / 20.0D / 20.0D > this.maxstorage)) {
|
||||
this.isActive = true;
|
||||
if (side) {
|
||||
this.energySource.setEnergyStored(this.maxstorage);
|
||||
this.storage = this.maxstorage;
|
||||
}
|
||||
this.energySource.addEnergy(this.generating / 20.0D / 20.0D);
|
||||
this.storage = ((int) this.energySource.getEnergyStored());
|
||||
this.tick += 1;
|
||||
if (this.tick == 400) {
|
||||
this.fuel -= 1;
|
||||
this.tick = 0;
|
||||
}
|
||||
} else {
|
||||
this.isActive = false;
|
||||
}
|
||||
} else {
|
||||
@@ -300,7 +302,7 @@ public class TileEntityBaseGenerator
|
||||
}
|
||||
|
||||
public int getSuctionAmount(ForgeDirection face) {
|
||||
return 128;
|
||||
return this.fuel == this.maxfuel ? 0 : 128;
|
||||
}
|
||||
|
||||
public int takeEssentia(Aspect aspect, int amount, ForgeDirection face) {
|
||||
@@ -331,14 +333,22 @@ public class TileEntityBaseGenerator
|
||||
}
|
||||
|
||||
public void inputintoGTnet() {
|
||||
if (!side)
|
||||
return;
|
||||
|
||||
if (checkForGtTile() && isUniversalEnergyStored(getOutputVoltage() * getOutputAmperage())) {
|
||||
long tEU = IEnergyConnected.Util.emitEnergyToNetwork(getOutputVoltage(), getOutputAmperage(), this);
|
||||
drainEnergyUnits((byte) 0, getOutputVoltage(), tEU);
|
||||
}
|
||||
}
|
||||
|
||||
private boolean checkForGtTile() {
|
||||
for (byte i = 0; i < 6; i = (byte) (i + 1)) {
|
||||
if (getIGregTechTileEntityAtSide(i) != null) {
|
||||
if (isUniversalEnergyStored(getOutputVoltage() * getOutputAmperage())) {
|
||||
long tEU = IEnergyConnected.Util.emitEnergyToNetwork(getOutputVoltage(), getOutputAmperage(), this);
|
||||
drainEnergyUnits(i, getOutputVoltage(), tEU);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public byte getColorization() {
|
||||
|
||||
@@ -292,7 +292,7 @@ public class TileEntitySolarBase extends TileEntityEMT implements IInventory, IW
|
||||
this.aspect = subtag.getByte("aspect");
|
||||
this.output = subtag.getDouble("Output");
|
||||
long capacity = (long) (output * 1000);
|
||||
this.energySource = new DefinitelyNotAIC2Source(this, capacity, (int) Math.floor(Math.log10(capacity) - 1D));
|
||||
this.energySource = new DefinitelyNotAIC2Source(this, capacity, (int) getTierFromCapacity(capacity));
|
||||
this.maxstorage = this.getEUCapacity();
|
||||
this.energySource.setEnergyStored(nbttagcompound.getLong("storage"));
|
||||
this.storage = this.energySource.getEnergyStored();
|
||||
@@ -379,14 +379,22 @@ public class TileEntitySolarBase extends TileEntityEMT implements IInventory, IW
|
||||
}
|
||||
|
||||
public void inputintoGTnet() {
|
||||
if (!side)
|
||||
return;
|
||||
|
||||
if (checkForGtTile() && isUniversalEnergyStored(getOutputVoltage() * getOutputAmperage())) {
|
||||
long tEU = IEnergyConnected.Util.emitEnergyToNetwork(getOutputVoltage(), getOutputAmperage(), this);
|
||||
drainEnergyUnits((byte) 0, getOutputVoltage(), tEU);
|
||||
}
|
||||
}
|
||||
|
||||
private boolean checkForGtTile() {
|
||||
for (byte i = 0; i < 6; i = (byte) (i + 1)) {
|
||||
if (getIGregTechTileEntityAtSide(i) != null) {
|
||||
if (isUniversalEnergyStored(getOutputVoltage() * getOutputAmperage())) {
|
||||
long tEU = IEnergyConnected.Util.emitEnergyToNetwork(getOutputVoltage(), getOutputAmperage(), this);
|
||||
drainEnergyUnits(i, getOutputVoltage(), tEU);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public byte getColorization() {
|
||||
@@ -424,25 +432,26 @@ public class TileEntitySolarBase extends TileEntityEMT implements IInventory, IW
|
||||
}
|
||||
|
||||
public long getOutputAmperage() {
|
||||
long ret;
|
||||
if (this.energySource.getSourceTier() <= 4) {
|
||||
if (this.generating <= GT_Values.V[this.energySource.getSourceTier() - 2]) {
|
||||
ret = 1L;
|
||||
}
|
||||
if (this.generating % GT_Values.V[this.energySource.getSourceTier() - 2] == 0.0D) {
|
||||
ret = (long) (this.generating / GT_Values.V[this.energySource.getSourceTier() - 2]);
|
||||
} else
|
||||
ret = (long) (1L + (this.generating / GT_Values.V[this.energySource.getSourceTier() - 2]));
|
||||
} else {
|
||||
if (this.generating <= GT_Values.V[this.energySource.getSourceTier() - 1]) {
|
||||
ret = 1L;
|
||||
}
|
||||
if (this.generating % GT_Values.V[this.energySource.getSourceTier()] == 0.0D) {
|
||||
ret = (long) (this.generating / GT_Values.V[this.energySource.getSourceTier() - 1]);
|
||||
} else
|
||||
ret = (long) (1L + (this.generating / GT_Values.V[this.energySource.getSourceTier() - 1]));
|
||||
}
|
||||
return ret;
|
||||
return calculateMaxVoltAmp()[1];
|
||||
// long ret;
|
||||
// if (this.energySource.getSourceTier() <= 4) {
|
||||
// if (this.generating <= GT_Values.V[this.energySource.getSourceTier() - 2]) {
|
||||
// ret = 1L;
|
||||
// }
|
||||
// if (this.generating % GT_Values.V[this.energySource.getSourceTier() - 2] == 0.0D) {
|
||||
// ret = (long) (this.generating / GT_Values.V[this.energySource.getSourceTier() - 2]);
|
||||
// } else
|
||||
// ret = (long) (1L + (this.generating / GT_Values.V[this.energySource.getSourceTier() - 2]));
|
||||
// } else {
|
||||
// if (this.generating <= GT_Values.V[this.energySource.getSourceTier() - 1]) {
|
||||
// ret = 1L;
|
||||
// }
|
||||
// if (this.generating % GT_Values.V[this.energySource.getSourceTier()] == 0.0D) {
|
||||
// ret = (long) (this.generating / GT_Values.V[this.energySource.getSourceTier() - 1]);
|
||||
// } else
|
||||
// ret = (long) (1L + (this.generating / GT_Values.V[this.energySource.getSourceTier() - 1]));
|
||||
// }
|
||||
// return ret;
|
||||
}
|
||||
|
||||
public long getOutputVoltage() {
|
||||
|
||||
@@ -151,7 +151,7 @@ public class EMTConfigHandler {
|
||||
nightVisionOff = config.get(RANDOM, "Disable nightvision helmets", false, "This was added because of mods making you totally blind if using nightvision. For example, enable that when in the Deep Dark.").getBoolean(nightVisionOff);
|
||||
enchanting = config.get(RANDOM, "Enable enchanting tools", false, "Warning: the enchantability is low.").getBoolean(enchanting);
|
||||
smoke = config.get(RANDOM, "Disable smoke effect for boots", false, "This effect only appears when the player isn't on the ground").getBoolean(smoke);
|
||||
oneRingSpawn = config.get(RANDOM, "Disable One Ring in dungeon chests", false, "There is no other way to get this item.").getBoolean(oneRingSpawn);
|
||||
oneRingSpawn = config.get(RANDOM, "Disable One Ring in dungeon chests", true, "There is a recipe to get this item.").getBoolean(oneRingSpawn);
|
||||
chanceTaintedMjolnir = config.get(RANDOM, "Tainted Mjolnir spawning change", 25, "If you have a lot of mods adding dungeon loot, you should definetely increase this").getInt();
|
||||
chanceOneRing = config.get(RANDOM, "One Ring spawning chance", 15, "If you have a lot of mods adding dungeon loot, you should definetely increase this").getInt();
|
||||
removeAmberAndCinnabarMacerating = config.get(RANDOM, "Clear Amber/Cinnabar Macerating", true, "This is here because of conflicts between mods that add the same input and different outputs").getBoolean(removeAmberAndCinnabarMacerating);
|
||||
|
||||
@@ -141,7 +141,7 @@ tile.EMT.solar2.tripleearth.name=Earth Infused Triple Compressed Solar Panel
|
||||
#===============Gregtech Compat===============
|
||||
EMT_GTBLOCK_CASEING.0.name=Magic Containing Casing
|
||||
EMT_GTBLOCK_CASEING.1.name=Essentia Diffusion Cell
|
||||
EMT_GTBLOCK_CASEING.2.name=Iridium Osmiridium Framebox
|
||||
EMT_GTBLOCK_CASEING.2.name=Iridium Ruridit Framebox
|
||||
EMT_GTBLOCK_CASEING.3.name=Indium Tungsten Framebox
|
||||
EMT_GTBLOCK_CASEING.4.name=Raw Magic Containing Casing
|
||||
EMT_GTBLOCK_CASEING.5.name=Raw Essentia Diffusion Cell
|
||||
|
||||
@@ -17,6 +17,7 @@ emt.Storage=存储:
|
||||
emt.PressShift=<按下Shift>
|
||||
emt.Generating=发电:
|
||||
emt.Fuel=燃料
|
||||
emt.OutputMax=最大输出:
|
||||
|
||||
#=============Tooltips=============
|
||||
#This comes after a player name. The 's is depicting ownership.
|
||||
@@ -31,7 +32,7 @@ tooltip.EMT.specialEffect=特殊效果
|
||||
tooltip.EMT.normalConditions=普通状态
|
||||
tooltip.EMT.euPerTick=EU/t
|
||||
tooltip.EMT.night=夜晚时发电量
|
||||
tooltip.EMT.day=at day
|
||||
tooltip.EMT.day=白天时发电量
|
||||
tooltip.EMT.forget=我忘记写下提示信息了吗?
|
||||
tooltip.EMT.raining=降雨时发电量
|
||||
tooltip.EMT.thunder=雷雨时发电量
|
||||
@@ -39,9 +40,9 @@ tooltip.EMT.underwater=水下发电量
|
||||
tooltip.EMT.output.double=输出2倍电量
|
||||
tooltip.EMT.output.triple=输出3倍电量
|
||||
tooltip.EMT.output.double.nether=处于下界时发电量
|
||||
tooltip.EMT.output.double.lava=处于岩浆中发电量
|
||||
tooltip.EMT.output.double.half.height=处于160层上方发电量
|
||||
tooltip.EMT.output.double.half.low=处于10层以下发电量
|
||||
tooltip.EMT.output.double.lava=每秒供给0.01vis火之要素时发电量
|
||||
tooltip.EMT.output.double.half.height=位置越高发电量越高(y=5时1倍,y=220时3倍)
|
||||
tooltip.EMT.output.double.half.low=位置越低发电量越高(y=220时1倍,y=5时3倍)
|
||||
|
||||
#=============Entity Names=============
|
||||
entity.EMT.laser.name=镭射器
|
||||
@@ -69,7 +70,7 @@ item.EMT.uumatterDrop.name=结晶UU物质液滴
|
||||
item.EMT.bauble.euMaker.armor.name=装备充电指环
|
||||
item.EMT.bauble.euMaker.inventory.name=物品充能指环
|
||||
item.EMT.bauble.oneRing.name=魔戒
|
||||
item.EMT.goggles.electric.name=电子护目镜
|
||||
item.EMT.goggles.electric.name=电子揭示护目镜
|
||||
item.EMT.goggles.nano.name=纳米揭示护目镜
|
||||
item.EMT.goggles.quantum.name=量子揭示护目镜
|
||||
item.EMT.goggles.solar.name=太阳能揭示护目镜
|
||||
@@ -142,8 +143,8 @@ EMT_GTBLOCK_CASEING.0.name=魔法机械方块
|
||||
EMT_GTBLOCK_CASEING.1.name=源质扩散单元
|
||||
EMT_GTBLOCK_CASEING.2.name=铱锇魔法框架
|
||||
EMT_GTBLOCK_CASEING.3.name=铟钨魔法框架
|
||||
EMT_GTBLOCK_CASEING.4.name=魔法机械方块半成品
|
||||
EMT_GTBLOCK_CASEING.5.name=源质扩散单元半成品
|
||||
EMT_GTBLOCK_CASEING.4.name=源质扩散单元半成品
|
||||
EMT_GTBLOCK_CASEING.5.name=魔法机械方块半成品
|
||||
|
||||
#=============Thaumonomicon Texts=============
|
||||
emt.rsname.Electric Magic Tools=电力魔法工具
|
||||
@@ -152,11 +153,11 @@ emt.text.Electric Magic Tools=谁说魔法和科技不能共同工作?我们的
|
||||
|
||||
emt.rsname.Energy Ball Focus=法杖核心:能量球
|
||||
emt.tag.Energy Ball Focus=这可不是玩具
|
||||
emt.text.Energy Ball Focus=要使用此法杖核心必须装备电池背包或纳米/量子胸甲. 每制造一个能量球需要消耗5120EU. 请勿在密闭空间内使用此法杖核心!
|
||||
emt.text.Energy Ball Focus=要使用此法杖核心必须装备电池背包或纳米/量子胸甲.每制造一个能量球需要消耗5120EU.请勿在密闭空间内使用此法杖核心!
|
||||
|
||||
emt.rsname.Electric Cloud=雷云之光
|
||||
emt.tag.Electric Cloud=闪耀之光?
|
||||
emt.text.Electric Cloud.1=所有神秘使(除了血腥邪徒, 我猜)享受着魔法火焰:闪耀之光的光明和温暖, 不是么? 你决定将其变得更... 有活力. 很好, 你成功了.<BR><BR>你创造了一种新的魔法火焰 — 雷云之光. 它与普通闪耀之光类似, 但它是紫色的并且在它周围生成淡紫色的闪电. 要使其电子化, 你需要手持强化充电电池(或更高级的)右键闪耀之光.
|
||||
emt.text.Electric Cloud.1=所有神秘使(除了血腥邪徒,我猜)享受着魔法火焰:闪耀之光的光明和温暖,不是么? 你决定将其变得更...有活力.很好,你成功了.<BR><BR>你创造了一种新的魔法火焰—雷云之光.它与普通闪耀之光类似,但它是紫色的并且在它周围生成淡紫色的闪电.要使其电子化,你需要手持强化充电电池(或更高级的)右键闪耀之光.
|
||||
emt.text.Electric Cloud.2=<IMG>emt:textures/researches/electric_cloud.png:0:0:255:255:0.6</IMG>
|
||||
|
||||
emt.rsname.Thaumium Drill=神秘钻头
|
||||
@@ -167,7 +168,7 @@ emt.rsname.Thaumium Chainsaw=神秘链锯
|
||||
emt.tag.Thaumium Chainsaw=以魔法之力来砍树木和御敌
|
||||
emt.text.Thaumium Chainsaw=你发现了一个将神秘力量融入钻石电锯的方法,使得它能更快的砍伐树并储存更多电力.然而这种改良并不是没有缺陷的:在加入这些材料的过程中,电锯失去了处理树叶,草堆和伤害动物的能力.<BR><BR>你觉得不远的未来你还能升级这个工具.
|
||||
|
||||
emt.rsname.Electric Goggles=电子护目镜
|
||||
emt.rsname.Electric Goggles=电子揭示护目镜
|
||||
emt.tag.Electric Goggles=两侧的顶尖技术
|
||||
emt.text.Electric Goggles=你已发现了一种用纯电子设备观测灵气的方法,这意味着你不必再消耗神秘的能量.你现在可以制作出一副能被充电的揭示护目镜,你能像之前那样用它观测节点.为了给电路提供空间并保护敏感的魔力感知电路你需要一个钻石头盔,这也提供了额外的护甲保护.
|
||||
|
||||
@@ -209,7 +210,7 @@ emt.text.Potentia Generator=在许多的学习与研究后,你终于发现了如
|
||||
|
||||
emt.rsname.Lucrum Generator=贪婪源质发电机
|
||||
emt.tag.Lucrum Generator=贪婪也是能量...?
|
||||
emt.text.Lucrum Generator=你的贪婪驱使你不断前进, 所以你找到了将贪婪要素源质转化为电力的方法.<BR><BR>通过向能量源质发电机中注入大量的金、交换要素和贪婪要素, 你成功地建造了一个强大的发电机.<BR><BR>但如你所料, 注魔并不稳定,若是没有准备完全那将很容易失败.
|
||||
emt.text.Lucrum Generator=你的贪婪驱使你不断前进,所以你找到了将贪婪要素源质转化为电力的方法.<BR><BR>通过向能量源质发电机中注入大量的金、交换要素和贪婪要素,你成功地建造了一个强大的发电机.<BR><BR>但如你所料,注魔并不稳定,若是没有准备完全那将很容易失败.
|
||||
|
||||
emt.rsname.Ignis Generator=火之源质发电机
|
||||
emt.tag.Ignis Generator=如果你不能掌控那热量...
|
||||
@@ -239,7 +240,7 @@ emt.rsname.Shield Block=护盾方块
|
||||
emt.tag.Shield Block=魔法保护
|
||||
emt.text.Shield Block=研究了盾牌核心制造出的方块后,你已发现了如何自己制作它们,再也不用需要核心来召唤.它们有很高的爆炸抗性,并且甚至能防止核弹的破坏.然而,在一次核爆炸试验中,尽管盾方块毫发无损,它周围的方块却不是.<BR><BR>这些方块不稳定并且破坏时不会掉落,就算你使用精准采集也是如此.
|
||||
|
||||
emt.rsname.Tiny Uranium=小堆铀
|
||||
emt.rsname.Tiny Uranium=小撮铀
|
||||
emt.tag.Tiny Uranium=可能会有些缩减
|
||||
emt.text.Tiny Uranium=在你将自己所有的矿物都用在了核反应堆的材料上后,你终于用尽了用来做你所需燃料棒的铀.在很长时间的研究后,你试着将你剩下的铀转化为更有用的粒!<BR><BR>不幸的是,这个过程有些浪费,不过你相信它会有所值.
|
||||
|
||||
@@ -253,7 +254,7 @@ emt.text.The Legend=你总是听到关于那个锤子的传说.<BR><BR>传说有
|
||||
|
||||
emt.rsname.Lightning Summoner=雷电碎片
|
||||
emt.tag.Lightning Summoner=从死敌那里所得
|
||||
emt.text.Lightning Summoner=这个物品是你的死敌:高压苦力怕所掉落的.你觉得它以后会派上用场.
|
||||
emt.text.Lightning Summoner=这个物品是你的死敌:高压爬行者所掉落的.你觉得它以后会派上用场.
|
||||
|
||||
emt.rsname.Supercharged Mjolnir=高压雷神之锤
|
||||
emt.tag.Supercharged Mjolnir=将它据为己有
|
||||
@@ -269,7 +270,7 @@ emt.text.Compressed Solars=你找到了一种将9普通太阳能压缩为1个魔
|
||||
|
||||
emt.rsname.Solar Helmet of Revealing=太阳能揭示护目镜
|
||||
emt.tag.Solar Helmet of Revealing=阳光太刺眼了
|
||||
emt.text.Solar Helmet of Revealing=你现在有了一顶像你的量子揭示护目镜一样工作的头盔,也能给你背包黑穿着的装备充电!在白天以128EU/t功率发电, 夜晚不发电.
|
||||
emt.text.Solar Helmet of Revealing=你现在有了一顶像你的量子揭示护目镜一样工作的头盔,也能给你背包黑穿着的装备充电!在白天以128EU/t功率发电,夜晚不发电.
|
||||
|
||||
emt.rsname.Diamond Chainsaw=钻石链锯
|
||||
emt.tag.Diamond Chainsaw=更硬,更好,更快,更强
|
||||
@@ -357,7 +358,7 @@ emt.text.Armor Charging Ring=新指环低但稳定的充电率比预期的还要
|
||||
|
||||
emt.rsname.The One Ring=魔戒
|
||||
emt.tag.The One Ring=在末日山的坑中所埋藏...
|
||||
emt.text.The One Ring=天下精灵铸三戒,地底矮人得七戒,寿定凡人持九戒,魔多妖境暗影伏,闇王坐拥至尊戒.至尊戒,驭众戒;至尊戒,寻众戒,魔戒至尊引众戒,禁锢众戒黑暗中,魔多妖境暗影伏.-J.R.R.Tolkien指环王题词.<BR>你梦想着从隐于众目,免于一切的攻击.你听说这个戒指在某处的遗迹中遗留着, 时间流逝恒久不变...
|
||||
emt.text.The One Ring=天下精灵铸三戒,地底矮人得七戒,寿定凡人持九戒,魔多妖境暗影伏,闇王坐拥至尊戒.至尊戒,驭众戒;至尊戒,寻众戒,魔戒至尊引众戒,禁锢众戒黑暗中,魔多妖境暗影伏.-J.R.R.Tolkien指环王题词.<BR>你梦想着从隐于众目,免于一切的攻击.你听说这个戒指在某处的遗迹中遗留着,时间流逝恒久不变...
|
||||
|
||||
emt.rsname.Feather Wings=羽毛羽翼
|
||||
emt.tag.Feather Wings=在动漫里才会起效...
|
||||
@@ -373,7 +374,7 @@ emt.text.Nanosuit Wings=利用神秘锭将魔法与纳米科技结合到你的
|
||||
|
||||
emt.rsname.Quantum Wings=量子羽翼
|
||||
emt.tag.Quantum Wings=量子科技
|
||||
emt.text.Quantum Wings=在探索完纳米科技所有的可能性后,你决定做最后一搏,量子.你可以在空中再跳几格的高度, 极好的防护,并且的下降的过程极大减缓了.然而,量子的不可预测又一次发生了.同时按住潜行键和空格键时你的下降会完全停止.你不知道为何会这样,但它就是这样.摔落伤害减免:100%.
|
||||
emt.text.Quantum Wings=在探索完纳米科技所有的可能性后,你决定做最后一搏,量子.你可以在空中再跳几格的高度,极好的防护,并且的下降的过程极大减缓了.然而,量子的不可预测又一次发生了.同时按住潜行键和空格键时你的下降会完全停止.你不知道为何会这样,但它就是这样.摔落伤害减免:100%.
|
||||
|
||||
emt.rsname.Infused Quantum Armor=注魔量子胸甲
|
||||
emt.tag.Infused Quantum Armor=最后的一步...
|
||||
|
||||
Reference in new issue
Block a user