aboutsummaryrefslogtreecommitdiff
path: root/builtin
AgeCommit message (Collapse)Author
2020-09-03Add 'ores' global mapgen flag (#10276)Paramat
2020-08-30Fix #10349 game crashing if dropped an item with undefined light_source (#10351)Pierre-Yves Rollo
2020-08-30Fix dropped craftitems/tools not using light_source values (#9438)LoneWolfHT
2020-08-29Add vector.offset (#10321)DS
2020-08-27Android: drop simple MainMenu (#10227)Maksim
The default (PC-style) MainMenu works great on Android. Provides access to ContentDB and allows players to create many worlds in a few clicks. Makes the interface consistent and eliminates player confusion.
2020-08-23Auto focus on OK button in main menu error messages (#10300)Vincent Robinson
2020-08-18Allow the ABM time budget to be configurable.Lars
2020-08-17ContentDB: Add Update All and download queuing (#9995)rubenwardy
2020-08-15Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2020-08-06Change `last-login` command to show player name in output (#10263)Emojigit
2020-08-05Mapgen Flat: Add caverns, disabled by default (#9913)Paramat
Add the caverns used in V5, V7, Valleys, Carpathian. Disabled by default to not be force-enabled in existing worlds.
2020-07-30Falling: Fix error caused by missing param2SmallJoker
Falling nodes that were spawned prior the recent falling node changes did not require param2. Default to param2 = 0 when none is found in the node data.
2020-07-28Fix incorrect view URL for gamesrubenwardy
package.id is a sanitised combination of author and basename, used to compare remote and local content. Minetest ignores `_game` when comparing game names, so package.id has `_game` removed. This meant that the wrong URL was being generated for View.
2020-07-14Add object crosshair, disable entity selectionboxes by default (#9523)LoneWolfHT
Adds new object crosshair base pack texture
2020-07-08Fix ContentDB menu icons not appearing on Windowssfan5
2020-06-09Some vector functions useful for working with rotations (#9572)NetherEran
* added vector.rotate * added vector.forward_from_rotation and vector.up_from_rotation * added vector.forward_up_to_rotatiton * fixed some bugs and formatting with vector functions * shortened name of some new vector functions and added documentation * made vector.rotate not require a unit vector as axis * fixed crash with vector.forward_up_to_rot * renamed new vector functions, made vector.rotate apply a rotation matrix, old vector.rotate is now called vector.rotate_around_axis * documented vector function changes * removed some whitespace to appease luacheck * implemented and fixed optimization of vector.rotate_around_axis by SmallJoker * added some unit tests for rotation vector functions * clarified that rotation vectors are in radians and according to the left hand rule * hopefully appeased luacheck * renamed rotation_to_horizontal to forward_at_rotation, rotation_to_vertical to up_at_rotation * handled cases where sin or cos are 0 in rotation vector functions * added more comments * clarified documentation of rotation vector functions * added more unit tests * changed way in which vector.rotate_around_axis is adjusted for left handed coordinate systems * made vector.rotate_around_axis actually left handed * unrolled matrix multiplication * removed vector.forward_at_rotation and vector.up_at_rotation * prettified vector.rotate_around_axis, made previous commits not break anything * removed references to removed vector.forward_at_rotation and vector.up_at_rotation * removed documentation of removed vector functions * clarified documentation and fixed styling of rotation vector functions * restyled comments minorly * spelling fixes and some hopefully better comments * allowed 'up' to be missing from vector.directions_to_rotation and removed requirement for unit vectors as arguments * made vector.rotate_around_axis() right handed again for consistency * documented previous changes * made matrix multiplication actually multiply * renamed vector.directions_to_rotation() to vector.dir_to_rotation() * optimized a distance comparison * Fixed potential false positive in unit tests. Co-authored-by: NetherEran <nethereran@hotmail.com>
2020-06-09LuaItemStack: Add __tostring metamethod (#8785)Paul Ouellette
* LuaItemStack: Add __tostring metamethod * Clean up LuaItemStack::checkobject
2020-06-06Fix incorrect extension used for ContentDB thumbnailsrubenwardy
2020-06-06Add HTTP API to main menu (#9998)rubenwardy
2020-06-04Add buttons to ContentDB in game bar and configure world (#9944)rubenwardy
2020-05-29Add minetest.is_creative_enabledWuzzy
2020-05-29Update ContentDB dialog (#9949)rubenwardy
2020-05-27Change item entity collisionbox so that they don't sink into the groundsfan5
2020-05-27Fix falling entity not falling through playerssfan5
2020-05-27Make ContentDB downloads not block the UI (#9948)rubenwardy
2020-05-26Rename “Minimal development test” to “Development Test” (#9928)Wuzzy
2020-05-24Add engine version string to ContentDB API request (#9890)rubenwardy
2020-05-24Add chat_font_size setting (#9736)SmallJoker
Default font sizes are used when the setting value is 0 or below (clamped by Settings).
2020-05-24Fix documentation of emergequeue_limit settingssfan5
2020-05-23Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid
Replace on_auth_fail callback with more versatile on_authplayer Better clarify account login process in Lua API documentation Change initial timestamp for newly registered accounts to -1
2020-05-22Various documentation fixes in settingtypes.txt (#9910)Paramat
Fix incorrect value of 'mgv7_floatland_density'. Use correct spelling of 'persistence'. Move '3d_paralax_strength' into correct section (3D mode). Refer to 'active_object_send_range_blocks' instead of non-existent 'active_object_range'.
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-17builtin: Move common/async_event.lua to mainmenu/async_event.luasfan5
It only works in the context of the mainmenu.
2020-05-17Add core.open_url() to main menu API (#8592)rubenwardy
2020-05-16Error msg if trying to teleport attached player (#9824)Wuzzy
2020-05-14Add new Mapgen V7 floatland implementation (#9296)Paramat
Floatland structure is vertically-compressed 3D noise. Uses a lacunarity of 1.618 (the golden ratio) for high quality noise. Floatlands appear between user-settable Y limits, with smooth tapering at each limit. Simple user-settable density adjustment. Shadow propagation is disabled in and just below floatlands, no shadows are cast on the world surface. Can be reconfigured to create a solid upper world layer between the Y limits, lakes/seas can be optionally added to this.
2020-05-14Add chat_log_level setting (#9223)SmallJoker
Log all higher levels in LogOutputBuffer Move StreamLogOutput::logRaw to source file like LogOutputBuffer::logRaw for compiling speed
2020-05-14Item Entity: Add message to moveresult assertion (#9797)rubenwardy
2020-05-13Allow placing auto-rotating nodes on other nodes in on_rightclick (#9859)Yaman Qalieh
2020-05-13Document inf value in rollback commands (#9789)Zughy
2020-05-12Add mapgen settings to world creation dialog (#9254)Wuzzy
2020-05-11Add support for statbar “off state” icons (#9462)Wuzzy
This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles. Add "off state" textures to the builtin statbars. Co-authored-by: SmallJoker <mk939@ymail.com>
2020-05-06Enable collide_with_objects for falling entitiessfan5
falling nodes intentionally still fall through players fixes #5313
2020-05-06Rewrite falling entity to make use of collision infosfan5
fixes #4781, fixes #9293
2020-05-05Update num_emerge_threads descriptionsfan5
2020-05-04Change default keys for cam/minimap to C/V (#9779)Wuzzy
2020-04-29Add MetricsBackend with prometheus counter supportLoic Blot
2020-04-28Fix breath_bar scaling; delay breath_bar hiding by one second (#8271)ANAND
PLAYER_MAX_BREATH_DEFAULT was earlier set to 11, so that 10 bubbles are shown before the breath bar disappears. Now, PLAYER_MAX_BREATH_DEFAULT is set to 10, and the breath_bar scaling code in builtin has been tweaked to show all 10 bubbles before hiding the breath_bar
2020-04-27Rewrite builtin item entity to use collision infosfan5
fixes #8967
2020-04-27Expose collision information to LuaEntity on_stepsfan5