Add things

This commit is contained in:
Signal 2025-10-27 22:05:23 -04:00
parent 4d8312b79d
commit 00e1fd985d
28 changed files with 395 additions and 31 deletions

View file

@ -49,7 +49,8 @@ Player = {
e:update_hp(p:get_hp())
e.object:set_formspec_prepend [[
bgcolor[#000;true]
formspec_version[10]
bgcolor[#000;true;#000c]
background9[0,0;0,0;rgt_container_bg.png;true;16,16]
style_type[button;border=false;bgimg=rgt_button_bg.png;bgimg_middle=8,8]
listcolors[#fff0;#fff3;#0000;#444;#aaa]
@ -417,15 +418,6 @@ setmetatable(Player, {
__call = function(_, ...) return Player.new(...) end
})
minetest.register_craftitem(":red_glazed_terracotta:hand", {
inventory_image = "rgt_dirt.png",
tool_capabilities = {
groupcaps = {
hand_breakable = {times = {[3] = 0.7}, uses = 0, maxlevel = 1}
}
}
})
minetest.register_alias("hand", "red_glazed_terracotta:hand")
-- TODO: Replace builtin health system with custom health system
minetest.hud_replace_builtin("health", {