mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
DOCS: state that initial_properties
are shared between entity instances
This commit is contained in:
parent
dc7a7a0ed9
commit
ea96f6e1e3
1 changed files with 4 additions and 1 deletions
|
@ -8916,6 +8916,9 @@ Entity definition
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Used by `minetest.register_entity`.
|
Used by `minetest.register_entity`.
|
||||||
|
The entity definition table becomes a metatable of a newly created per-entity
|
||||||
|
luaentity table, meaning its fields (e.g. `initial_properties`) will be shared
|
||||||
|
between all instances of an entity.
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue