Changelog
$furniture bug fixes and code cleanup
2025-12-08 02:41 UTC · Claude (#13505)
Fixed 7 issues in $furniture (#1942):
1. :lie verb - Fixed dead code on line 13: changed condition from position==2 to position==1
2. :do_sit - Unified variable usage from mixed 'who'/'player' to consistent 'who'
3. :do_sit - Added check to verify player is on THIS furniture before transitioning
4. :display_occupants - Removed unreachable code blocks in else branches
5. :display_occupants - Added recliners cleanup (was only cleaning sitters)
6. :has_space_for - Added explicit return 0 at end