aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
Commit message (Collapse)AuthorAge
* Lua_api.txt: Improve section titles, clarify sections (#7533)Paramat2018-07-06
|
* Make the server status message customizable (#7357)SmallJoker2018-07-01
| | | | Remove now redundant setting show_statusline_on_connect Improve documentation of `minetest.get_server_status`
* Lua_api.txt: Re-order some sections. Alphabeticise class reference (#7487)Paramat2018-06-26
|
* Lua_api.txt: Replace `engine.*` with `core.*` (#7474)Anand S2018-06-24
|
* Decoration API: Add lightweight ability to have complete coverage (#7456)Paramat2018-06-24
| | | | | | | | | | | | | | When the noise value or fill_ratio >= 10.0 complete coverage is enabled. This disables random placement to avoid redundant multiple placements at one position. Instead, 1 decoration per surface node is placed by looping across each division. '10' was chosen as this is the fill_ratio that previously created very near complete coverage. The complete coverage feature therefore integrates smoothly when noise is used for variable decoration density. 'fill_ratio = 10' should be used by modders who want a decoration placed on every surface node. Compared to before such a decoration placement will be 10 times faster.
* Lua_api.txt: Fix incorrect vector section directive (#7466)Anand S2018-06-20
|
* Lua_api.txt: Warn of errors possible with VoxelArea:index()/indexp() (#7422)Paramat2018-06-08
|
* CSM/SSM: Add on_mods_loaded callback (#7411)Loïc Blot2018-06-06
| | | | | * CSM/SSM: Add on_mods_loaded callback
* Lua_api.txt: Various improvements (#7402)Paramat2018-06-03
| | | | | | | | | | | | | | | | Node definition: Clearly document custom selection box/collision box (collision box documentation was missing). Remove incorrect light attenuation statement and duplicated light source statement. Nodes: Document which drawtypes require 'paramtype = "light"' to avoid appearing black. Remove incorrect light attenuation statement. HUD: Remove 'HUD API is experimental' text. Noise params: Spread of every octave must exceed 1. Particles and spawners: Document glow values.
* Fix isNan on setYaw Lua call (#7380)Loïc Blot2018-05-31
| | | | * Fix isNan on setYaw Lua call
* Say position of locale dir more clearly in docs (#7338)Wuzzy2018-05-16
|
* Run detach callbacks on player leaveSmallJoker2018-05-12
| | | | Correct docs regarding non-nil detaching children
* Allow damage for attached objects, add attach/detach callbacks (#6786)SmallJoker2018-04-30
| | | * Allow right-clicking on attached LuaEntities
* MetaDataRef: Add contains() and get() (#7214)rubenwardy2018-04-30
|
* Formspecs: Allow setting alpha value for the box[] elementThomas--S2018-04-23
|
* Add online content repositoryrubenwardy2018-04-19
| | | | Replaces mods and texture pack tabs with a single content tab
* Biome API / dungeons: Add biome-defined dungeon nodesParamat2018-04-07
| | | | | | | | | | Add new biome fields 'node_dungeon', 'node_dungeon_alt', 'node_dungeon_stair'. If 'node_dungeon' is not defined dungeons fall back to classic behaviour. Remove messy and imprecise dungeon material code from 'generateBiomes()'. Code deciding dungeon materials is now in 'generateDungeons()' and uses the biome at mapchunk centre for more precision. Remove hardcoded 'MG_STONE' types as long intended.
* Add player:get_meta(), deprecate player attributes (#7202)rubenwardy2018-04-06
| | | | * Add player:get_meta(), deprecate player attributes
* Biome API / cavegen: Add definable cave liquid for a biome (#7192)Paramat2018-04-05
| | | | Add 'node_cave_liquid' as a new field in biome registration. If field is absent cave liquids fall back to classic behaviour.
* Add player inventory callbacksSmallJoker2018-04-02
|
* ObjectRef: Add add_velocity() (#3208)you2018-03-31
| | | | Allow changing the velocity of objects relatively to their current velocity
* core.rotate_node: Do not trigger after_place_node (#6900)SmallJoker2018-03-29
|
* Optional alpha channel support for entitiesstujones112018-03-29
|
* Load dependencies and description from mod.confAndrew Ward2018-03-28
|
* Add reasons to on_dieplayer and on_hpchangeAndrew Ward2018-03-28
|
* Add formspec theming using prepended stringsAndrew Ward2018-03-28
|
* Lua_api.txt: Improve noise documentationParamat2018-03-22
|
* Lua_api.txt: Fix hardware colouring documentationparamat2018-03-20
| | | | More 'draw type' -> 'paramtype2' changes, missing from a previous commit.
* Lua_api.txt: Split long lines part 6paramat2018-03-17
|
* Lua_api.txt: Split long lines part 5, fix hardware colouring docsparamat2018-03-16
|
* Lua_api.txt: Split long lines part 4paramat2018-03-14
|
* Rename 'subgame' to 'game'paramat2018-03-13
|
* Lua_api.txt: Improve and complete drawtype documentationparamat2018-03-13
| | | | Move documentation of mesh and plantlike_rooted drawtypes into main section.
* Lua_api.txt: Split long lines part 3paramat2018-03-11
|
* Biome API: Add 'get_biome_name(biome_id)' APIparamat2018-03-11
| | | | Change name of default biome to a more suitable lowercase 'default'.
* Lua_api.txt: Split long lines part 2paramat2018-03-10
|
* Spawn level: Add 'get_spawn_level(x, z)' APIparamat2018-03-10
| | | | Returns a suitable player spawn y co-ordinate for unmodified terrain.
* Lua_api.txt: Split long lines part 1paramat2018-03-09
|
* Gennotify docs: Clarify returned positions for decorationsparamat2018-03-09
|
* Biomes: Document xyz biome limitsparamat2018-03-09
|
* Fix bad markdown in lua_api.txtpauloue2018-03-05
|
* Gennotify: Add 'minetest.get_decoration_id' APIparamat2018-03-03
| | | | | | 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'.
* Place schematic (on vmanip): Enable use of 'place center' flagsparamat2018-02-27
| | | | | | For 'place schematic' and 'place schematic on vmanip' APIs. Fix 'place center' code to properly centre schematics. Fix some comments.
* is_area_protected: Rename from intersects_protection (#7073)SmallJoker2018-02-25
| | | | | | * is_area_protected: Rename from intersects_protection Return first protected position Clarify docs: Mods may overwrite the function
* Find nodes in area (under air): Raise volume limit and document itparamat2018-02-21
|
* Lua API documentation: Fix spelling (#7046)pauloue2018-02-18
|
* Add `on_auth_fail` callback (#7039)red-0012018-02-15
| | | Called when a client fails to supply the correct password for the account it's attempting to login as.
* Add minetest.is_player (#7013)you2018-02-05
| | | | | | * Add minetest.is_player * First use for is_player
* Lua_api.txt: Document 'wielditem' visual in object propertiesparamat2018-02-05
|
* Add minetest.bulk_set_node call + optimize Environment::set_node call (#6958)Loïc Blot2018-01-30
| | | | | | | | | | * 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