From 1e17a31e3eeed8ccf76982534002513cee6593f1 Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 14 Sep 2025 10:41:08 -0300 Subject: Magicas --- scripts/InputHandling/MainGameInputHandler.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/InputHandling/MainGameInputHandler.cs') diff --git a/scripts/InputHandling/MainGameInputHandler.cs b/scripts/InputHandling/MainGameInputHandler.cs index fe8e573..6a110d7 100644 --- a/scripts/InputHandling/MainGameInputHandler.cs +++ b/scripts/InputHandling/MainGameInputHandler.cs @@ -48,6 +48,11 @@ public partial class MainGameInputHandler : BaseInputHandler GetParent().SetInputHandler(InputHandlers.Inspect); } + if (Input.IsActionJustPressed("open-spellbook")) + { + GetParent().SetInputHandler(InputHandlers.SpellMenu); + } + if (Input.IsActionJustPressed("skip-turn")) { action = new WaitAction(player); -- cgit v1.2.3