From e14b1f23c9de9ae9f473c614240409d63fcec7b1 Mon Sep 17 00:00:00 2001 From: Guillaume Mercier Date: Fri, 3 May 2024 01:09:58 -0400 Subject: [PATCH] Add new rune to reduce the delay between crafts (#51) * add layout.json to gitignore * Add quickness rune This rune reduces the delay between consecutive crafts. This is done by essentially scheduling a recipe check every time a recipe completes. Using something like a world accelerator will have no effect on the frequency and the runes themselves do not increase the frequency at which the altar naturally checks for updates. This commit also addresses a couple other issues with the altar. - since the altar was using the world time and not the world age, some mechanics were impossible to trigger if you set doDaylightCycle to false. - For example it was impossible to start a craft if the time wasn't set to a multiple of 100. --- .gitignore | 1 + .../AlchemicalWizardry.java | 16 ++++++ .../BloodMagicConfiguration.java | 15 ++++-- .../common/block/BloodRune.java | 12 +++++ .../AltarUpgradeComponent.java | 10 ++++ .../bloodAltarUpgrade/UpgradedAltars.java | 4 ++ .../common/book/BloodMagicGuide.java | 6 +++ .../common/guide/RecipeHolder.java | 2 + .../common/items/ItemBloodRuneBlock.java | 4 ++ .../common/tileEntity/TEAltar.java | 48 +++++++++++++++--- .../assets/alchemicalwizardry/lang/en_US.lang | 1 + .../assets/alchemicalwizardry/lang/fr_FR.lang | 1 + .../textures/blocks/QuicknessRune.png | Bin 0 -> 720 bytes .../assets/alchemicalwizardryBooks/books.txt | 2 + .../alchemicalwizardryBooks/books/book.txt | 4 ++ 15 files changed, 113 insertions(+), 13 deletions(-) create mode 100644 src/main/resources/assets/alchemicalwizardry/textures/blocks/QuicknessRune.png diff --git a/.gitignore b/.gitignore index 40fb5e4a..47f47042 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ whitelist.json *.iws src/main/resources/mixins.*.json *.bat +/layout.json diff --git a/src/main/java/WayofTime/alchemicalWizardry/AlchemicalWizardry.java b/src/main/java/WayofTime/alchemicalWizardry/AlchemicalWizardry.java index c7d81f50..0cbacfdd 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/AlchemicalWizardry.java +++ b/src/main/java/WayofTime/alchemicalWizardry/AlchemicalWizardry.java @@ -766,6 +766,7 @@ public class AlchemicalWizardry { ItemStack bloodRuneCraftedStack = new ItemStack(ModBlocks.bloodRune, 1); ItemStack bloodRuneStack = new ItemStack(ModBlocks.bloodRune); ItemStack speedRuneStack = new ItemStack(ModBlocks.speedRune); + ItemStack accelerationRuneStack = new ItemStack(ModBlocks.bloodRune, 1, 5); ItemStack runeOfSacrificeStack = new ItemStack(ModBlocks.runeOfSacrifice); ItemStack runeOfSelfSacrificeStack = new ItemStack(ModBlocks.runeOfSelfSacrifice); ItemStack miningSigilStackCrafted = new ItemStack(ModItems.sigilOfTheFastMiner); @@ -2425,6 +2426,21 @@ public class AlchemicalWizardry { 'o', obsidianStack)); + GameRegistry.addRecipe( + new ShapedBloodOrbRecipe( + new ItemStack(ModBlocks.bloodRune, 1, 6), + "eae", + "sos", + "eae", + 'e', + etherealSlateStack, + 's', + speedRuneStack, + 'a', + accelerationRuneStack, + 'o', + archmageBloodOrbStack)); + AlchemyRecipeRegistry.registerRecipe( crackedRunicPlateStackCrafted, 10, diff --git a/src/main/java/WayofTime/alchemicalWizardry/BloodMagicConfiguration.java b/src/main/java/WayofTime/alchemicalWizardry/BloodMagicConfiguration.java index 3a3e7474..6619a480 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/BloodMagicConfiguration.java +++ b/src/main/java/WayofTime/alchemicalWizardry/BloodMagicConfiguration.java @@ -611,35 +611,40 @@ public class BloodMagicConfiguration { new BlockStack(ModBlocks.efficiencyRune, 0), new BlockStack(ModBlocks.runeOfSacrifice, 0), new BlockStack(ModBlocks.runeOfSelfSacrifice, 0), new BlockStack(ModBlocks.bloodRune, 1), new BlockStack(ModBlocks.bloodRune, 2), new BlockStack(ModBlocks.bloodRune, 3), - new BlockStack(ModBlocks.bloodRune, 4), new BlockStack(ModBlocks.bloodRune, 5) }); + new BlockStack(ModBlocks.bloodRune, 4), new BlockStack(ModBlocks.bloodRune, 5), + new BlockStack(ModBlocks.bloodRune, 6) }); AlchemicalWizardry.thirdTierRunes = BloodMagicConfiguration.getAltarRunesForTier( "thirdTier", new BlockStack[] { new BlockStack(ModBlocks.bloodRune, 0), new BlockStack(ModBlocks.speedRune, 0), new BlockStack(ModBlocks.efficiencyRune, 0), new BlockStack(ModBlocks.runeOfSacrifice, 0), new BlockStack(ModBlocks.runeOfSelfSacrifice, 0), new BlockStack(ModBlocks.bloodRune, 1), new BlockStack(ModBlocks.bloodRune, 2), new BlockStack(ModBlocks.bloodRune, 3), - new BlockStack(ModBlocks.bloodRune, 4), new BlockStack(ModBlocks.bloodRune, 5) }); + new BlockStack(ModBlocks.bloodRune, 4), new BlockStack(ModBlocks.bloodRune, 5), + new BlockStack(ModBlocks.bloodRune, 6) }); AlchemicalWizardry.fourthTierRunes = BloodMagicConfiguration.getAltarRunesForTier( "fourthTier", new BlockStack[] { new BlockStack(ModBlocks.bloodRune, 0), new BlockStack(ModBlocks.speedRune, 0), new BlockStack(ModBlocks.efficiencyRune, 0), new BlockStack(ModBlocks.runeOfSacrifice, 0), new BlockStack(ModBlocks.runeOfSelfSacrifice, 0), new BlockStack(ModBlocks.bloodRune, 1), new BlockStack(ModBlocks.bloodRune, 2), new BlockStack(ModBlocks.bloodRune, 3), - new BlockStack(ModBlocks.bloodRune, 4), new BlockStack(ModBlocks.bloodRune, 5) }); + new BlockStack(ModBlocks.bloodRune, 4), new BlockStack(ModBlocks.bloodRune, 5), + new BlockStack(ModBlocks.bloodRune, 6) }); AlchemicalWizardry.fifthTierRunes = BloodMagicConfiguration.getAltarRunesForTier( "fifthTier", new BlockStack[] { new BlockStack(ModBlocks.bloodRune, 0), new BlockStack(ModBlocks.speedRune, 0), new BlockStack(ModBlocks.efficiencyRune, 0), new BlockStack(ModBlocks.runeOfSacrifice, 0), new BlockStack(ModBlocks.runeOfSelfSacrifice, 0), new BlockStack(ModBlocks.bloodRune, 1), new BlockStack(ModBlocks.bloodRune, 2), new BlockStack(ModBlocks.bloodRune, 3), - new BlockStack(ModBlocks.bloodRune, 4), new BlockStack(ModBlocks.bloodRune, 5) }); + new BlockStack(ModBlocks.bloodRune, 4), new BlockStack(ModBlocks.bloodRune, 5), + new BlockStack(ModBlocks.bloodRune, 6) }); AlchemicalWizardry.sixthTierRunes = BloodMagicConfiguration.getAltarRunesForTier( "sixthTier", new BlockStack[] { new BlockStack(ModBlocks.bloodRune, 0), new BlockStack(ModBlocks.speedRune, 0), new BlockStack(ModBlocks.efficiencyRune, 0), new BlockStack(ModBlocks.runeOfSacrifice, 0), new BlockStack(ModBlocks.runeOfSelfSacrifice, 0), new BlockStack(ModBlocks.bloodRune, 1), new BlockStack(ModBlocks.bloodRune, 2), new BlockStack(ModBlocks.bloodRune, 3), - new BlockStack(ModBlocks.bloodRune, 4), new BlockStack(ModBlocks.bloodRune, 5) }); + new BlockStack(ModBlocks.bloodRune, 4), new BlockStack(ModBlocks.bloodRune, 5), + new BlockStack(ModBlocks.bloodRune, 6) }); AlchemicalWizardry.specialAltarBlock = getAltarRunesForTier( "specialBlocks", new BlockStack[] { new BlockStack(Blocks.stonebrick, 0), new BlockStack(Blocks.glowstone, 0), diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/block/BloodRune.java b/src/main/java/WayofTime/alchemicalWizardry/common/block/BloodRune.java index 08a8d53e..255c94d1 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/block/BloodRune.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/block/BloodRune.java @@ -33,6 +33,9 @@ public class BloodRune extends Block { @SideOnly(Side.CLIENT) private IIcon accelerationRuneIcon; + @SideOnly(Side.CLIENT) + private IIcon quicknessRuneIcon; + public BloodRune() { super(Material.iron); this.setBlockName("bloodRune"); @@ -50,6 +53,7 @@ public class BloodRune extends Block { this.orbCapacityRuneIcon = iconRegister.registerIcon("AlchemicalWizardry:OrbCapacityRune"); this.betterCapacityRuneIcon = iconRegister.registerIcon("AlchemicalWizardry:BetterCapacityRune"); this.accelerationRuneIcon = iconRegister.registerIcon("AlchemicalWizardry:AccelerationRune"); + this.quicknessRuneIcon = iconRegister.registerIcon("AlchemicalWizardry:QuicknessRune"); } public int getRuneEffect(int metaData) { @@ -71,6 +75,9 @@ public class BloodRune extends Block { case 5: // Acceleration rune return 9; + + case 6: // Quickness Rune + return 10; } return 0; @@ -89,6 +96,7 @@ public class BloodRune extends Block { par3List.add(new ItemStack(par1, 1, 3)); par3List.add(new ItemStack(par1, 1, 4)); par3List.add(new ItemStack(par1, 1, 5)); + par3List.add(new ItemStack(par1, 1, 6)); } else { super.getSubBlocks(par1, par2CreativeTabs, par3List); } @@ -115,6 +123,10 @@ public class BloodRune extends Block { case 5: return this.accelerationRuneIcon; + + case 6: + return this.quicknessRuneIcon; + default: return blockIcon; } diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/bloodAltarUpgrade/AltarUpgradeComponent.java b/src/main/java/WayofTime/alchemicalWizardry/common/bloodAltarUpgrade/AltarUpgradeComponent.java index bbb0f993..3d5b59e1 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/bloodAltarUpgrade/AltarUpgradeComponent.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/bloodAltarUpgrade/AltarUpgradeComponent.java @@ -11,6 +11,7 @@ public class AltarUpgradeComponent { private int orbCapacitiveUpgrades; private int betterCapacitiveUpgrades; private int accelerationUpgrades; + private int quicknessUpgrades; public AltarUpgradeComponent() { speedUpgrades = 0; @@ -22,6 +23,7 @@ public class AltarUpgradeComponent { orbCapacitiveUpgrades = 0; betterCapacitiveUpgrades = 0; accelerationUpgrades = 0; + quicknessUpgrades = 0; } public void addSpeedUpgrade() { @@ -60,6 +62,10 @@ public class AltarUpgradeComponent { accelerationUpgrades++; } + public void addQuicknessUpgrade() { + quicknessUpgrades++; + } + public int getSpeedUpgrades() { return speedUpgrades; } @@ -95,4 +101,8 @@ public class AltarUpgradeComponent { public int getAccelerationUpgrades() { return this.accelerationUpgrades; } + + public int getQuicknessUpgrades() { + return this.quicknessUpgrades; + } } diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/bloodAltarUpgrade/UpgradedAltars.java b/src/main/java/WayofTime/alchemicalWizardry/common/bloodAltarUpgrade/UpgradedAltars.java index 5e070722..2afcc5cc 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/bloodAltarUpgrade/UpgradedAltars.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/bloodAltarUpgrade/UpgradedAltars.java @@ -142,6 +142,10 @@ public class UpgradedAltars { case 9: upgrades.addAccelerationUpgrade(); break; + + case 10: + upgrades.addQuicknessUpgrade(); + break; } } } diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/book/BloodMagicGuide.java b/src/main/java/WayofTime/alchemicalWizardry/common/book/BloodMagicGuide.java index ce1ff71f..bab434e9 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/book/BloodMagicGuide.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/book/BloodMagicGuide.java @@ -410,6 +410,12 @@ public class BloodMagicGuide { PageHelper.pagesForLongText(StatCollector.translateToLocal("aw.entries.architect.accelerationRune"))); entries.add(new EntryUniText(accelerationRunePages, "guide.BloodMagic.entryName.architect.accelerationRune")); + ArrayList quicknessRuneRecipe = new ArrayList(); + demonicOrbPages.add(getOrbPageForRecipe(RecipeHolder.quicknessRuneRecipe)); + quicknessRuneRecipe.addAll( + PageHelper.pagesForLongText(StatCollector.translateToLocal("aw.entries.architect.quicknessRune"))); + entries.add(new EntryUniText(quicknessRuneRecipe, "guide.BloodMagic.entryName.architect.quicknessRune")); + ArrayList harvestPages = new ArrayList(); demonicOrbPages.add(getOrbPageForRecipe(RecipeHolder.harvestSigilRecipe)); harvestPages diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/guide/RecipeHolder.java b/src/main/java/WayofTime/alchemicalWizardry/common/guide/RecipeHolder.java index c42a6b08..98218710 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/guide/RecipeHolder.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/guide/RecipeHolder.java @@ -58,6 +58,7 @@ public class RecipeHolder { public static IRecipe keyOfBindingRecipe; public static IRecipe energyBazookaRecipe; public static IRecipe accelerationRuneRecipe; + public static IRecipe quicknessRuneRecipe; public static IRecipe harvestSigilRecipe; public static IRecipe crystalCluserRecipe; public static IRecipe arcanePlinthRecipe; @@ -152,6 +153,7 @@ public class RecipeHolder { harvestSigilRecipe = getRecipeForItemStack(new ItemStack(ModItems.itemHarvestSigil)); crystalCluserRecipe = getRecipeForItemStack(new ItemStack(ModBlocks.blockCrystal)); weakRitualStoneRecipe = getRecipeForItemStack(new ItemStack(ModBlocks.imperfectRitualStone)); + quicknessRuneRecipe = getRecipeForItemStack(new ItemStack(ModBlocks.bloodRune, 1, 6)); arcanePlinthRecipe = getRecipeForItemStack(new ItemStack(ModBlocks.blockPlinth)); arcanePedestalRecipe = getRecipeForItemStack(new ItemStack(ModBlocks.blockPedestal)); diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/items/ItemBloodRuneBlock.java b/src/main/java/WayofTime/alchemicalWizardry/common/items/ItemBloodRuneBlock.java index 3f22a75a..a3034c18 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/items/ItemBloodRuneBlock.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/items/ItemBloodRuneBlock.java @@ -41,6 +41,10 @@ public class ItemBloodRuneBlock extends ItemBlock { name = "acceleration"; break; + case 6: + name = "quickness"; + break; + default: name = "broken"; } diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java b/src/main/java/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java index a46ac18a..debad183 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java @@ -45,6 +45,8 @@ import mcp.mobius.waila.api.IWailaDataAccessor; public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, IBloodAltar, IBloodMagicWailaProvider { public static final int sizeInv = 1; + public static final int BASE_RECIPE_DELAY = 100; + public static final double CRAFTING_DELAY_RUNE_EFFICIENCY = 0.8D; private int resultID; private int resultDamage; @@ -70,6 +72,8 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I protected FluidStack fluidOutput; protected FluidStack fluidInput; private int progress; + private long nextForcedRecipeCheck; + private int maxDelayBeforeNextCraft; private int lockdownDuration; private int demonBloodDuration; @@ -97,6 +101,8 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I progress = 0; this.lockdownDuration = 0; this.demonBloodDuration = 0; + this.nextForcedRecipeCheck = -1; + this.maxDelayBeforeNextCraft = BASE_RECIPE_DELAY; } /** @@ -447,7 +453,9 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I return; } - if (!worldObj.isRemote && worldObj.getWorldTime() % 20 == 0) { + final long totalWorldTime = worldObj.getTotalWorldTime(); + + if (totalWorldTime % 20 == 0) { { Block block = worldObj.getBlock(xCoord + 1, yCoord, zCoord); block.onNeighborBlockChange(worldObj, xCoord + 1, yCoord, zCoord, block); @@ -496,7 +504,7 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I // } } - if (worldObj.getWorldTime() % Math.max(20 - this.accelerationUpgrades, 1) == 0) { + if (totalWorldTime % Math.max(20 - this.accelerationUpgrades, 1) == 0) { int syphonMax = (int) (20 * this.dislocationMultiplier); int fluidInputted = 0; int fluidOutputted = 0; @@ -510,7 +518,7 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I this.fluid.amount -= fluidOutputted; } - if (worldObj.getWorldTime() % 100 == 0 && (this.isActive || this.cooldownAfterCrafting <= 0)) { + if (shouldTryToStartCycle(totalWorldTime) && (this.isActive || this.cooldownAfterCrafting <= 0)) { startCycle(); } @@ -525,8 +533,6 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I return; } - int worldTime = (int) (worldObj.getWorldTime() % 24000); - if (worldObj.isRemote) { return; } @@ -545,7 +551,7 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I fluid.amount = fluid.amount - liquidDrained; progress += liquidDrained; - if (worldTime % 4 == 0) { + if (totalWorldTime % 4 == 0) { SpellHelper.sendIndexedParticleToAllAround( worldObj, xCoord, @@ -583,11 +589,14 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I zCoord + 0.5f); } this.isActive = false; + if (this.nextForcedRecipeCheck < 0) { + this.nextForcedRecipeCheck = this.worldObj.getTotalWorldTime() + this.maxDelayBeforeNextCraft; + } } } else if (progress > 0) { progress -= (int) (efficiencyMultiplier * drainRate); - if (worldTime % 2 == 0) { + if (totalWorldTime % 2 == 0) { SpellHelper.sendIndexedParticleToAllAround( worldObj, xCoord, @@ -633,7 +642,7 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I fluid.amount = fluid.amount - drain; - if (worldTime % 4 == 0) { + if (totalWorldTime % 4 == 0) { SpellHelper.sendIndexedParticleToAllAround( worldObj, xCoord, @@ -653,6 +662,23 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I } } + private boolean shouldTryToStartCycle(final long totalWorldTime) { + // use total time instead of world time so that we can update even if doDaylightCycle is false + if (!this.isActive && this.nextForcedRecipeCheck >= 0) { + if (this.nextForcedRecipeCheck <= totalWorldTime) { + this.nextForcedRecipeCheck = -1; + return true; + } + return false; + } + // if the regular recipe check occurs before the forced recipe check we can just un-schedule it. + if (totalWorldTime % BASE_RECIPE_DELAY == 0) { + this.nextForcedRecipeCheck = -1; + return true; + } + return false; + } + public void setActive() { isActive = false; } @@ -771,6 +797,7 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I this.orbCapacityMultiplier = 1; this.dislocationMultiplier = 1; this.accelerationUpgrades = 0; + this.maxDelayBeforeNextCraft = -1; return; } @@ -788,6 +815,7 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I this.dislocationMultiplier = 1; this.upgradeLevel = upgradeState; this.accelerationUpgrades = 0; + this.maxDelayBeforeNextCraft = -1; return; } @@ -804,6 +832,10 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I this.capacity = (int) (FluidContainerRegistry.BUCKET_VOLUME * 10 * capacityMultiplier); this.bufferCapacity = (int) (FluidContainerRegistry.BUCKET_VOLUME * 1 * capacityMultiplier); this.accelerationUpgrades = upgrades.getAccelerationUpgrades(); + this.maxDelayBeforeNextCraft = Math.max( + 1, + (int) Math.floor( + BASE_RECIPE_DELAY * Math.pow(CRAFTING_DELAY_RUNE_EFFICIENCY, upgrades.getQuicknessUpgrades()))); if (this.fluid.amount > this.capacity) { this.fluid.amount = this.capacity; diff --git a/src/main/resources/assets/alchemicalwizardry/lang/en_US.lang b/src/main/resources/assets/alchemicalwizardry/lang/en_US.lang index 3818a275..7ff3b5c7 100644 --- a/src/main/resources/assets/alchemicalwizardry/lang/en_US.lang +++ b/src/main/resources/assets/alchemicalwizardry/lang/en_US.lang @@ -6,6 +6,7 @@ tile.bloodRune.empty.name=Rune of Dislocation tile.bloodRune.orb.name=Rune of the Orb tile.bloodRune.betterCapacity.name=Rune of Superior Capacity tile.bloodRune.acceleration.name=Rune of Acceleration +tile.bloodRune.quickness.name=Rune of Quickness tile.speedRune.name=Speed Rune tile.efficiencyRune.name=Efficiency Rune tile.runeOfSacrifice.name=Rune of Sacrifice diff --git a/src/main/resources/assets/alchemicalwizardry/lang/fr_FR.lang b/src/main/resources/assets/alchemicalwizardry/lang/fr_FR.lang index 5a957bdf..4c69a5fa 100644 --- a/src/main/resources/assets/alchemicalwizardry/lang/fr_FR.lang +++ b/src/main/resources/assets/alchemicalwizardry/lang/fr_FR.lang @@ -6,6 +6,7 @@ tile.bloodRune.empty.name=Rune de Dislocation tile.bloodRune.test.name=Rune de l’Orbe tile.bloodRune.betterCapacity.name=Rune de la Capacité Supérieure tile.bloodRune.acceleration.name=Rune d'Accélération +tile.bloodRune.quickness.name=Rune de Rapidité tile.speedRune.name=Rune de Vitesse tile.efficiencyRune.name=Rune d’Efficacité tile.runeOfSacrifice.name=Rune du Sacrifice diff --git a/src/main/resources/assets/alchemicalwizardry/textures/blocks/QuicknessRune.png b/src/main/resources/assets/alchemicalwizardry/textures/blocks/QuicknessRune.png new file mode 100644 index 0000000000000000000000000000000000000000..463a002c9631b10242ec9e9f6352ffb2971ef76b GIT binary patch literal 720 zcmV;>0x$iEP)_1a#B&1e zgVich5TxiIP!I({i{LNyQG5~vFK-1wt!>qUP0u~ao?Q0o99>9AW@f){=9>?{dikQR z>!K*8(7t+p4! z&=@17lJD+djP3tOP-GT~{&8c$Hj~MCR#gxoWCyZmWx2Dn>p%S7X+sFMfezXj_>_(# zFYV=Yg(xpv_w@X{m`nh&*ptNmv+XnRx2^Vl4-6KZNE6I_++$ZuLef2~tRds!TtD>0LVHnP4Ge9EqeElVD9A#x)oJ6{o93!j}v*t}rA~nWX0kk~~L!Re#eQD!s z+ktM)uq%;koM4D!D&#V!cGb^SYY~!fFF1}9$MFz`7AHdKEKB>YA3pB$e(0mHX&T=T z#KA&U+#s`+6`rc9v(QBx2`Q+FH0^_@7i`mdo?~$Vl8Dl%R&;Hjk4859w{17b&Kmk^ zZQ|oSwoZe|q&z*_J(^v;E`Xu$BZP38hM*EYdj5?o->@2~q`59R0E2%47yh9zXX>cTT58sTj z?8$`{z!EUn!rp8)sY;Ua!C(e*dUH6@mL C%1(g* literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/alchemicalwizardryBooks/books.txt b/src/main/resources/assets/alchemicalwizardryBooks/books.txt index 2fcd1b60..850cb4dc 100644 --- a/src/main/resources/assets/alchemicalwizardryBooks/books.txt +++ b/src/main/resources/assets/alchemicalwizardryBooks/books.txt @@ -245,6 +245,8 @@ The unspeakable power of the energy bazooka.1= First thing I created with this n The unspeakable power of the energy bazooka.2=explodes into twenty more smaller explosive projectiles to devastate other living things around it. I have tried tweaking it so that terrain isn't harmed, but there may be minor damage depending on what is hit. There is a "Slight" problem of recoil, but nothing we can't live with. Acceleration runes.1= Moving my attention on to runes for our wonderful new altar, I had revelation as I noticed a speed rune next to a dislocation rune: Increasing how much LP is moved from the buffer is fine, but how about increasing how often it transfers LP? Using a few materials like buckets and an ethereal slate, I have transformed a normal speed rune into something far greater. Instead of effecting crafting speed, one rune will Acceleration runes.2=lower the delay the altar has on moving the contents of the buffer by a twentieth of a second per rune. I have noticed a strange limitation, however: Any runes beyond nineteen seem to have so little effect it isn't noticeable anymore, so you can only have the altar transfer nineteen times a second. I will need to run some experimentation on the best ratios of acceleration to dislocation runes... +Quickness runes.1= Ever since I automated the transmutation process, I've noticed that the altar always waits a certain amount of time before starting a new transmutation. This odd delay doesn't occur when I manually insert the items into the altar, but that seems counterproductive to my goal of automation. I tried reducing the delay by causing time anomalies around the altar. While this affected the transmutation speed, it did not affect the delay. +Quickness runes.2=After much trial and error, I found that I could reduce this trivial delay by using a new type of rune made from speed and acceleration runes. Every rune I add to the altar seems to reduce the delay by about 20%. The effect is multiplicative and not additive. The Harvest goddess.1= Bella has dragged me with her to town so she can be sure I'm out of the lab for a while(I have noticed I'm a little pale, but I just assumed that was from all the sacrifices I've been making lately). As we ate two sandwiches at a bench on the edge of the village, I watched the farmers in the field slaving over the harvest while trying to outrun the storm just visible in the distance. Talking with Bella about ways to help The Harvest goddess.2=them, I created the basic idea for the sigil now known as the "Harvest Goddess". It is to the "Reap of the Harvest Moon" what the "Sigil of the Green grove" is to the ritual of the green grove, performing a similar effect to the harvest moon around the user by summoning a little demonic imp(You can thank Bella for this part). As soon as we had a version ready, Bella ran out into the field with a green grove, haste, and magnetism sigil to The Harvest goddess.3=quickly run through the field collecting the harvest behind her. Needless to say, the few farmers in the field were awe struck by this sight and a few of the newer ones thought she was a goddess sent to answer their prayers(And I liked the sound of it, so we now have a name for the sigil). diff --git a/src/main/resources/assets/alchemicalwizardryBooks/books/book.txt b/src/main/resources/assets/alchemicalwizardryBooks/books/book.txt index caeadc87..ae413ddf 100644 --- a/src/main/resources/assets/alchemicalwizardryBooks/books/book.txt +++ b/src/main/resources/assets/alchemicalwizardryBooks/books/book.txt @@ -354,6 +354,10 @@ First thing I created with this new orb was an improvement to the energy blaster //TITLE Acceleration runes Moving my attention on to runes for our wonderful new altar, I had revelation as I noticed a speed rune next to a dislocation rune: Increasing how much LP is moved from the buffer is fine, but how about increasing how often it transfers LP? Using a few materials like buckets and an ethereal slate, I have transformed a normal speed rune into something far greater. Instead of effecting crafting speed, one rune will lower the delay the altar has on moving the contents of the buffer by a twentieth of a second per rune. I have noticed a strange limitation, however: Any runes beyond nineteen seem to have so little effect it isn't noticeable anymore, so you can only have the altar transfer nineteen times a second. I will need to run some experimentation on the best ratios of acceleration to dislocation runes... + +//TITLE Quickness runes +Ever since I automated the transmutation process, I've noticed that the altar always waits a certain amount of time before starting a new transmutation. This odd delay doesn't occur when I manually insert the items into the altar, but that seems counterproductive to my goal of automation. I tried reducing the delay by causing time anomalies around the altar. While this affected the transmutation speed, it did not affect the delay. After much trial and error, I found that I could reduce this trivial delay by using a new type of rune made from speed and acceleration runes. Every rune I add to the altar seems to reduce the delay by about 20%. The effect is multiplicative and not additive. + //TITLE The Harvest goddess Bella has dragged me with her to town so she can be sure I'm out of the lab for a while(I have noticed I'm a little pale, but I just assumed that was from all the sacrifices I've been making lately). As we ate two sandwiches at a bench on the edge of the village, I watched the farmers in the field slaving over the harvest while trying to outrun the storm just visible in the distance. Talking with Bella about ways to help them, I created the basic idea for the sigil now known as the “Harvest Goddess”. It is to the “Reap of the Harvest Moon” what the “Sigil of the Green grove” is to the ritual of the green grove, performing a similar effect to the harvest moon around the user by summoning a little demonic imp(You can thank Bella for this part). As soon as we had a version ready, Bella ran out into the field with a green grove, haste, and magnetism sigil to quickly run through the field collecting the harvest behind her. Needless to say, the few farmers in the field were awe struck by this sight and a few of the newer ones thought she was a goddess sent to answer their prayers(And I liked the sound of it, so we now have a name for the sigil).