summaryrefslogtreecommitdiff
path: root/builtin/game
Commit message (Collapse)AuthorAge
* Fix missing localization for objHybridDog2015-12-20
|
* Add on_secondary_use when right clicking an item in the airAlex Ford2015-12-02
|
* Simplify regex used in check_modname_prefix and other improvements.Robert Zenz2015-11-24
| | | | | Simplified the regex used, added comments and changed the error message to contain the correct mod name.
* Log static_spawn error only onceRui2015-11-21
|
* Add the player name to dropped itemsRobert Zenz2015-11-12
| | | | | The player name is now added in the field "dropped_by" on the created entity.
* Improve LuaVoxelManip documentationkwolekr2015-11-07
|
* Add callback parameter for core.emerge_area()kwolekr2015-11-02
|
* minetest. to core.Rui9142015-10-31
|
* Check if hitter has inventory when punching itemBlockMen2015-10-25
| | | | Fixes #3280
* Add more ways to pass data to check_player_privsRobert Zenz2015-10-22
| | | | | | | | | | | The callback can now be invoked with either the player object or name as the first parameter, and with either a table or a list of strings, like this: minetest.check_player_privs(player_name, { shout = true, fly = true }) minetest.check_player_privs(player_name, "shout", "fly") minetest.check_player_privs(player, { shout = true, fly = true }) minetest.check_player_privs(player, "shout", "fly")
* Refactor loggingShadowNinja2015-10-14
| | | | | | | | | - 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
* Localize digprop_err functionRui2015-10-12
|
* Added minetest.wallmounted_to_dirFernando Carmona Varo2015-10-04
|
* Some map border related fixesest312015-09-29
| | | | | | | | | | | | | 1. Check for entity addition success in spawn_item implementation 2. Check for success in item_drop callback, so that the player doesn't lose the item if they are outside bounds and try to drop it. 3. When existing player joins game, check that their position is inside map bounds. If not, set their position to the return value of findSpawnPos(). 4. Make findSpawnPos() respect the border 2 fixes a lua crash if a player drops an item outside map bounds. 3 fixes an assertion crash if a player leaves when being outside map bounds, and then rejoins.
* Add /emergeblocks command and core.emerge_area() Lua APIkwolekr2015-09-23
|
* Small fixes of minetest.has_featureRui2015-09-03
|
* Minor tweaks __builtin:falling_nodeRui2015-09-01
|
* SAPI: Track last executed mod and include in error messageskwolekr2015-08-12
|
* Add ability to specify coordinates for /spawnentityMarcin2015-07-18
|
* Remove reference to deprecated privilegeCraig Davison2015-06-14
|
* Add minetest.register_on_player_hpchangeTeTpaAka2015-06-13
|
* Decrease minetest.after globalstep lagHybridDog2015-06-06
| | | | | | * abort if theres no active timer * only reduce the timer.time of all timers when its necessary * move updating timers_to_add into a seperate function
* Nicer time setting loggingest312015-06-02
| | | | | | | | | | Now logs ACTION[ServerThread]: player sets time to 6:03 instead of ACTION[ServerThread]: player sets time to 6:3
* Added hour:minute format to time commandLeMagnesium2015-05-16
| | | | | * The time command now accepts parameters in the form <hour>:<minute>, and if invoked with no parameters returns the current time in said format.
* Add minetest.register_on_punchplayerBrandon2015-05-15
|
* Don't crash if an item gets dropped into unloaded spacetenplus12015-05-15
| | | | Items dropped into unloaded map space will crash game so here's a fix...
* Item entity merging refactorest312015-05-15
| | | | Don't ident too much, and add a comment.
* Add code to support raillike group namesNovatux2015-05-12
|
* 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.
* Add reason to kicked log message and use present tenseest312015-04-05
|
* Radius parameter for /deleteblocks hereSmallJoker2015-03-05
|
* Add /setpassword and /clearpassword loggingest312015-02-27
|
* Fix unused (and so, broken) enable_rollback_recording. This option must be ↵Loic Blot2015-02-18
| | | | | | reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable) ok @ShadowNinja
* Fix minetest.item_eat's replace_with_item, fixes #2292rubenwardy2015-02-16
|
* Hud: Modify Y-positioning of health/breath starbars to prevent overlapping ↵kwolekr2015-02-08
| | | | with Hotbar
* Prevent null concatenation when /deleteblocks is provided an incorrect formatkwolekr2015-01-27
|
* Simplify deleteblocks chat command argument parsingkwolekr2015-01-15
| | | | | Add optional core.pos_to_string decimal place rounding Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
* Add ability to delete MapBlocks from mapkwolekr2015-01-15
| | | | Also add a Lua API and chatcommand for this
* builtin: Unify register wrapper functions and wrap clear_registered_* ↵kwolekr2015-01-13
| | | | functions too
* Remove builtin_biome.lua from builtin and add simple biome minimalparamat2015-01-11
|
* 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()
* Temporarily set default biome in builtinkwolekr2014-12-18
| | | | | This should probably be removed when minetest_game has proper biomes. If I hear "the whole map is just stone!" again after this, I am going to detonate.
* Make dropped items larger and rotate fasterCalinou2014-12-04
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Fix some undeclared global variablesCraig Davison2014-11-26
|
* Add strict moduleShadowNinja2014-11-19
| | | | Also fix leaking globals found by it.
* Improved VoxelArea variable locality, thus performanceWouters Dorian2014-11-14
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Add last_login field to auth.txtRyan Newell2014-11-08
| | | | Also shortens some related code and adds more parameters to string.split.
* Add a better error message when trying to teleport another player without ↵LeMagnesium2014-10-07
| | | | bring privileges
* Use round if falling node is misplacedSmallJoker2014-09-28
| | | | Fixes: http://i.imgur.com/arAWw1i.png (middle-right)