* Rewrite comments in Google developer documentation style Rewrite the comments and docstrings across the backend core modules so they read plainly. The previous prose was accurate but dense and figurative, which made it slow to skim. Applies the Google developer documentation style guide: short sentences, active voice, present tense, American spelling, and no metaphors, idioms, or rhetorical asides. Replaces em-dash chains with separate sentences.
40 lines
740 B
Python
40 lines
740 B
Python
"""Phase 12: RPG world state.
|
|
|
|
The AI proposes stat and milestone deltas, and this module validates and clamps
|
|
them against a scenario's `stat_schema`.
|
|
"""
|
|
|
|
from .engine import (
|
|
EMIT_REMINDER,
|
|
EMIT_RULE,
|
|
apply_delta,
|
|
apply_override,
|
|
band_label,
|
|
extract_delta,
|
|
has_schema,
|
|
instantiate,
|
|
npc_name,
|
|
npc_triggers,
|
|
reconcile,
|
|
render_delta_block,
|
|
render_reference,
|
|
render_state_section,
|
|
)
|
|
|
|
__all__ = [
|
|
"EMIT_REMINDER",
|
|
"EMIT_RULE",
|
|
"apply_delta",
|
|
"apply_override",
|
|
"band_label",
|
|
"extract_delta",
|
|
"has_schema",
|
|
"instantiate",
|
|
"npc_name",
|
|
"npc_triggers",
|
|
"reconcile",
|
|
"render_delta_block",
|
|
"render_reference",
|
|
"render_state_section",
|
|
]
|