add missing tooltips for un_inv buttons

This commit is contained in:
elite 2017-07-15 21:55:36 -04:00
parent 2aee4873af
commit 89fefa77db
5 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,7 @@ name_restrictions.pronounceability = # nil=disabled, 0=everything blocked, .5=s
#################Game##################
#
#crops.difficulty = This setting is actually located in /worldmods/crops/crops_settings.txt
movement_speed_fast = 25
movement_speed_fast = 35
item_entity_ttl = 150 #dropped item expire...
share_bones_time = 1800
share_bones_time_early = 0 #If player dies in protected area... (0=disabled)

View File

@ -21,6 +21,7 @@ end)
unified_inventory.register_button("armor", {
type = "image",
image = "inventory_plus_armor.png",
tooltip = "Change Armor",
})
unified_inventory.register_page("armor", {

View File

@ -15,6 +15,7 @@ elseif minetest.get_modpath("unified_inventory") and
unified_inventory.register_button("clothing", {
type = "image",
image = "inventory_plus_clothing.png",
tooltip = "Change Clothing",
})
unified_inventory.register_page("clothing", {
get_formspec = function(player, perplayer_formspec)

View File

@ -82,6 +82,7 @@ unified_inventory.register_page("u_skins", {
unified_inventory.register_button("u_skins", {
type = "image",
image = "u_skins_button.png",
tooltip = "Choose Skin",
})
-- Create all of the skin-picker pages.

View File

@ -80,6 +80,7 @@ if rawget(_G, "unified_inventory") then --unified inventory installed
unified_inventory.register_button("worldedit_gui", {
type = "image",
image = "inventory_plus_worldedit_gui.png",
tooltip = "Worldedit",
})
minetest.register_on_player_receive_fields(function(player, formname, fields)