Skip to content
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

Added Manufacturing Center #721

Merged
merged 4 commits into from
Jan 10, 2025
Merged

Added Manufacturing Center #721

merged 4 commits into from
Jan 10, 2025

Conversation

Taskeren
Copy link
Contributor

@Taskeren Taskeren commented Jan 9, 2025

In this PR, added Manufacturing Center, a modified version Industrial Processing Factory (Nine in One).

This one is aimed for stage from early IV to late UV, and you'll need to make the better machines for higher voltage tiers.

The most expensive cost is the Core, which requires you to make each machine of its tier.

The bonuses may need to be adjusted.

MultiUse Core

Introduced MultiUse Core blocks that has 4 variants from IV to UV, crafted by 9 machines that IPF can turned into, at the tier of the result core.

The machines will be dropped when breaking Cores properly with Wrenches.

Manufacturing Center

Like IPF, it has 9 modes for each machines that builds the Core.

The sub- circuit (20, 21, 22) is no longer requires, as it flats the 3 modes (Metal, Fluid, Misc) into 9 modes. You can either use Screwdriver or the button in GUI to change it.

The Core limits the power tier of recipes, where it will not execute the ZPM recipe if you have a IV Core.
And since the Core has its highest tier at UV, so you will not be able to process UHV recipe, never!

Gains 20% base speed bonus.
For each Core tier over IV, it gains 50% speed bonus.
And for each Core tier over ZPM, it gains 20% EU reduction.

Max Parallel is limited by 2x Max Energy Hatch Voltage Tier.

TODO

  • The textures of Cores, for each Tier
    • IV
    • LuV
    • ZPM
    • UV
  • Tests
  • Maybe localizations?
  • Bonuses Adjust

Comment on lines 181 to 219
protected MultiblockTooltipBuilder createTooltip() {
var tt = new MultiblockTooltipBuilder();

tt.addMachineType(getMachineType())
.addInfo("A Combination of Machines.")
.addInfo("Voltages are limited by the MultiUse Core.")
.addInfo(
"Manufacturing Center cannot handle recipes over " + GTUtility.getColoredTierNameFromTier((byte) 9)
+ EnumChatFormatting.GRAY
+ ".")
.addInfo(
"Each core tier over " + GTUtility.getColoredTierNameFromTier((byte) 5)
+ EnumChatFormatting.GRAY
+ " gains 50% speed bonus comparing to single block machines.")
.addInfo(
GTUtility.getColoredTierNameFromTier((byte) 7) + EnumChatFormatting.GRAY
+ " core saves 20% EU energy, "
+ GTUtility.getColoredTierNameFromTier((byte) 8)
+ EnumChatFormatting.GRAY
+ " core saves 40% EU energy.")
.addInfo("Max Parallel is limited by 2x Max Voltage.")
.addPollutionAmount(getPollutionPerSecond(null))
.beginStructureBlock(3, 3, 3, false)
.addController("Front Center")
.addOtherStructurePart("MultiUse Core", "At Center")
.addCasingInfoMin("Multi-Use Casings", 6, false)
.addInputBus("Any Casing", 1)
.addOutputBus("Any Casing", 1)
.addInputHatch("Any Casing", 1)
.addOutputHatch("Any Casing", 1)
.addEnergyHatch("Any Casing", 1)
.addMaintenanceHatch("Any Casing", 1)
.addMufflerHatch("Any Casing", 1)
.addSeparator()
.addInfo(TextEnums.Author_Taskeren.toString())
.toolTipFinisher();

return tt;
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

处理下语言本地化

@Nxer Nxer merged commit 859e4dd into Nxer:main Jan 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants