aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
AgeCommit message (Collapse)Author
2020-12-22Fix fallnode rotation of wallmounted nodebox/mesh (#10643)Wuzzy
2020-12-04Fix certain connected nodeboxes crashing when fallingsfan5
fixes #10695
2020-11-15Fix falling image of torchlike if paramtype2="none" (#10612)Wuzzy
2020-11-12Copy position for can_digsfan5
fixes #10514
2020-11-10Do not set a default for description in itemdef table (#10559)DS
* Do not set a default for description in itemdef table * improve documentation
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-04Deprecate get_player_velocity and add_player_velocity (#10173)rubenwardy
2020-10-03Lua API: Add register_on_chatcommand to SSM and CSM (#7862)Elijah Duffy
Allows catching a chatcommand call just after the command and the parameters are parsed but before its existence is checked and before the corresponding function is run. Returning `true` from a callback function will prevent default handling of the command leaving mods to handle the command manually.
2020-10-03Chatcommand: Show help message if func returns false without messageHybridDog
#9440
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-06Change `last-login` command to show player name in output (#10263)Emojigit
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-05-29Add minetest.is_creative_enabledWuzzy
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-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-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-16Error msg if trying to teleport attached player (#9824)Wuzzy
2020-05-14Item Entity: Add message to moveresult assertion (#9797)rubenwardy
2020-05-13Document inf value in rollback commands (#9789)Zughy
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-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
2020-04-27builtin: Correctly indicate failure in /spawnentitysfan5
2020-04-26Add new command /revokeme <priv> (#9584)David Leal
2020-04-13Add default stack size setting (#8873)SmallJoker
New setting "default_stack_max" to alter the default stack sizes of all items when desired. Co-authored-by: Pascal Abresch <nep@packageloss.eu>
2020-04-04Builtin: Make item entities glow less (#9594)sfan5
minor adjustment to #9200
2020-03-14Fix some chatcommands not returning a value (#9503)Wuzzy
2020-03-05Fix pathfinder bugs: returning nil frequently, broken A*, jump through solid ↵Wuzzy
nodes (#9339) * Fix pathfinder fail when startpos is over air * Note down pathfinder restrictions * Implement real A* search * Pathfinder: Implement buildPath non-recursively * Update find_path documentation * Pathfinder: Check if jump path is unobstructed * Pathfinder: Fix drop check first checking upwards * Pathfinder: Return nil if source or dest are solid * Pathfinder: Use priority queue for open list
2020-02-23Move core.get_connected_players() implementation to C++sfan5
Keeping the ObjectRefs around in a table isn't ideal and this allows removing the somewhat nonsensical is_player_connected() added in 86ef7147.
2020-02-22Falling nodes: Add support for facedir, colorfacedir, wallmounted, ↵Wuzzy
colorwallmounted, color, airlike, signlike, torchlike and glow (#9205)
2020-02-16Builtin: Fix error by digging unknown nodesSmallJoker
2020-02-01Convert sound_play uses in builtin to ephemeralsfan5
2020-02-01Let node 'place' and 'dug' sounds be heard by other playerssfan5
2019-12-24Fix item eat sound not played if last item (#9239)Wuzzy
2019-12-20/privs: Delimit output list of privs with commas (#9224)ANAND
2019-12-19Builtin: Make dropped light_source nodes glow (#9200)Wuzzy
2019-12-18Make core.item_place_node return position of placed node. (#7713)Bluebird
2019-12-16Correct documentation around minetest.item_placesfan5
The code that calls minetest.item_place_object was removed in 2013 in commit fc61c8809b9a1d47d9f117446764107a56cec956.
2019-11-25Use a safer implementation of gsub in core.chat_format_message (#9133)ANAND
This search-and-replace implementation does not use Lua pattern-matching
2019-11-05Improve documentation around banning (#9088)sfan5
* Fix ban chatcommand description * Correct ban API documentation
2019-11-02Builtin: Improve /clearobjects message (#9084)Alistair Findlay
2019-10-29Change some usages of "deprecated" to "obsolete" (#9062)random-geek
"Deprecated" means that something is still in use, but is unsupported and needs to be removed. "Obsolete" means it is already out of use.
2019-10-05Merge pull request #8166 from Warr1024/fix7020Warr1024
Fix (or workaround?) for 'Falling nodes with node inventory cause crash when unloaded'
2019-09-29Allow grep-ing for on_grant and on_revoke (#8958)DS
Just two code comments are added.