aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
AgeCommit message (Collapse)Author
2022-03-29Fix the documentation of InvRef:get_lists() and clean up code (#12150)DS
2022-03-26Add API to control shadow intensity from the game/mod (#11944)x2048
* Also Disable shadows when sun/moon is hidden. Fixes #11972.
2022-03-19Improve lua vector helper class doumentation (#12090)DS
2022-03-05Readd basic_debug as a HUD flag (#12020)Lars Müller
2022-03-05Allow get_sky to return a table (#11963)Zughy
2022-02-23Lua API documentation: Various fixes (#12059)SmallJoker
Change 1: Clarify when on_step collision information is provided Change 2: Document PostgreSQL and Redis settings Change 3: Overall AreaStore documentation improvements including consistent parameter naming based on community suggestions
2022-02-22Lua API: Consistently use double vs. single quotes (#12075)Lars Müller
2022-02-12Add support for 'seed' in disallow_mapgen_settings (#12023)Wuzzy
2022-02-10Allow to set the displayed item count and its alignment via meta (#8448)DS
* Allow to set the displayed item count and its offset via meta * fix rect constr call * devtest: add dump_item chatcommand * fix rect2 constr call (sdim is a position (typedef for v2s32), not a dimension) and remove background because it would work now * add missing utf8 to wide conversion * rename to count_meta
2022-02-03Add more documentation for the list[] fs element (#11979)DS
2022-01-31Document moon orientation relative to sunLars Mueller
2022-01-27Define control(bits) as "unset" for entities (#11995)Lars Müller
2022-01-23Bump formspec version (#11980)Vincent Robinson
2022-01-22Fix consistency of sky sun/moon texture behavioursfan5
Also cleans up related code somewhat.
2022-01-22Allow resetting celestial vault elements by leaving its arguments empty (#11922)Zughy
2022-01-06Fix damage wraparound if very high damage (#11872)Wuzzy
2022-01-06Fix incorrect bit positions in paramtype documentationAritz Erkiaga
2022-01-01Better document sky_color scope (#11892)Zughy
2021-12-30Add padding[] element to formspecs (#11821)Vincent Robinson
2021-12-19Remove wrong function from lua_api.txtsfan5
2021-12-13Disable inventory if player's inventory formspec is blank (#11827)ROllerozxa
2021-12-10Add pauloue's ItemStack example to docs (#9853)Francisco
2021-11-26Implemented disconnect_player (#10492)Corey Powell
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-11-26Add Lua bitop library (#9847)Lejo
2021-11-22Add backwards-compatible behaviour if too few CAO textures specifiedsfan5
(#11766)
2021-11-22Allow for Game-Specific Menu Music (#11241)ExeVirus
2021-11-10Lua API: Add `rmdir`, `cpdir` and `mvdir` (#9638)Elijah Duffy
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-10-31Fix number of tool uses being off by 1..32767 (#11110)Wuzzy
2021-10-25Fix item duplication if player dies during interact callback (alternative) ↵sfan5
(#11662)
2021-10-13Add embedded PNG texture modifier (#11498)hecks
2021-10-05Add get_server_max_lag() (#11671)Wuzzy
2021-10-01Split liquid_viscosity to liquid_viscosity and move_resistance (#10810)Wuzzy
2021-09-19Add feature table entry for new dynamic media APIsfan5
2021-09-10Split vector.new into 3 constructorsDS
2021-09-09Dynamic_Add_Media v2 (#11550)sfan5
2021-08-27Add group-based tool filtering for node drops (#10141)Treer
Supports both AND and OR requirements, e.g. * "a tool that's in any of these groups" * "a tool that's in all of these groups"
2021-08-23Fix 6th line of infotext being cut off in half (#11456)Wuzzy
2021-08-16Clarify the meaning of "rightclick"/"use" in documentation (#11471)Wuzzy
2021-08-12Add disable_settings to game.conf to get rid of "Enable Damage"/"Creative ↵Hugues Ross
Mode"/"Host Server" checkboxes (#11524) This adds support for disable_settings to game.conf. In this you can specify a list of settings that should not be visible in the "local game" (or however it is called nowadays) tab. Enable Damage, Creative Mode and Host Server are supported. Co-authored-by: Wuzzy <Wuzzy2@mail.ru> Co-authored-by: Aaron Suen <warr1024@gmail.com> Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-07-29Add a simple PNG image encoder with Lua API (#11485)hecks
* Add a simple PNG image encoder with Lua API Add ColorSpec to RGBA converter Make a safety wrapper for the encoder Create devtest examples Co-authored-by: hecktest <> Co-authored-by: sfan5 <sfan5@live.de>
2021-07-27Add bold, italic and monospace font styling for HUD text elements (#11478)sfan5
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
2021-07-27Improve documentation of tools (#11128)Wuzzy
2021-07-25Document glasslikeliquidlevel merge bits (#11479)random-geek
2021-07-15Add wallmounted support for plantlike and plantlike_rooted nodes (#11379)Wuzzy
2021-07-14Fix documented default colors for set_skyHugues Ross
2021-07-10Fix typo in lua_api.txthecktest
2021-07-10Use `persistence` instead of `persist` in NoiseParams examplesLean Rada
2021-07-09Add API for mods to hook liquid transformation events (#11405)Warr1024
Add API for mods to hook liquid transformation events Without this API, there is no reliable way for mods to be notified when liquid transform modifies nodes and mods are forced to poll for changes. This allows mods to detect changes to flowing liquid nodes and liquid renewal using event-driven logic.
2021-06-22Document hypertext escaping (#11374)Wuzzy
2021-06-20Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)sfence
This check can be used by ABM to reduce CPU usage.