Commit Graph

49 Commits

Author SHA1 Message Date
kno10
b5afa34469 Remove "wet" metadata altogether 2024-11-10 02:11:37 +01:00
kno10
ebf6cf32e8 meta:set_private("wet"), require only walkable nodes 2024-11-10 02:11:37 +01:00
kno10
a8318f6600 simplify catch-up LBM logic 2024-11-10 02:11:37 +01:00
kno10
fa7a7f4e81 more fixes to plant growth 2024-11-10 02:11:37 +01:00
kno10
220a7b06e6 code review feedback 2024-11-10 02:11:37 +01:00
kno10
540a070c59 always use day light level, more fixes 2024-11-10 02:11:37 +01:00
kno10
78a958db4e Double the odds, to halve the ABM frequencies. 2024-11-10 02:11:37 +01:00
kno10
e9453d6210 Add plant growth speed option, drop average light level
Closes: #4683 by removal
2024-11-10 02:11:37 +01:00
kno10
c4030115c4 improve moisture logic 2024-11-10 02:11:37 +01:00
kno10
e1ace4ad01 pumpkin/melon growth only tests one neighbor every time 2024-11-10 02:11:37 +01:00
kno10
d264ba70d8 Fix growth logic, clean up mcl_farming/shared_functions (#4640)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4640
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-20 14:00:49 +02:00
Lars Mueller
b866d5d98e Fix texture modifiers relying on undocumented behavior 2023-05-27 17:27:01 +02:00
CyberMango
0f569fdbaa Bone meal on sweet berries in creative mode is no longer wasted and
minor fixes.

removed an unnecessary -- in a comment.
Removed a redundant concatination.
2023-01-04 23:04:19 +02:00
CyberMango
fb51067c78 Created a shared function for planting a seed that can also be consumed. 2023-01-04 23:04:19 +02:00
Michieal
99a7df7ce6 Fix the Pumpkin/Melon grass position.
Also, updated the license.
2022-11-17 02:16:59 +01:00
Nils Dagsson Moskopp
56db877360 Disconnect gourd stems after destruct
While testing the previous commit, it became clear that gourd stems do
not disconnect properly if the gourd disappears while not being dug. A
simple method to create illegal curved stems was to explode the gourd.

This patch changes gourds so that the stem curves back after a gourd is
destroyed, regardless of reason. This hopefully makes curved stems that
are not connected to matching gourds a relict of the past.
2022-04-22 18:07:37 +00:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
fcc2087b97 [mcl_farming] fix warnings 2021-05-22 23:50:28 +02:00
AFCMS
06e8e972cc add help text to mcl_farming 2021-03-12 00:48:53 +01:00
AFCMS
bed3dd87ad Add API for mcl_jukebox 2021-03-12 00:10:50 +01:00
AFCMS
1a60d08a37 mcl_farming make plantlist copy global and mcl_jukebox cleanup
Sorry, I forgot to commit between the 2 features :-(
2021-03-11 23:39:26 +01:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
kay27
f2d68d909e Add some growth for unloaded farming plants 2020-09-05 21:49:12 +04:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
cb8e3fcf82 Fix bone meal failing to grow crops when it's dark 2019-02-08 05:36:43 +01:00
Wuzzy
e19271398d Make pumpkins and melons opaque again 2018-03-13 02:38:57 +01:00
Wuzzy
72f5591400 Add dry-colored grass/fern variants 2017-11-14 23:44:53 +01:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy
d3dbedd199 Update stem images and automatically colorize them 2017-07-21 19:47:20 +02:00
Wuzzy
d45ca46f99 Fix pumpkin placement not connecting pumpkin stems 2017-07-17 15:00:20 +02:00
Wuzzy
fa7cb8397a Add independent connected stem textures 2017-07-17 14:26:25 +02:00
Wuzzy
9f5a310aae Fix bone meal not used up on farming plants 2017-05-25 03:24:11 +02:00
Wuzzy
c49e8dfba0 Destroy some nodes by flowing lava 2017-05-20 04:11:14 +02:00
Wuzzy
5907d43179 Reset farmland, etc. to dirt when gourd grows on top 2017-05-19 13:22:29 +02:00
Wuzzy
80a0e32f4b Turn farmland to dirt when gourd appears on top 2017-05-15 21:55:01 +02:00
Wuzzy
da3205837b Add label to all ABMs 2017-05-15 00:45:54 +02:00
Wuzzy
c201ee7533 Add plant group to plants, required for farmland 2017-05-14 21:37:21 +02:00
Wuzzy
6eed06f7fc Add equivalence code for the snowy dirt blocks 2017-04-01 06:51:55 +02:00
Wuzzy
5f36c13c92 Add attached_node group to connected stems 2017-04-01 05:21:50 +02:00
Wuzzy
d3e2a21d5f Refactor plant growth, improve bone meal on plants 2017-04-01 03:54:58 +02:00
Wuzzy
767d7cbc3e Add Help aliases for premature farming plants 2017-03-21 04:56:16 +01:00
Wuzzy
ca9f48963c Play sound after placing seed 2017-03-15 00:04:51 +01:00
Wuzzy
c826af9b44 Switch wheat plants from nodebox to meshoptions 2017-03-14 21:25:20 +01:00
Wuzzy
36e6c78eeb Auto-connect stem after stem construction 2017-03-14 04:17:35 +01:00
Wuzzy
db123b3d16 Force-connect stems to neighboring gourds 2017-03-14 03:56:33 +01:00
Wuzzy
12b294eda3 Improve connected stem selection boxes 2017-03-14 02:43:48 +01:00
Wuzzy
b42fdbf385 Gourd API: Only set facedir of gourd if needed 2017-03-13 23:13:48 +01:00
Wuzzy
e8056edde0 Move important farming functions to new file 2017-03-13 23:09:27 +01:00