Fixed disconnected oven for crafting - #88347
Open
LightCaptain wants to merge 10 commits into
Open
Conversation
undoing change on master branch as that is a mistake.
Fris0uman
previously requested changes
Aug 19, 2026
Contributor
There was a problem hiding this comment.
This is the wrong approach, the disconnected oven has no power source therefore it should just not have thhose qualities. Adding batteries to it doesn't make sense.
The temper property should be added to the vehicle part as a pseudo tool if it actually make sense
EDIT: my bad the vehicle part currently gets its qualities from the item definition
Fris0uman
dismissed
their stale review
August 19, 2026 08:28
the vehicle part oven gets its qualities from the item definition
LightCaptain
commented
Aug 19, 2026
LightCaptain
left a comment
Contributor
Author
There was a problem hiding this comment.
What value should i set "charges_per_use" to?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Features "Fixed disconnected oven for crafting"
Purpose of change
While playtesting to try out new recipes, i discovered that the "disconnected oven" item couldn't be used as a tool in crafting, mainly because it wouldn't use charges from a powergrid. Despite this, the player could still use it's oven quality and the stovetop (which still takes charges from the power grid) to craft what they needed.
This needs to be changed because:
Further changes
The "disconnected oven" string shown in the tool section of crafting recipes that needs heat sources didn't make sense either and the way i went about solving the issue. So these needed some more polish.
Describe the solution
Give the disconnected oven item a "tool_ammo" that uses "battery" charges, this alone will let the oven appliance use the powergrid, which in turn will allow this to provide "disconnected oven" as a tool in crafting recipes.
Further solution
Create a fake appliance item (pseudo) for the oven and move all charged_qualities and tool_ammo of "disconnected oven" to the newly created item.
(I would've used "power_draw" and not have "charges_per_use" for the pseudo item, but this had to be undone to make charged_qualities to only be accessible to the player while the oven is powered by it's grid).
Left the value of "charges_per_use" at 25, as it doesn't seem to consume power from the grid, like the heat source does.
Along with it, i updated the heat source and appliance to use the pseudo oven instead of the disconnected one, so that it shows up as "oven" in the crafting menu
Describe alternatives you've considered
Leaving the oven how it is for crafting recipes and letting other contributors re-discover this anomaly.
Testing
Further tests
Additional context
powergrid used in testing the changes

After the changes

