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

4.8 KiB
Raw Blame History

E5.M3 — EncounterAndRewardTables

Summary

Field Value
Module ID E5.M3
Epic Epic 5 — PvE Combat
Stage target Prototype
Status In Progress — Slice 3 backlog E5M3-prototype-backlog.md: E5M3-01 NEO-100E5M3-12 NEO-111 decomposed
Linear Label E5.M3 · E5M3-prototype-backlog.md E5M3-01 NEO-100 · E5M3-02 NEO-101 · E5M3-03 NEO-102 · E5M3-04 NEO-103 · E5M3-05 NEO-104 · E5M3-06 NEO-105 · E5M3-07 NEO-106 · E5M3-08 NEO-107 · E5M3-09 NEO-108 · E5M3-10 NEO-109 · E5M3-11 NEO-110 · E5M3-12 NEO-111

Purpose

Encounter templates, completion criteria, and reward drop routing into items (E3.M3) and quest credit via E7.M2 — RewardAndUnlockRouter.

Responsibilities

  • Instantiate EncounterDef; roll RewardTable; emit EncounterCompleteEvent for downstream routers and parity checks.

Key contracts

Contract Role
EncounterDef Spawns, objectives, completion rules.
RewardTable Loot and currency references validated against item schema.
EncounterCompleteEvent Completion signal for quests and telemetry.

Module dependencies

  • E5.M1 — CombatRulesEngine.
  • E5.M2 — NpcAiAndBehaviorProfiles (defeat targets).
  • E3.M3 — ItemizationAndInventorySchema.
  • E7.M2 — RewardAndUnlockRouter (quest credit consumer; prototype uses quest-token loot + hook stub).

Dependents (by design)

  • E5.M4 — GroupCombatScaling.
  • E6.M4 — RewardParityEnforcer.
  • E7.M4 — ContractMissionGenerator.

Epic 5 Slice 3encounter_complete, reward attribution once.

Linear backlog (decomposed)

Full story tables, kickoff defaults, and blockedBy graph: E5M3-prototype-backlog.md.

Slug Linear
E5M3-01 NEO-100
E5M3-02 NEO-101
E5M3-03 NEO-102
E5M3-04 NEO-103
E5M3-05 NEO-104
E5M3-06 NEO-105
E5M3-07 NEO-106
E5M3-08 NEO-108
E5M3-09 NEO-107
E5M3-10 NEO-109
E5M3-11 NEO-110
E5M3-12 NEO-111

Prototype Slice 3 freeze (E5M3-01)

The first shipped encounter + reward spine is frozen for prototype tuning until a deliberate migration issue expands the roster.

EncounterDef.id displayName completionCriteria.kind requiredNpcInstanceIds rewardTableId
prototype_combat_pocket Prototype Combat Pocket defeat_all_targets prototype_npc_melee, prototype_npc_ranged, prototype_npc_elite prototype_combat_pocket_clear
RewardTable.id fixedGrants
prototype_combat_pocket_clear scrap_metal_bulk ×10, contract_handoff_token ×1

Payout policy: Per-defeat gig XP stays on NEO-44. Encounter complete grants loot + quest token once per player per encounter id. Full E7.M2 quest credit routing consumes EncounterCompleteEvent (E5M3-09 hook stub).

Source anchors