aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
AgeCommit message (Collapse)Author
2015-06-22Fix bug when craft input isn't replacedTeTpaAka
2015-06-22Fix some issues with animations, and allow non-looped animations to be definedMirceaKitsune
2015-06-16Add list-ringsest31
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.
2015-06-13Add minetest.register_on_player_hpchangeTeTpaAka
2015-06-13Add return list of individual counts to find_node_in_areaTeTpaAka
2015-05-28Add some missing getter functions to the lua APITeTpaAka
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
2015-05-17SAPI/Noise: Add PerlinNoiseMap:getMapSlice() functionkwolekr
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.
2015-05-17Add optional buffer param for bulk data array writes in Luakwolekr
2015-05-16SAPI: Accept either ARGB8 table or ColorString to specify colorskwolekr
2015-05-16Add core.get_dir_listShadowNinja
2015-05-16Add core.request_insecure_environment()ShadowNinja
2015-05-16Add core.mkdirShadowNinja
2015-05-16Add mod securityShadowNinja
Due to compatibility concerns, this is temporarily disabled.
2015-05-15Generalize core.get/set_nametag_color into core.get/set_nametag_attributesTeTpaAka
2015-05-15Add minetest.register_on_punchplayerBrandon
2015-05-15Add get and set functions for the nametag colorTeTpaAka
2015-05-12Add code to support raillike group namesNovatux
2015-05-12is_player() is no player-only functionest31
2015-05-09Schematics: Add per-node force placement optionkwolekr
2015-05-07Schematics: Add indent-with-space option for schematic Lua table serializationkwolekr
2015-05-07NodeResolver: Remove NodeResolveMethodkwolekr
This simplifies NodeResolver logic and makes some interfaces cleaner.
2015-05-05Add core.find_nodes_with_meta() script APIkwolekr
2015-04-21Add minetest.global_exists()ShadowNinja
2015-04-20Ore: Add biomes parameterkwolekr
2015-04-16Schematics: Refactor NodeResolver and add NodeResolveMethodkwolekr
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.
2015-04-13Schematics: Reorganize (de)serialization and add Lua serialization APIkwolekr
2015-04-08Document for api functions that rely on current_modname, that it doesn't ↵est31
work when not loading mods
2015-04-08Schematics: Prepend mod path to relative schematic filepathskwolekr
2015-03-31ObjDefManager, Mapgen SAPI: Huge refactoringkwolekr
- 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
2015-03-31GenElementManager: Pass opaque handles to Lua and rename to ObjDefManagerkwolekr
Add core.clear_registered_schematics() and refactor schematics somewhat
2015-03-27Document nil player as being allowed for can_digShadowNinja
2015-03-24lua_api/l_mapgen: generate_ores/decorations: make p1, p2 optionalparamat
2015-03-22Revert "Add a Lua call to do damages / heals" ok @ShadowNinjaLoic Blot
This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.
2015-03-22Add support for the PCG32 PRNG algo (and associated script APIs)kwolekr
2015-03-18Add a Lua call to do damages / healsLoic Blot
2015-03-11lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorationsparamat
2015-03-06Biome API: Enable decorations placed on waterparamat
Add schematic decoration force placement flag
2015-03-05Improve group-based connection between raillike nodesBlockMen
2015-02-27Change find_surface_nodes_in_area to find_nodes_in_area_under_airCraig Robbins
2015-02-27Add find_surface_nodes_in_area LUA call which permit to only get the nodes ↵Loic Blot
which touch air. This permit to massively improve performance for mods like plantlife
2015-02-27Wrap lines longer than 80 characters in lua_api.txt ...and minor formating ↵rubenwardy
changes
2015-02-23Disallow object:remove() if the object is a playerKahrl
Rebased by Zeno- (conflict in lua_api.txt)
2015-02-18Bump version to 0.4.12Perttu Ahola
2015-02-16Fix minetest.item_eat's replace_with_item, fixes #2292rubenwardy
2015-01-20Added ratio argument to colorize, removed the weird alpha-based ratio.TriBlade9
2015-01-15Add ability to delete MapBlocks from mapkwolekr
Also add a Lua API and chatcommand for this
2015-01-13builtin: Unify register wrapper functions and wrap clear_registered_* ↵kwolekr
functions too
2015-01-11Lua-api.txt: Document that paramtype='light' results in light propagation ↵paramat
with attenuation and is essential for a light source to spread it's light
2015-01-05Add registered_ores and registered_decorationsShadowNinja
2015-01-04Add minetest.generate_ores() and minetest.generate_decorations()kwolekr