aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
AgeCommit message (Collapse)Author
2020-10-18Make lint happy; Remove stupid redirectorElias Fleckenstein
2020-10-13Fix float argument check in minetest.set_timeofday() (#10483)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-13Add ObjectRef:get_children() (#10480)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-13Pass ContentFeatures as reference to read_content_features (#10464)JosiahWI
2020-10-11Add missing type check to InvRef:set_lists() (#10476)Zughy
2020-10-09Add a short_description to be used by mods (#8980)DS
2020-10-06Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog
Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday). Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-10-05Added minetest.drop_selected_item(), Improved AutoEjectElias Fleckenstein
2020-10-05Remove unused functions reported by cppcheck (#10463)SmallJoker
Run unused functions reported by cppcheck This change removes a few (but not all) unused functions. Some unused helper functions were not removed due to their complexity and potential of future use.
2020-10-04Minimap as HUD element with API controlPierre-Yves Rollo
Features: * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes() * New HUD elements for displaying minimap with custom size and placing * New minimap mode for displaying a texture instead of the map
2020-10-04Add First Person Attachments (#10360)Jordan Snelling
Fixes some other third person camera specific attachments. Implements a single new flag for entities to be forced visible in first person mode. Old mods do not need to be updated to use the new flag and are fully backwards compatible.
2020-10-04The Robot UpdateElias Fleckenstein
2020-10-04Deprecate get_player_velocity and add_player_velocity (#10173)rubenwardy
2020-09-16Clean up server-side translations, remove global variable (#10075)rubenwardy
2020-08-27Lua API: Register missing get_texture_mod function (#10338)karamel59
2020-08-22Unrestricted HTTP API for Client, Server and Main MenuElias Fleckenstein
2020-08-22Added minetest.get_inventory(location)Elias Fleckenstein
2020-08-22Removed console output spammed by minetest.find_node_nearElias Fleckenstein
2020-08-22Added Documentation for Additional APIElias Fleckenstein
2020-08-18idk20-08-2020Elias Fleckenstein
2020-08-16Improved World Hacks, added API functionsElias Fleckenstein
2020-08-15Imporoved set_wield_index() to include camera updateElias Fleckenstein
2020-08-15UI Update; Added AutoToolElias Fleckenstein
2020-08-15Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2020-07-31Added more cheatsElias Fleckenstein
2020-07-29Add PUT and DELETE request + specific method value to HTTP API (#9909)Lejo
2020-07-28Sanitize world directory names on create. Keep original name separate (#9432)Hugues Ross
Blacklisted characters are replaced by '_' in the path. The display name is stored in world.mt, and duplicate file names are resolved by adding an incrementing suffix (_1, _2, _3, etc).
2020-07-18Added customizable keybindings, improved freecam, added special inventory ↵Elias Fleckenstein
keybind (by default ender inventory)
2020-07-18Fixed 5.4.0-dev buildElias Fleckenstein
2020-07-18Update to minetest 5.4.0-devElias Fleckenstein
2020-07-16Revert "Auto delete MetaData when = 0 (#8770)" (#10183)Lars Müller
This reverts commit 808eb4c5714da5ac36f4a70653d6b3805060828c.
2020-07-14Implement grouped mode for find_nodes_in_area (#9888)sfan5
plus general improvements to find_node_* functions
2020-07-06Initial CommitElias Fleckenstein
2020-06-23testElias Fleckenstein
2020-06-22Fix HTTP API not being available in async mainmenu (#10086)rubenwardy
2020-06-13Exposing the zoom key to Lua API (#9903)Lars Müller
Co-authored-by: Raul Ferriz <raul.ferriz@gmail.com>
2020-06-13Server pushing media at runtime (#9961)sfan5
2020-06-09LuaItemStack: Add __tostring metamethod (#8785)Paul Ouellette
* LuaItemStack: Add __tostring metamethod * Clean up LuaItemStack::checkobject
2020-06-06Add HTTP API to main menu (#9998)rubenwardy
2020-05-23Implement spawning particles with node texture appearancesfan5
2020-05-23Modernize include guards and add missing ones (#9898)Awkor
2020-05-22Check for valid base64 before decoding (#9904)Lejo1
2020-05-22Cleanup of particle & particlespawner structures and code (#9893)sfan5
2020-05-20Allow more than 255 biomes, document new maximum (#9855)Paramat
Change biomemap data type from u8 to u16. New technical (not practical) maximum is 65535 biomes.
2020-05-19Rework functionality of leveled nodes (#9852)Wuzzy
Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-05-17Add core.open_url() to main menu API (#8592)rubenwardy
2020-05-14CSM: Bugfixes to camera:get_pos() and camera:get_fov()sfan5
closes #9857
2020-05-07Server class code cleanups (#9769)Loïc Blot
* Server::overrideDayNightRatio doesn't require to return bool There is no sense to sending null player, the caller should send a valid object * Server::init: make private & cleanup This function is always called before start() and loads some variables which can be loaded in constructor directly. Make it private and call it directly in start * Split Server inventory responsibility to a dedicated object This splits permit to found various historical issues: * duplicate lookups on player connection * sending inventory to non related player when a player connects * non friendly lookups on detached inventories ownership This reduce the detached inventory complexity and also increased the lookup performance in a quite interesting way for servers with thousands of inventories.
2020-05-05Fix remaining issues with mapgen scriptapisfan5
2020-05-05Give the Mapgen on each EmergeThread its own Biome/Ore/Deco/SchemManager copysfan5