Hybrid Dog wrote:you could try table.insert(minetest.registered_on_generateds, 1, function(minp,maxp,seed)
[…]
end)
Oohhh, that's clever. Thanks for the idea.
Hybrid Dog wrote:you could try table.insert(minetest.registered_on_generateds, 1, function(minp,maxp,seed)
[…]
end)
local nums = {{1,2,3},{4,5,6},{7,8,9}}
for _, row in ipairs(nums) do
minetest.chat_send_all(row[1]+row[2]+row[3])
end
Joz wrote:With what NodeID are nodes initialised in singlenode?
rubenwardy wrote:wrong name, it's minetest.hash_node_position({x=,y=,z=})
http://rubenwardy.com/minetest_modding_ ... .html#misc
rubenwardy wrote:Isn't Minetest. Serialise position for this purpose?
paramat wrote:That would be insanely slow.