aboutsummaryrefslogtreecommitdiff
path: root/builtin
Commit message (Collapse)AuthorAge
* Fix breath_bar scaling; delay breath_bar hiding by one second (#8271)ANAND2020-04-28
| | | | | PLAYER_MAX_BREATH_DEFAULT was earlier set to 11, so that 10 bubbles are shown before the breath bar disappears. Now, PLAYER_MAX_BREATH_DEFAULT is set to 10, and the breath_bar scaling code in builtin has been tweaked to show all 10 bubbles before hiding the breath_bar
* Rewrite builtin item entity to use collision infosfan52020-04-27
| | | | fixes #8967
* Expose collision information to LuaEntity on_stepsfan52020-04-27
|
* builtin: Correctly indicate failure in /spawnentitysfan52020-04-27
|
* Add new command /revokeme <priv> (#9584)David Leal2020-04-26
|
* minetest.serialize: Reversible number serialization (#9722)HybridDog2020-04-22
| | | | | | | * minetest.serialize: Reversible number to string conversion The %a format is not supported in Lua 5.1. This commit also adds two tests for number serialization.
* Add default stack size setting (#8873)SmallJoker2020-04-13
| | | | | New setting "default_stack_max" to alter the default stack sizes of all items when desired. Co-authored-by: Pascal Abresch <nep@packageloss.eu>
* Fix delayed error message in start game tabrubenwardy2020-04-12
|
* Allow to select en as language in settings menu (#9604)DS2020-04-08
| | | fixes #9599
* Allow relative directories for `screenshot_path`, tweak default path (#9122)Hugo Locurcio2020-04-06
| | | | | | | This will likely be more intuitive for users and should play better with sandboxed distributions such as Flatpak. In addition, the screenshot directory will now be created if it doesn't exist already.
* Add allowed_mapgens option in game.conf. (#9263)Wren Turkal2020-04-06
| | | | | | | | The game.conf has a disallowed_mapgens option. However, some games require a certain mapgen to be used, like the CTF plugin. This change adds an option to specify allowed mapgens so that the setting can be specified in a way that needn't be updated as map generators are added to Minetest.
* Update credits for 5.2.0 (#9593)rubenwardy2020-04-05
|
* Builtin: Make item entities glow less (#9594)sfan52020-04-04
| | | minor adjustment to #9200
* Ignore near_plane setting on non-Android platforms (#8749)ANAND2020-03-28
| | | Camera's near-plane will be hard-coded to 0.1 on all non-Android platforms. The upper-bound of this setting has been reduced to 0.25, as 0.5 is just way too high.
* Add comments for translators (#9510)Wuzzy2020-03-20
| | | | | * Add translator comments for "special" strings * Add translator comments for some "tricky" strings
* Fix some chatcommands not returning a value (#9503)Wuzzy2020-03-14
|
* Cleanup global namespace pollution in builtin (#9451)Wuzzy2020-03-06
|
* Fix potential security issue(s), documentation on minetest.deserialize() (#9369)sfan52020-03-05
| | | Also adds an unittest
* Fix pathfinder bugs: returning nil frequently, broken A*, jump through solid ↵Wuzzy2020-03-05
| | | | | | | | | | | | | | nodes (#9339) * Fix pathfinder fail when startpos is over air * Note down pathfinder restrictions * Implement real A* search * Pathfinder: Implement buildPath non-recursively * Update find_path documentation * Pathfinder: Check if jump path is unobstructed * Pathfinder: Fix drop check first checking upwards * Pathfinder: Return nil if source or dest are solid * Pathfinder: Use priority queue for open list
* Profiler: Fix wrong function name for entitiessfan52020-02-23
|
* Move core.get_connected_players() implementation to C++sfan52020-02-23
| | | | | Keeping the ObjectRefs around in a table isn't ideal and this allows removing the somewhat nonsensical is_player_connected() added in 86ef7147.
* Falling nodes: Add support for facedir, colorfacedir, wallmounted, ↵Wuzzy2020-02-22
| | | | colorwallmounted, color, airlike, signlike, torchlike and glow (#9205)
* Builtin: Fix error by digging unknown nodesSmallJoker2020-02-16
|
* Convert sound_play uses in builtin to ephemeralsfan52020-02-01
|
* Let node 'place' and 'dug' sounds be heard by other playerssfan52020-02-01
|
* Add table.shuffle (#8299)HybridDog2020-02-01
|
* Update settingtypes.txt for new languagesrubenwardy2020-01-24
|
* Add Lua unit tests to builtin using busted (#9184)rubenwardy2020-01-18
|
* Add table.key_value_swap (#9248)HybridDog2020-01-04
|
* Remove Mapgen V7 floatlands in preparation for new implementation (#9238)Paramat2020-01-04
| | | | Preserve the floatland flag of existing worlds, to be used again when the new implementation is added.
* Fix item eat sound not played if last item (#9239)Wuzzy2019-12-24
|
* Allow wave_heights up to two nodes. #9220Lars Hofhansl2019-12-21
|
* /privs: Delimit output list of privs with commas (#9224)ANAND2019-12-20
|
* Builtin: Make dropped light_source nodes glow (#9200)Wuzzy2019-12-19
|
* Make core.item_place_node return position of placed node. (#7713)Bluebird2019-12-18
|
* Correct documentation around minetest.item_placesfan52019-12-16
| | | | | The code that calls minetest.item_place_object was removed in 2013 in commit fc61c8809b9a1d47d9f117446764107a56cec956.
* Fix luacheck errorsrubenwardy2019-12-07
|
* Use a safer implementation of gsub in core.chat_format_message (#9133)ANAND2019-11-25
| | | This search-and-replace implementation does not use Lua pattern-matching
* Randomwalk cave liquids: Remove deprecated 'lava depth' parameter (#9105)Paramat2019-11-18
| | | | | | | | | Low-disruption first step towards removing the hardcoded cave liquid code. Since MT 5.0.0 cave liquids can be defined and located by biome definitions instead. In games that do not yet use biome definitions to define and locate cave liquids (MTGame does), lava will now appear below y = water_level - 256 instead of below 'lava depth' (usually y = -256). Therefore no change in most mapgens if using the default 'lava depth'.
* Tunnels: Completely disable generation when 'cave width' >= 10.0 (#9093)Paramat2019-11-09
| | | | | | | | | Previously, the only way to disable the 3D noise tunnels was to set 'cave width' > 1.0, however doing so did not disable the very intensive noise calculations or the generation loop. All the other types of cave generation (randomwalk caves, caverns) can already be independently and completely disabled. This feature is now needed more because the small randomwalk caves are now available for use as an alternative to the 3D noise tunnels.
* Randomwalk caves: Add parameters for number, proportion flooded. Allow small ↵Paramat2019-11-08
| | | | | | | | | | | | | | caves (#8928) Add mapgen parameters to set the range of the random number of randomwalk caves per mapchunk, and to set the proportion that are flooded with liquids. Default values are, for now, unchanged from the previous hardcoded values. Add parameters to allow small randomwalk caves Disabled by default for now as they have never been present in the non-mgv6 mapgens.
* Improve documentation around banning (#9088)sfan52019-11-05
| | | | | * Fix ban chatcommand description * Correct ban API documentation
* Formspec: add hypertext elementPierre-Yves Rollo2019-11-03
|
* Builtin: Improve /clearobjects message (#9084)Alistair Findlay2019-11-02
|
* Change some usages of "deprecated" to "obsolete" (#9062)random-geek2019-10-29
| | | | "Deprecated" means that something is still in use, but is unsupported and needs to be removed. "Obsolete" means it is already out of use.
* Add help texts for settings that lack one (#9007)Wuzzy2019-10-25
|
* Improve light curve parameter limits and documentation (#9054)Paramat2019-10-24
| | | | | | | | | | | | | Revert gamma upper limit to 3.0 because that was raised based on a misunderstanding and had no benefit. A sane upper limit is needed as players on a competitive server tend to use the maximum. Set gamma lower limit to 0.33 for consistency with 3.0. Set sane limits on alpha, beta, boost and enforce these in code to limit values entered in minetest.conf and to avoid easy cheating by editing settingtypes.txt. Improve documentation and 'readable' setting names. Clarify that gamma does not significantly affect natural night light. light.cpp: Various codestyle and comment improvements.
* Settingtypes.txt: Various improvements (#9047)Paramat2019-10-14
|
* Fix rotate_node to return the correct itemstack.Aaron Suen2019-10-13
| | | | | | | All on_* hooks that return an itemstack are NOT guaranteed to modify and return the original stack. We cannot count on the behavior of the existing builtin definitions not to be overridden by game/mod logic.
* Merge pull request #8166 from Warr1024/fix7020Warr10242019-10-05
| | | Fix (or workaround?) for 'Falling nodes with node inventory cause crash when unloaded'