aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
AgeCommit message (Collapse)Author
2018-03-14Lua_api.txt: Split long lines part 4paramat
2018-03-13Rename 'subgame' to 'game'paramat
2018-03-13Lua_api.txt: Improve and complete drawtype documentationparamat
Move documentation of mesh and plantlike_rooted drawtypes into main section.
2018-03-11Lua_api.txt: Split long lines part 3paramat
2018-03-11Biome API: Add 'get_biome_name(biome_id)' APIparamat
Change name of default biome to a more suitable lowercase 'default'.
2018-03-10Lua_api.txt: Split long lines part 2paramat
2018-03-10Spawn level: Add 'get_spawn_level(x, z)' APIparamat
Returns a suitable player spawn y co-ordinate for unmodified terrain.
2018-03-09Lua_api.txt: Split long lines part 1paramat
2018-03-09Gennotify docs: Clarify returned positions for decorationsparamat
2018-03-09Biomes: Document xyz biome limitsparamat
2018-03-05Fix bad markdown in lua_api.txtpauloue
2018-03-03Gennotify: Add 'minetest.get_decoration_id' APIparamat
Returns the decoration ID for the provided decoration name string. For use with gennotify, to know the decoration IDs for use in 'minetest.set_gen_notify'.
2018-02-27Place schematic (on vmanip): Enable use of 'place center' flagsparamat
For 'place schematic' and 'place schematic on vmanip' APIs. Fix 'place center' code to properly centre schematics. Fix some comments.
2018-02-25is_area_protected: Rename from intersects_protection (#7073)SmallJoker
* is_area_protected: Rename from intersects_protection Return first protected position Clarify docs: Mods may overwrite the function
2018-02-21Find nodes in area (under air): Raise volume limit and document itparamat
2018-02-18Lua API documentation: Fix spelling (#7046)pauloue
2018-02-15Add `on_auth_fail` callback (#7039)red-001
Called when a client fails to supply the correct password for the account it's attempting to login as.
2018-02-05Add minetest.is_player (#7013)you
* Add minetest.is_player * First use for is_player
2018-02-05Lua_api.txt: Document 'wielditem' visual in object propertiesparamat
2018-01-30Add minetest.bulk_set_node call + optimize Environment::set_node call (#6958)Loïc Blot
* Add minetest.bulk_set_node call + experimental mod unittest * Optimize set_node function to prevent triple lookup on contentfeatures Do only one lookup for old, and try to merge old and new lookup if node is same than previous node * Add benchmark function + optimize vector population to have real results
2018-01-23Intersects_protection(): Move from Minetest Game to builtin (#6952)Paramat
A useful function that applies 'core.is_protected()' to a 3D lattice of points evenly spaced throughout a defined volume, with a parameter for the maximum spacing of points.
2018-01-16Biomes: Add 'get heat', 'get humidity', 'get biome data' APIsparamat
'get biome data' returns biome id, heat and humidity. Clean up nearby lines in lua_api.txt.
2018-01-16Load a texturepack from the 'textures' subfolder of a gamered-001
2018-01-15Lua_api.txt: Various improvementsparamat
Improve documentation for formspec 'position' and 'anchor' elements. Add missing documentation of 'animation' and 'glow' for particle spawners.
2018-01-13Lua_api.txt: Improve bullet point indentation consistencyezhh
2018-01-13Lua_api.txt: Add chat command params infoezhh
2018-01-12Lua_api.txt: Fix, improve and add to Object Properties documentationparamat
Correct 'automatic rotate' to be a number instead of a bool.
2018-01-12Lua_api.txt: Improve and complete ABM documentationparamat
Document 'active object count (wider)'.
2018-01-07Lua API docs: Add warning that schematic placing is cachedSokomine
2018-01-07Fix naming conventions of noise userdatarubenwardy
2018-01-05Biomes: Add vertical biome blend (#6853)Paramat
Add 'vertical blend' parameter to biome registration that defines how many nodes above the biome's 'y max' limit the blend will extend.
2018-01-03Connected Nodeboxes: Add `disconnected` boxesThomas--S
The `disconnected_*` boxes are the opposites of the `connect_*` ones, i.e. when a node has no suitable neighbours on the respective side, the according disconnected box is drawn. * disconnected_top * disconnected_bottom * disconnected_front * disconnected_left * disconnected_back * disconnected_right * disconnected (when there is *no* neighbour) * disconnected_sides (when there are *no* neighbours to the sides)
2017-12-26Line_of_sight: Improve using VoxelLineIteratorDániel Juhász
This commit rewrites line_of_sight with VoxelLineIterator. Stepsize is no longer needed, the results will be always accurate.
2017-12-21Vector functions: Fix vector.direction() function, improve documentation (#6801)Paramat
vector.direction() now returns a normalised vector with direction p1 to p2.
2017-12-17Allow 'default' parameter in 'settings:get_bool' functionJordan Irwin
Default value is used when the setting key is not found in the config file. If default value is not set, 'nil' is returned. #6188
2017-12-16Give subgames the ability to disallow specific mapgens (#6792)Ezhh
2017-12-14Add callback to preserve node metadata as item metadataashtrayoz
2017-12-10Lua_api.txt: Fix a spelling errorashtrayoz
2017-12-06Auth handler: Player deletion & Iterator (#6741)sfan5
* Add player deletion method to auth handler (fixes #6653) * Support iterating over the auth database There was no way to do this previously and a recent commit broke doing this the "hacky" way by accessing `core.auth_table`.
2017-12-04Zoom: Set zoom FOV per-player using a player object propertyparamat
Remove player object property 'can zoom'. Add player object property 'zoom fov'. Remove clientside setting for 'zoom fov'. Object property default is 15 degrees in creative mode, zoom disabled in survival mode. Needed due to zoom now loading and/or generating distant world according to zoom FOV. Update object properties serialisation version to 3.
2017-12-01Update documentation regarding authentication handler and related functionssfan5
Properly document it instead of referencing the builtin handler as authoritative "example" code. Also adds definition of get_auth_handler() which was missing previously.
2017-12-01Lua_api.txt: Remove MT version, fix spelling and clean upezhh
Removes references to MT version in intro section. Update bump_version.sh to no longer manage version information.
2017-11-28Fix lua_api.txt indentation issuesezhh
2017-11-28Fix documentation formatting for on_death callbackEzhh
2017-11-25Improve documentation for player:set_attribute()Ezhh
2017-11-24Fix misspellingsgituser2194
"diffferent" to "different" "occuring" to "occurring" "determin" to "determine" "ommited" to "omitted" "authetification" to "authentication" "conponent" to "component" "ommitted" to "omitted" "celcius" to "Celsius" "succesful" to "successful" Misspellings found using GNU Spell version 1.0
2017-11-19Stratum ore: Add option for a constant thickness stratumparamat
Add a 'stratum thickness' integer parameter, as an alternative to providing a 2nd noise parameter for thickness variation.
2017-11-17Ore API documentation: Update and improveparamat
2017-11-13Lua_api.txt: Add documentation of required mapgen aliasesparamat
2017-11-08Add minetest.safe_write_file() to script APIsfan5