1 relationship reputation gates and service deltas
forgejo-actions edited this page 2026-07-13 19:45:35 +00:00

Relationship Reputation Gates And Service Deltas

What This System Is

Relationship and reputation gates control which NPC services are available, why they are locked, and how successful service use changes relationship state.

How Authors Use It

Authors reference NPC relationship profile ids, faction or relationship condition tokens, service availability conditions, and relationship_delta fields. Projection turns those rules into lock reasons; authority applies deltas after successful service use.

Rules And Invariants

Profile ids and faction reputation keys are related but not interchangeable. Relationship deltas should apply only after the authoritative service action succeeds. Lock reasons should reflect the same condition that authority checks.

Validation And Debugging

If preview says an option is unlocked but authority rejects it, compare projected lock reasons with authority relationship keys. If relationship does not change after service use, inspect relationship_delta and the service success path.

Examples

A blacksmith service can require faction_rep:blacksmith_relationship>=3 and grant a small relationship delta after crafting. If the option stays locked at reputation 3, inspect the condition token and relationship key normalization.