split inventory.lua into api/ and fs/

This commit is contained in:
Sokomine 2023-12-18 05:25:26 +01:00
parent 3ae305dcc9
commit fe1910c88f
2 changed files with 2 additions and 1 deletions

View File

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