From 6895b69a1fdf8768ea300621d53f675538124789 Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Mon, 25 May 2026 23:33:36 +0200 Subject: [PATCH] fix --- domain/game.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/domain/game.go b/domain/game.go index a7e0129..018ddb1 100644 --- a/domain/game.go +++ b/domain/game.go @@ -31,6 +31,27 @@ func Build() *p.Game { // in the corner just gets in the way. Pass "player" as the second // arg to put it back. p.RegisterRichUI(g, "", "cat") + // Swap the rich UI's always-visible verb wheel for a right-click, + // hotspot-only verb coin. The default wheel sits over the bedroom + // door, blocking that exit — the coin only appears on a right-click + // landing on a hotspot, so the screen stays free between picks. + // Drop the cursor too so we can re-register it after the new wheel, + // keeping the crosshair painted on top of the open coin. + g.UIManager.Remove("verbs") + g.UIManager.Remove("cursor") + g.UIManager.Register(&p.RadialVerbs{ + Name: "verbs", + Trigger: p.MouseButtonRight, + Radius: 36, + HotspotOnly: true, + Labels: map[string]string{ + "look": "Néz", + "use": "Tedd", + "talk": "Szól", + "take": "Vedd", + }, + }) + g.UIManager.Register(&p.Cursor{Name: "cursor"}) g.UIManager.Register(&saveKeys{}) g.MaxLogLines = 64