Repository navigation
feat: grind sugar cane into sugar, ladle beetroot soup as Borscht, convert sweet berries - #119
Merged
Merged
Conversation
…nvert sweet berries - Milling stone: milling-recipes.yml can hold several recipes per stone. The first whose input matches the held stack loads, and its id is saved on the stone (`milling.recipe`; older stones fall back to the first recipe). New optional keys: category, origin, output-amount, input-name, input-display, output-display, refund. Defaults keep flour exactly as it was. - Sugar: 8 sugar cane grind into 8 sugar (sweetener_1, origin Sugar, the same food vanilla sugar becomes on pickup), with a pickup quality roll as for vanilla sugar. A broken loaded stone gives the cane back. New sugar_pile heap model. - Pot kinds: pot.yml `kinds` (SaladKind rules, a piece's category as its layer; seasonings and add-ons don't count) give a ladled soup its origin and name. Borscht = at least half beetroot pieces. - Sweet berries: pickup conversion to fruit_1 (origin Sweet Berries), model with a mouldy icon, "Sweet Berry Jam" in jam sandwiches; IA jam icons for Dev's juicer. 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 was referenced Nov 1, 2026
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.
Gives sweet berries, sugar cane and beetroot (crops.yml crops with few or no Cooking uses) real uses.
What was already there
vegetable_cut), boils in the pot and mashes into soup. A pot of it was ladled as "Beetroot Soup" by the generic{fillers}Soupname. This PR only gives it a proper dish name.sweetener(type=sweetener_1;origin=Sugar), with a pickup quality roll. Milled sugar is that same food.juicerstation,press_jamtakes anyfruit_1/fruit_2). Once sweet berries arefruit_1, the juicer already presses them into jam. Dev only needs the jam's look and name (applied by the Dev script, not part of this repo).Changes
Milling stone, several recipes per stone. Before,
MillingRecipeRegistrykept one recipe per furniture, and the handler hard-coded wheat in the loading message, the display, the refund and the origin.milling.recipe), so the right result and refund survive reloads. Stones loaded before this change fall back to the stone's first recipe (flour).category,origin,output-amount,input-name,input-display,output-display,refund. Every default keeps flour exactly as it was, and the existing tests pass unchanged.sugar: 8v.sugar_canegrind into 8 sugar (1:1, as at the crafting table). Cane stays vanilla on pickup because it's also used for paper. A broken loaded stone gives the cane back. Shows a newsugar_pileheap.Pot
kinds.pot.ymlgetskinds:, usingSaladKind's rules, with each boiled piece's category as its layer. Seasonings and add-ons (salt, pepper, spices) don't count. A matching kind sets the soup's origin, and itsnamereplaces "{fillers}Soup" after the colour and prefixes. Shipped kind: Borscht (mostly: Beetroot, so at least half the pieces are beetroot). Other threads (pumpkin soup) only need a config entry.Sweet berries. Added
v.sweet_berries→fruit(type=fruit_1;origin=Sweet Berries)on pickup, plus asweet_berriesmodel with a mouldy icon (APPLE, so a rotten one can't be planted). That makes them a salad fruit, a pie filling (the existing Mixed Berry kind already lists them) and juicer jam. Jam sandwiches name it "Sweet Berry Jam".Assets come from
tf-minecraft/scratch/new-foods/berries-cane-beet/bin/gen.py: mouldy berries, Sweet Berry Jam icons (Dev's cherry jam jar recoloured with vanilla sweet-berry colours) and the sugar heap. The juicer piles, pressed jam and salad heap the same script makes go to Dev only, alongside the Dev-only juicer and salad bowl items. Offline preview:bin/preview.js.Tests
mvn -o -B clean verify: 1445 tests, JaCoCo 100% line coverage met. New tests cover:🤖 Generated with Claude Code