summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
Commit message (Collapse)AuthorAge
* Correct documentation around minetest.item_placesfan52019-12-16
| | | | | 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-15
|
* Refactor to centralize GUIButton styling/rendering code (#9090)Hugues Ross2019-12-09
|
* Formspec: make bgcolor element less confusing and allow setting fullscreen ↵DS2019-12-08
| | | | color (#8996)
* Clean up craft replacements docsPaul Ouellette2019-12-07
|
* Add scrollbaroptions FormSpec element (#8530)v-rob2019-12-06
|
* Add z-index management to HUDPierre-Yves Rollo2019-12-06
|
* Call on_secondary_use when object is right-clickedsfan52019-11-10
|
* Formspec: draw order and clipping for all elements (#8740)DS2019-11-07
|
* Improve documentation around banning (#9088)sfan52019-11-05
| | | | | * Fix ban chatcommand description * Correct ban API documentation
* Formspec: add hypertext elementPierre-Yves Rollo2019-11-03
|
* Add more visual feedback for button states (#8916)Hugues Ross2019-10-12
| | | | | | - 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-06
| | | | 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-30
|
* Fix error message caused by adding new parameter to background (#8922)rubenwardy2019-09-29
| | | Adds background9[] element to keep backwards compatibility in formspec prepends.
* Punchwear (improved) (#8959)sfan52019-09-22
|
* Fix AreaStore's IDs persistence (#8888)SmallJoker2019-09-21
| | | | | Improve documentation Read old formats Fix free ID function. Return first gap in map
* Wieldhand: Specify which ItemStack to use (#8961)SmallJoker2019-09-21
| | | Makes 'get_wield_item' to return the "main" ItemStack
* Add support for per-player FOV overrides and multipliersAnand S2019-09-19
|
* Fix the bgcolor formspec element (#8716)DS2019-09-15
|
* Formspecs: Introduce formspec_version to modsSmallJoker2019-09-14
|
* Lua API documentation: Various fixes (#8914)SmallJoker2019-09-08
| | | | | | | | | | | | 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-08
|
* Various fixes to lua_api.txt (#8878)DS2019-09-01
|
* Clarify docs regarding pointed_thing and get_pointed_thing_position (#8766)Beha2019-08-30
|
* Add ItemStack:get_description() to get tooltip (#8847)Paul Ouellette2019-08-24
|
* lua_api.txt: Add link to Minetest Modding Book (#8826)ANAND2019-08-20
|
* Add function `minetest.read_schematic`upsilon2019-08-14
|
* Add player knockback on punch to builtinsfan52019-08-10
|
* Implement adding velocity to player from Luasfan52019-08-10
| | | | The intended usecase is knockback, but there's potential for more.
* Allow customizing chat message format (#8529)ANAND2019-08-08
|
* Add formspec testing to test mod in minimalrubenwardy2019-08-03
|
* Add styles to most elementsrubenwardy2019-08-03
|
* Add style[] tag with button supportrubenwardy2019-08-03
|
* Group "immortal" also protects players from damageWuzzy2019-08-01
| | | | | | | | | | 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-29
| | | | (#8713)
* Document 'wield_item' entity property (#8694)Alex2019-07-26
|
* Improve documentation of mapgen aliases (#8693)Paramat2019-07-20
|
* Add vector.dot and vector.crossHybridDog2019-07-16
| | | | Mostly copied from MarkuBu's code
* Docs: Clarify where to check for 'protection_bypass' (#8675)SmallJoker2019-07-14
|
* Document ObjectRef:remove under Lua entity (#8659)ANAND2019-07-08
| | | | | 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-01
|
* Dungeongen: Remove most hardcoded dungeon nodes (#8594)Paramat2019-06-30
| | | | | | | | | | | | | | | 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-27
|
* Add support for 9-sliced backgrounds (#8600)rubenwardy2019-06-22
| | | | | 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-06
| | | | Add minetest.features.httpfetch_binary_data
* Allow multiple cave liquids in a biome definition (#8481)Paramat2019-05-18
| | | | | | | | | | | | | 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'
* Better document behavior of on_punchplayerANAND2019-04-29
| | | | Esp. the fact that it's invoked even if the punched player is dead
* Force send a mapblock to a player (#8140)sofar2019-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Force send a mapblock to a player. Send a single mapblock to a specific remote player. This is badly needed for mods and games where players are teleported into terrain which may be not generated, loaded, or modified significantly since the last player visit. In all these cases, the player currently ends up in void, air, or inside blocks which not only looks bad, but has the effect that the player might end up falling and then the server needs to correct for the player position again later, which is a hack. The best solution is to send at least the single mapblock that the player will be teleported to. I've tested this with ITB which does this all the time, and I can see it functioning as expected (it even shows a half loaded entry hallway, as the further blocks aren't loaded yet). The parameter is a blockpos (table of x, y, z), not a regular pos. The function may return false if the call failed. This is most likely due to the target position not being generated or emerged yet, or another internal failure, such as the player not being initialized. * Always send mapblock on teleport or respawn. This avoids the need for mods to send a mapblock on teleport or respawn, since any call to `player:set_pos()` will pass this code.
* Attend to review, re-arrange blank lines, update lua_api.txtparamat2019-04-14
|