From fe1910c88f4754782e98416b36f47501648e3637 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 18 Dec 2023 05:25:26 +0100 Subject: [PATCH] split inventory.lua into api/ and fs/ --- inventory.lua => api/api_inventory.lua | 0 init.lua | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename inventory.lua => api/api_inventory.lua (100%) diff --git a/inventory.lua b/api/api_inventory.lua similarity index 100% rename from inventory.lua rename to api/api_inventory.lua diff --git a/init.lua b/init.lua index fd85ce4..96cd99a 100644 --- a/init.lua +++ b/init.lua @@ -205,7 +205,8 @@ yl_speak_up.reload = function(modpath, log_entry) -- inspect and accept items the player gave to the NPC dofile(modpath .. "fs/fs_player_offers_item.lua") -- inventory management, trading and handling of quest items: - dofile(modpath .. "inventory.lua") + dofile(modpath .. "api/api_inventory.lua") + dofile(modpath .. "fs/fs_inventory.lua") -- limit how much the NPC shall buy and sell dofile(modpath .. "api/api_trade.lua") dofile(modpath .. "fs/fs_trade_limit.lua")