aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
Commit message (Collapse)AuthorAge
* Exposing the zoom key to Lua API (#9903)Lars Müller2020-06-13
| | | Co-authored-by: Raul Ferriz <raul.ferriz@gmail.com>
* Server pushing media at runtime (#9961)sfan52020-06-13
|
* Some vector functions useful for working with rotations (#9572)NetherEran2020-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Restore visual_scale support for nodeboxes (and allfaces) (#9906)Vitaliy2020-06-06
|
* Add disable_jump check for the player's feetMoNTE482020-05-29
|
* Add minetest.is_creative_enabledWuzzy2020-05-29
|
* Rename “Minimal development test” to “Development Test” (#9928)Wuzzy2020-05-26
|
* lua_api.txt: Fix minor typo (#9917)ANAND2020-05-24
|
* Implement spawning particles with node texture appearancesfan52020-05-23
|
* Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid2020-05-23
| | | | | | 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
* Check for valid base64 before decoding (#9904)Lejo12020-05-22
|
* Allow more than 255 biomes, document new maximum (#9855)Paramat2020-05-20
| | | | Change biomemap data type from u8 to u16. New technical (not practical) maximum is 65535 biomes.
* Rework functionality of leveled nodes (#9852)Wuzzy2020-05-19
| | | | Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
* Add ability to scale HUD text (#9814)LoneWolfHT2020-05-19
| | | Add 'size' property to HUD text elements that is used for relative font size calculations.
* Make automatic_rotate relative, allow setting rotation (#8468)ANAND2020-05-16
| | | | | | | | | 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>
* Add mapgen settings to world creation dialog (#9254)Wuzzy2020-05-12
|
* Damage texture modifier (#9833)Lars Müller2020-05-11
| | | Adds a new object property "damage_texture_modifier"
* Add support for statbar “off state” icons (#9462)Wuzzy2020-05-11
| | | | | | | 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>
* FormSpec: Add universal style selector `*` (#9718)v-rob2020-05-06
|
* Expose collided objects in moveresultsfan52020-05-06
| | | | closes #9787
* Rename moveresult speed to velocitySmallJoker2020-05-05
|
* Add 'content_offset' and 'padding' style properties for buttons (#9661)Hugues Ross2020-05-02
| | | | * Add padding and content_offset style properties to buttons
* Add a convention about z_index (#9701)Wuzzy2020-05-02
|
* set_fov: Add support for time-based transitions (#9705)ANAND2020-05-02
|
* Allow connection info to be missing from minetest.get_player_information() ↵sfan52020-05-01
| | | | | | (#9739) fixes #9352 This reverts commit 23c907befea02005e2c0c87fca0131b60aace18a.
* Expose collision information to LuaEntity on_stepsfan52020-04-27
|
* Add server side translations capability (#9733)EvidenceB Kidscode2020-04-25
| | | | * Add server side translations capability
* Document which noise APIs add world seed to noiseparams seed (#9693)Paramat2020-04-17
|
* Add default stack size setting (#8873)SmallJoker2020-04-13
| | | | | New setting "default_stack_max" to alter the default stack sizes of all items when desired. Co-authored-by: Pascal Abresch <nep@packageloss.eu>
* Add scroll_container formspec element (redo) (#9101)DS2020-04-13
| | | | | | | | | 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.
* Play 'player_jump' when player jumps (#9373)Wuzzy2020-04-12
|
* Improve waypoints and add image variant (#9480)Lars Müller2020-04-11
|
* Formspecs: Add state-selection to style elements (#9378)Hugues Ross2020-04-11
|
* Clarify use of minetest.request_insecure_environment() (#9597)rubenwardy2020-04-06
|
* Add allowed_mapgens option in game.conf. (#9263)Wren Turkal2020-04-06
| | | | | | | | 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.
* Some minor Lua API documentation clarifications (#9461)Wuzzy2020-04-06
| | | See #5854
* Add warning to set_sky() docs about unstable dawn and night sky colours (#9578)Paramat2020-04-03
| | | Also clean up confusing double meaning usage of the word 'skybox'.
* Formspec: Mark `hypertext` and markup language as unstablev-rob2020-03-28
|
* Improve documentation of minetest.get_node_drops()sfan52020-03-26
| | | | Also remove the comment saying it could be removed or modified.
* Fix small typos in lua_api.txt (#9546)Dave Chu2020-03-25
|
* Formspecs: Add starting frame to `animated_image` (#9411)v-rob2020-03-16
|
* Fix star visilibity and documentation (since 946c03c6)Jordan Snelling2020-03-08
| | | | | | | Fix memory leak (unused allocation) Fix star rendering Rename sky color struct Fix stars on android Remove extraneous .data() from android star draw
* Fixes around ServerActiveObject on_punch handlingsfan52020-03-05
|
* Fix potential security issue(s), documentation on minetest.deserialize() (#9369)sfan52020-03-05
| | | Also adds an unittest
* set_sky improvements, set_sun, set_moon and set_starsJordach2020-03-05
|
* Fix pathfinder bugs: returning nil frequently, broken A*, jump through solid ↵Wuzzy2020-03-05
| | | | | | | | | | | | | | nodes (#9339) * Fix pathfinder fail when startpos is over air * Note down pathfinder restrictions * Implement real A* search * Pathfinder: Implement buildPath non-recursively * Update find_path documentation * Pathfinder: Check if jump path is unobstructed * Pathfinder: Fix drop check first checking upwards * Pathfinder: Return nil if source or dest are solid * Pathfinder: Use priority queue for open list
* Add multiple element selection to `style` and `style_type` (#9380)v-rob2020-03-01
|
* Fix incorrect spelling in lua_api.txt (#9431)Gao Tiesuan2020-02-26
|
* Documementation: Add advice on lifetime of ObjectRefssfan52020-02-23
|
* Documentation: More precise description of ObjectRef:remove()sfan52020-02-23
|