aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/register.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add textures for air and ignore items (#5196)Wuzzy2017-02-101-4/+4
|
* Builtin: Change error to warning for light_source > 14paramat2016-09-211-1/+3
|
* Register.lua: Throw error if node 'light_source' > core.LIGHT_MAXparamat2016-09-171-0/+3
| | | | | | | | Add 'core.LIGHT_MAX = 14' to builtin/game/constants.lua with the intention to replace misplaced 'default.LIGHT_MAX = 14' in Minetest Game. Add comment in light.h requiring the constant be changed in both places. Add lighting bug warning to note in lua_api.txt. There are hundreds of mod uses of 15 which causes a lighting bug.
* Add minetest.unregister_item and minetest.register_alias_forcepaly22016-09-081-0/+38
|
* Add minetest.register_lbm() to run code on block load onlyest312016-03-071-1/+9
|
* Faster insertion into tableRui9142016-03-061-4/+4
|
* Liquids: Flow into and destroy 'floodable' nodesparamat2016-01-071-0/+1
| | | | | Add new node property 'floodable', default false Define "air" as floodable = true in C++ and lua
* Add on_secondary_use when right clicking an item in the airAlex Ford2015-12-021-0/+1
|
* Simplify regex used in check_modname_prefix and other improvements.Robert Zenz2015-11-241-4/+8
| | | | | Simplified the regex used, added comments and changed the error message to contain the correct mod name.
* Refactor loggingShadowNinja2015-10-141-1/+1
| | | | | | | | | - Add warning log level - Change debug_log_level setting to enumeration string - Map Irrlicht log events to MT log events - Encapsulate log_* functions and global variables into a class, Logger - Unify dstream with standard logging mechanism - Unify core.debug() with standard core.log() script API
* SAPI: Track last executed mod and include in error messageskwolekr2015-08-121-2/+38
|
* Add minetest.register_on_player_hpchangeTeTpaAka2015-06-131-0/+28
|
* Add minetest.register_on_punchplayerBrandon2015-05-151-0/+1
|
* Fix minetest.clear_* creating new LOCAL table instead of clearing the ↵Tomas Brod2015-04-261-1/+3
| | | | | | | | | | | 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-131-16/+23
| | | | functions too
* Add registered_ores and registered_decorationsShadowNinja2015-01-051-7/+22
|
* Expose mapgen parameters on scripting initkwolekr2014-12-291-1/+6
| | | | | Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
* Add item eat callbackrubenwardy2014-05-261-1/+2
|
* Use "core" namespace internallyShadowNinja2014-05-081-90/+90
|
* Organize builtin into subdirectoriesShadowNinja2014-05-071-0/+410