aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
AgeCommit message (Collapse)Author
2022-09-25Briefly explain how facedir rotations work (#11934)Aritz Erkiaga
2022-09-18Document minetest.parse_relative_number (#12576)Wuzzy
2022-09-16Add paramtype2s for 4 horizontal rotations and 64 colors (#11431)Wuzzy
4dir is like facedir, but only for 4 horizontal directions: NESW. It is identical in behavior to facedir otherwise. The reason why game makers would want to use this over facedir is 1) simplicity and 2) you get 6 free bits. It can be used for things like chests and furnaces and you don't need or want them to "flip them on the side" (like you could with facedir). color4dir is like colorfacedir, but you get 64 colors instead of only 8.
2022-09-12Fix trivial get_armor_groups documentation issue (#12760)wsor4035
2022-09-06Add documentation of sun/moon orientation/scale differences (#12145)DS
2022-08-13Allow buffer argument to VoxelManip:get_light_data (#12682)Jude Melton-Houghton
2022-08-02Run Minetest update checker on startup (#7629)SmallJoker
This feature is enabled by default for non-Android release builds. Package maintainers may use -DENABLE_UPDATE_CHECKER=0 to disable it. Co-authored-by: rubenwardy <rw@rubenwardy.com> Co-authored-by: sfan5 <sfan5@live.de>
2022-07-29Fix lua_api typo: animated_imagesWuzzy
2022-07-17More corrections to lua_api.txt (#12505)sfan5
2022-07-13Animated particlespawners and more (#11545)Lexi Hale
Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
2022-07-03Fixed spelling inconsistency (#12504)Riley
coloured -> colored
2022-07-03FormSpec: 9-slice images, animated_images, and fgimg_middle (#12453)Vincent Robinson
* FormSpec: 9-slice images and animated_images * Add fgimg_middle; clean up code * Address issues, add tests * Fix stupid error; bump formspec version * Re-add image[] elements without a size
2022-07-02Allow to set maximum star opacity at daytime (#11663)Wuzzy
2022-06-29Lua API: Refer to the update_translations tool (#12419)SmallJoker
Lost the link too often. This is much needed.
2022-06-28Remove tile_images and special_materials obsolete code (#12455)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-06-26Docs: remove background9 incorrect example (#12464)Zughy
2022-06-15Add description of privileges (#12021)x2048
* Add description of privileges * Restructure Privileges section based on feedback * Suggestion by sfan5 Co-authored-by: sfan5 <sfan5@live.de> * Suggestion by sfan5 Co-authored-by: sfan5 <sfan5@live.de> * Incorporate comments by sfan5 Co-authored-by: sfan5 <sfan5@live.de>
2022-06-13lua_api.txt: add missing backticksZughy
2022-06-13Improve lua_api.txt a bunchsfan5
2022-06-11on_deactivate: distinguish removal and unloading (#11931)Lars Müller
Sometimes you need to be able to do removal-related cleanup, such as removing files from disk, or entries from a database. staticdata obviously isn't suitable for large data. The data shouldn't be removed if the entity is unloaded, only if it is removed.
2022-06-11Fix LBM docsJude Melton-Houghton
2022-06-05Document itemstrings with metadataLars Mueller
2022-06-03Add helper functions to make tool usable n times (#12047)Wuzzy
2022-06-03Docs: remove unimplemented `preserve` field in crafting recipesZughy
2022-05-29Add API function to invoke player respawnsfan5
closes #12272
2022-05-23Docs: clarify spawn_by for decorationsZughy
2022-05-22Add missing comma in example in lua_api.txt (#12339)Wuzzy
2022-05-22Add relative numbers for commands by prepending ~ (#9588)Wuzzy
* Add relative numbers for commands by prepending ~ * Some builtin code cleanup * Disallow nan and inf in minetest.string_to_area * Remove unused local variable teleportee (makes Luacheck happy) * Clean up core.string_to_pos * Make area parsing less permissive * Rewrite tests as busted tests * /time: Fix negative minutes not working Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2022-05-21Deprecate game.conf name, use title instead (#12030)rubenwardy
2022-05-09Docs: Recommend `self.name` (#12239)Lars Müller
2022-05-04Add vector.combine (#11920)Lars Müller
2022-05-02Async environment for mods to do concurrent tasks (#11131)sfan5
2022-04-27Support CSS Color Module Level 4 (#12204)Lars Müller
2022-04-24Fix typo: vector.check() ought to be vector.check(v)Lars Müller
2022-04-21Update docs to reference CSS Color Module Level 3Lars Müller
as the named color "rebeccapurple" is unavailable, Level 4 clearly isn't supported; the link should not point to a dev version of the spec either
2022-04-10Remove unneeded ObjectRef setter return values (#12179)Lars Müller
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.