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

Add Production Efficiency Modifier #2621

Merged
merged 4 commits into from
Dec 28, 2024
Merged

Add Production Efficiency Modifier #2621

merged 4 commits into from
Dec 28, 2024

Conversation

krossgg
Copy link
Contributor

@krossgg krossgg commented Dec 22, 2024

What

This PR adds a new RecipeModifier, mainly to be used as an example of the RecipeModifier system, that will decrease the duration of a recipe for each consecutive recipe run by the machine.
This resets upon recipe change, and will grow up to a specified hard cap.

Implementation Details

Added additional field to RecipeLogic which is incremented (or reset) in onRecipeFinish

Outcome

Fun modifier for addons/packdevs

@krossgg krossgg added the type: feature New feature or request label Dec 22, 2024
@krossgg krossgg requested a review from a team as a code owner December 22, 2024 06:06
@krossgg krossgg merged commit 23e7bcb into 1.20.1 Dec 28, 2024
2 checks passed
@krossgg krossgg deleted the kr/efficiency branch December 28, 2024 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants