aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix documented default colors for set_skyHugues Ross2021-07-141-3/+3
|
* Fix typo in lua_api.txthecktest2021-07-101-1/+1
|
* Use `persistence` instead of `persist` in NoiseParams examplesLean Rada2021-07-101-7/+7
|
* Add API for mods to hook liquid transformation events (#11405)Warr10242021-07-091-0/+6
| | | | | | | | | 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-221-0/+3
|
* Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)sfence2021-06-201-0/+7
| | | This check can be used by ABM to reduce CPU usage.
* Add metatables to lua vectors (#11039)DS2021-06-041-8/+51
| | | Add backwards-compatible metatable functions for vectors.
* Add core.compare_block_status function (#11247)SmallJoker2021-05-301-0/+13
| | | 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-301-1/+3
| | | Implement proper padding character checks
* UnitSAO: Prevent circular attachmentsSmallJoker2021-05-291-0/+2
|
* Improve liquid documentation (#11158)Wuzzy2021-05-061-2/+26
|
* Add `minetest.colorspec_to_colorstring` (#10425)Vincent Robinson2021-04-231-3/+5
|
* Put torch/signlike node on floor if no paramtype2 (#11074)Wuzzy2021-04-201-5/+11
|
* Also return the ObjectRef from minetest.spawn_falling_node() (#11184)benrob03292021-04-131-1/+1
|
* Modifying fall damage via armor group (#11080)Wuzzy2021-04-111-2/+13
| | | 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-051-0/+10
| | | 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-021-1/+1
|
* Add `math.round` and fix `vector.round` (#10803)Vincent Robinson2021-04-021-0/+3
|
* Block & report player self-interaction (#11137)Lars Müller2021-03-301-0/+1
|
* Add entry in features table for degrotate changessfan52021-03-301-0/+3
|
* Degrotate support for mesh nodes (#7840)Vitaliy2021-03-301-3/+8
|
* lua_api.txt: Fix style selector examplesHugues Ross2021-03-211-6/+6
|
* GUIScene: Clear depth buffer + replace deprecated clearZBuffer callsJean-Patrick Guerrero2021-03-161-1/+2
|
* Slap u64 on everything time-y (#10984)Lars Müller2021-02-241-1/+0
|
* Allow overwriting media files of dependencies (#10752)DS2021-02-231-0/+3
|
* Add nametag background setting and object property (#10937)rubenwardy2021-02-171-4/+14
|
* Fix short_description fallback order (#10943)rubenwardy2021-02-171-6/+7
|
* Fix documentation of formspec sound style (#10913)Wuzzy2021-02-041-5/+5
|
* Revise dynamic_add_media API to better accomodate future changessfan52021-02-011-10/+12
|
* Preserve immortal group for players when damage is disabledsfan52021-01-311-2/+3
|
* Fix minetest.dig_node returning true when node isn't diggable (#10890)rubenwardy2021-01-311-0/+2
|
* Rework use_texture_alpha to provide three opaque/clip/blend modessfan52021-01-291-4/+14
| | | | | 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-291-1/+2
| | | | | 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-271-2/+2
|
* FormSpec: Add list spacing, slot size, and noclip (#10083)Vincent Robinson2021-01-231-1/+7
| | | | | | | | | * 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-211-11/+12
|
* Document how to make nametags background disappear on players' head (#10783)Zughy2021-01-111-1/+5
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Implement on_rightclickplayer callback (#10775)JDiaz2021-01-111-3/+7
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Add on_deactivate callback for luaentities (#10723)hecks2021-01-021-0/+2
|
* Clarify documentation of minetest.get_modpath and minetest.get_modnames (#10771)OgelGames2021-01-021-5/+8
|
* Add minetest.get_objects_in_area (#10668)Elias Fleckenstein2020-12-291-0/+3
|
* Documentation for highest formspec_version[] and changelog (#10592)DS2020-12-181-0/+17
|
* Formspec: Allow to specify frame loop for model[] (#10679)Thomas--S2020-12-151-1/+5
| | | 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-151-0/+7
|
* Various documentation fixes (#10692)SmallJoker2020-12-101-2/+18
| | | | | | | 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-041-1/+3
| | | 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-231-0/+5
|
* Do not set a default for description in itemdef table (#10559)DS2020-11-101-5/+16
| | | | | * Do not set a default for description in itemdef table * improve documentation
* Fix object interaction distance not being checked (#10547)rubenwardy2020-11-091-2/+2
|
* Add model[] formspec element (#10320)SmallJoker2020-11-041-0/+16
| | | | | | 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>