Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
lua_api.txt: Add mod_orgin to node def (#10697)
  • Loading branch information
wsor4035 committed Dec 15, 2020
1 parent 4d41ed0 commit 3ed940f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/lua_api.txt
Expand Up @@ -7612,6 +7612,13 @@ Used by `minetest.register_node`.
-- intensity: 1.0 = mid range of regular TNT.
-- If defined, called when an explosion touches the node, instead of
-- removing the node.

mod_origin = "modname",
-- stores which mod actually registered a node
-- if it can not find a source, returns "??"
-- useful for getting what mod truly registered something
-- example: if a node is registered as ":othermodname:nodename",
-- nodename will show "othermodname", but mod_orgin will say "modname"
}

Crafting recipes
Expand Down

0 comments on commit 3ed940f

Please sign in to comment.