Repository navigation
feat(pet): add pickle wishes, a scrapbook, and variety favorites - #27
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
pickle | d0439b2 | Oct 19 2026, 02:51 AM |
Wishes: up to two per local day outside 10pm-9am, one active for 6 hours. Kinds are feed (next rotation food), clean (hygiene < 80), pet, play (named game), and nap (energy < 50). Granting adds 10 happiness, plus 5 coins on iOS. Shared rules live in pet-life.js and PetLife.swift. Scrapbook: derives hatch, naming, and stage moments from bornAt, shows a 32-slot elder album, and stores first game, first wish, and first arena run. The web streak follows the iOS rule and travels in .dill native extras. Stickers unlock at 3/7/14/30 days. Favorites: each variety has one food and one game worth +4 happiness. tests/fixtures/pet-parity.json keeps JS and Swift aligned. New save fields are optional. CACHE_VERSION is little-dill-v18.
yannelli
force-pushed
the
feat/pet-wishes-scrapbook
branch
from
October 19, 2026 02:50
3228f53 to
d0439b2
Compare
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.
Wishes: up to two a day (slots at 9:00 and 15:00, quiet 22:00 to 9:00), each lasting 6 hours. The pickle asks to be fed the next rotation food, cleaned, petted, played a named shared game, or put down for a nap. Granting one gives +10 happiness, plus 5 coins on iOS. Refused feeds still leave the rotation alone, and reminders and push text are unchanged.
Scrapbook: hatch, naming, stage changes, and a 32-slot elder album are derived from
bornAt. Only first game, first wish, and first arena run are stored. Streak stickers at 3, 7, 14, and 30 days use the existing iOS streak rule, which the web now mirrors inlittle-dill.visits.v1. Favorites: each variety has a fixed food and game worth +4 happiness. New save fields are optional on both clients, malformed values are dropped on load,.dillround trips carry them, andCACHE_VERSIONislittle-dill-v18.Checks:
node --test tests/*.test.cjs232/232 pass;xcodebuild test -only-testing:LittleDillTests(Xcode-beta 27.0, iPhone 16 Pro simulator) ran 125 tests with 2 failures inArenaAudioParityTests.testLoopKeepsTimeAcrossSnapshotsSwitchesAndStops, which fails the same way onmain.tests/fixtures/pet-parity.jsonis generated bytests/generate-pet-parity.cjs. Wish chip and scrapbook rendering, UI tests, and device behavior were not checked.