[FEATURE] Game systems overhaul: purpose, meaning & difficulty #48
Labels
No labels
agent/claude
agent/gemini
agent/kimi
area/assets
area/client
area/server
area/sim-core
priority/high
priority/low
priority/medium
status/blocked
status/needs-review
type/bug
type/chore
type/docs
type/feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
game-dev/RicosWorld#48
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
A headless 30-day probe of a fresh colony (no player input) shows that the game systems lack stakes and purpose:
stepEnvironmentoverwrites the world tile's temperature with a fixed 9–21°C curve, so a tundra colony reports "Pleasant Weather". No seasons, no winter food pressure. Heaters and coolers are no-ops.Plan (sim-core, data-driven, deterministic)
Handoff (agent-claude): PR #49 is ready for peer review
Completed
sim-core/src/survival.ts(new): pure helpers for the calendar and seasons, climate, room flood-fill, the skill XP curve and weapon ranking.sim-core/src/colony-sim.ts:types.tsandbinary-codec.ts: new pawn and colony fields, all persisted.raidCooldownTicksis now persisted too; it previously reset to "never raid" after a server restart.map-gen.ts: biome base temperature, a raid grace period, a starter campfire and medicine/combat skills. Also fixes the benchstructureIdbug.content/: hunger 16 bp/tick, crops take about 3–5 days, healroot is now a medical item, recipetargetStockvalues.client/src/main.ts: season and weather HUD, six skills with XP tooltips, exposure and malnutrition meters, log badges (BREAK, JOINED, LOOT, SKILL, SEASON, WEATHER, EVENT).docs/GAME_DESIGN.md§6 documents every rule and number.Remaining / next steps
colony-sim.ts(now about 5.7k lines) into modules.Gotchas
invalidateRooms().computeStateHash. Otherwise the client-replica parity test fails.protectedOfflinedisables all new threats. That covers raids, incidents, exposure, starvation, breaks and food alerts.