aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
AgeCommit message (Collapse)Author
2020-08-19Add gradients and borders to FormSpec boxes (#8676)v-rob
2020-08-19Clean up sound_fade (#10119)hecks
Add proper documentation and correct gain reduction calculations. Co-authored-by: hecktest <>
2020-08-15Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2020-08-12Render nodeboxes with opaque material if possible (#10122)sfan5
2020-07-30content_cao: Support texture animation for upright_sprite (#10020)sfan5
2020-07-29Add PUT and DELETE request + specific method value to HTTP API (#9909)Lejo
2020-07-27Play place_failed sound if occupied or cannot attach (#9486)Wuzzy
2020-07-14Implement grouped mode for find_nodes_in_area (#9888)sfan5
plus general improvements to find_node_* functions
2020-07-12Add FormSpec font styling options (#9763)v-rob
* Add FormSpec font styling options * Change multiplication to stof * Remove extraneous check
2020-07-12Allow FormSpec elements to be focused with `set_focus` (#9353)v-rob
This allows you to specify a FormSpec element to set the focus of with "set_focus[<name>;<always set>]".
2020-07-10Formspec: Make dropdowns optionally return event based on index, not value ↵v-rob
(#9496)
2020-06-23Document deprecation of *_hovered and *_pressed styles (#10092)v-rob
2020-06-16Make shading of CAOs optional (#10033)Danila Shutov
2020-06-13Exposing the zoom key to Lua API (#9903)Lars Müller
Co-authored-by: Raul Ferriz <raul.ferriz@gmail.com>
2020-06-13Server pushing media at runtime (#9961)sfan5
2020-06-09Some vector functions useful for working with rotations (#9572)NetherEran
* added vector.rotate * added vector.forward_from_rotation and vector.up_from_rotation * added vector.forward_up_to_rotatiton * fixed some bugs and formatting with vector functions * shortened name of some new vector functions and added documentation * made vector.rotate not require a unit vector as axis * fixed crash with vector.forward_up_to_rot * renamed new vector functions, made vector.rotate apply a rotation matrix, old vector.rotate is now called vector.rotate_around_axis * documented vector function changes * removed some whitespace to appease luacheck * implemented and fixed optimization of vector.rotate_around_axis by SmallJoker * added some unit tests for rotation vector functions * clarified that rotation vectors are in radians and according to the left hand rule * hopefully appeased luacheck * renamed rotation_to_horizontal to forward_at_rotation, rotation_to_vertical to up_at_rotation * handled cases where sin or cos are 0 in rotation vector functions * added more comments * clarified documentation of rotation vector functions * added more unit tests * changed way in which vector.rotate_around_axis is adjusted for left handed coordinate systems * made vector.rotate_around_axis actually left handed * unrolled matrix multiplication * removed vector.forward_at_rotation and vector.up_at_rotation * prettified vector.rotate_around_axis, made previous commits not break anything * removed references to removed vector.forward_at_rotation and vector.up_at_rotation * removed documentation of removed vector functions * clarified documentation and fixed styling of rotation vector functions * restyled comments minorly * spelling fixes and some hopefully better comments * allowed 'up' to be missing from vector.directions_to_rotation and removed requirement for unit vectors as arguments * made vector.rotate_around_axis() right handed again for consistency * documented previous changes * made matrix multiplication actually multiply * renamed vector.directions_to_rotation() to vector.dir_to_rotation() * optimized a distance comparison * Fixed potential false positive in unit tests. Co-authored-by: NetherEran <nethereran@hotmail.com>
2020-06-06Restore visual_scale support for nodeboxes (and allfaces) (#9906)Vitaliy
2020-05-29Add disable_jump check for the player's feetMoNTE48
2020-05-29Add minetest.is_creative_enabledWuzzy
2020-05-26Rename “Minimal development test” to “Development Test” (#9928)Wuzzy
2020-05-24lua_api.txt: Fix minor typo (#9917)ANAND
2020-05-23Implement spawning particles with node texture appearancesfan5
2020-05-23Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid
Replace on_auth_fail callback with more versatile on_authplayer Better clarify account login process in Lua API documentation Change initial timestamp for newly registered accounts to -1
2020-05-22Check for valid base64 before decoding (#9904)Lejo1
2020-05-20Allow more than 255 biomes, document new maximum (#9855)Paramat
Change biomemap data type from u8 to u16. New technical (not practical) maximum is 65535 biomes.
2020-05-19Rework functionality of leveled nodes (#9852)Wuzzy
Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-05-19Add ability to scale HUD text (#9814)LoneWolfHT
Add 'size' property to HUD text elements that is used for relative font size calculations.
2020-05-16Make automatic_rotate relative, allow setting rotation (#8468)ANAND
automatic_rotate does not make sense if it is absolute. Make it relative. To avoid bouncing, set_rotation did not update the client when automatic_rotate was set. That's no longer necessary because the new spinning method applies the rotation on top of the current one, and the updates are necessary for set_rotation to actually transform the object. Co-authored-by: ANAND <ClobberXD@gmail.com> Co-authored-by: Pedro Gimeno <pgimeno@users.noreply.notabug.org>
2020-05-12Add mapgen settings to world creation dialog (#9254)Wuzzy
2020-05-11Damage texture modifier (#9833)Lars Müller
Adds a new object property "damage_texture_modifier"
2020-05-11Add support for statbar “off state” icons (#9462)Wuzzy
This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles. Add "off state" textures to the builtin statbars. Co-authored-by: SmallJoker <mk939@ymail.com>
2020-05-06FormSpec: Add universal style selector `*` (#9718)v-rob
2020-05-06Expose collided objects in moveresultsfan5
closes #9787
2020-05-05Rename moveresult speed to velocitySmallJoker
2020-05-02Add 'content_offset' and 'padding' style properties for buttons (#9661)Hugues Ross
* Add padding and content_offset style properties to buttons
2020-05-02Add a convention about z_index (#9701)Wuzzy
2020-05-02set_fov: Add support for time-based transitions (#9705)ANAND
2020-05-01Allow connection info to be missing from minetest.get_player_information() ↵sfan5
(#9739) fixes #9352 This reverts commit 23c907befea02005e2c0c87fca0131b60aace18a.
2020-04-27Expose collision information to LuaEntity on_stepsfan5
2020-04-25Add server side translations capability (#9733)EvidenceB Kidscode
* Add server side translations capability
2020-04-17Document which noise APIs add world seed to noiseparams seed (#9693)Paramat
2020-04-13Add default stack size setting (#8873)SmallJoker
New setting "default_stack_max" to alter the default stack sizes of all items when desired. Co-authored-by: Pascal Abresch <nep@packageloss.eu>
2020-04-13Add scroll_container formspec element (redo) (#9101)DS
New formspec elements: - `scroll_container[<X>,<Y>;<W>,<H>;<scrollbar name>;<orientation>;<scroll factor>]` - `scroll_container_end[]` Other elements can be embedded in this element. Scrollbar must be placed manually.
2020-04-12Play 'player_jump' when player jumps (#9373)Wuzzy
2020-04-11Improve waypoints and add image variant (#9480)Lars Müller
2020-04-11Formspecs: Add state-selection to style elements (#9378)Hugues Ross
2020-04-06Clarify use of minetest.request_insecure_environment() (#9597)rubenwardy
2020-04-06Add allowed_mapgens option in game.conf. (#9263)Wren Turkal
The game.conf has a disallowed_mapgens option. However, some games require a certain mapgen to be used, like the CTF plugin. This change adds an option to specify allowed mapgens so that the setting can be specified in a way that needn't be updated as map generators are added to Minetest.
2020-04-06Some minor Lua API documentation clarifications (#9461)Wuzzy
See #5854
2020-04-03Add warning to set_sky() docs about unstable dawn and night sky colours (#9578)Paramat
Also clean up confusing double meaning usage of the word 'skybox'.