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

replace sethome mod by h2omes, tweak unified_inventory for h2omes

This commit is contained in:
2016-05-14 23:37:24 +02:00
parent fdd2eb9454
commit 6e3a9352c9
5 changed files with 253 additions and 101 deletions

View File

@ -1,4 +1,4 @@
sethome
h2omes
creative?
intllib?
datastorage?

View File

@ -41,6 +41,7 @@ unified_inventory.register_button("craftguide", {
show_with = false, --Modif MFF (Crabman 30/06/2015)
})
--[[
unified_inventory.register_button("home_gui_set", {
type = "image",
image = "ui_sethome_icon.png",
@ -71,6 +72,18 @@ unified_inventory.register_button("home_gui_go", {
end
end,
})
--]]
unified_inventory.register_button("home_gui_set", { --new h2omes
type = "image",
image = "ui_gohome_icon.png",
tooltip = S("My Homes"),
hide_lite=true,
show_with = "home", --Modif MFF (Crabman 30/06/2015)
action = function(player)
h2omes.show_formspec_home(player:get_player_name())
end,
})
unified_inventory.register_button("misc_set_day", {
type = "image",