mirror of
https://github.com/SmallJoker/upgrade_packs.git
synced 2024-08-20 05:14:07 +02:00
12 lines
375 B
Lua
12 lines
375 B
Lua
sfinv.register_page("upgrade_packs:ugpacks", {
|
|
title = "Upgrade Packs",
|
|
get = function(self, player, context)
|
|
local name = player:get_player_name()
|
|
return sfinv.make_formspec(player, context,
|
|
"label[3,0.7;Upgrade Packs]" ..
|
|
"list[current_player;ugpacks;3,1.5;2,2;]" ..
|
|
"listring[current_player;main]" ..
|
|
"listring[current_player;ugpacks]"
|
|
, true)
|
|
end
|
|
}) |