Initial commit

This commit is contained in:
Vitaliy Olkhin 2024-01-14 21:48:29 +05:00 committed by Andrey Stepanov
commit 6a69a52549
Signed by: Koldun
GPG Key ID: 53DE683337F5D25F
2 changed files with 15 additions and 0 deletions

11
init.lua Normal file
View File

@ -0,0 +1,11 @@
minetest.register_privilege("builder", {
description = "Privilege for builders",
give_to_singleplayer = false
})
minetest.register_on_joinplayer(function(player)
if minetest.check_player_privs(player, {builder=true}) then
player:hud_set_hotbar_itemcount(tonumber(16))
player:hud_set_hotbar_image("")
end
end)

4
mod.conf Normal file
View File

@ -0,0 +1,4 @@
name = hotbar_16
description = Hot panel for builders with 16 cells
min_minetest_version = 5.7
title = Hotbar 16