-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cable quality update #896
base: develop
Are you sure you want to change the base?
Cable quality update #896
Conversation
- Crafts to and from Coal dust in a ratio 1:8 - Old Coal Dust still functions but can no longer be added # Conflicts: # src/main/java/mods/eln/Eln.java
Added Resistive dust to make resistance cheaper on coal # Conflicts: # src/main/java/mods/eln/Eln.java
Apologies, I should have tested to see if it compiled before attempting to push the update. |
+Shoddy, Quality, and Perfect cable types added Half, Double, and Quadruple current limits respectively +Added Copper refining Chain +Added Pure Copper to make Quality Cables +Added Glorious Copper Plate (folded 1000 times) to make Perfect Cables Very High Voltage Quality/Perfect Cables have Extremely Expensive Recipes # Conflicts: # src/main/java/mods/eln/Eln.java
Compiles properly now. Removed half-implemented features and updated localization files
Did a lot of compatibility changes. It compiles now and I haven't noticed any errors. |
I hope you've liked the changes I did to the wire registry, I worked really hard on it |
Replaced the old mess with a beautiful state machine
Given what it was, massive improvement
…On Tue, Feb 12, 2019, 10:06 PM OmegaHaxors ***@***.*** wrote:
I hope you've liked the changes I did to the wire registry, I worked
really hard on it
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#896 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL5CDbbT6smlta1tLQNFqU3_GbJA7m1Rks5vM4EigaJpZM4akDHT>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've noticed that your editor is using tabs a lot. You should really configure the soft-tab functionality of your text editor to use 4 spaces instead. I have not commented everywhere that there is a tab or a failure to indent properly, but there are 341 tabs in this document that shouldn't be there (and most are probably not yours).
import org.lwjgl.opengl.GL11; | ||
|
||
public class ArcFurnaceDescriptor extends ElectricalMachineDescriptor { | ||
private float tyOn; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what on earth are these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please explain. By comment.
Your code also failed the Travis build because you're not using the new functions Baugh set up for those pesky variables we had problems with a few weeks back. |
That should address any issue that were had. |
I will need help with one bit though, the localization on the new cables seems to fail and i'm not quite sure why. |
Confirmed now not to cause any regressions when updating. |
Enemies should slip through a lot less often.
# Conflicts: # src/main/java/mods/eln/Eln.java
No longer track dying enemies Will stop firing when an enemy dies Upon killing an enemy, remark "Gotcha!"
Magnetiser is spelled with a Z on the main branch
Life Batteries now have a small downside: Less efficiency
|
||
/*public ElectricalCableDescriptor creativeCableDescriptor; | ||
public ElectricalCableDescriptor T2TransmissionCableDescriptor; | ||
public ElectricalCableDescriptor T1TransmissionCableDescriptor;*/ | ||
public ElectricalCableDescriptor veryHighVoltageCableDescriptor; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the 'normal' qualities to start with 'normalQuality'.
Also, do not start variable names with capital letters. That's for constants only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I note that these variables still start with capital letters. Let me be more specific: Use the alpacaCase pattern, e.g. lqVeryHighVoltageCableDescriptor
.
EDIT: Alright that should be everything taken care of. Just have to test everything and make sure there isn't any issues, then I will push the update and it will be ready for merging. |
…le loop) Fixed minor regressions Code cleanup Removed unnecessary/unused additions Normal Quality cable Renamed to Standard Single-Use Batteries and Weak 50V Chargers now use Shoddy Cables
This did come at the cost of the 8 Copper plate -> Pure Copper Arc Furnace recipe, though
Thank you for being patient, that should be everything. |
|
||
/*public ElectricalCableDescriptor creativeCableDescriptor; | ||
public ElectricalCableDescriptor T2TransmissionCableDescriptor; | ||
public ElectricalCableDescriptor T1TransmissionCableDescriptor;*/ | ||
public ElectricalCableDescriptor veryHighVoltageCableDescriptor; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I note that these variables still start with capital letters. Let me be more specific: Use the alpacaCase pattern, e.g. lqVeryHighVoltageCableDescriptor
.
import org.lwjgl.opengl.GL11; | ||
|
||
public class ArcFurnaceDescriptor extends ElectricalMachineDescriptor { | ||
private float tyOn; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please explain. By comment.
src/main/java/mods/eln/transparentnode/turret/TurretSlowProcess.java
Outdated
Show resolved
Hide resolved
Removed unnecessary Scala Import Fixed long-standing spelling error in 'meduim' cables Documenting old changes: Buffed stone furnaces' heat capabilities to 4k Buffed stone furnaces' heat chamber upgrade slot to fit 8 Buffed 200V machines speed to 1kW Coding cleanup Updated Localization
… better match value (It will NEVER go higher than this) Shoddy cables require dirt instead of gravel Macerator recipes are more sane and balanced: Smoothstone replaces dirt as the recipe to make sand and costs 5x more power Gravel to Flint recipe requires 1/4 less power 4 Flint replaces sand as the recipe to make silicon dust 32 Cobblestone macerates into 1 gravel VERY slowly (to encourage finding it) Diamond Dust requires far more time to craft (to reflect its value)
…lues and better match value (It will NEVER go higher than this)" This reverts commit 152147e.
… better match value (It will NEVER go higher than this) Shoddy cables require dirt instead of gravel Macerator recipes are more sane and balanced: Smoothstone replaces dirt as the recipe to make sand and costs 5x more power Gravel to Flint recipe requires 1/4 less power 4 Flint replaces sand as the recipe to make silicon dust 32 Cobblestone macerates into 1 gravel VERY slowly (to encourage finding it) Diamond Dust requires far more time to craft (to reflect its value)
…lues and better match value (It will NEVER go higher than this)" This reverts commit 00e8188.
… better match value (It will NEVER go higher than this) Added alternative recipe to obtain silicon from flint Signal Processor now uses Adv Chip instead of Basic Chip
Alright I think that's everything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, you really need to update the PR description to describe everything that's in it.
src/main/java/mods/eln/transparentnode/turret/TurretSlowProcess.java
Outdated
Show resolved
Hide resolved
src/main/java/mods/eln/transparentnode/turret/TurretSlowProcess.java
Outdated
Show resolved
Hide resolved
src/main/java/mods/eln/transparentnode/turret/TurretSlowProcess.java
Outdated
Show resolved
Hide resolved
Adjusted a comment to be consistent with its neighbors Minor tweaks for readability
Added Elite Chip, which is used to make E-Diamond and future high tier machines Added sprite for upcoming E-Module Buffed 200V machines to run at 2kW up from 1kW Added LED Plate, crafted from 1 Silicon Plate and 1MJ in a Plate Machine Nerfed LED Bulbs to require 1 LED plate instead of 3 Silicon Ingots Nerfed Solar Panels to now require 3 LED Plates in place of 1 Silicon Plate Buffed crafting output for Incandescent Bulbs to 64 Buffed crafting output for Carbon Incandescent Bulbs to 16 Eco and Farming bulbs are unchanged, at 4 and 2 respectively Nerfed crafting output for LED Bulbs down to 1 Generally; lower tier bulbs burn out more but are cheap to craft, and high tier bulbs are expensive but last much longer requiring far less effort to maintain.
Base efficiency of batteries dropped down to 76% to bring renewables more in line with burners Battery life can now drop to 0% as batteries can now be recycled Capacity Oriented Batteries have gotten their power ratings halved again to discourage spamming Voltage Oriented Batteries now have slightly improved power and efficiency to make them worth using (double and 85.88% respectively) Current Oriented Batteries are unchanged as they already fill an ideal niche Life-oriented Batteries are no longer infinite life, but instead have a 95% efficiency and 8x battery life over stock Single Use Batteries have gotten a large cut to their efficiency, down to 57.76% Added new battery: Crypto Capacitor. It's just a capacitor that looks like a battery. Sneaky. Crypto Capacitor has stats and cost equal to a capacitor. It's just a capacitor in a battery shell.
Adds Resistive dust, which replaces the function of coal dust in resistors. Crafts from coal dust in a ratio of 1:8
Improved the power draw of 200V machines to 1,000 so they're actually worth the upgrade cost
Added custom registering system for cables which cleans up the code plenty. This also adds 3 new types of Cable Quality: Shoddy with half capacity, Quality with double capacity, and Perfect with 10x the capacity.
Renamed 'normal' cables to Standard cables to be consistant with the naming scheme of the new cables
Complex crafting chain to make Pure Copper, used to craft Quality cables. (Known issue: The bucket and lead is consumed in the process)
Glorious Copper which requires excessive folding of Pure Copper which makes Perfect Cables.
Turrets track faster and cost more to run passively, no longer target dead enemies, remark "gotcha" upon killing an enemy, and generally are better at aiming and killing their targets
Batteries are cheaper to recycle and have realistic battery capacity
Life Batteries have higher resistance so they are no longer a direct upgrade
Added recipe to macerate silicon from flint