add: cooking a compass will reset it

This commit is contained in:
whosit 2023-05-12 17:52:07 +03:00
parent f4299c2cda
commit 4da4a63c6c
1 changed files with 7 additions and 0 deletions

View File

@ -451,6 +451,13 @@ minetest.register_on_craft(waypoint_compass_copy_meta)
minetest.register_craft_predict(waypoint_compass_copy_meta)
minetest.register_craft({
type = "cooking",
recipe = "waypoint_compass:compass",
output = "waypoint_compass:compass",
cooktime = 9,
})
-- pos is {x=0,y=0,z=0}
-- owner_name is str
-- label is str