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")