Update lua_api.txt a bit

pull/153/head
Perttu Ahola 2012-07-23 08:48:55 +03:00
parent fd845f27f5
commit 16fc8b5fc2
1 changed files with 3 additions and 3 deletions

View File

@ -254,9 +254,9 @@ Nodes are passed by value between Lua and the engine.
They are represented by a table: They are represented by a table:
{name="name", param1=num, param2=num} {name="name", param1=num, param2=num}
param1 and param2 are 8 bit and 4 bit integers, respectively. The engine param1 and param2 are 8 bit integers. The engine uses them for certain
uses them for certain automated functions. If you don't use these automated functions. If you don't use these functions, you can use them to
functions, you can use them to store arbitrary values. store arbitrary values.
The functions of param1 and param2 are determined by certain fields in the The functions of param1 and param2 are determined by certain fields in the
node definition: node definition: