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

1.4 KiB

E7.M4 — ContractMissionGenerator

Summary

Field Value
Module ID E7.M4
Epic Epic 7 — Quest / Faction
Stage target Pre-production
Status Planned (see dependency register)

Purpose

Semi-procedural repeatable contracts from templates, keyed by zone difficulty (E4.M1), encounter templates (E5.M3), and faction state (E7.M3).

Responsibilities

  • Emit validated ContractTemplate instances from ContractSeed; record ContractOutcome.

Key contracts

Contract Role
ContractTemplate Parameterized mission skeleton.
ContractSeed RNG or daily seed inputs.
ContractOutcome Completion and reward linkage.

Module dependencies

  • E4.M1 — ZoneGraphAndTravelRules.
  • E5.M3 — EncounterAndRewardTables.
  • E7.M3 — FactionReputationLedger.

Dependents (by design)

  • Live ops and content pipelines; validate against economy/parity rules per epic.

Epic 7 Slice 4contract_issued, contract_complete, reward anomalies.

Source anchors