From 75622c30beb390b7ed578010a00390aa971b3951 Mon Sep 17 00:00:00 2001 From: Novatux Date: Tue, 12 May 2015 11:19:52 +0200 Subject: Add code to support raillike group names --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/lua_api.txt') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 8fda137ae..5a1d49d03 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2190,6 +2190,10 @@ These functions return the leftover itemstack. * Get rating of a group of an item. (`0` means: not in group) * `minetest.get_node_group(name, group)`: returns a rating * Deprecated: An alias for the former. +* `minetest.raillike_group(name)`: returns a rating + * Returns rating of the connect_to_raillike group corresponding to name + * If name is not yet the name of a connect_to_raillike group, a new group id + * is created, with that name * `minetest.get_content_id(name)`: returns an integer * Gets the internal content ID of `name` * `minetest.get_name_from_content_id(content_id)`: returns a string -- cgit v1.2.3