[GH-ISSUE #464] [menus] World Options: Lock, Game Rules and Restrictions buttons are drawn but do nothing #132

Closed
opened 2026-11-02 15:36:38 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/464

Follow-up from #450 (#373): the World Options screen now has vanilla's layout, but its Lock (difficulty lock), Game Rules and Restrictions buttons are inactive. Vanilla: OptionsScreen/WorldOptions difficulty lock confirmation, EditGameRulesScreen, and the restrictions screen.

Originally created by @ludovic111 on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/464 Follow-up from #450 (#373): the World Options screen now has vanilla's layout, but its Lock (difficulty lock), Game Rules and Restrictions buttons are inactive. Vanilla: `OptionsScreen`/`WorldOptions` difficulty lock confirmation, `EditGameRulesScreen`, and the restrictions screen.
bsakaguchi 2026-11-02 15:36:39 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ludovic111 commented on GitHub (Oct 16, 2026):

Both parts are in two stacked PRs:

  • #482: Lock (WorldOptionsScreen's wanted lock and PopupScreen's difficulty.lock.question; Yes locks and saves Difficulty.locked in level.dat) and Restrictions (RestrictionsScreen from computeChatAbilities, with the Chat Settings action).
  • #483: Edit Game Rules, following InWorldGameRulesScreen. It has the search box, categories, switches and number boxes with vanilla's validation, and the discard confirmation. Done sets the rules as handleSetGameRule does.

I checked both in game through the control socket; the details are in the PR bodies.

🤖 Generated with Claude Code

<!-- gh-comment-id:6212844857 --> @ludovic111 commented on GitHub (Oct 16, 2026): Both parts are in two stacked PRs: - **#482:** Lock (WorldOptionsScreen's wanted lock and PopupScreen's `difficulty.lock.question`; Yes locks and saves `Difficulty.locked` in level.dat) and Restrictions (RestrictionsScreen from computeChatAbilities, with the Chat Settings action). - **#483:** Edit Game Rules, following InWorldGameRulesScreen. It has the search box, categories, switches and number boxes with vanilla's validation, and the discard confirmation. Done sets the rules as handleSetGameRule does. I checked both in game through the control socket; the details are in the PR bodies. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#132
No description provided.