1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

modified unified_inventory to place buttons in 2 rows when +12

modified unified_inventory to hide buttons if player does not have the necessary privileges
modified other mods to adjust with unified_inventory
This commit is contained in:
2015-06-30 16:15:58 +02:00
parent 04e5e49904
commit a2b7be291f
9 changed files with 45 additions and 21 deletions

View File

@ -105,6 +105,8 @@ elseif minetest.get_modpath("unified_inventory") then
unified_inventory.register_button("armor", {
type = "image",
image = "inventory_plus_armor.png",
tooltip = "Armor inventory",
show_with = false, --Modif MFF (Crabman 30/06/2015)
})
unified_inventory.register_page("armor", {
get_formspec = function(player)