Skip to content

Commit

Permalink
lord_inventory: restructure files. Relates to lord-server#1020
Browse files Browse the repository at this point in the history
  • Loading branch information
alek13 committed Apr 20, 2023
1 parent b708d23 commit 437b871
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions mods/lord/Player/lord_inventory/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ local old_require = require
require = function(name) return dofile(mod_path .. "/src/" .. name:gsub("%.", "/") .. ".lua") end


require("inventory_form")
require("bags_form")
require("inventory")


require = old_require
3 changes: 3 additions & 0 deletions mods/lord/Player/lord_inventory/src/inventory.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

require("inventory.main_form")
require("inventory.bags_form")
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local detached_inv_armor_slots = require("inventory_armor_slots")
local detached_inv_clothing_slots = require("inventory_clothing_slots")
local detached_inv_armor_slots = require("inventory.main.armor_slots")
local detached_inv_clothing_slots = require("inventory.main.clothing_slots")

local formspec_template = "size[8,8.5]"
.. "image[0,0;1,1;lottarmor_helmet.png]"
Expand Down

0 comments on commit 437b871

Please sign in to comment.