1 if minetest
.get_modpath("unified_inventory") ~= nil then
3 if minetest
.get_modpath("intllib") then
6 S
= function ( s
) return s
end
9 unified_inventory
.register_button("awards", {
11 image
= "awards_ui_icon.png",
12 tooltip
= S("Awards"),
13 action
= function(player
)
14 local name
= player
:get_player_name()
15 awards
.show_to(name
, name
, nil, false)