Commit Graph

634 Commits (master)

Author SHA1 Message Date
sfence fcaeff1e1e Backport 'Add min_y and max_y checks for Active Block Modifiers (ABM)' b10091be9b
This check can be used by ABM to reduce CPU usage.
2021-06-22 16:22:58 +03:00
MoNTE48 098ff110f2 Backport 'Implement client node dig prediction' 5b3fbf9cf7 2021-04-06 12:00:57 +02:00
luk3yx 49d200d086
Remove core.remove_detached_inventory (#193) 2020-12-20 16:40:51 +01:00
MoNTE48 fe5941bdf7 Builtin: Backport MT5 Game 2020-02-04 21:47:07 +01:00
MoNTE48 eac50692d7 Builtin items: cleanup, optimize and backport MT5 changes 2020-02-04 20:02:25 +01:00
MoNTE48 f524bd2a1c Backport: Object properties: Add 'glow', disables light's effect if negative
a9d43a0471
The 'glow' value is added to the ambient light value.
Negative 'glow' disables light's effect on object colour, for faking
self-lighting, UI-style entities, or programmatic colouring in mods.
2020-01-22 20:56:48 +01:00
MoNTE48 1bb669c854 Builtin: update vector 2020-01-17 14:22:09 +01:00
MoNTE48 d3436bafab Backport 'Add 'place_offset_y' placement parameter' form MT5 2019-12-15 22:43:28 +01:00
MoNTE48 641e6c716f pwdfield - support default value 2019-11-02 22:53:55 +01:00
MoNTE48 198f4ae58f Server: add more logs 2019-10-11 14:28:30 +02:00
MoNTE48 824515ebed Backport 'Underwater plantlike drawtype' https://github.com/minetest/minetest/pull/5748 2019-10-11 14:28:30 +02:00
MoNTE48 0a69c859c7 Hunger: add poison API 2019-09-06 17:23:57 +02:00
MoNTE48 1fd1193342 Receive events from each key pressed in field and textarea (by @kilbith) 2019-07-06 14:18:40 +02:00
stujones11 b521717564 Add cube wieldview and other minor fixes 2019-07-01 23:57:17 +02:00
stujones11 ed2e0ada40 Add player iteration methods to builtin, optimization of many mods 2019-07-01 00:51:39 +02:00
MoNTE48 213b2593bd Cleanup, preparing some mods for update 2019-06-29 09:53:45 +02:00
stujones11 a082b698c4 Move throwing physics to builtin 2019-06-22 01:09:54 +02:00
stujones11 f5d94965b8 Add speed group and drown in walkable, remove playerplus mod 2019-06-17 21:32:11 +02:00
MoNTE48 26d603f2a9 Backport "slippery" feature from MT 5.0, replace builtin deprecated function calls, move eat sound in builtin 2019-06-03 15:46:14 +02:00
MoNTE48 e98d421aff Merge remote-tracking branch 'upstream/stable-0.4' into sync 2019-04-01 20:18:54 +02:00
SmallJoker c1c9995959 Bump version to 0.4.17 2018-06-03 17:35:20 +02:00
SmallJoker 7c0ec10625 core.rotate_node: Do not trigger after_place_node (#6900) 2018-06-03 17:32:00 +02:00
paramat c307b0ae1d Find nodes in area (under air): Raise volume limit and document it 2018-06-03 17:32:00 +02:00
you 5004ad17f0 Add minetest.is_player (#7013)
* Add minetest.is_player

* First use for is_player
2018-06-03 17:32:00 +02:00
sfan5 cccbb25714 Update documentation regarding authentication handler and related functions
Properly document it instead of referencing the builtin handler as
authoritative "example" code.
Also adds definition of get_auth_handler() which was missing previously.
2018-06-03 17:32:00 +02:00
Ezhh b8193de010 Improve documentation for player:set_attribute() 2018-06-03 17:32:00 +02:00
paramat bc6b1639a5 Lua_api.txt: Add documentation of required mapgen aliases 2018-06-03 17:32:00 +02:00
sfan5 2f2a775590 Add minetest.safe_write_file() to script API 2018-06-03 17:32:00 +02:00
Rob Blanckaert c9e758408d Add sha1 to lua utils. (#6563) 2018-06-03 17:32:00 +02:00
raymoo 352e17583d Fix default item callbacks to work with nil users (#5819)
* Fix default item callbacks to work with nil users

* item.lua: Handle node drops for invalid players

The if-condition for the dropping loop is the same as `inv`, which means that the 2nd possible definition of `give_item` is never used.
Remove redundant `local _, dropped_item`
2018-06-03 17:32:00 +02:00
Auke Kok 80d3922685 Correct `prot_vers` in lua_api.txt.
We should avoid providing incorrect struct members in documentation
since people will be coding based on them.
2018-06-03 17:32:00 +02:00
raymoo 6f093e257d Document orientation parameter of set_attach (#6473) 2018-06-03 17:31:59 +02:00
paramat c94cab7fc9 Leveled nodebox: Change levels from 1/63rds to 1/64ths
Add missing documentation of leveled nodebox to lua_api.txt, plus
a little cleaning up nearby.
2018-06-03 17:31:59 +02:00
sfan5 1e63e53a3f Fix core.wrap_text and make its behaviour consistent with the docs
Code based on initial implementation by @dsohler.
2018-06-03 17:31:59 +02:00
Dániel Juhász 5e5a350a83 Make dropped items colorable 2018-06-03 17:31:59 +02:00
SmallJoker 9429b15fd8 Trigger on_rightclick regardless on the formspec meta field
Document behaviour for older clients.
2018-06-03 17:31:59 +02:00
Dániel Juhász 4836612b9f Automatic item and node colorization (#5640)
* Automatic item and node colorization

Now nodes with a palette yield colored item stacks, and colored items
place colored nodes by default. The client predicts the colorization.

* Backwards compatibility

* Use nil

* Style fixes

* Fix code style

* Document changes
2018-06-03 17:31:59 +02:00
SmallJoker a766044a0c find_nodes_in_area: Extend maximal count to U32_MAX (#5277)
Extend documentation, limit area volume
Remove u16 count limitation

* Prevent integer overflow, replace minp/maxp with pos1/pos2
2018-06-03 17:31:59 +02:00
DS a9e53c951c fix an example in lua_api (#5604) 2018-06-03 17:31:59 +02:00
red-001 d99767ea8b Fix typos/mistakes in the documentation for colour related functions. (#5936) 2018-06-03 17:31:59 +02:00
sfan5 2c1068ad12 Revert version scheme changes
This reverts commit 41b7823057bdaddd760f932dce802719301c3a0f.
This reverts commit 7968f1ddaa67432719d5becdda5ca8bec58faa47.
2017-11-20 19:28:58 +01:00
Loïc Blot 9f2d9fbee5 New version scheme (#6292)
* Version changes: current dev version is now 0.4.17

* This change permit to have multi branches with various versions
* Dev version is 0.4.17-dev and next release will be 0.4.17
2017-08-20 17:25:07 +02:00
Maksim Gamarnik 35770f4abb Merge Minetest 0.4.16 2017-06-06 23:03:34 +03:00
ShadowNinja 481febd69d Bump version to 0.4.16 2017-06-03 14:42:10 -04:00
ShadowNinja 688fe61c12 Update remove_player documentation
This function only removes player meta data,
not player authentication data.
2017-06-03 14:39:49 -04:00
Wuzzy ac62876c05 Mention data type for get/set_attribute in docs (#5884) 2017-06-03 08:20:22 +02:00
Wuzzy 23a82d06cc Lua_api.txt: Various edits and Markdown syntax improvements
Add minor bits of missing Lua API documentation.
Remove L-system lighting bug warning.
Clarify 2 lines in node timer documentation.
Fix many Markdown syntax errors in lua_api.txt.
2017-06-02 18:01:12 +01:00
Dániel Juhász 3f5c0c0d3a Document hardware coloring and soft node overlays (#5876) 2017-06-02 15:57:59 +02:00
SmallJoker b6ff239ec6 CSM: Document forgotten functions 2017-05-16 21:57:26 +01:00
rubenwardy 10f104078a Replace inconsistent mentions of core.* with minetest.* (#5749) 2017-05-12 11:27:58 +02:00