Skip to content

Instantly share code, notes, and snippets.

@kahrl
Created October 1, 2013 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kahrl/6780442 to your computer and use it in GitHub Desktop.
Save kahrl/6780442 to your computer and use it in GitHub Desktop.
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 335f8af..1201ced 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -518,6 +518,13 @@ pointed_thing:
{type="node", under=pos, above=pos}
{type="object", ref=ObjectRef}
+"list" and "array" are used interchangeably in this API documentation
+and refer to tables indexed by integers (without holes, unless certain
+elements explicitly are meant to be nil). The first index is 1.
+ {elem_1, elem_2, ..., elem_n}
+or equivalently:
+ {[1]=elem_1, [2]=elem_2, ..., [n]=elem_n}
+
Items
------
Node (register_node):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment