mirror of
https://github.com/SmallJoker/upgrade_packs.git
synced 2024-08-19 21:04:11 +02:00
12 lines
365 B
Lua
12 lines
365 B
Lua
|
minetest.register_chatcommand("upgrade_packs", {
|
||
|
description = "Allows inserting upgrade packs without CSM",
|
||
|
func = function(name, param)
|
||
|
minetest.show_formspec(name, "upgrade_packs:gui_plain",
|
||
|
"size[8,7]" ..
|
||
|
"label[3,0;Upgrade Packs]" ..
|
||
|
"list[current_player;ugpacks;2,1;4,1;]" ..
|
||
|
"list[current_player;main;0,3;8,4;]" ..
|
||
|
"listring[]"
|
||
|
)
|
||
|
end
|
||
|
})
|