Begin Update Development: "The Something Update"

This commit is contained in:
IamPyu
2024-10-21 17:33:19 -06:00
parent dd9f883937
commit c89d4625da
34 changed files with 459 additions and 264 deletions

View File

@@ -50,7 +50,6 @@ PyuTest.make_sword = function (nsname, desc, texture, damage, durability, atkspe
end
PyuTest.make_food = function (nsname, desc, wield_image, health_fill, cook_into, extra_code)
local code = extra_code or function()end
PyuTest.make_item(nsname, desc, {
food = 1
@@ -59,7 +58,7 @@ PyuTest.make_food = function (nsname, desc, wield_image, health_fill, cook_into,
if user == nil then return end
minetest.sound_play({name = "eat", gain = 1}, {pos = user:get_pos(), start_time = 1.2})
minetest.do_item_eat(health_fill, "", itemstack, user, pt)
code()
if extra_code then extra_code() end
end,
__pyutest_cook_into = cook_into
})