aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
Commit message (Collapse)AuthorAge
* Let core.get_mod_storage be called multiple times (#12572)Jude Melton-Houghton2022-07-23
|
* Fix regression & replace more occurrences of vector.new with vector.copy ↵Lars Müller2022-07-14
| | | | (#12539)
* Animated particlespawners and more (#11545)Lexi Hale2022-07-13
| | | | | Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
* Make `VoxelArea:position()` return a vector with metatable (#12521)AFCMS2022-07-09
|
* Replace deprecated use of `vector.new` with `copy`Lars Müller2022-07-08
|
* Add missing item alias metatables to async environment (#12458)sfan52022-07-04
|
* Fix error when `item` isn't provided to core.hud_replace_builtin (#12484)rubenwardy2022-07-02
|
* Remove tile_images and special_materials obsolete code (#12455)Zughy2022-06-28
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Don't allow banning in singleplayersfan52022-05-29
| | | | fixes #11819
* Add relative numbers for commands by prepending ~ (#9588)Wuzzy2022-05-22
| | | | | | | | | | | | | | | | | | | * 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>
* Use native packer to transfer globals into async env(s)sfan52022-05-10
|
* Fix Minetest blaming the wrong mod for errors (#12241)Lars Müller2022-05-09
| | | Covers the case where mods insert their callbacks manually into "minetest.registered_<callbacks>" (often to achieve a particular order of execution).
* item_entity: Cache collisionbox for use in on_stepsfan52022-05-08
| | | | | 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.
* Async environment for mods to do concurrent tasks (#11131)sfan52022-05-02
|
* Reorganize some builtin functions in preparation for async envsfan52022-05-02
|
* Builtin: Allow to revoke unknown privilegesSmallJoker2022-04-24
|
* Send chat error when attemping to /set a secure setting (#12193)olive2022-04-16
| | | | | 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.
* Fix item entity Z-fightingLars Mueller2022-04-10
|
* Avoid negation of comparison operator (luacheck warning)Dmitry Kostenko2022-04-01
|
* Allow get_sky to return a table (#11963)Zughy2022-03-05
|
* Fix builtin statbar backgroundsLars Mueller2022-01-31
| | | | see #12000
* Get rid of `basic_debug` last minutesfan52022-01-30
| | | This isn't a revert but rather just disables the codepaths. also see #12011
* Raise max mapgen limit constant to align with mapblock sizesfan52022-01-30
|
* Builtin: Sanity-check /time inputs (#11993)SmallJoker2022-01-27
| | | This enforces the documented bounds for the /time command.
* Don't let HTTP API pass through untrusted functionsfan52021-12-18
| | | | This has been a problem since the first day, oops.
* Fix eat sound not playing if eating last of stacksfan52021-12-15
|
* Implemented disconnect_player (#10492)Corey Powell2021-11-26
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Fix number of tool uses being off by 1..32767 (#11110)Wuzzy2021-10-31
|
* Fix item duplication if player dies during interact callback (alternative) ↵sfan52021-10-25
| | | | (#11662)
* Fix incorrect error message in core.encode_pngsfan52021-10-22
|
* Add feature table entry for new dynamic media APIsfan52021-09-19
|
* Dynamic_Add_Media v2 (#11550)sfan52021-09-09
|
* Fix falling mesh nodes being half size (#11389)Wuzzy2021-09-01
|
* Add group-based tool filtering for node drops (#10141)Treer2021-08-27
| | | | | | 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"
* Remove statement semicolons from a lua scripthecks2021-08-09
|
* Add a simple PNG image encoder with Lua API (#11485)hecks2021-07-29
| | | | | | | | | * 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>
* Add wallmounted support for plantlike and plantlike_rooted nodes (#11379)Wuzzy2021-07-15
|
* Add API for mods to hook liquid transformation events (#11405)Warr10242021-07-09
| | | | | | | | | 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.
* Run on_grant and on_revoke callbacks after privs change (#11387)AFCMS2021-06-30
| | | Callbacks were run too early. This changes the order to call after the privs are updated.
* Require 'basic_debug' priv to view gameplay-relevant debug info, require ↵Wuzzy2021-06-24
| | | | | 'debug' priv to view wireframe (#9315) Fixes #7245.
* Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)sfence2021-06-20
| | | This check can be used by ABM to reduce CPU usage.
* Message for empty list output in /haspriv & /mods (#11149)Wuzzy2021-06-12
|
* falling.lua - Fix Meshnodes Being Too Big (#11307)benrob03292021-06-12
|
* Add metatables to lua vectors (#11039)DS2021-06-04
| | | Add backwards-compatible metatable functions for vectors.
* Use safe_file_write to save forceloaded blockssfan52021-05-30
|
* Fix misleading /shutdown command syntaxWuzzy2021-05-29
|
* Fix rotation for falling mesh degrotate nodes (#11159)Wuzzy2021-04-28
|
* Put torch/signlike node on floor if no paramtype2 (#11074)Wuzzy2021-04-20
|
* Also return the ObjectRef from minetest.spawn_falling_node() (#11184)benrob03292021-04-13
|
* Add entry in features table for degrotate changessfan52021-03-30
|