aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
Commit message (Collapse)AuthorAge
* Implement on_rightclickplayer callback (#10775)JDiaz2021-01-11
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Fix fallnode rotation of wallmounted nodebox/mesh (#10643)Wuzzy2020-12-22
|
* Fix certain connected nodeboxes crashing when fallingsfan52020-12-04
| | | | fixes #10695
* Fix falling image of torchlike if paramtype2="none" (#10612)Wuzzy2020-11-15
|
* Copy position for can_digsfan52020-11-12
| | | | fixes #10514
* Do not set a default for description in itemdef table (#10559)DS2020-11-10
| | | | | * Do not set a default for description in itemdef table * improve documentation
* Add a short_description to be used by mods (#8980)DS2020-10-09
|
* Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog2020-10-06
| | | | | 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>
* Deprecate get_player_velocity and add_player_velocity (#10173)rubenwardy2020-10-04
|
* Lua API: Add register_on_chatcommand to SSM and CSM (#7862)Elijah Duffy2020-10-03
| | | | | | | 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.
* Chatcommand: Show help message if func returns false without messageHybridDog2020-10-03
| | | #9440
* Fix #10349 game crashing if dropped an item with undefined light_source (#10351)Pierre-Yves Rollo2020-08-30
|
* Fix dropped craftitems/tools not using light_source values (#9438)LoneWolfHT2020-08-30
|
* Change `last-login` command to show player name in output (#10263)Emojigit2020-08-06
|
* Falling: Fix error caused by missing param2SmallJoker2020-07-30
| | | | | 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.
* Add minetest.is_creative_enabledWuzzy2020-05-29
|
* Change item entity collisionbox so that they don't sink into the groundsfan52020-05-27
|
* Fix falling entity not falling through playerssfan52020-05-27
|
* Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid2020-05-23
| | | | | | 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
* Rework functionality of leveled nodes (#9852)Wuzzy2020-05-19
| | | | Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
* Error msg if trying to teleport attached player (#9824)Wuzzy2020-05-16
|
* Item Entity: Add message to moveresult assertion (#9797)rubenwardy2020-05-14
|
* Document inf value in rollback commands (#9789)Zughy2020-05-13
|
* Add support for statbar “off state” icons (#9462)Wuzzy2020-05-11
| | | | | | | 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>
* Enable collide_with_objects for falling entitiessfan52020-05-06
| | | | | falling nodes intentionally still fall through players fixes #5313
* Rewrite falling entity to make use of collision infosfan52020-05-06
| | | | fixes #4781, fixes #9293
* Fix breath_bar scaling; delay breath_bar hiding by one second (#8271)ANAND2020-04-28
| | | | | 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
* Rewrite builtin item entity to use collision infosfan52020-04-27
| | | | fixes #8967
* Expose collision information to LuaEntity on_stepsfan52020-04-27
|
* builtin: Correctly indicate failure in /spawnentitysfan52020-04-27
|
* Add new command /revokeme <priv> (#9584)David Leal2020-04-26
|
* Add default stack size setting (#8873)SmallJoker2020-04-13
| | | | | New setting "default_stack_max" to alter the default stack sizes of all items when desired. Co-authored-by: Pascal Abresch <nep@packageloss.eu>
* Builtin: Make item entities glow less (#9594)sfan52020-04-04
| | | minor adjustment to #9200
* Fix some chatcommands not returning a value (#9503)Wuzzy2020-03-14
|
* Fix pathfinder bugs: returning nil frequently, broken A*, jump through solid ↵Wuzzy2020-03-05
| | | | | | | | | | | | | | 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
* Move core.get_connected_players() implementation to C++sfan52020-02-23
| | | | | Keeping the ObjectRefs around in a table isn't ideal and this allows removing the somewhat nonsensical is_player_connected() added in 86ef7147.
* Falling nodes: Add support for facedir, colorfacedir, wallmounted, ↵Wuzzy2020-02-22
| | | | colorwallmounted, color, airlike, signlike, torchlike and glow (#9205)
* Builtin: Fix error by digging unknown nodesSmallJoker2020-02-16
|
* Convert sound_play uses in builtin to ephemeralsfan52020-02-01
|
* Let node 'place' and 'dug' sounds be heard by other playerssfan52020-02-01
|
* Fix item eat sound not played if last item (#9239)Wuzzy2019-12-24
|
* /privs: Delimit output list of privs with commas (#9224)ANAND2019-12-20
|
* Builtin: Make dropped light_source nodes glow (#9200)Wuzzy2019-12-19
|
* Make core.item_place_node return position of placed node. (#7713)Bluebird2019-12-18
|
* Correct documentation around minetest.item_placesfan52019-12-16
| | | | | The code that calls minetest.item_place_object was removed in 2013 in commit fc61c8809b9a1d47d9f117446764107a56cec956.
* Use a safer implementation of gsub in core.chat_format_message (#9133)ANAND2019-11-25
| | | This search-and-replace implementation does not use Lua pattern-matching
* Improve documentation around banning (#9088)sfan52019-11-05
| | | | | * Fix ban chatcommand description * Correct ban API documentation
* Builtin: Improve /clearobjects message (#9084)Alistair Findlay2019-11-02
|
* Change some usages of "deprecated" to "obsolete" (#9062)random-geek2019-10-29
| | | | "Deprecated" means that something is still in use, but is unsupported and needs to be removed. "Obsolete" means it is already out of use.
* Merge pull request #8166 from Warr1024/fix7020Warr10242019-10-05
| | | Fix (or workaround?) for 'Falling nodes with node inventory cause crash when unloaded'