aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
AgeCommit message (Collapse)Author
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"
2021-08-09Remove statement semicolons from a lua scripthecks
2021-07-29Add a simple PNG image encoder with Lua API (#11485)hecks
* Add a simple PNG image encoder with Lua API Add ColorSpec to RGBA converter Make a safety wrapper for the encoder Create devtest examples Co-authored-by: hecktest <> Co-authored-by: sfan5 <sfan5@live.de>
2021-07-15Add wallmounted support for plantlike and plantlike_rooted nodes (#11379)Wuzzy
2021-07-09Add API for mods to hook liquid transformation events (#11405)Warr1024
Add API for mods to hook liquid transformation events Without this API, there is no reliable way for mods to be notified when liquid transform modifies nodes and mods are forced to poll for changes. This allows mods to detect changes to flowing liquid nodes and liquid renewal using event-driven logic.
2021-06-30Run on_grant and on_revoke callbacks after privs change (#11387)AFCMS
Callbacks were run too early. This changes the order to call after the privs are updated.
2021-06-24Require 'basic_debug' priv to view gameplay-relevant debug info, require ↵Wuzzy
'debug' priv to view wireframe (#9315) Fixes #7245.
2021-06-20Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)sfence
This check can be used by ABM to reduce CPU usage.
2021-06-12Message for empty list output in /haspriv & /mods (#11149)Wuzzy
2021-06-12falling.lua - Fix Meshnodes Being Too Big (#11307)benrob0329
2021-06-04Add metatables to lua vectors (#11039)DS
Add backwards-compatible metatable functions for vectors.
2021-05-30Use safe_file_write to save forceloaded blockssfan5
2021-05-29Fix misleading /shutdown command syntaxWuzzy
2021-04-28Fix rotation for falling mesh degrotate nodes (#11159)Wuzzy
2021-04-20Put torch/signlike node on floor if no paramtype2 (#11074)Wuzzy
2021-04-13Also return the ObjectRef from minetest.spawn_falling_node() (#11184)benrob0329
2021-03-30Add entry in features table for degrotate changessfan5
2021-03-30Degrotate support for mesh nodes (#7840)Vitaliy