Checkpoint stats equipment and control catalog implementation

This commit is contained in:
dingo
2026-09-08 05:37:47 -04:00
parent 030253ceff
commit 2df1f6ab38
25 changed files with 1033 additions and 284 deletions
+26 -12
View File
@@ -56,7 +56,8 @@ from network interest. The server retains mutation deltas across chunk eviction.
The finite circular world, 48-unit spawn separation, 100-character capacity,
combat numbers, terrain details, mob scaling, and respawn periods are provisional
defaults. They are not newly confirmed design decisions. Balance is validated and
persisted with the world; editing YAML affects newly created world IDs only.
persisted with the world. YAML initializes new worlds; Control publishes a shared,
versioned title/equipment/stat catalog that world owners apply and checkpoint.
## Durability and ownership
@@ -92,12 +93,13 @@ checkpoints, versioned migrations, and crash/latency fault injection.
## Progression and permanent titles
The Go simulation awards character XP for successful gathering, crafting, mob
kills, and the boss killing blow. Each crossed level threshold banks stat points;
there is no allocation intent until the stat design is defined. Levels, XP,
points, and the character's original level curve survive restart and survivor
passage. Replacement characters start at level 1. Existing snapshots receive
level 1 and the initial progression defaults once, without retroactive XP or
points, while preserving deaths and daily usage.
kills, and the boss killing blow. Each crossed level threshold banks 10 stat points,
adds 5 stamina, and banks a choice of 5 maximum health or mana. Seven primary
attributes accept allocation intents; all derived values are calculated in Go.
Levels, choices, allocations, XP, and the character's level curve survive restart
and survivor passage. Replacement characters start at level 1. Legacy characters
receive the extra points and pending vital choices for already-earned levels once,
while retaining deaths, XP, and daily usage.
Title requirements are evaluated in Go and produce ordered award candidates.
The shared database resolves first-world and first-ever claims in the same
@@ -110,11 +112,23 @@ This account inheritance is the initial interpretation of player-bound titles.
Awarded names, descriptions, effects, and provenance are copied at grant time;
later content changes do not remove or alter an earned title.
All earned title effects are active and additive, once per title ID. The initial
effect hooks are damage and movement speed; both accept positive and negative
values, with effective damage/speed floored at zero. They cannot alter death,
the daily play budget, or passage eligibility. The broader stat and effect
catalog remains open. See [progression configuration](PROGRESSION.md).
All earned title effects are active once per title ID. Flat bonuses are summed,
then combined percentage bonuses apply. Modified primaries feed the derived-stat
formulas. Existing damage/movement effects remain compatible. None can alter death,
the daily play budget, or passage eligibility. See [progression configuration](PROGRESSION.md).
Control publications serialize on a singleton catalog row, check the editor's
expected version, and record an immutable audit entry in the same transaction.
Title/item IDs are append-only; stat formulas can be updated. Owners poll under
the simulation lock and checkpoint updates before snapshots. New title requirements
are evaluated on the next gameplay event. Published content cannot rewrite earned
title awards or acquired equipment snapshots.
Equipment instances retain identity across equip, drop, corpse loot, and passage.
All equipment effects are excluded when checking prerequisites, preventing items
from enabling themselves or each other. Invalidated equipment returns to the bag.
Legacy knife/spear stacks migrate once, including corpses; duplicate instance IDs
within a world fail restoration. Materials and consumables remain quantity stacks.
## Security scope