Commit Graph

49 Commits

Author SHA1 Message Date
teknomunk
b582afeb1f Update documentation for Minetest rename to Luanti (#4706)
This updates the VoxeLibre documentation by replacing "Minetest" with "Luanti" and updating links.

Done:
* Update "Minetest" in documentation and comments to "Luanti"
* Update links to forums, ContentDB and Luanti project web page

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4706
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-11-28 20:55:48 +01:00
teknomunk
94d9e4c881 Address review comments 2024-11-09 20:30:35 -06:00
teknomunk
70e8ba9a89 Remove TODO pending future discussions, revert timer change in composter code 2024-11-09 20:24:02 -06:00
teknomunk
e6e13bdc67 Change _mcl_on_bonemealing to _on_bone_meal, update API.md to reflect this 2024-11-09 20:24:02 -06:00
teknomunk
1e0f7618ba Remove bone meal definition in mcl_dye, make textures in mcl_cocoas match master branch 2024-11-09 20:24:02 -06:00
kabou
4449f74742 Remove color specifications from cocoa beans.
* The cocoa beans craftitem definition still had color specifications
  from its past as a dye substitute.  These can be removed now.
2024-11-09 20:24:02 -06:00
kabou
8acddab74f Bonemealing mechanics bugfix.
When applying bonemeal to eg. farm crops, these have a chance to grow in
response to the application of bone meal. When a node can be bonemealed, the
applied bone meal item should always be spent after using it, regardless of
the results.  Currently this does not work correctly, if the result of
bonemealing has no effect on the node, the used bone meal item is not spent.

This commit fixes the behavior of the bone meal item to always be taken when
used on a node that defines a `_mcl_on_bonemealing()` callback.

The nodes that implement the callback imay use the handler's return value
only to signal if the bonemealing was succesful, not to signal if it was at
all possible.  For this reason, some nodes need to be made more strictly
conforming to the API.

* Always take the used bone meal item (if user is not in creative mode),
  regardless of whether the bonemealed node's handler returned `true`.
* Make dispensers spawn particles after succesful bonemealing.
* Trivial comment fix.
* Ripe cocoa pod cannot be bonemealed.
* Update API.md to describe the stricter API semantics.
2024-11-09 20:24:02 -06:00
kabou
810051c591 Move cocoa beans item to mcl_cocoas.
* Add `mcl_cocoas:coca_beans` craftitem to mcl_cocoas.
* Remove `mcl_dye:brown` craftitem from mcl_dye.
* Move cocoa beans translations from mcl_dye to mcl_cocoas.
* Add `mcl_dye:brown` alias for `mcl_cocoas:cocoa_beans` to
  mcl_dye.
* Abstract cocoa pod node registration into a loop.
* Update chocolate cookies crafting recipe in mcl_farming.
2024-11-09 20:24:02 -06:00
kabou
bde0d9b238 Add bonemealing callback to cocoa.
* Adds a _mcl_on_bonemealing callback to the unripe cocoa pods.
2024-11-09 20:24:02 -06:00
kabou
2a37d38f6c Reformat cocoa pod node definition groups. 2022-12-31 11:18:04 +01:00
kabou
89821a8329 Rename cocoa pod placement function.
* Rename cocoa pod placement function to match the `on_place` call in
  the cocoa pods item definition.
* Make the function local, there are no callers outside of mcl_cocoas.
2022-12-31 10:41:39 +01:00
kabou
7d8fdc6ec3 Separate brown dye from cocoa beans.
* Add craftitem "mcl_cocoas:cocoa_beans".
* Add texture for brown dye item.
* Merge craftitem registration for "mcl_dye:brown" with generic dyes.
* Add crafting recipe for brown dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update cookie recipe.
2022-12-29 03:08:49 +00:00
FossFanatic
78d45d23c2 change the code 2022-11-16 13:38:44 +00:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
Nicu
df8fdda2c5 Fix #1346
Fixes crash trying to place cocoa
2021-03-19 17:25:40 +00:00
AFCMS
731d42196a fixes in mcl_cocoas 2021-03-15 09:02:45 +01:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Elias Åström
6315490b14 Update the rest of the blast resistance values
The values have been updated according to this list:

https://minecraft.gamepedia.com/Module:Blast_resistance_values
2020-04-19 13:08:36 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
5b956c1c47 Disallow cocoa screwdriver rotation 2019-12-15 00:27:23 +01:00
Wuzzy
5647fbf6e0 Add German translation for mcl_cocoas 2019-03-21 20:13:35 +01:00
Wuzzy
e4fbbeddb2 New translation system, part 6: Items, part 2 2019-03-07 23:40:57 +01:00
Wuzzy
71e663efe6 Merge branch 'lever' 2018-01-08 21:00:36 +01:00
Wuzzy
d4d03526db Cocoas now use attached_node_facedir
This fixes some annoying bugs when removing jungle trees nearby
2018-01-08 20:19:33 +01:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy
82a1fcc846 Update cocoa textures 2017-07-15 11:57:32 +02:00
Wuzzy
f7393cf970 Generate vines in jungles, move cocoa gen b/w mods 2017-05-27 01:54:40 +02:00
Wuzzy
077242efa4 Disable cocoa generator for non v6 mapgens 2017-05-27 00:55:56 +02:00
Wuzzy
4ef90204e3 Lava flow destroys chorus pl., nether wart, cocoa 2017-05-22 22:29:15 +02:00
Wuzzy
da3205837b Add label to all ABMs 2017-05-15 00:45:54 +02:00
Wuzzy
30564e494e Make many blocks drop when pushed by piston 2017-03-29 22:58:31 +02:00
Wuzzy
b1b45274e4 Add Help entry aliases for many core items 2017-03-20 18:12:05 +01:00
Wuzzy
7e38794fc7 Fix cocoa / nether wart help 2017-03-13 18:56:50 +01:00
Wuzzy
cd53fc401b Add cocoa help 2017-03-11 17:42:20 +01:00
Wuzzy
aabb1e972d Add _doc_items_create_entry fields for doc_items 2017-03-02 19:53:53 +01:00
Wuzzy
064bf1effe Fix crash when placing cocoa beans in item frame 2017-03-02 15:50:53 +01:00
Wuzzy
4ec6f5a3ec Hardness for the last remaining items 2017-02-27 18:38:31 +01:00
Wuzzy
4da0723146 Add hardness to anvils, bookshoelves, cakes, chests, cocoas 2017-02-27 01:13:03 +01:00
Wuzzy
0aeb109c64 Add blast resistance to a ton of blocks 2017-02-22 16:03:59 +01:00
Wuzzy
1fd3bba796 Fix drop of mature cocoa
This is the Bugfix of the Day!
2017-02-18 21:14:27 +01:00
Wuzzy
9f96ccb4be Fix bad digging time of cocoas 2017-02-18 21:10:28 +01:00
Wuzzy
66c9e5b502 Make cocoas drop when the jungle tree has been removed 2017-02-18 21:07:57 +01:00
Wuzzy
02b6cc11f5 Make cocoas grow 2017-02-18 20:23:26 +01:00
Wuzzy
f0e5a9707a Generate cocoas at jungle trees 2017-02-18 19:15:58 +01:00
Wuzzy
4f5c625072 Set correct facedir of placed cocoas 2017-02-18 18:28:33 +01:00
Wuzzy
a2e06543a1 Texturize cocoas and set cocoa boxes 2017-02-18 18:19:43 +01:00
Wuzzy
ec93f7bf57 Cocoas: remove refill 2017-02-18 16:14:31 +01:00
Wuzzy
a821690c66 Rename mcl_cocoa to mcl_cocoas 2017-02-18 16:10:55 +01:00