Skip to content

Let the night decide the stone line; count per-day rules over the whole child stage - #86

Merged
mLampir merged 1 commit into
mainfrom
claude/project-thread-2nm28v
Oct 19, 2026
Merged

mLampir merged 1 commit into
mainfrom
claude/project-thread-2nm28v

Conversation

@mLampir

@mLampir mLampir commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Requested by Michael · project thread

Before: the stone line and the leaf line both grew up by petting alone, and every "so often a day" rule was an average over the days so far. A day away dropped the average, and putting off the tap made the goal grow, so waiting never helped.

After: the stone line is decided by the world at the moment it grows up, like the cloud line. Every per-day rule is now a total for the child stage. A day away can be made up on the other days, and once the stage is due the goal stops growing.

Spoiler: the stone line's rule

Glimmerock if the sun is down when the child grows up (its crystals light up at night), otherwise Bouldergrin. Since a sleeping pet can't evolve, this means after sunset and before bedtime. On a short summer evening the player can wake it at night, which costs a grumpy pebble. Pebblet's band shows the result live (lilac after dark).

How: life.World (raining, dark) replaces the raining flag. model.worldAt() builds it from the weather and sun.isDark(), and applyAction now takes the location. decideSpecies gets the stage length (life.childDays, shortened by the ember stone). A rule asks for perDay × min(days so far, stage length), so the hint still shows whether the child is on track. Docs: pets.md (folded) and gameplay.md. Tests in core/test/life.test.ts. Closes #14. #11 stays open as a collection of ideas.


Generated by Claude Code

… whole child stage

Glimmerock now comes from growing up after sunset (its crystals light up
at night), Bouldergrin from everything else; the quartz band shows it
live, like the cloud line's bell shows the rain (#14).

The rules "so often a day" become a total for the child stage: a day
away is made up on the others, and waiting for the tap no longer raises
the goal. Until the stage is over they ask for the share of the days so
far, so the hint still shows whether the child is on its way. The ember
stone shortens the stage and the total with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A79BQCvoZeT7yfg29oY33N
@mLampir mLampir self-assigned this Oct 19, 2026
@mLampir
mLampir merged commit 6c84f4d into main Oct 19, 2026
1 check passed
@mLampir
mLampir deleted the claude/project-thread-2nm28v branch October 19, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A night rule for a line that evolves by petting only

2 participants