mud/tests
Jared Miller 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
..
test_ansi.py Wire client capabilities into Player & terrain 2026-02-07 22:44:45 -05:00
test_caps.py Add MTTS capability parsing module with client color detection 2026-02-07 22:44:23 -05:00
test_combat_commands.py Restructure combat moves: single-word commands with variant args 2026-02-08 00:20:52 -05:00
test_combat_encounter.py Add data-driven combat system with TOML move definitions 2026-02-07 21:16:12 -05:00
test_combat_engine.py Add data-driven combat system with TOML move definitions 2026-02-07 21:16:12 -05:00
test_combat_moves.py Restructure combat moves: single-word commands with variant args 2026-02-08 00:20:52 -05:00
test_commands.py Add editor mode shell integration and edit command 2026-02-07 22:59:37 -05:00
test_content_loader.py Add TOML content loader for declarative command definitions 2026-02-07 20:27:29 -05:00
test_editor.py Fix editor search/replace parsing, dirty flag, and cursor tracking 2026-02-07 23:06:47 -05:00
test_editor_integration.py Fix editor search/replace parsing, dirty flag, and cursor tracking 2026-02-07 23:06:47 -05:00
test_effects.py Add fly command with cloud trail effects 2026-02-07 14:48:42 -05:00
test_entity.py Add data-driven combat system with TOML move definitions 2026-02-07 21:16:12 -05:00
test_fly.py Stagger cloud trail dissolution so tiles fade one at a time 2026-02-07 14:48:42 -05:00
test_highlight.py Wire client capabilities into Player & terrain 2026-02-07 22:44:45 -05:00
test_import.py Add first generation 2026-02-07 09:45:48 -05:00
test_login_flow.py Add login and registration flow with server integration 2026-02-07 21:42:12 -05:00
test_persistence.py Add save on logout and disconnect 2026-02-07 21:42:16 -05:00
test_player_caps.py Wire client capabilities into Player & terrain 2026-02-07 22:44:45 -05:00
test_server.py Add login and registration flow with server integration 2026-02-07 21:42:12 -05:00
test_store.py Add store module with SQLite account persistence 2026-02-07 21:42:07 -05:00
test_terrain.py Add world cache to speedup startup 2026-02-07 15:00:07 -05:00