mirror of
https://github.com/SmallJoker/upgrade_packs.git
synced 2025-01-02 19:17:39 +01:00
15 lines
405 B
Lua
15 lines
405 B
Lua
local S = upgrade_packs.translator
|
|
|
|
minetest.register_chatcommand("upgrade_packs", {
|
|
description = S("Allows using upgrade packs without CSM"),
|
|
func = function(name, param)
|
|
minetest.show_formspec(name, "upgrade_packs:gui_plain", ([[
|
|
size[8,7]
|
|
label[3,0;%s]
|
|
list[current_player;ugpacks;2,1;4,1;]
|
|
list[current_player;main;0,3;8,4;]
|
|
listring[]
|
|
]]):format(S("Upgrade Packs"))
|
|
)
|
|
end
|
|
}) |