mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Add name field to registered entities
This commit is contained in:
parent
56f55ab1af
commit
ab57fbe4ca
2 changed files with 5 additions and 0 deletions
|
@ -239,6 +239,7 @@
|
|||
--
|
||||
-- Registered entities:
|
||||
-- - Functions receive a "luaentity" as self:
|
||||
-- - It has the member .name, which is the registered name ("mod:thing")
|
||||
-- - It has the member .object, which is an ObjectRef pointing to the object
|
||||
-- - The original prototype stuff is visible directly via a metatable
|
||||
-- - Callbacks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue