aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
Commit message (Collapse)AuthorAge
* 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>
* Decouple entity minimap markers from nametags replacing with show_on_minimap ↵sfan52020-10-19
| | | | property (#10443)
* Remove all bump mapping and parallax occlusion related code.Lars2020-10-17
|
* Add ObjectRef:get_children() (#10480)Zughy2020-10-13
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Add a short_description to be used by mods (#8980)DS2020-10-09
|
* Mention texture modifier colorspace (#10112)HybridDog2020-10-08
|
* 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>
* Minimap as HUD element with API controlPierre-Yves Rollo2020-10-04
| | | | | | | Features: * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes() * New HUD elements for displaying minimap with custom size and placing * New minimap mode for displaying a texture instead of the map
* Add First Person Attachments (#10360)Jordan Snelling2020-10-04
| | | | | | Fixes some other third person camera specific attachments. Implements a single new flag for entities to be forced visible in first person mode. Old mods do not need to be updated to use the new flag and are fully backwards compatible.
* Deprecate get_player_velocity and add_player_velocity (#10173)rubenwardy2020-10-04
|
* Add note to docs on how to override privileges (#9792)LoneWolfHT2020-10-03
|
* 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
* Ability to remove minetest.after once set (#10103)tenplus12020-09-23
|
* lua_api.txt: author, release and title fields when downloading from ↵Zughy2020-09-16
| | | | | | ContentDB (#10129) Co-authored-by: Marco <4279489-marco_a@users.noreply.gitlab.com> Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Fix inventory swapping not calling all callbacks (#9923)Lars Müller2020-09-04
| | | | | "Predicts" whether something will be swapped for allow callbacks, then calls callbacks a second time with swapped properties. Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
* Mark multiply and divide with two vectors as deprecated (Schur product and ↵DS2020-09-01
| | | | quotient) (#10329)
* Fix dropped craftitems/tools not using light_source values (#9438)LoneWolfHT2020-08-30
|
* Add compass HUD element (#9312)EvidenceB2020-08-29
| | | | | | Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
* Document normalmap textures (#10096)HybridDog2020-08-29
|
* Add vector.offset (#10321)DS2020-08-29
|
* Improve set_texture_mod documentation (#10339)karamel592020-08-27
| | | Properly documents the select_x_by_camera values
* Load media from subfolders (#9065)DS2020-08-20
|
* Add gradients and borders to FormSpec boxes (#8676)v-rob2020-08-19
|
* Clean up sound_fade (#10119)hecks2020-08-19
| | | | | Add proper documentation and correct gain reduction calculations. Co-authored-by: hecktest <>
* Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND2020-08-15
| | | | Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
* Render nodeboxes with opaque material if possible (#10122)sfan52020-08-12
|
* content_cao: Support texture animation for upright_sprite (#10020)sfan52020-07-30
|
* Add PUT and DELETE request + specific method value to HTTP API (#9909)Lejo2020-07-29
|
* Play place_failed sound if occupied or cannot attach (#9486)Wuzzy2020-07-27
|
* Implement grouped mode for find_nodes_in_area (#9888)sfan52020-07-14
| | | plus general improvements to find_node_* functions
* Add FormSpec font styling options (#9763)v-rob2020-07-12
| | | | | | | * Add FormSpec font styling options * Change multiplication to stof * Remove extraneous check
* Allow FormSpec elements to be focused with `set_focus` (#9353)v-rob2020-07-12
| | | This allows you to specify a FormSpec element to set the focus of with "set_focus[<name>;<always set>]".
* Formspec: Make dropdowns optionally return event based on index, not value ↵v-rob2020-07-10
| | | | (#9496)