Skip to content
Snippets Groups Projects
Commit 4503b03b authored by Perttu Ahola's avatar Perttu Ahola
Browse files

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

parent 0e64406b
Branches
Tags
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment