Small tweak to floor number display, increased chinthe speed, fix Return To Overworld option on floor clear menu

This commit is contained in:
2026-06-06 17:19:48 -07:00
parent 947d311f27
commit 72f8b5c050
11 changed files with 134 additions and 72 deletions
+7 -6
View File
@@ -415,7 +415,6 @@ public partial class Game : Node3D, IGame
})
.Handle((in GameState.Output.LoadNextFloor _) =>
{
LoadNextLevel.FadeOut();
EmitSignal(SignalName.OnLoadLevelRequest);
Task.Run(() => Save());
if (_player.EquipmentComponent.EquippedWeapon.Value.ItemTag == ItemTag.BreaksOnFloorExit)
@@ -438,6 +437,12 @@ public partial class Game : Node3D, IGame
}
LoadNextLevel.FadeOut();
})
.Handle((in GameState.Output.ReturnToOverworld _) =>
{
LoadNextLevel.FadeOut();
Task.Run(() => Save());
InitializeGame();
})
.Handle((in GameState.Output.ExitGame _) =>
{
OnQuit();
@@ -453,11 +458,7 @@ public partial class Game : Node3D, IGame
public void SetAffinity(ElementType elementType) => InGameUI.SetAffinity(elementType);
private void FloorClearMenu_Exit()
{
_player.Deactivate();
InGameUI.Hide();
}
private void FloorClearMenu_Exit() => GameState.Input(new GameState.Input.ReturnToOverworld());
private void ExitInventoryAction() => GameState.Input(new GameState.Input.CloseInventory());