aboutsummaryrefslogtreecommitdiff
path: root/builtin/game (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Builtin: Sanity-check /time inputs (#11993)SmallJoker2022-01-271-5/+4
| | | This enforces the documented bounds for the /time command.
* Don't let HTTP API pass through untrusted functionsfan52021-12-181-2/+3
| | | | This has been a problem since the first day, oops.
* Fix eat sound not playing if eating last of stacksfan52021-12-151-1/+2
|
* Implemented disconnect_player (#10492)Corey Powell2021-11-261-0/+10
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Fix number of tool uses being off by 1..32767 (#11110)Wuzzy2021-10-311-1/+1
|
* Fix item duplication if player dies during interact callback (alternative) ↵sfan52021-10-251-22/+28
| | | | (#11662)
* Fix incorrect error message in core.encode_pngsfan52021-10-221-1/+1
|
* Add feature table entry for new dynamic media APIsfan52021-09-191-0/+1
|
* Dynamic_Add_Media v2 (#11550)sfan52021-09-091-21/+2
|
* Fix falling mesh nodes being half size (#11389)Wuzzy2021-09-011-4/+11
|
* Add group-based tool filtering for node drops (#10141)Treer2021-08-271-1/+34
| | | | | | 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-091-3/+3
|
* Add a simple PNG image encoder with Lua API (#11485)hecks2021-07-291-0/+39
| | | | | | | | | * 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-151-1/+2
|
* Add API for mods to hook liquid transformation events (#11405)Warr10242021-07-091-0/+1
| | | | | | | | | 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-302-6/+7
| | | 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-241-2/+5
| | | | | 'debug' priv to view wireframe (#9315) Fixes #7245.
* Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)sfence2021-06-201-0/+1
| | | This check can be used by ABM to reduce CPU usage.
* Message for empty list output in /haspriv & /mods (#11149)Wuzzy2021-06-121-4/+14
|
* falling.lua - Fix Meshnodes Being Too Big (#11307)benrob03292021-06-121-5/+4
|
* Add metatables to lua vectors (#11039)DS2021-06-046-85/+73
| | | Add backwards-compatible metatable functions for vectors.
* Use safe_file_write to save forceloaded blockssfan52021-05-301-7/+2
|
* Fix misleading /shutdown command syntaxWuzzy2021-05-291-8/+42
|
* Fix rotation for falling mesh degrotate nodes (#11159)Wuzzy2021-04-281-0/+8
|
* Put torch/signlike node on floor if no paramtype2 (#11074)Wuzzy2021-04-201-9/+6
|
* Also return the ObjectRef from minetest.spawn_falling_node() (#11184)benrob03292021-04-131-1/+1
|
* Add entry in features table for degrotate changessfan52021-03-301-0/+1
|
* Degrotate support for mesh nodes (#7840)Vitaliy2021-03-301-1/+5
|
* Clean up various misleading and/or confusing messages and texts related to ↵Wuzzy2021-03-292-25/+85
| | | | priv changes (#11126)
* Translate chatcommand delay message and replace minetest with core (#11113)HybridDog2021-03-261-6/+7
|
* Builtin: Translatable join, leave, profiler msgs (#11064)Wuzzy2021-03-191-3/+5
|
* Chatcommands: Show the execution time if the command takes a long time (#10472)HybridDog2021-03-131-2/+18
|
* Fix misleading chat messages of /clearobjects (#10690)Wuzzy2021-03-081-3/+5
|
* Predict failing placement of ignore nodesWuzzy2021-03-071-0/+1
|
* Translate builtin (#10693)Wuzzy2021-03-053-275/+322
| | | | | This PR is the second attempt to translate builtin. Server-sent translation files can be added to `builtin/locale/`, whereas client-side translations depend on gettext.
* Restructure teleport command code (#9706)HybridDog2021-02-241-92/+82
|
* Replace deprecated call to add_player_velocity in builtin (#10968)Elias Fleckenstein2021-02-181-1/+1
|
* Fix short_description fallback order (#10943)rubenwardy2021-02-171-4/+0
|
* Replace 'minetest.' with 'core.' in builtinrubenwardy2021-02-112-3/+3
|
* Revise dynamic_add_media API to better accomodate future changessfan52021-02-011-0/+23
|
* Fix minetest.dig_node returning true when node isn't diggable (#10890)rubenwardy2021-01-311-2/+4
|
* Rework use_texture_alpha to provide three opaque/clip/blend modessfan52021-01-291-0/+1
| | | | | The change that turns nodeboxes and meshes opaque when possible is kept, as is the compatibility code that warns modders to adjust their nodedefs.
* Drop never documented 'alpha' property from nodedefsfan52021-01-291-1/+0
| | | | | Includes minimal support code for practical reasons. We'll need it for a slightly different purpose next commit.
* Removed some obsolete code (#10562)Zughy2021-01-213-35/+1
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Implement on_rightclickplayer callback (#10775)JDiaz2021-01-111-0/+1
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Fix fallnode rotation of wallmounted nodebox/mesh (#10643)Wuzzy2020-12-221-13/+27
|
* Fix certain connected nodeboxes crashing when fallingsfan52020-12-041-1/+1
| | | | fixes #10695
* Fix falling image of torchlike if paramtype2="none" (#10612)Wuzzy2020-11-151-1/+8
|
* Copy position for can_digsfan52020-11-121-1/+2
| | | | fixes #10514
* Do not set a default for description in itemdef table (#10559)DS2020-11-101-3/+1
| | | | | * Do not set a default for description in itemdef table * improve documentation