Big upgrade incoming — I'll build this in layers: new wall tiers + towers + gates + crops + animals + stockpile sprites, then world entities, then colonist jobs, then engine rendering/systems, then the HUD. Starting with the sprite factory overhaul — 5 upgradable wall tiers with matching gates, a proper watchtower, crops, livestock and storage stacks:
Fixing the stray typo in tier-4, the unused param, and updating getWall to accept a tier:
Fixing the tuple type and wiring all new sprites into the Sprites interface and getSprites():
Now populating getSprites() with all the new assets:
Sprites compile. Now rewriting world.ts with the new entity model — tiered walls, gates, watchtowers, farm plots, livestock, build sites with mixed-resource costs:
Now updating the colonist AI — generic mixed-resource construction (walls/gates/towers/upgrades), farming jobs, and removing the tree-fall screen shake. Starting with types and imports:
Let me view the current pickJob and build-job sections to patch them precisely:
Now replacing the build-site picking block with the generic version plus sow/harvest candidates, and the state labels:
Now rewriting the build job case and adding sow/harvest. Let me view the build case region:
Now replacing the entire build case with the generic mixed-resource version, and adding sow/harvest cases after it:
Now the state labels and removing the screen shake calls from chopping/felling:
npc.ts compiles clean. Now the engine — imports, tool types, and the build/crop selection state first:
Now the engine fields, starter work order and site helper:
Now adding the site factory, build/crop setters, and rewriting the placement tools. Let me view the placement section:
Now rewriting the placement tools (applyToolAt, firstMarkMode, eraseAt):
Now updating spawnLoot and the simulation tick (crop growth, gate animation, livestock). Let me view those areas:
Now replacing the site-ghost/hover-render block and gate rendering with the new tiered versions, and adding farm plots + stockpile stacks:
Now the wall-tier rendering, gates with sliding doors, watchtowers and livestock in the y-sorted pass:
Fixing the gate lantern reference and adding seasonal tints + winter snow to the overlay pass:
Now the snapshot rewrite and winter snow ground coverage:
Only the snow system remains. Adding winter ground dusting and drifting snowfall:
Now the snowfall spawner in ambient and the snowflake rendering in the particle pass:
Adjusting snowflake lifespan, then updating the HUD with the farm tool, build palette (5 wall tiers + gate + tower), crop selector and season display:
Build is green. Now the HUD — adding the farm tool, build palette and season UI:
Now the tool rail palettes and season display. First the build/farm palettes above the tool rail:
Now the season display in the clock panel and updating the tool hint line:
Adding the Digit5 keybind, livestock count in the colony panel, and a smarter goal line:
Build is green. One last polish pass — updating the start-screen feature cards to reflect the new systems:
All systems are in and the build is clean. Here's what changed:
Fixes
- Stockpile now shows its contents — log piles, stone heaps and grain sacks materialize in the zone, growing/shrinking in real time with your actual wood/stone/food counts
- No more screen shake when felling trees (both the chop-hit vibration and the fall thud removed)
New RimWorld-style systems
- Farming (tool 5) — crop palette with wheat, carrot, pumpkin; colonists sow, crops grow through 4 visual stages, pulse green when ripe, then get harvested and hauled
- Seasons — Spring/Summer/Autumn/Winter cycling every 3 days: seasonal color grading on the world, winter freezes crops, slows berry regrowth, dusts the ground in snow and sends drifting snowfall across the screen
- Animal husbandry — chickens and sheep wander the yard with peck/idle animations, eat from your pantry daily (toast warning when starving), and produce eggs and milk which colonists haul to the stockpile
- Livestock + field stats shown in the colony panel; goal hints adapt to harvest time
Upgradable defenses (5 tiers)
Palisade → Timber → Fieldstone → Fortified → Bastion, each with its own hand-drawn auto-connecting wall art (banded timber, mortar-stone, iron-riveted fortress, black basalt)
- Paint over old walls with a higher tier selected — colonists fetch the mixed wood/stone costs and rebuild in place
- Gates for every tier — placed on straight wall segments, with door leaves that slide open as colonists approach and close behind them, plus a swaying lantern flame
- Watchtowers rebuilt as real towers — tapered stone shaft, corbel ring, crenellated crown, arrow slit and a waving banner; two now flank your start gate and more are buildable (4w 8s)
Build palette (tool 4)
A proper construction bar: 5 wall tiers with costs, Gate, and Tower — with hover ghosts, green/red validity brackets, and "NEED WOOD/STONE" warnings over unfunded sites.
Files built: src/game/sprites.ts, src/game/world.ts, src/game/npc.ts, src/game/engine.ts, src/components/HUD.tsx, src/App.tsx