1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-08-13 16:53:49 -04:00

Make added nodes give the corresponding NodeItem as of now (placeholder code)

This commit is contained in:
Perttu Ahola 2011-11-18 00:05:00 +02:00
parent 0e64406b06
commit 4503b03b26

View File

@ -352,6 +352,7 @@ static int l_register_node(lua_State *L)
f.material.crackiness = 0;
f.material.crumbliness = 0;
f.material.cuttability = 0;
f.dug_item = std::string("NodeItem \"")+name+"\" 1";
nodedef->set(name, f);
return 0; /* number of results */