neon-sprawl/docs/decomposition/modules/E3_M4_SinkAndDurabilityLife...

1.3 KiB

E3.M4 — SinkAndDurabilityLifecycle

Summary

Field Value
Module ID E3.M4
Epic Epic 3 — Crafting Economy
Stage target Pre-production
Status Planned (see dependency register)

Purpose

Item decay, consumption, repair, and other sinks that sustain demand; may integrate with market/trade flows from E8.M3.

Responsibilities

  • Track DurabilityState; emit ItemSinkEvent; apply RepairCostRule server-authoritatively.

Key contracts

Contract Role
DurabilityState Wear and breakage.
ItemSinkEvent Destruction/consumption audit trail.
RepairCostRule Currency and material costs.

Module dependencies

  • E3.M3 — ItemizationAndInventorySchema.
  • E8.M3 — PlayerTradeAndMarketplace (epic dependency for settlement-related sinks).

Dependents (by design)

  • E3.M5 — EconomyBalancePolicy.

Epic 3 Slice 4item_sink, repair_performed.

Source anchors