aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
Commit message (Collapse)AuthorAge
* 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
|
* Degrotate support for mesh nodes (#7840)Vitaliy2021-03-30
|
* Clean up various misleading and/or confusing messages and texts related to ↵Wuzzy2021-03-29
| | | | priv changes (#11126)
* Translate chatcommand delay message and replace minetest with core (#11113)HybridDog2021-03-26
|
* Builtin: Translatable join, leave, profiler msgs (#11064)Wuzzy2021-03-19
|
* Chatcommands: Show the execution time if the command takes a long time (#10472)HybridDog2021-03-13
|
* Fix misleading chat messages of /clearobjects (#10690)Wuzzy2021-03-08
|
* Predict failing placement of ignore nodesWuzzy2021-03-07
|
* Translate builtin (#10693)Wuzzy2021-03-05
| | | | | 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-24
|
* Replace deprecated call to add_player_velocity in builtin (#10968)Elias Fleckenstein2021-02-18
|
* Fix short_description fallback order (#10943)rubenwardy2021-02-17
|
* Replace 'minetest.' with 'core.' in builtinrubenwardy2021-02-11
|
* Revise dynamic_add_media API to better accomodate future changessfan52021-02-01
|
* Fix minetest.dig_node returning true when node isn't diggable (#10890)rubenwardy2021-01-31
|
* Rework use_texture_alpha to provide three opaque/clip/blend modessfan52021-01-29
| | | | | 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-29
| | | | | 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-21
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Implement on_rightclickplayer callback (#10775)JDiaz2021-01-11
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Fix fallnode rotation of wallmounted nodebox/mesh (#10643)Wuzzy2020-12-22
|
* Fix certain connected nodeboxes crashing when fallingsfan52020-12-04
| | | | fixes #10695
* Fix falling image of torchlike if paramtype2="none" (#10612)Wuzzy2020-11-15
|
* Copy position for can_digsfan52020-11-12
| | | | fixes #10514
* Do not set a default for description in itemdef table (#10559)DS2020-11-10
| | | | | * Do not set a default for description in itemdef table * improve documentation
* Add a short_description to be used by mods (#8980)DS2020-10-09
|
* Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog2020-10-06
| | | | | 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>
* Deprecate get_player_velocity and add_player_velocity (#10173)rubenwardy2020-10-04
|
* Lua API: Add register_on_chatcommand to SSM and CSM (#7862)Elijah Duffy2020-10-03
| | | | | | | Allows catching a chatcommand call just after the command and the parameters are parsed but before its existence is checked and before the corresponding function is run. Returning `true` from a callback function will prevent default handling of the command leaving mods to handle the command manually.
* Chatcommand: Show help message if func returns false without messageHybridDog2020-10-03
| | | #9440
* Fix #10349 game crashing if dropped an item with undefined light_source (#10351)Pierre-Yves Rollo2020-08-30
|
* Fix dropped craftitems/tools not using light_source values (#9438)LoneWolfHT2020-08-30
|
* Change `last-login` command to show player name in output (#10263)Emojigit2020-08-06
|
* Falling: Fix error caused by missing param2SmallJoker2020-07-30
| | | | | Falling nodes that were spawned prior the recent falling node changes did not require param2. Default to param2 = 0 when none is found in the node data.