# Patch notes ## 15.20.12 - Added canonical item visual, food, and disease registries; wired food decay/visual helpers and mystery-drug disease sampling to registry data. - Generated the tool palette from `TOOL_CATEGORIES` at runtime and removed duplicated category markup from `index.html`. - Added compact family-tree personality tags and a selected-Tarinai recent-change section for personality, damage, item-effect, disease, and ant-carry causes. - Added `InputModeManager` for touch-first mobile classification and `WeatherSystem` for weather transitions/rain-water spawning. - Added central domain events for placement, eating, decay, effects, diseases, damage, death, birth, fights, ants, weather, and rain item drops. - Moved item-effect modifiers, active summaries, apply/tick behavior callbacks, and food interest class queries into registries. - Moved canonical sound gains, sample paths, categories, cooldowns, and ID category mapping out of `audio.js` into `sound_pack.js`. - Added named ant ecology extension hooks/comments without changing ant balance. - Bumped cache/version references to `15.20.12`; documented the new source-of-truth rules. ## 15.20.12 - Updated documentation after inspecting the current game surface: field choices, startup flow, tool groups, chart/family/debug surfaces, localStorage settings, and validation fallback when Node is unavailable. - Removed unused `css/styles.css` shim and no-op `js/ui_family.js` loader entry; refactored duplicate world initialization and allocation-heavy live-count paths. - Removed item-effect speech bubbles: `ドン`, `ぐるる`, `すっきり`, `Hg xN`, `ちまっ`, `でかっ`, `へにゃ`, `ムキッ`, and `mm...`. - Reorganized the tool palette into color-coded collapsible groups: operation, food/water/grass, medicine/effects, habitat/living things, hazards/obstacles. - Changed the tool UI ball icon to a soccer-ball emoji preview. - Changed time phases: morning 05:00, day 10:00, evening 17:00, night 20:00. - Increased genkotsu knockback for Tarinai and ants; genkotsu now also blasts zunchi away. - Genkotsu damage now adds fear/stress and decreases Tarinai openness. - Rain weather overlay is now diagonal streaks. Fallen rain-water items, zunda juice, and mercury remain horizontal oval item sprites. - Tightened mobile operation UI visibility to smartphone-class compact touch devices. - Sleep-disease Tarinai can be moved by ant hauling without snapping back to their sleep anchor. ## 15.20.12 and earlier summary - Consolidated documentation into dense English files; left `docs/prompt.txt` untouched. - Restored rain, revised water/zunda/mercury item sprites, added zunchi-slave head zunchi, fight win rate, fight defeat chance, and post-wake lock. - Earlier patches added parameter items, persistent item effects, WebP assets, sound categories, push notifications, ant systems, family tree UI, performance manager, event bus, manifest generation, CSS split, and large-file JS split.