Repository navigation
Add tree panels: the Orchard's trees, grown, pruned and composed - #15
Merged
Merged
Conversation
A sapling with tablets stacked on it in a crafting column seeds a tree panel, one level per tablet, cost = tablets (rules/minecraft/01). generateTree now centres every parent under its children with the grid's half unit margin, pinned in GraphTests; ofSize takes levels. Hexagons on trees draw as apples. Growth is designed but not built. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Tree panels get their own rule doc (rules/minecraft/01-1), extracted from 01 and expanded with the Orchard: root start, an end at every tip, one apple, a break as a snapped limb; the world-side clues stay out of scope. A tree panel at the bottom of the column grows by one level per tablet, marks carried by branch position (Panel.Tree.expandTo). The cap is 4 levels, the Orchard's own maximum, reached as sapling + TT, then + TT. The layout is measured off the game's first Orchard panel rather than derived: crown 77% of the panel, tree 65% and centred, tips 1.4 line widths apart, a trunk, level heights 0.75:1:1:0.6:0.45. Two derived layouts were rejected on sight first; the constants are on Panel.Tree and the doc says why. Levels are stored on the panel; old saves read height - 1 and grow by role. A fresh tree ships as an orchard tree: start on the root, end on every tip; growing re-ends the new tips. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls1mJLmL9toYhiFd38wk3d
…n master Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls1mJLmL9toYhiFd38wk3d
… apple The Modifiers rail follows the panel's type: a tree gets start, end, break and the hexagon tool as an apple, no square (rules/minecraft/04-1). The Grid tab works on a tree: anchors are its template, the eraser prunes a limb and everything above it, the pencil restores a position, and a pruned fork is a tip that can take an end (04-2, 01-1). Growth keeps pruning and the surviving limb's side. The apple is the author's mark of the intended tip, shown only in the composer and never on the block face or in a frame, as the Orchard's panels show no apple. It goes on tips only, one per tree, moves rather than multiplies, and is placed by clicking the tip or its nub, where it is drawn. The Orchard's broken branch is a pruned limb with no end, not a break. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls1mJLmL9toYhiFd38wk3d
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.
The Orchard's tree panels. A sapling with tablets stacked on it seeds one, a tree panel in the sapling's place grows it, up to the game's 16 tips and laid out to the Orchard panel's own proportions. The composer's rail follows the panel's type, the Grid tab prunes limbs the way the Orchard's trees are shortened and broken, and the apple is the author's mark of the answer tip: shown in the composer, never on the panel, as in the game. Design, traps and what is still unverified live in rules/minecraft/01-1-tree-panel.md, 04-1 and 04-2.