Commit graph

9 commits

Author SHA1 Message Date
4279186eca
fixup! Add MSDP status bar and protocol negotiation to mud.tin
fixup! Add MSDP status bar and protocol negotiation to mud.tin

Remove manual IAC WILL event handlers that were killing the connection.
TinTin++ auto-negotiates GMCP and MSDP natively (responds DO to WILL).
The raw #send bytes were corrupting the telnet stream.
2026-02-12 12:15:53 -05:00
034e137d22
fixup! Add MSDP status bar and protocol negotiation to mud.tin 2026-02-12 12:15:53 -05:00
5c9c90c990
Add MSDP status bar and protocol negotiation to mud.tin 2026-02-12 12:15:53 -05:00
e0376bbb05
Fix reconnect alias and add comments to mud.tin 2026-02-12 12:15:53 -05:00
224c1f0645
Add reconnect tintin command 2026-02-10 11:26:41 -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
f6686fe52c
Add tintin combat aliases
Adds single-key aliases for combat moves: pr/pl for punches, o for
sweep, r for roundhouse, f/v for parries, dr/dl for dodges.
2026-02-07 21:16:28 -05:00
9844749edd
Add fly command with cloud trail effects
fly <direction> moves the player 5 tiles, ignoring terrain. Leaves
a trail of bright white ~ clouds that fade after 2 seconds. Effects
system supports arbitrary timed visual overlays on the viewport.
TinTin aliases: fn/fs/fe/fw/fne/fnw/fse/fsw.
2026-02-07 14:48:42 -05:00
a83248b387 Add bare echoing telnet server 2026-02-07 10:05:34 -05:00