aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
Commit message (Collapse)AuthorAge
* Predict failing placement of ignore nodesWuzzy2021-03-07
|
* Translate builtin (#10693)Wuzzy2021-03-05
| | | | | This PR is the second attempt to translate builtin. Server-sent translation files can be added to `builtin/locale/`, whereas client-side translations depend on gettext.
* Restructure teleport command code (#9706)HybridDog2021-02-24
|
* Replace deprecated call to add_player_velocity in builtin (#10968)Elias Fleckenstein2021-02-18
|
* Fix short_description fallback order (#10943)rubenwardy2021-02-17
|
* Replace 'minetest.' with 'core.' in builtinrubenwardy2021-02-11
|
* Revise dynamic_add_media API to better accomodate future changessfan52021-02-01
|
* Fix minetest.dig_node returning true when node isn't diggable (#10890)rubenwardy2021-01-31
|
* Rework use_texture_alpha to provide three opaque/clip/blend modessfan52021-01-29
| | | | | The change that turns nodeboxes and meshes opaque when possible is kept, as is the compatibility code that warns modders to adjust their nodedefs.
* Drop never documented 'alpha' property from nodedefsfan52021-01-29
| | | | | Includes minimal support code for practical reasons. We'll need it for a slightly different purpose next commit.
* Removed some obsolete code (#10562)Zughy2021-01-21
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* 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
|