Skip to content

Add plant oil furnace#763

Open
OhmV-IR wants to merge 6 commits into
masterfrom
fluid-furnace-refactor
Open

Add plant oil furnace#763
OhmV-IR wants to merge 6 commits into
masterfrom
fluid-furnace-refactor

Conversation

@OhmV-IR
Copy link
Copy Markdown
Contributor

@OhmV-IR OhmV-IR commented Feb 27, 2026

Refactors DieselFurnace into a general class that can take in any fluid from config and add the plant oil furnace
Closes #719
I need to test this ig

@OhmV-IR OhmV-IR changed the title Add plant oil furnace [ref:add-text-color-cfgadapter] Add plant oil furnace Mar 1, 2026
@OhmV-IR OhmV-IR marked this pull request as ready for review March 1, 2026 02:41
Copy link
Copy Markdown
Contributor

@LordIdra LordIdra left a comment

Choose a reason for hiding this comment

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

image (Same issue for plant oil furnace)

Plant oil furnace missing recipe (should be pretty damn cheap I think to encourage using this early game)

Plant oil furnace currently has the same appearance as diesel machines which should be changed

Plant oil furnace should have drastically lower fluid consumption (5 mb/s or similar), and I think diesel furnace too tbh (10 mb/s?)

Comment thread src/main/java/io/github/pylonmc/pylon/PylonItems.java Outdated
OhmV-IR added 2 commits March 10, 2026 19:11
# Conflicts:
#	src/main/java/io/github/pylonmc/pylon/PylonItems.java
#	src/main/resources/lang/en.yml
@OhmV-IR OhmV-IR force-pushed the fluid-furnace-refactor branch from edadae5 to 0510e23 Compare March 10, 2026 23:11
@OhmV-IR OhmV-IR changed the title [ref:add-text-color-cfgadapter] Add plant oil furnace Add plant oil furnace Mar 10, 2026
@LordIdra
Copy link
Copy Markdown
Contributor

letr me know when this is ready for re-review

@OhmV-IR OhmV-IR requested a review from LordIdra May 18, 2026 22:17
Copy link
Copy Markdown
Contributor

@LordIdra LordIdra left a comment

Choose a reason for hiding this comment

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

I would much rather these two were just separate classes as this seems like overabstraction, but not going to block on that

RebarArgument.of("speed", UnitFormat.PERCENT.format(speed * 100)),
RebarArgument.of("input-fluid", inputFluid.getName())));
if (outputFluid != null && fluidOutputRate != null) {
args.add(RebarArgument.of("output-fluid", outputFluid.getName()));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would use the uncolored name for the output fluid rate/buffer placeholders or just use 'Fluid usage' and 'Fluid buffer', it looks a bit weird considering no other attributes are ever colored

Comment on lines +2873 to +2875
- "CDC"
- "DDD"
- "CDC"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

slightly unhinged recipe

I would change it to be more similar to diesel furnace recipe

Comment on lines +115 to +118
createFluidPoint(FluidPointType.INPUT, BlockFace.SOUTH);
if (outputFluid != null) {
createFluidPoint(FluidPointType.OUTPUT, BlockFace.NORTH);
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

fluid points need to be directional

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be good if the furnace was lit while it was working

public final @Nullable RebarFluid outputFluid = getSettings().get("output-fluid", ConfigAdapter.REBAR_FLUID);
public final int inputWailaNBars = getSettings().getOrThrow("input-waila-bar-length", ConfigAdapter.INTEGER);
public final @Nullable Integer outputWailaNBars = getSettings().get("output-waila-bar-length", ConfigAdapter.INTEGER);
public final TextColor inputWailaBarColor = getSettings().getOrThrow("input-waila-bar-color", ConfigAdapter.TEXT_COLOR);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

with the new fluid text color changes you can get the color directly from the fluid now

@Seggan
Copy link
Copy Markdown
Member

Seggan commented May 25, 2026

Aww man my guess was about 3 off :(

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.

Plant Oil Furnace

3 participants