upgrade_packs/gui_sfinv.lua

14 lines
421 B
Lua
Raw Normal View History

local S = upgrade_packs.translator
sfinv.register_page("upgrade_packs:ugpacks", {
title = S("Upgrade Packs"),
get = function(self, player, context)
local name = player:get_player_name()
return sfinv.make_formspec(player, context, ([[
label[3,0.7;%s]
list[current_player;ugpacks;3,1.5;2,2;]
listring[current_player;main]"
listring[current_player;ugpacks]
]]):format(S("Upgrade Packs")), true)
end
})