v0.52.14 - Shield Fix, MUD Input Fix & Population Control
Shield Stat Doubling Fix
Shields had their AC and Block stats doubled on every equip/unequip cycle. A shield with AC:30 Block:15 would become AC:60 Block:30 after one cycle, escalating to absurd values like AC:7424 after repeated equip/unequip. The root cause was a round-trip corruption in the Item-to-Equipment conversion pipeline where two separate values (ArmorClass and ShieldBonus) were merged into one field on unequip, then duplicated into both fields on re-equip. Fixed across all 3 conversion paths.
Companion Loot Item Loss Fix
When a companion auto-equipped a loot drop in the dungeon ("Lyris picks up Talisman of Luck -- a 125% upgrade!"), the item they were previously wearing disappeared entirely. The displaced equipment was added to the companion's ephemeral inventory which was never transferred anywhere. Now, displaced items are moved to the player's inventory with a message.
MUD Client Input Fix
Fixed two issues affecting MUD client users (Mudlet, TinTin++):
- Game freeze after loot equip -- the next prompt never appeared if any stale keystroke was in the input buffer
- Random NPC encounters bleeding through -- queued messages piled up silently and flushed all at once, dumping players into unexpected interactions
Main Street Menu Alignment
The Main Street menu columns now align vertically across all rows. Previously each row used a different column width based on item count, so brackets never lined up. Now all rows use a fixed 16-character column width.
Monk Potion Vendor Labels
The wandering monk potion vendor menu was missing [H] and [M] labels on the healing and mana potion options. Players saw the options but didn't know what to type. Fixed in all 5 languages.
NPC Population Control
The NPC population had grown to 185 alive (target: ~60). Two changes to bring it back down naturally:
- Pregnancy hard cap: no new pregnancies when alive NPCs >= 120, with steeper fertility tiers at higher populations
- Immigration gating: diversity immigration disabled when alive NPCs >= 80 (extinction prevention still active at any population)
Throne Challenge Daily Limit
Players can now only challenge the throne once per day. Previously, players could heal at home and repeatedly challenge until all guards were dead.
News Board Cleanup
The news board file had grown to 150,000+ entries. Pruned to 100 and added automatic trimming so it never exceeds 100 entries again.
Aldric Quest Boss Fight Fix
Aldric's personal quest boss fight (Malachar the Slayer) gave Aldric only ~200 HP from his base stats instead of a proper health pool. Choosing "I'll support you from behind" was nearly impossible since Aldric died in 2-3 hits. Aldric now has a scaled HP pool (2000 + level x 50), hits harder when fighting alone, and the fight no longer corrupts his base stats.
Login Screen Alignment Fix
The online login screen box-drawing had misaligned right borders -- inner lines were 2 characters too short. Fixed in both MUD server and relay client paths.
MUD Stream Output Flush
Added explicit stream flush before blocking on input in the MUD TCP path. Prevents edge cases where prompt text sits in a TCP buffer and the client never renders it, causing the game to appear frozen.
macOS Steam Support
Added macOS depot to the CI/CD Steam pipeline. Ships both Intel (x64) and Apple Silicon (arm64) binaries with a universal launcher script that auto-detects architecture. Includes bundled WezTerm terminal.
