Safe add node

Nore
Member
 
Posts: 468
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

Safe add node

by Nore » Sun Mar 31, 2013 13:57

I could be good to have a safe add_node function, which will do the same as add_node, but it the position is not loaded, save the change and do it after the map block is loaded.
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Sun Mar 31, 2013 21:07

Well usually when you hit an 'ignore' one of two things will happen: the block will wrongly replace a surrounding block, or if you have a later/earlier version with the fix in builtin/item.lua, the block won't place at all until the area is loaded.
"Fuck the hat." - Paulie Gualtieri
 

Nore
Member
 
Posts: 468
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Mon Apr 01, 2013 12:12

I am mainly thinking to mapgen mods, for example landup, which will sometimes want to modify a node in a unloaded/ungenerated area, ignoring what is there, but for now it will not work.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 4 guests