mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Update lua_api.txt a bit
This commit is contained in:
parent
fd845f27f5
commit
16fc8b5fc2
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue