aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
AgeCommit message (Collapse)Author
2015-01-04Remove freezemelt documentation from lua_api.txtCraig Robbins
2015-01-04Add warning about using deprecated fields in Mapgen API and update docskwolekr
2015-01-03Rewrite lua_api.txt into Markdown formatWuzzy
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.
2014-12-30Fix documentation for string functionsDiego Martínez
2014-12-29Expose mapgen parameters on scripting initkwolekr
Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
2014-12-29LuaVoxelManip: Remove blank allocatorkwolekr
2014-12-28LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, ↵kwolekr
set_metadata
2014-12-28Decoration: Add height_min and height_max parameterskwolekr
Also set default height_min/height_max to -31000 and 31000, respectively, for ore and biomes
2014-12-28Ore: Add Vein ore typekwolekr
2014-12-28Ore: Add Blob ore typekwolekr
2014-12-27LuaVoxelManip: Add option to allocate blank datakwolekr
2014-12-24Bump version to 0.4.110.4.11kwolekr
2014-12-20lua_api.txt: improve noise documentation. Remove previous eased 3D noise ↵paramat
format example
2014-12-15Fix typo in lua_api.txtCraig Robbins
2014-12-12Add support for NoiseParams in minetest.get_perlin() and add docs on ↵kwolekr
NoiseParams to lua_api.txt
2014-12-09Rename and repurpose minetest.set_noiseparam_defaults to set_noiseparamskwolekr
2014-12-06Rewrite generate notification mechanismkwolekr
Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files
2014-12-06Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker
2014-11-28Improve Lua API documentationCiaran Gultnieks
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.
2014-11-27Add minetest.copy_table(table) To get rid off the "table references"SmallJoker
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-13Add option 'eased' to NoiseParamsSmallJoker
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-10-29Added names colours and refactored parseColorString()Craig Robbins
2014-10-19Custom collision boxes node property.RealBadAngel
2014-10-18Add meshnode drawtype.RealBadAngel
2014-10-05Add [colorize modifierBlockMen
2014-10-02Add better documentation for alternate drop definition to lua_api.txt.Diego Martínez
2014-10-02Add optional framed glasslike drawtypeBlockMen
2014-09-21Add firelike drawtypeTriBlade9
2014-09-20Add compression APIShadowNinja
2014-09-11Simplify and optimize schematic replacementsShadowNinja
2014-09-01Add LuaVoxelManip methods: get_node_at() and set_node_at()kwolekr
2014-09-01Update Mapgen VoxelManipulator on buffer invalidationkwolekr
2014-08-25Remove invalid doc about minetest.get_time_us()sapier
2014-08-25Add missing doc for minetest.get_us_time()sapier
2014-08-23Fix seg fault if popping from empty stack (L-system trees)Craig Robbins
See: https://github.com/minetest/minetest/issues/1525 Background Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack. ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error Commit Description This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace. L-Systems fix randomness Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree Resolves: https://github.com/minetest/minetest/issues/1469 Fix l-system crash when treedef random_level not set by Lua
2014-08-22Add ^[mask texture modifiersfan5
2014-08-22Correct spelling mistakes in documentationrubenwardy
2014-08-19Mod profiling supportsapier
Config settings: profiling = true/false (gather statistics) detailed_profiling = true/false (break mod times to callbacks) Chat commands: save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
2014-07-29Rework texture generating code, add texture grouping via ( ... )sfan5
2014-07-16Add srollbar formspec elementsapier
2014-07-06Update version numbers for 0.4.10sapier
2014-07-05Fix typos in doc/lua-api.txtsfan5
2014-07-05Fix typo in doc/lua_api.txtKahrl
2014-06-24Tooltips rework.RealBadAngel
Separate element for tooltips. Delayed showing, use global color or given ones.
2014-06-19Add tooltips for button, imagebutton and checkbox.RealBadAngel
2014-05-28Add success and output return values to chat commandsShadowNinja
2014-05-26Add item eat callbackrubenwardy
2014-05-07Fix heart + bubble bar size on different texture packssapier
Add DPI support for statbar Move heart+bubble bar to Lua HUD Add statbar size (based upon an idea by blue42u) Add support for customizing breath and statbar
2014-04-24Update documentation on is_ground_contentShadowNinja
2014-04-18Remove liquid_finite and weatherproller