nalc/nalc_unified_inventory/init.lua

9 lines
459 B
Lua
Raw Normal View History

-- Alias pour les anciens sacs de couleurs
for _,colors in ipairs({"orange", "blue", "green", "purple"}) do
minetest.register_alias("unified_inventory:bag_small", "unified_inventory:bag_small_"..color)
minetest.register_alias("unified_inventory:bag_medium", "unified_inventory:bag_medium_"..color)
minetest.register_alias("unified_inventory:bag_large", "unified_inventory:bag_large_"..color)
end
minetest.log("action", "[nalc_unified_inventory] loaded.")