diff options
Diffstat (limited to 'src/scriptapi.cpp')
-rw-r--r-- | src/scriptapi.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index aed4227c6..b4c79cd28 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -548,9 +548,8 @@ static int l_register_node(lua_State *L) getstringfield(L, table0, "extra_dug_item", f.extra_dug_item); // Usual get interval for extra dug item getintfield(L, table0, "extra_dug_item_rarity", f.extra_dug_item_rarity); - // Initial metadata is cloned from this - // TODO: As metadata name - // NodeMetadata *initial_metadata; + // Metadata name of node (eg. "furnace") + getstringfield(L, table0, "metadata_name", f.metadata_name); // Whether the node is non-liquid, source liquid or flowing liquid // TODO: Enum read // enum LiquidType liquid_type; |