For example, when we are calling the function minetest.register_node(), what does "minetest" mean? I would assume this is a table, because there`s field "register_node" refers to the function where it is created in "minetest" table.
Although, for example math.abs() function looks like "math" is a library where abs() function is defined.
Is "minetest" library, table or folder?
- Andrey01
- Member
- Posts: 2577
- Joined: Wed Oct 19, 2016 15:18
- GitHub: Andrey2470T
- In-game: Andrey01
- Location: Russia, Moscow
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: Is "minetest" library, table or folder?
Both math and minetest are tables, however the math table is defined by the math library
Who is online
Users browsing this forum: No registered users and 7 guests