diff options
author | Léa Gris <lea.gris@noiraude.net> | 2018-10-07 18:17:17 +0200 |
---|---|---|
committer | Dream-Master <dream-master@gmx.net> | 2018-10-07 20:58:55 +0200 |
commit | 4f5513db807ec0e14dd1331aeefe38e8e4ac6ab4 (patch) | |
tree | d99440fbe1b23b08f0a58b25eec2aac3ce9f141f /src/main/java/gregtech/api/gui/GT_ContainerMetaTile_Machine.java | |
parent | 364d417a3eea8d79f7c5102dd13aabaaa809b525 (diff) | |
download | GT5-Unofficial-4f5513db807ec0e14dd1331aeefe38e8e4ac6ab4.tar.gz GT5-Unofficial-4f5513db807ec0e14dd1331aeefe38e8e4ac6ab4.tar.bz2 GT5-Unofficial-4f5513db807ec0e14dd1331aeefe38e8e4ac6ab4.zip |
cherry pick 3531fb264fe46af2168340d4a38528dc116a2ce3 [3531fb2]
Magical Energy Absorber fix stop drain and rework Vis to EU Conversion (
#1478)
* fix(magicalenergyabsorber) stops when buffer can not store the next maximum eu output
* rework(magicalenergyabsorber): computation of vis to eu conversion
New configuration option to define how much EU Per Vis (not CVis)
I:EnergyPerVis_20=20
This value is divided by 100, so it is actually 0.2 EU per Vis
The Magical Energy Absorber will try to drain enough CVis, comulating all aspects,
until it can reach max Output, or has drained all available aspects.
Number of total cummulated CVis output required in a Node per Magical Energy Absorber Tier:
Novice (LV):
√(32 × 10000 ÷ (20 × 90)) = 13,333333333 ⇒ 13 CVis
Adept (MV);
√(128 × 10000 ÷ (20 × 80)) = 28,2843 ⇒ 28 CVis
Master (HV):
√(512 × 10000 ÷ (20 × 70)) = 60,474315681 ⇒ 60 CVis
Grand Master (EV):
√(2048 × 10000 ÷ (20 × 60)) = 130,639452948 ⇒ 131 CVis
As referrence:
The Huge Creative Node from Thaumcraft has 500 of each primal aspects.
* fix(machine): magic energy absorber
- Fixed Dragon Egg Siphon mode to work as intended when
`B:MagicEnergyAbsorber.AllowMultipleEggs_false=false` (fix #1482)
- Fixed Vis drain from Visnet (Energized Node/Vis Relay) drain rate
(fix #1119)
- Added Vis conversion as a configuration option:
`I:MagicEnergyAbsorber.EnergyPerVis_20=20`
- Replaced broken Aspect drain from items, with drain from Essentia
Containers in range, using same mechanic as the Infusion Altar
- Added Essentia Aspect conversion as a configuration option:
`I:MagicEnergyAbsorber.EnergyPerEssentia_320=320`
- Fixed Enchantments drain to convert all available enchantments
- Made input filtered to valid enchanted items/books (Item must be
enchantable and enchanted)
- Fixed Enchantments drain to not consume input; if it can not buffer
generated energy from it, or if it can not output disenchanted item
- Added a user settable Tiered operation range using a Screwdriver.
Default Range Tier is Machine Tier.
Max Range Tier is Machine Tier + 2.
Range is 2^(Range Tier): 1, 2, 4, 8, 16, 32, 64 blocks
- Fixed Ender Crystal drain mechanic, to allow multiple Crystals to be
drained.
- Made each in-use Ender Crystal, exclusive to a Magic Energy Absorber
- Improved default Ender Crystal energy worth to 512EU/t instead of
32EU/t
Diffstat (limited to 'src/main/java/gregtech/api/gui/GT_ContainerMetaTile_Machine.java')
0 files changed, 0 insertions, 0 deletions