Commit graph

15 commits

Author SHA1 Message Date
e0910151f4
Add research on IF possibilities 2026-02-09 11:54:22 -05:00
6344c09275
Restructure combat moves: single-word commands with variant args
The DREAMBOOK always described "punch right/left [target]" as one command
with a direction argument, but the implementation had separate TOML files
and multi-word command names that the dispatcher couldn't reach (it only
matches the first word). Aliases like "pr" also couldn't pass targets
because the shared handler tried to re-derive the move from args.

Changes:
- Merge punch_left/right, dodge_left/right, parry_high/low into single
  TOML files with [variants] sections
- Add command/variant fields to CombatMove for tracking move families
- load_move() now returns list[CombatMove], expanding variants
- Handlers bound to moves via closures at registration time:
  variant handler for base commands (punch → parses direction from args),
  direct handler for aliases and simple moves (pr → move already known)
- Core logic in do_attack/do_defend takes a resolved move
- Combat doc rewritten as rst with architecture details
- Simplify mud.tin aliases (pr/pl/etc are built-in MUD commands now)
2026-02-08 00:20:52 -05:00
83455c525f
Update commands doc with combat, content, and editor sections
Documents how combat moves are registered from TOML, how content-defined commands
work, and how editor mode captures input.
2026-02-07 23:50:55 -05:00
ef658fd987
Update architecture plan opening to reflect current progress
Items 1-8 from the plan are complete. Only in-world programming (item 9) remains.
2026-02-07 23:50:32 -05:00
8f3455ce0a
Convert things-and-building doc to rst 2026-02-07 23:39:45 -05:00
0395aaadad
Add things and building design doc 2026-02-07 23:36:47 -05:00
f36880f82c
Add persistence documentation
Explains the store module architecture, password security considerations,
and the three-layer save strategy (auto-save, logout save, disconnect save).
2026-02-07 21:42:19 -05:00
6173a165c2
Add combat system design documentation
Captures the combat-as-content architecture: moves are TOML files,
engine is a state machine (IDLE→TELEGRAPH→WINDOW→RESOLVE). Documents
move set, counter relationships, damage formulas, and how combat
initiation works without a dedicated fight command.
2026-02-07 20:47:41 -05:00
8f5956df3d
Add research on various mu* dsls 2026-02-07 19:31:38 -05:00
600be4ed95
Add note on combat tick health 2026-02-07 16:31:16 -05:00
dcc8b961bb
Add CommandDefinition and migrate command registry 2026-02-07 16:15:21 -05:00
0f05302b6e
Add an architectural plan 2026-02-07 15:54:12 -05:00
e059bac633
Add research on graphicmud 2026-02-07 15:39:36 -05:00
1223eebeb1
Add mudlib documents 2026-02-07 15:36:52 -05:00
25bb565091
Move notes to docs/how, docs/why, docs/lessons
how/  - how things work (terrain generation, command system)
why/  - design philosophy (telnet-first, text worlds)
lessons/ - things we learned the hard way (charset vs mtts)

Removes notes/ — DAYDREAMING.txt became DREAMBOOK.md, charset-vs-mtts
expanded into docs/lessons/ with the connect_maxwait fix documented.
2026-02-07 13:31:02 -05:00