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:
@ -1,4 +1,4 @@
|
||||
sethome
|
||||
h2omes
|
||||
creative?
|
||||
intllib?
|
||||
datastorage?
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user