minetest-i4/i4/tests/test_waypoints.lua

13 lines
242 B
Lua
Raw Permalink Normal View History

2023-01-07 05:28:07 -06:00
core.after(5, function()
i3.add_waypoint("Test", {
player = "singleplayer",
pos = {x = 0, y = 2, z = 0},
color = 0xffff00,
-- image = "heart.png",
})
core.after(5, function()
i3.remove_waypoint("singleplayer", "Test")
end)
end)