summaryrefslogtreecommitdiff
path: root/builtin/game/register.lua
Commit message (Collapse)AuthorAge
* Add minetest.register_on_punchplayerBrandon2015-05-15
|
* Fix minetest.clear_* creating new LOCAL table instead of clearing the ↵Tomas Brod2015-04-26
| | | | | | | | | | | existing one. On calling clear_redistered_biomes the registered_biomes table is cleared by creating a new empty table, but the pointer is not updated to point to the new one. So after calling more register_biome, the registered_biome table always contains 0 items, which is an error. Instead, the table is cleared by removing all its items so the pointer (minetest.registered_*) remains valid.
* builtin: Unify register wrapper functions and wrap clear_registered_* ↵kwolekr2015-01-13
| | | | functions too
* Add registered_ores and registered_decorationsShadowNinja2015-01-05
|
* Expose mapgen parameters on scripting initkwolekr2014-12-29
| | | | | Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
* Add item eat callbackrubenwardy2014-05-26
|
* Use "core" namespace internallyShadowNinja2014-05-08
|
* Organize builtin into subdirectoriesShadowNinja2014-05-07