Commit graph

29 commits

Author SHA1 Message Date
Nils Dagsson Moskopp
4d02af8c94
Convert correct floor node to dirt as gourd grows
Before this patch, growing a gourd (e.g. melon, pumpkin) would always
convert a node west of the node below the stem to dirt if belonged to
the group “dirtifies_below_solid”. This happened because of a loop in
which the variables floorpos and floor were re-used without setting a
new value … therefore, both floorpos and floor were always containing
the last values set in a previous loop instead of the correct values.

This patch fixes the problem by setting both variables in both loops.
2022-01-13 07:29:57 +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
Renamed from mods/ITEMS/mcl_farming/gourd.lua (Browse further)