aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
AgeCommit message (Collapse)Author
2023-02-18Say /setpassword is insecureVitra Suchovich
2022-12-24Add callback on_mapblocks_changedJude Melton-Houghton
2022-12-03Let mods choose a forceload limit (#13002)Jude Melton-Houghton
2022-11-24Add support for attached facedir/4dir nodes (#11432)Wuzzy
2022-11-20Improve ABM and LBM registration error handling (#12969)Jude Melton-Houghton
2022-11-09Fix typos and en_US/en_GB inconsistency in various files (#12902)Abdou-31
2022-10-22Add VoxelArea() constructor (#12886)Jude Melton-Houghton
2022-10-01Add an item pick up callback (2) (#7712)DS
Co-authored-by: SmallJoker <mk939@ymail.com> Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2022-09-28Add zstd compression support (#12515)20kdc
2022-09-26Avoid duplication of mod metadata in memory (#12562)Jude Melton-Houghton
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-18Content ID caching in Lua (#12444)Jude Melton-Houghton
* Cache content IDs in Lua Co-authored-by: sfan5 <sfan5@live.de>
2022-09-16Add paramtype2s for 4 horizontal rotations and 64 colors (#11431)Wuzzy
4dir is like facedir, but only for 4 horizontal directions: NESW. It is identical in behavior to facedir otherwise. The reason why game makers would want to use this over facedir is 1) simplicity and 2) you get 6 free bits. It can be used for things like chests and furnaces and you don't need or want them to "flip them on the side" (like you could with facedir). color4dir is like colorfacedir, but you get 64 colors instead of only 8.
2022-08-13Reassure previous nil behaviour for tiles and special_tiles (#12678)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-08-13Allow buffer argument to VoxelManip:get_light_data (#12682)Jude Melton-Houghton
2022-08-12Fix crash when crafting callbacks return strings (#12685)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-07-31Fix rotation of falling facedir nodes (#12587)Gregor Parzefall
in some cases
2022-07-23Let core.get_mod_storage be called multiple times (#12572)Jude Melton-Houghton
2022-07-14Fix regression & replace more occurrences of vector.new with vector.copy ↵Lars Müller
(#12539)
2022-07-13Animated particlespawners and more (#11545)Lexi Hale
Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
2022-07-09Make `VoxelArea:position()` return a vector with metatable (#12521)AFCMS
2022-07-08Replace deprecated use of `vector.new` with `copy`Lars Müller
2022-07-04Add missing item alias metatables to async environment (#12458)sfan5
2022-07-02Fix error when `item` isn't provided to core.hud_replace_builtin (#12484)rubenwardy
2022-06-28Remove tile_images and special_materials obsolete code (#12455)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-05-29Don't allow banning in singleplayersfan5
fixes #11819
2022-05-22Add relative numbers for commands by prepending ~ (#9588)Wuzzy
* Add relative numbers for commands by prepending ~ * Some builtin code cleanup * Disallow nan and inf in minetest.string_to_area * Remove unused local variable teleportee (makes Luacheck happy) * Clean up core.string_to_pos * Make area parsing less permissive * Rewrite tests as busted tests * /time: Fix negative minutes not working Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2022-05-10Use native packer to transfer globals into async env(s)sfan5
2022-05-09Fix Minetest blaming the wrong mod for errors (#12241)Lars Müller
Covers the case where mods insert their callbacks manually into "minetest.registered_<callbacks>" (often to achieve a particular order of execution).
2022-05-08item_entity: Cache collisionbox for use in on_stepsfan5
I don't have absolute numbers but if calls to get_properties() take up 30%+ of on_step() execution time that's bound to matter.
2022-05-02Async environment for mods to do concurrent tasks (#11131)sfan5
2022-05-02Reorganize some builtin functions in preparation for async envsfan5
2022-04-24Builtin: Allow to revoke unknown privilegesSmallJoker
2022-04-16Send chat error when attemping to /set a secure setting (#12193)olive
Attempting to /set a secure setting will now say that is disallowed. Previously this would shut down the server. Reading secure settings via /set is still allowed.
2022-04-10Fix item entity Z-fightingLars Mueller
2022-04-01Avoid negation of comparison operator (luacheck warning)Dmitry Kostenko
2022-03-05Allow get_sky to return a table (#11963)Zughy
2022-01-31Fix builtin statbar backgroundsLars Mueller
see #12000
2022-01-30Get rid of `basic_debug` last minutesfan5
This isn't a revert but rather just disables the codepaths. also see #12011
2022-01-30Raise max mapgen limit constant to align with mapblock sizesfan5
2022-01-27Builtin: Sanity-check /time inputs (#11993)SmallJoker
This enforces the documented bounds for the /time command.
2021-12-18Don't let HTTP API pass through untrusted functionsfan5
This has been a problem since the first day, oops.
2021-12-15Fix eat sound not playing if eating last of stacksfan5
2021-11-26Implemented disconnect_player (#10492)Corey Powell
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-10-31Fix number of tool uses being off by 1..32767 (#11110)Wuzzy
2021-10-25Fix item duplication if player dies during interact callback (alternative) ↵sfan5
(#11662)
2021-10-22Fix incorrect error message in core.encode_pngsfan5
2021-09-19Add feature table entry for new dynamic media APIsfan5
2021-09-09Dynamic_Add_Media v2 (#11550)sfan5
2021-09-01Fix falling mesh nodes being half size (#11389)Wuzzy
2021-08-27Add group-based tool filtering for node drops (#10141)Treer
Supports both AND and OR requirements, e.g. * "a tool that's in any of these groups" * "a tool that's in all of these groups"