aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Add a Lua call to do damages / heals" ok @ShadowNinjaLoic Blot2015-03-221-1/+0
| | | | This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.
* Add support for the PCG32 PRNG algo (and associated script APIs)kwolekr2015-03-221-1/+15
|
* Add a Lua call to do damages / healsLoic Blot2015-03-181-0/+1
|
* lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorationsparamat2015-03-111-4/+4
|
* Biome API: Enable decorations placed on waterparamat2015-03-061-4/+8
| | | | Add schematic decoration force placement flag
* Improve group-based connection between raillike nodesBlockMen2015-03-051-2/+2
|
* Change find_surface_nodes_in_area to find_nodes_in_area_under_airCraig Robbins2015-02-271-1/+1
|
* Add find_surface_nodes_in_area LUA call which permit to only get the nodes ↵Loic Blot2015-02-271-0/+3
| | | | 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-271-95/+138
| | | | changes
* Disallow object:remove() if the object is a playerKahrl2015-02-231-0/+1
| | | | Rebased by Zeno- (conflict in lua_api.txt)
* Bump version to 0.4.12Perttu Ahola2015-02-181-1/+1
|
* Fix minetest.item_eat's replace_with_item, fixes #2292rubenwardy2015-02-161-8/+14
|
* Added ratio argument to colorize, removed the weird alpha-based ratio.TriBlade92015-01-201-2/+3
|
* Add ability to delete MapBlocks from mapkwolekr2015-01-151-0/+2
| | | | Also add a Lua API and chatcommand for this
* builtin: Unify register wrapper functions and wrap clear_registered_* ↵kwolekr2015-01-131-2/+15
| | | | functions too
* Lua-api.txt: Document that paramtype='light' results in light propagation ↵paramat2015-01-111-14/+26
| | | | with attenuation and is essential for a light source to spread it's light
* Add registered_ores and registered_decorationsShadowNinja2015-01-051-7/+17
|
* Add minetest.generate_ores() and minetest.generate_decorations()kwolekr2015-01-041-0/+4
|
* Remove freezemelt documentation from lua_api.txtCraig Robbins2015-01-041-1/+0
|
* Add warning about using deprecated fields in Mapgen API and update docskwolekr2015-01-041-5/+5
|
* Rewrite lua_api.txt into Markdown formatWuzzy2015-01-031-2530/+2833
| | | | | | Just Markdown, no variant of it. File name intentionally not changed to “lua_api.md” because of fear to break references to that file. The file can still be renamed later.
* Fix documentation for string functionsDiego Martínez2014-12-301-3/+5
|
* Expose mapgen parameters on scripting initkwolekr2014-12-291-2/+7
| | | | | Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
* LuaVoxelManip: Remove blank allocatorkwolekr2014-12-291-2/+2
|
* LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, ↵kwolekr2014-12-281-4/+7
| | | | set_metadata
* Decoration: Add height_min and height_max parameterskwolekr2014-12-281-0/+4
| | | | | Also set default height_min/height_max to -31000 and 31000, respectively, for ore and biomes
* Ore: Add Vein ore typekwolekr2014-12-281-3/+25
|
* Ore: Add Blob ore typekwolekr2014-12-281-3/+3
|
* LuaVoxelManip: Add option to allocate blank datakwolekr2014-12-271-0/+4
|
* Bump version to 0.4.11kwolekr2014-12-241-1/+1
|
* lua_api.txt: improve noise documentation. Remove previous eased 3D noise ↵paramat2014-12-201-13/+19
| | | | format example
* Fix typo in lua_api.txtCraig Robbins2014-12-151-1/+1
|
* Add support for NoiseParams in minetest.get_perlin() and add docs on ↵kwolekr2014-12-121-6/+53
| | | | NoiseParams to lua_api.txt
* Rename and repurpose minetest.set_noiseparam_defaults to set_noiseparamskwolekr2014-12-091-4/+4
|
* Rewrite generate notification mechanismkwolekr2014-12-061-4/+7
| | | | | | | Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files
* Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker2014-12-061-0/+4
|
* Improve Lua API documentationCiaran Gultnieks2014-11-281-5/+11
| | | | | | | | | | | | | | | | | | | | | Changes: * Add extra documentation for remove_item. This isn't as silly as it sounds: iterate a list containing items with unique metadata each, and remove_item the first one you find, placing into a different - fine, except the remove will invariably remove the wrong one, leading to items being duplicated and others destroyed. Arguably it's a bug, and Inventory::removeItem should actually remove the item you tell it to. (i.e. if the passed ItemStack has metadata, match it). But it seems reasonable to just document the behaviour more clearly. * Improve string_to_pos documentation. * Clarify dig_node documentation (return value). * Better on_step documentation. * get_nodemeta -> get_meta. * Other minor fixes.
* Add minetest.copy_table(table) To get rid off the "table references"SmallJoker2014-11-271-0/+2
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Add option 'eased' to NoiseParamsSmallJoker2014-11-131-0/+13
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Added names colours and refactored parseColorString()Craig Robbins2014-10-291-0/+6
|
* Custom collision boxes node property.RealBadAngel2014-10-191-2/+10
|
* Add meshnode drawtype.RealBadAngel2014-10-181-1/+13
|
* Add [colorize modifierBlockMen2014-10-051-14/+18
|
* Add better documentation for alternate drop definition to lua_api.txt.Diego Martínez2014-10-021-1/+11
|
* Add optional framed glasslike drawtypeBlockMen2014-10-021-2/+4
|
* Add firelike drawtypeTriBlade92014-09-211-0/+1
|
* Add compression APIShadowNinja2014-09-201-0/+12
|
* Simplify and optimize schematic replacementsShadowNinja2014-09-111-2/+2
|
* Add LuaVoxelManip methods: get_node_at() and set_node_at()kwolekr2014-09-011-0/+2
|
* Update Mapgen VoxelManipulator on buffer invalidationkwolekr2014-09-011-0/+2
|