mirror of
https://github.com/SmallJoker/upgrade_packs.git
synced 2024-08-20 05:14:07 +02:00
14 lines
421 B
Lua
14 lines
421 B
Lua
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
|
|
}) |