Repository navigation
feat: per-origin fill layers, fresh outputs and kept results in crafting stations - #95
Merged
Merged
Conversation
…ing stations
- keep-output-age: a recipe's output keeps the age tags of its output line
instead of averaging the ingredients' age (a new cheese starts fresh).
- fill-models: each input draws its own layer and the layers stack, so
identical copies no longer overlap and flicker. {origin} in a model name
is replaced by the input's origin (melon_slice), for per-fruit piles.
- A finished item left in a station (a cheese, a jar of jam) is no longer
used as an ingredient by the next press.
- The poured-input message no longer mentions the masher.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Crafting station changes behind the cheese ripening and the new juicer (jam and paste), both tested on Dev.
Changes
keep-output-age(recipe option): the output keeps the age tags from its output line instead of averaging the ingredients' age. The cheese press uses it so a new cheese starts atcheese_age.0, whatever the milk's age.fill-modelslayers: the n-th input shows the n-th model and the layers stack. Before, every input drew the same model in the same place, and the copies flickered (z-fighting) once there was more than one input.{origin}in fill models: replaced by the input's origin in lower case with_for spaces (Melon Slicebecomesmelon_slice). The juicer uses it to show a pile of each fruit.craft()now counts and consumes only items the current recipe accepts. Before, a cheese left in the press next to one cup of milk was used up as the second ingredient.The keys are documented at the top of
src/main/resources/crafting-stations.yml.Tests
mvn -o -B clean verify: 1269 tests pass and line coverage is still 100%. New tests:aFinishedItemLeftInTheStationIsNotUsedAsAnIngredientfillModelsCanNameTheInputsOriginSoEachFruitGetsItsOwnPilekeepOutputAgeStartsTheOutputFreshInsteadOfAveragingTheIngredientsAge🤖 Generated with Claude Code