aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add table.key_value_swap (#9248)HybridDog2020-01-041-0/+2
|
* Document permissible group ratings (#9236)Wuzzy2019-12-241-1/+2
|
* Make core.item_place_node return position of placed node. (#7713)Bluebird2019-12-181-2/+4
|
* Correct documentation around minetest.item_placesfan52019-12-161-11/+12
| | | | | The code that calls minetest.item_place_object was removed in 2013 in commit fc61c8809b9a1d47d9f117446764107a56cec956.
* Lua API: Document HP, breath and damage limits (#9080)SmallJoker2019-12-151-0/+5
|
* Refactor to centralize GUIButton styling/rendering code (#9090)Hugues Ross2019-12-091-12/+10
|
* Formspec: make bgcolor element less confusing and allow setting fullscreen ↵DS2019-12-081-5/+13
| | | | color (#8996)
* Clean up craft replacements docsPaul Ouellette2019-12-071-2/+3
|
* Add scrollbaroptions FormSpec element (#8530)v-rob2019-12-061-2/+26
|
* Add z-index management to HUDPierre-Yves Rollo2019-12-061-0/+8
|
* Call on_secondary_use when object is right-clickedsfan52019-11-101-2/+2
|
* Formspec: draw order and clipping for all elements (#8740)DS2019-11-071-0/+7
|
* Improve documentation around banning (#9088)sfan52019-11-051-6/+9
| | | | | * Fix ban chatcommand description * Correct ban API documentation
* Formspec: add hypertext elementPierre-Yves Rollo2019-11-031-2/+110
|
* Add more visual feedback for button states (#8916)Hugues Ross2019-10-121-0/+3
| | | | | | - Add style properties for overriding the the hovered/pressed state - By default, hovered buttons are a lighter version of the base color - By default, pressed buttons are a darker version of the base color - Add hovered bg image support for image buttons (style property)
* Revert "Fix the bgcolor formspec element (#8716)" (#9018)SmallJoker2019-10-061-7/+3
| | | | This reverts commit 1db3d252cff9e8d61fecf1052d7497813851da51. Temporary solution until a compatible solution is found to define both - formspec and fullscreen backgrounds.
* Document node drop tool filtering by string matching as deprecated (#9009)Paramat2019-09-301-2/+5
|
* Fix error message caused by adding new parameter to background (#8922)rubenwardy2019-09-291-1/+1
| | | Adds background9[] element to keep backwards compatibility in formspec prepends.
* Punchwear (improved) (#8959)sfan52019-09-221-1/+9
|
* Fix AreaStore's IDs persistence (#8888)SmallJoker2019-09-211-23/+28
| | | | | Improve documentation Read old formats Fix free ID function. Return first gap in map
* Wieldhand: Specify which ItemStack to use (#8961)SmallJoker2019-09-211-2/+1
| | | Makes 'get_wield_item' to return the "main" ItemStack
* Add support for per-player FOV overrides and multipliersAnand S2019-09-191-2/+11
|
* Fix the bgcolor formspec element (#8716)DS2019-09-151-3/+7
|
* Formspecs: Introduce formspec_version to modsSmallJoker2019-09-141-0/+14
|
* Lua API documentation: Various fixes (#8914)SmallJoker2019-09-081-22/+75
| | | | | | | | | | | | Remove unusable 'minetest.setting_*' from client_lua_api.txt lua_api.txt: - Define the 'mod.conf' format - More precise 'settingtypes.txt' format reference - Document special sound files 'player_*damage' - Group, sort and add 'not_in_creative_inventory' special group - Define the 'Settings' format - Warning about incorrect byte saving in 'StorageRef' - Note about non-persistent player definitions fields - Better 'leveldiff' and 'level' group description
* lua_api.txt: Improve privilege definition (#8912)ANAND2019-09-081-3/+4
|
* Various fixes to lua_api.txt (#8878)DS2019-09-011-8/+15
|
* Clarify docs regarding pointed_thing and get_pointed_thing_position (#8766)Beha2019-08-301-1/+7
|
* Add ItemStack:get_description() to get tooltip (#8847)Paul Ouellette2019-08-241-0/+1
|
* lua_api.txt: Add link to Minetest Modding Book (#8826)ANAND2019-08-201-0/+1
|
* Add function `minetest.read_schematic`upsilon2019-08-141-0/+12
|
* Add player knockback on punch to builtinsfan52019-08-101-0/+9
|
* Implement adding velocity to player from Luasfan52019-08-101-0/+8
| | | | The intended usecase is knockback, but there's potential for more.
* Allow customizing chat message format (#8529)ANAND2019-08-081-0/+6
|
* Add formspec testing to test mod in minimalrubenwardy2019-08-031-11/+11
|
* Add styles to most elementsrubenwardy2019-08-031-25/+78
|
* Add style[] tag with button supportrubenwardy2019-08-031-1/+38
|
* Group "immortal" also protects players from damageWuzzy2019-08-011-1/+3
| | | | | | | | | | Document new meaning of immortal=1 for players Disable breathing if player is immortal Hide builtin statbars if player immortal (delayed) Co-authored-by: ClobberXD <ClobberXD@gmail.com>
* lua_api.txt clarifications regarding mapgen object index IDs and handles. ↵Beha2019-07-291-11/+16
| | | | (#8713)
* Document 'wield_item' entity property (#8694)Alex2019-07-261-1/+3
|
* Improve documentation of mapgen aliases (#8693)Paramat2019-07-201-9/+10
|
* Add vector.dot and vector.crossHybridDog2019-07-161-0/+4
| | | | Mostly copied from MarkuBu's code
* Docs: Clarify where to check for 'protection_bypass' (#8675)SmallJoker2019-07-141-9/+7
|
* Document ObjectRef:remove under Lua entity (#8659)ANAND2019-07-081-4/+3
| | | | | This was previously documented under the general ObjectRef section with a note that this won't work on players. So I think this would fit better with Lua entity-only methods. This PR also changes the title of the Lua entity-only section from `LuaEntitySAO-only` to `Lua entity only`.
* Update biome definition dungeon node documentation (#8650)Paramat2019-07-011-1/+3
|
* Dungeongen: Remove most hardcoded dungeon nodes (#8594)Paramat2019-06-301-17/+7
| | | | | | | | | | | | | | | Biome-defined dungeon nodes was added as a feature to MT 5.0.0. So now remove most of the hardcoded dungeon node code that assumes a game has stone, sandstone, desert stone, and no other stone types. If biome-defined dungeon nodes are not found, dungeon nodes fall back to the 'cobble' mapgen alias if present, if not present they fall back to biome-defined 'stone'. Remove now-unnecessary mapgen aliases from MapgenBasic. Non-mgv6 games now only need to define 3 to 5 mapgen aliases. Document dungeon parameters. Make c_lava_source fallback to c_water_source as both are used as cave liquids.
* Add compatible, consistent coordinate system to FormSpecs. (#8524)v-rob2019-06-271-9/+123
|
* Add support for 9-sliced backgrounds (#8600)rubenwardy2019-06-221-2/+15
| | | | | 9-slice textures are commonly used in GUIs to allow scaling them to match any resolution without distortion. https://en.wikipedia.org/wiki/9-slice_scaling
* HTTP API: Allow binary downloads and headers (#8573)SmallJoker2019-06-061-2/+5
| | | | Add minetest.features.httpfetch_binary_data
* Allow multiple cave liquids in a biome definition (#8481)Paramat2019-05-181-4/+8
| | | | | | | | | | | | | This allows games to specify biome cave liquids and avoid the old hardcoded behaviour, but preserves the ability to have multiple cave liquids in one biome, such as lava and water. When multiple cave liquids are defined by the biome definition, make each entire cave use a randomly chosen liquid, instead of every small cave segment using a randomly chosen liquid. Plus an optimisation: Don't place nodes if cave liquid is defined as 'air'