1
0
Fork 0
Commit Graph

120 Commits (fc204c8717651b6a7982eafbcc2b34b9618c4f56)

Author SHA1 Message Date
kabou 315f251584 Add local to speedup global function access.
The minetest.registered_nodes function is called from multiple places.
Define a local alias registered_nodes and substitute it in all calls.
2022-02-20 18:46:23 +01:00
kabou 584a75df76 Fix filling cauldrons with water.
When using a bucket of water on a cauldron, this would not fill the
cauldron as expected, but deposit a water source block on top of the
cauldron instead.

Applied patch from mineclone5 #38 (commit #
698c29733f06a7fcb7e755bf26ee46b33b00699b) from mineclone5 that fixes
this problem.
2022-02-20 18:46:23 +01:00
NO11 c40c05f594 Exact MC behavior 2022-02-17 15:32:58 +00:00
NO11 3cfcd1355f Add missing dependency 2022-02-17 14:42:01 +00:00
NO11 4707cd4526 Correct bucket behavior 2022-02-17 14:36:48 +00:00
AFCMS b364faa7c7 make bucket use 5 lenght raycast 2021-07-17 16:22:46 +02:00
AFCMS 49bde37a5e rewrite README to markdown 2021-07-15 01:03:50 +02:00
AFCMS dc17cc91a3 make raycast start from player head 2021-07-15 00:01:56 +02:00
AFCMS 873a1e73dc fix documentation 2021-07-14 15:22:27 +02:00
AFCMS 8fff20eec9 fix misleading API 2021-07-14 15:18:12 +02:00
AFCMS ec6086d8e6 cleanup 2021-07-14 15:14:23 +02:00
AFCMS 6d7aafe0d4 Revert "more mt like API (improved readability)"
This reverts commit 88e59d3592.
2021-07-14 15:13:40 +02:00
AFCMS cf5703d528 fix luacheck warnings 2021-07-14 11:53:37 +02:00
AFCMS 88e59d3592 more mt like API (improved readability) 2021-07-14 11:52:27 +02:00
AFCMS cd08df175c add better documentation 2021-07-14 11:41:09 +02:00
AFCMS ca277b6769 mcl_bucket code refactoring + fix extra_check noot working 2021-07-14 11:29:15 +02:00
AFCMS b0127fc1c3 fix bucket dispense function 2021-07-14 09:18:15 +02:00
AFCMS d26b1b1402 use mcl_util.call_on_rightclick insteed of current implementation 2021-07-14 09:10:01 +02:00
AFCMS 30e2e0d70a test values 2021-06-14 14:36:17 +02:00
AFCMS 40f4287ff2 new buckets fixes 2021-06-12 12:21:01 +02:00
AFCMS f70dbb8cfa Merge branch 'master' into buckets 2021-06-12 10:12:51 +02:00
marcin-serwin cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS 91ac70cf28 Merge branch 'master' into buckets 2021-05-23 16:22:53 +02:00
AFCMS ac459d3914 [mcl_bucket] fix warnings 2021-05-23 00:42:31 +02:00
AFCMS 621a5a53a8 [mcl_bucket] fix warnings 2021-05-23 00:32:04 +02:00
AFCMS 17202115fa cache general functions 2021-05-22 18:58:58 +02:00
AFCMS 5d65c8a3aa Working empty bucket 2021-05-22 18:57:51 +02:00
AFCMS e9f38c6b90 WIP raycast base buckets 2021-05-22 10:47:28 +02:00
AFCMS a9bf923df9 improve mcl_bucket API (on_take callback) 2021-05-19 11:14:18 +02:00
Marcin Serwin ae7ea8edef Add polish translation of mcl_buckets 2021-04-24 20:57:57 +02:00
AFCMS d07cf64d11 Merge pull request 'mcl_death_drop refactoring' (#1415) from mcl-death-drop-refactoring into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1415
2021-03-28 18:13:57 +00:00
kay27 54e7529754 [mcl_achievements] Add mcl:stoneAge, mcl:hotStuff, mcl:obsidian 2021-03-28 04:32:57 +04:00
AFCMS 3ba7a40251 Add API documentation 2021-03-27 23:07:46 +01:00
AFCMS 5df668f6af fix mcl_buckets extra_check #1320 2021-03-17 16:56:46 +01:00
Code-Sploit 834dfcf9af Change Max Empty bucket stack back to 16 but keep Lava and Water max_stack. Reason: Wrong research 2021-03-16 13:05:19 +00:00
Code-Sploit f06a56d7c4 Set max_stack of Lava, Water and Emtpy buckets to 1 2021-03-16 12:54:33 +00:00
iliekprogrammar 7a5aa54035 Allow water & lava buckets dispensed break nether portals. 2021-03-14 12:10:54 +08:00
AFCMS a84b70bde6 move buckets registering to separate file 2021-03-12 20:05:47 +01:00
AFCMS 752f74e554 remix mcl_buckets API to be more self documented 2021-03-12 19:56:15 +01:00
Elias Fleckenstein d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
kay27 125840c9e4 Fix bucket stacks https://git.minetest.land/Wuzzy/MineClone2/issues/745 by removing leftovers of metadata usage 2020-08-02 19:46:09 +04:00
kay27 ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Wuzzy c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy 505f853e54 Fix bucket not being able to pick up liquids 2020-06-06 16:16:39 +02:00
Wuzzy d1d7c026e1 Buckets are no longer liquids_pointable 2020-05-20 21:59:37 +02:00
Rocher Laurent c9a37d0dbc Translate In French 2020-05-05 21:02:21 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy cbda2ef326 Add _tt_help to many more items 2020-03-08 03:30:40 +01:00
wuniversales 15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy e01ed8ab24 German translation: mcl_beds to mcl_chests 2019-03-14 06:20:05 +01:00
Wuzzy 5aeb4aea74 Add translation templates for most mods
Using the findtext.lua script
2019-03-13 23:40:59 +01:00
Wuzzy e37411dc13 Random pitch for eat/drink sounds 2019-03-09 00:10:59 +01:00
Wuzzy e4fbbeddb2 New translation system, part 6: Items, part 2 2019-03-07 23:40:57 +01:00
Wuzzy 0f134426e8 Fix protection-related crash when taking liquid 2019-02-11 20:03:56 +01:00
Wuzzy 46c7413337 Bucket dispensers now ignore protection
Otherwise, it bucket dispensers would not work on your own property.
2019-02-08 23:29:12 +01:00
Wuzzy 9817b38904 Fix bucket crash 2019-02-08 23:17:08 +01:00
Wuzzy 312b17a958 Check protection for most nodes 2019-02-08 21:59:01 +01:00
Wuzzy e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy fa10dc93ae Add _on_dispense callback for dispenser; refactor 2018-02-01 22:49:41 +01:00
Wuzzy 142317c65a Add river water support for bottles and cauldrons 2017-11-30 19:27:57 +01:00
Wuzzy be51523459 Add water_bucket group 2017-11-30 14:57:40 +01:00
Wuzzy 438039f3fb Add river water bucket 2017-11-30 14:50:37 +01:00
Wuzzy b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy 56e07cd010 Localize liquiddef variable in mcl_buckets 2017-09-08 15:03:56 +02:00
Wuzzy 757e727b4f Fix cauldrons not working in the Nether 2017-08-21 18:39:41 +02:00
Wuzzy f9e880e210 Make buckets work correctly in the Nether
* Water bucket can't place water in Nether
* Empty bucket can take Nether lava
* Lava bucket places Nether lava in Nether
2017-08-16 18:49:46 +02:00
Wuzzy e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy ee38a7af9d Rename mod: bucket to mcl_buckets 2017-08-03 16:36:55 +02:00