From 36abe3a25d66a15a15559e42c75e6f5b052619ac Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Tue, 9 Dec 2025 08:03:10 +0100 Subject: [PATCH] reorder object declarations --- mranderson.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mranderson.lua b/mranderson.lua index 0849e84..1e92fd0 100644 --- a/mranderson.lua +++ b/mranderson.lua @@ -56,17 +56,20 @@ local GAME_STATE_INVENTORY_ACTION = 6 -------------------------------------------------------------------------------- -- Modules -------------------------------------------------------------------------------- +-- State Modules (in GAME_STATE order) local SplashState = {} local IntroState = {} local MenuState = {} local GameState = {} +local DialogState = {} -- Used for GAME_STATE_DIALOG and GAME_STATE_INVENTORY_ACTION +local InventoryState = {} -- Used for GAME_STATE_INVENTORY + +-- Other Modules local UI = {} local Input = {} -local InventoryState = {} local NpcActions = {} local ItemActions = {} local MenuActions = {} -local DialogState = {} local Player = {} --------------------------------------------------------------------------------