aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
Commit message (Collapse)AuthorAge
* Fix typo in lua_api.txthecktest2021-07-10
|
* Use `persistence` instead of `persist` in NoiseParams examplesLean Rada2021-07-10
|
* 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.
* Document hypertext escaping (#11374)Wuzzy2021-06-22
|
* 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.
* Add metatables to lua vectors (#11039)DS2021-06-04
| | | Add backwards-compatible metatable functions for vectors.
* Add core.compare_block_status function (#11247)SmallJoker2021-05-30
| | | Makes it possible to check the status of the mapblock in a future-extensible way.
* Fix base64 validation and add unittests (#10515)Lars Müller2021-05-30
| | | Implement proper padding character checks
* UnitSAO: Prevent circular attachmentsSmallJoker2021-05-29
|
* Improve liquid documentation (#11158)Wuzzy2021-05-06
|
* Add `minetest.colorspec_to_colorstring` (#10425)Vincent Robinson2021-04-23
|
* 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
|
* Modifying fall damage via armor group (#11080)Wuzzy2021-04-11
| | | Adds a new fall_damage_add_percent armor group which influences the fall damage in addition to the existing node group.
* Add vector.to_string and vector.from_string (#10323)DS2021-04-05
| | | 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.
* Sort out cURL timeouts and increase defaultsfan52021-04-02
|
* Add `math.round` and fix `vector.round` (#10803)Vincent Robinson2021-04-02
|
* Block & report player self-interaction (#11137)Lars Müller2021-03-30
|
* Add entry in features table for degrotate changessfan52021-03-30
|
* Degrotate support for mesh nodes (#7840)Vitaliy2021-03-30
|
* lua_api.txt: Fix style selector examplesHugues Ross2021-03-21
|
* GUIScene: Clear depth buffer + replace deprecated clearZBuffer callsJean-Patrick Guerrero2021-03-16
|
* Slap u64 on everything time-y (#10984)Lars Müller2021-02-24
|
* Allow overwriting media files of dependencies (#10752)DS2021-02-23
|
* Add nametag background setting and object property (#10937)rubenwardy2021-02-17
|
* Fix short_description fallback order (#10943)rubenwardy2021-02-17
|
* Fix documentation of formspec sound style (#10913)Wuzzy2021-02-04
|
* Revise dynamic_add_media API to better accomodate future changessfan52021-02-01
|
* Preserve immortal group for players when damage is disabledsfan52021-01-31
|
* 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.
* Clarify key_value_swap's edge case (#10799)Graham Northup2021-01-29
| | | | | 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.
* Consistently use "health points" (#10868)Zughy2021-01-27
|
* FormSpec: Add list spacing, slot size, and noclip (#10083)Vincent Robinson2021-01-23
| | | | | | | | | * Add list spacing, slot size, and noclip * Simplify StyleSpec * Add test cases Co-authored-by: rubenwardy <rw@rubenwardy.com>
* ObjectRef: fix some v3f checks (#10602)Zughy2021-01-21
|
* Document how to make nametags background disappear on players' head (#10783)Zughy2021-01-11
| | | 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>
* Add on_deactivate callback for luaentities (#10723)hecks2021-01-02
|
* Clarify documentation of minetest.get_modpath and minetest.get_modnames (#10771)OgelGames2021-01-02
|
* Add minetest.get_objects_in_area (#10668)Elias Fleckenstein2020-12-29
|
* Documentation for highest formspec_version[] and changelog (#10592)DS2020-12-18
|
* Formspec: Allow to specify frame loop for model[] (#10679)Thomas--S2020-12-15
| | | Add the ability to specify an animation frame loop range for the model[] formspec element.
* lua_api.txt: Add mod_orgin to node def (#10697)wsor40352020-12-15
|
* Various documentation fixes (#10692)SmallJoker2020-12-10
| | | | | | | 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"
* Cross-reference the node level manipulation functions (#10633)Oblomov2020-12-04
| | | This can help developers find the correct functions to access and manipulate the fluid level.
* Add sound to press event of some formspecs elements (#10402)Pierre-Yves Rollo2020-11-23
|
* 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
* Fix object interaction distance not being checked (#10547)rubenwardy2020-11-09
|
* Add model[] formspec element (#10320)SmallJoker2020-11-04
| | | | | | Formspec element to display models, written by @kilbith, rebased and tweaked. Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: sfan5 <sfan5@live.de>
* Clean up l_object.cpp (#10512)Zughy2020-10-22
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>