aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
Commit message (Collapse)AuthorAge
* Biome API decorations: 'spawnby' searches a 3D neighbourhoodparamat2015-07-08
| | | | | The neighbours checked are the 8 nodes horizontally surrounding the decoration base and the 8 nodes horizontally surrounding the ground node below the decoration
* Fix bug when craft input isn't replacedTeTpaAka2015-06-22
|
* Fix some issues with animations, and allow non-looped animations to be definedMirceaKitsune2015-06-22
|
* Add list-ringsest312015-06-16
| | | | | | | Adds list-rings, a method to implement item sending between inventories via shift-click. Nice insider feature: a ring consisting of a single inventory list serves as nice clean-up method. Also adds them to minimal game, and the standard inventory. Craft output slots are not supported.
* Add minetest.register_on_player_hpchangeTeTpaAka2015-06-13
|
* Add return list of individual counts to find_node_in_areaTeTpaAka2015-06-13
|
* Add some missing getter functions to the lua APITeTpaAka2015-05-28
| | | | | | | | | | | | | | | | | | | | | | | ObjectRef: get_properties get_armor_groups get_animation get_attach get_bone_position Players: get_physics_override hud_get_hotbar_itemcount hud_get_hotbar_image hud_get_hotbar_selected_image get_sky get_day_night_ratio get_local_animation get_eye_offset Global: minetest.get_gen_notify minetest.get_noiseparams
* SAPI/Noise: Add PerlinNoiseMap:getMapSlice() functionkwolekr2015-05-17
| | | | | | This adds the ability to grab 'slices' of noise calculated by PerlinNoiseMap. Retrieving smaller slices of noise from the computation result as needed optimizes memory usage while maintaining a reasonable amount of CPU overhead.
* Add optional buffer param for bulk data array writes in Luakwolekr2015-05-17
|
* SAPI: Accept either ARGB8 table or ColorString to specify colorskwolekr2015-05-16
|
* Add core.get_dir_listShadowNinja2015-05-16
|
* Add core.request_insecure_environment()ShadowNinja2015-05-16
|
* Add core.mkdirShadowNinja2015-05-16
|
* Add mod securityShadowNinja2015-05-16
| | | | Due to compatibility concerns, this is temporarily disabled.
* Generalize core.get/set_nametag_color into core.get/set_nametag_attributesTeTpaAka2015-05-15
|
* Add minetest.register_on_punchplayerBrandon2015-05-15
|
* Add get and set functions for the nametag colorTeTpaAka2015-05-15
|
* Add code to support raillike group namesNovatux2015-05-12
|
* is_player() is no player-only functionest312015-05-12
|
* Schematics: Add per-node force placement optionkwolekr2015-05-09
|
* Schematics: Add indent-with-space option for schematic Lua table serializationkwolekr2015-05-07
|
* NodeResolver: Remove NodeResolveMethodkwolekr2015-05-07
| | | | This simplifies NodeResolver logic and makes some interfaces cleaner.
* Add core.find_nodes_with_meta() script APIkwolekr2015-05-05
|
* Add minetest.global_exists()ShadowNinja2015-04-21
|
* Ore: Add biomes parameterkwolekr2015-04-20
|
* Schematics: Refactor NodeResolver and add NodeResolveMethodkwolekr2015-04-16
| | | | | | | | | NodeResolver name lists now belong to the NodeResolver object instead of the associated NodeDefManager. In addition to minimizing unnecessary abstraction and overhead, this move permits NodeResolvers to look up nodes that they had previously set pending for resolution. So far, this functionality has been used in the case of schematics for serialization/deserialization.
* Schematics: Reorganize (de)serialization and add Lua serialization APIkwolekr2015-04-13
|
* Document for api functions that rely on current_modname, that it doesn't ↵est312015-04-08
| | | | work when not loading mods
* Schematics: Prepend mod path to relative schematic filepathskwolekr2015-04-08
|
* ObjDefManager, Mapgen SAPI: Huge refactoringkwolekr2015-03-31
| | | | | | | - General code cleanup - Unified object creation and loading - Specifying objects in APIs is now orthogonal (i.e. anything can take an ID, name string, or the raw table definition (and automatically registers if present
* GenElementManager: Pass opaque handles to Lua and rename to ObjDefManagerkwolekr2015-03-31
| | | | Add core.clear_registered_schematics() and refactor schematics somewhat
* Document nil player as being allowed for can_digShadowNinja2015-03-27
|
* lua_api/l_mapgen: generate_ores/decorations: make p1, p2 optionalparamat2015-03-24
|
* Revert "Add a Lua call to do damages / heals" ok @ShadowNinjaLoic Blot2015-03-22
| | | | This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.
* Add support for the PCG32 PRNG algo (and associated script APIs)kwolekr2015-03-22
|
* Add a Lua call to do damages / healsLoic Blot2015-03-18
|
* lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorationsparamat2015-03-11
|
* Biome API: Enable decorations placed on waterparamat2015-03-06
| | | | Add schematic decoration force placement flag
* Improve group-based connection between raillike nodesBlockMen2015-03-05
|
* Change find_surface_nodes_in_area to find_nodes_in_area_under_airCraig Robbins2015-02-27
|
* Add find_surface_nodes_in_area LUA call which permit to only get the nodes ↵Loic Blot2015-02-27
| | | | which touch air. This permit to massively improve performance for mods like plantlife
* Wrap lines longer than 80 characters in lua_api.txt ...and minor formating ↵rubenwardy2015-02-27
| | | | changes
* Disallow object:remove() if the object is a playerKahrl2015-02-23
| | | | Rebased by Zeno- (conflict in lua_api.txt)
* Bump version to 0.4.12Perttu Ahola2015-02-18
|
* Fix minetest.item_eat's replace_with_item, fixes #2292rubenwardy2015-02-16
|
* Added ratio argument to colorize, removed the weird alpha-based ratio.TriBlade92015-01-20
|
* Add ability to delete MapBlocks from mapkwolekr2015-01-15
| | | | Also add a Lua API and chatcommand for this
* builtin: Unify register wrapper functions and wrap clear_registered_* ↵kwolekr2015-01-13
| | | | functions too
* Lua-api.txt: Document that paramtype='light' results in light propagation ↵paramat2015-01-11
| | | | with attenuation and is essential for a light source to spread it's light
* Add registered_ores and registered_decorationsShadowNinja2015-01-05
|