mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
Update lua_api.txt a bit
This commit is contained in:
parent
fd845f27f5
commit
16fc8b5fc2
@ -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…
Reference in New Issue
Block a user