Add recipes to World Tokens, add Flint and Flint and Steel, remove

waypoints
This commit is contained in:
IamPyu
2024-10-05 14:09:36 -06:00
parent bd75bcf381
commit 66c400d215
15 changed files with 60 additions and 68 deletions

View File

@@ -145,3 +145,19 @@ PyuTest.make_item("pyutest_tools:bomb", "Bomb", {}, "pyutest-bomb.png", {
user:set_wielded_item(stack)
end
})
PyuTest.make_item("pyutest_tools:flint_and_steel", "Flint and Steel", {}, "pyutest-flint-and-steel.png", {
stack_max = 1,
on_place = function (itemstack, user, pointed_thing)
if pointed_thing.type == "node" then
minetest.set_node(pointed_thing.above, {name = "pyutest_blocks:fire"})
minetest.sound_play({
name = "alt_place",
gain = 1
}, {
pos = user:get_pos()
})
end
end
})