aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
AgeCommit message (Collapse)Author
2021-07-25Document glasslikeliquidlevel merge bits (#11479)random-geek
2021-07-15Add wallmounted support for plantlike and plantlike_rooted nodes (#11379)Wuzzy
2021-07-14Fix documented default colors for set_skyHugues Ross
2021-07-10Fix typo in lua_api.txthecktest
2021-07-10Use `persistence` instead of `persist` in NoiseParams examplesLean Rada
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-22Document hypertext escaping (#11374)Wuzzy
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-04Add metatables to lua vectors (#11039)DS
Add backwards-compatible metatable functions for vectors.
2021-05-30Add core.compare_block_status function (#11247)SmallJoker
Makes it possible to check the status of the mapblock in a future-extensible way.
2021-05-30Fix base64 validation and add unittests (#10515)Lars Müller
Implement proper padding character checks
2021-05-29UnitSAO: Prevent circular attachmentsSmallJoker
2021-05-06Improve liquid documentation (#11158)Wuzzy
2021-04-23Add `minetest.colorspec_to_colorstring` (#10425)Vincent Robinson
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-04-11Modifying fall damage via armor group (#11080)Wuzzy
Adds a new fall_damage_add_percent armor group which influences the fall damage in addition to the existing node group.
2021-04-05Add vector.to_string and vector.from_string (#10323)DS
Writing vectors as strings is very common and should belong to `vector.*`. `minetest.pos_to_string` is also too long to write, implies that one should only use it for positions and leaves no spaces after the commas.
2021-04-02Sort out cURL timeouts and increase defaultsfan5
2021-04-02Add `math.round` and fix `vector.round` (#10803)Vincent Robinson
2021-03-30Block & report player self-interaction (#11137)Lars Müller
2021-03-30Add entry in features table for degrotate changessfan5
2021-03-30Degrotate support for mesh nodes (#7840)Vitaliy
2021-03-21lua_api.txt: Fix style selector examplesHugues Ross
2021-03-16GUIScene: Clear depth buffer + replace deprecated clearZBuffer callsJean-Patrick Guerrero
2021-02-24Slap u64 on everything time-y (#10984)Lars Müller
2021-02-23Allow overwriting media files of dependencies (#10752)DS
2021-02-17Add nametag background setting and object property (#10937)rubenwardy
2021-02-17Fix short_description fallback order (#10943)rubenwardy
2021-02-04Fix documentation of formspec sound style (#10913)Wuzzy
2021-02-01Revise dynamic_add_media API to better accomodate future changessfan5
2021-01-31Preserve immortal group for players when damage is disabledsfan5
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-29Clarify key_value_swap's edge case (#10799)Graham Northup
In compiler design especially, leaving behavior as "undefined" is a _strong_ condition that basically states that all possible integrity is violated; it's the kind of thing that happens when, say, dereferencing a pointer with unknown provenance, and most typically leads to a crash, but can result in all sorts of spectacular errors--thus, "it is undefined" how your program will melt down. The pure-Lua implementation of `key_value_swap` does not permit UB _per se_ (assuming the implementation of Lua itself is sound), but does deterministically choose the value to which a key is mapped (the last in visitation order wins--since visitation order is arbitrary, _some_ value _will_ be chosen). Most importantly, the program won't do something wildly unexpected.
2021-01-27Consistently use "health points" (#10868)Zughy
2021-01-23FormSpec: Add list spacing, slot size, and noclip (#10083)Vincent Robinson
* Add list spacing, slot size, and noclip * Simplify StyleSpec * Add test cases Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-21ObjectRef: fix some v3f checks (#10602)Zughy
2021-01-11Document how to make nametags background disappear on players' head (#10783)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>
2021-01-02Add on_deactivate callback for luaentities (#10723)hecks
2021-01-02Clarify documentation of minetest.get_modpath and minetest.get_modnames (#10771)OgelGames
2020-12-29Add minetest.get_objects_in_area (#10668)Elias Fleckenstein
2020-12-18Documentation for highest formspec_version[] and changelog (#10592)DS
2020-12-15Formspec: Allow to specify frame loop for model[] (#10679)Thomas--S
Add the ability to specify an animation frame loop range for the model[] formspec element.
2020-12-15lua_api.txt: Add mod_orgin to node def (#10697)wsor4035
2020-12-10Various documentation fixes (#10692)SmallJoker
set_sky: New feature, keep note about the old syntax get_us_time: Document overflow localplayer: Document "nil" behaviour before initialization collision_box: Safe limit of "1.45"
2020-12-04Cross-reference the node level manipulation functions (#10633)Oblomov
This can help developers find the correct functions to access and manipulate the fluid level.
2020-11-23Add sound to press event of some formspecs elements (#10402)Pierre-Yves Rollo
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