aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
AgeCommit message (Collapse)Author
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
2021-03-29Clean up various misleading and/or confusing messages and texts related to ↵Wuzzy
priv changes (#11126)
2021-03-26Translate chatcommand delay message and replace minetest with core (#11113)HybridDog
2021-03-19Builtin: Translatable join, leave, profiler msgs (#11064)Wuzzy
2021-03-13Chatcommands: Show the execution time if the command takes a long time (#10472)HybridDog
2021-03-08Fix misleading chat messages of /clearobjects (#10690)Wuzzy
2021-03-07Predict failing placement of ignore nodesWuzzy
2021-03-05Translate builtin (#10693)Wuzzy
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.
2021-02-24Restructure teleport command code (#9706)HybridDog
2021-02-18Replace deprecated call to add_player_velocity in builtin (#10968)Elias Fleckenstein
2021-02-17Fix short_description fallback order (#10943)rubenwardy
2021-02-11Replace 'minetest.' with 'core.' in builtinrubenwardy
2021-02-01Revise dynamic_add_media API to better accomodate future changessfan5
2021-01-31Fix minetest.dig_node returning true when node isn't diggable (#10890)rubenwardy
2021-01-29Rework use_texture_alpha to provide three opaque/clip/blend modessfan5
The change that turns nodeboxes and meshes opaque when possible is kept, as is the compatibility code that warns modders to adjust their nodedefs.
2021-01-29Drop never documented 'alpha' property from nodedefsfan5
Includes minimal support code for practical reasons. We'll need it for a slightly different purpose next commit.
2021-01-21Removed some obsolete code (#10562)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2021-01-11Implement on_rightclickplayer callback (#10775)JDiaz
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-12-22Fix fallnode rotation of wallmounted nodebox/mesh (#10643)Wuzzy
2020-12-04Fix certain connected nodeboxes crashing when fallingsfan5
fixes #10695
2020-11-15Fix falling image of torchlike if paramtype2="none" (#10612)Wuzzy
2020-11-12Copy position for can_digsfan5
fixes #10514
2020-11-10Do not set a default for description in itemdef table (#10559)DS
* Do not set a default for description in itemdef table * improve documentation
2020-10-09Add a short_description to be used by mods (#8980)DS
2020-10-06Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog
Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday). Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-10-04Deprecate get_player_velocity and add_player_velocity (#10173)rubenwardy