aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
AgeCommit message (Collapse)Author
2015-09-26Clarify radii and distance types in documentationTim
Because not all circles are round: * circles using an euclidean metric are what we usually call "round" * circles using a maximum metric look like euclidean rectangles with equal adjacent sides (squares) * circles using a manhattan metric look like an euclidean right angled rhombus (squares, but 45° rotated to the former one) [ci skip]
2015-09-23Add /emergeblocks command and core.emerge_area() Lua APIkwolekr
2015-09-21lua_api.txt: fix typoest31
Thanks to @kaadmy (NeD) for pointing this out.
2015-09-17Ore: Add puff ore typekwolekr
2015-09-13Ore: Add ore sheet column height range selectionkwolekr
Modders are now able to select the range of ore column height, and the midpoint at which they 'grow' starting from. This commit adds three new parameters for the 'sheet' ore type: column_height_min, column_height_max, and column_midpoint_factor. clust_size is now deprecated for this ore type.
2015-09-08Add more information about how get_node_light works.Robert Zenz
2015-08-20Bump version to 0.4.130.4.13est31
2015-08-13minimap: Add ability to disable from serverkwolekr
2015-08-09Fix segfaults caused by the Environment not being initialized yetrubenwardy
2015-08-02Actually document what minetest.is_protected should doest31
2015-07-27Add AreaStore data structureest31
2015-07-23Optional reconnect functionalityest31
Enable the server to request the client to reconnect. This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
2015-07-22Add note that chat messages can be marked as handled.Robert Zenz
2015-07-21Document game main menu image systemest31
2015-07-20Added get_player_velocity() method. Fixes #1176Elia Argentieri
2015-07-16Fix relief mapping issuesRealBadAngel
2015-07-08Biome API decorations: 'spawnby' searches a 3D neighbourhoodparamat
The neighbours checked are the 8 nodes horizontally surrounding the decoration base and the 8 nodes horizontally surrounding the ground node below the decoration
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.