diff --git a/crops/barley.lua b/crops/barley.lua index 9114b17..76eb963 100644 --- a/crops/barley.lua +++ b/crops/barley.lua @@ -9,7 +9,10 @@ minetest.register_node("farming:seed_barley", { inventory_image = "farming_barley_seed.png", wield_image = "farming_barley_seed.png", drawtype = "signlike", - groups = {compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1}, + groups = { + handy = 1, compostability = 48, seed = 1, snappy = 3, attached_node = 1, + growing = 1 + }, paramtype = "light", paramtype2 = "wallmounted", walkable = false, diff --git a/crops/cotton.lua b/crops/cotton.lua index c0dac62..e09381f 100644 --- a/crops/cotton.lua +++ b/crops/cotton.lua @@ -14,7 +14,9 @@ minetest.register_node("farming:cotton_wild", { sunlight_propagates = true, walkable = false, buildable_to = true, - groups = {handy = 1, snappy = 3, attached_node = 1, flammable = 4, compostability = 60}, + groups = { + handy = 1, snappy = 3, attached_node = 1, flammable = 4, compostability = 60 + }, drop = { items = { {items = {"farming:cotton"}, rarity = 2}, diff --git a/crops/hemp.lua b/crops/hemp.lua index 972ed4d..cc41638 100644 --- a/crops/hemp.lua +++ b/crops/hemp.lua @@ -9,7 +9,10 @@ minetest.register_node("farming:seed_hemp", { inventory_image = "farming_hemp_seed.png", wield_image = "farming_hemp_seed.png", drawtype = "signlike", - groups = {compostability = 38, seed = 1, snappy = 3, attached_node = 1, growing = 1}, + groups = { + handy = 1, compostability = 38, seed = 1, snappy = 3, attached_node = 1, + growing = 1 + }, paramtype = "light", paramtype2 = "wallmounted", walkable = false, @@ -178,7 +181,8 @@ minetest.register_node("farming:hemp_rope", { inventory_image = "farming_hemp_rope.png", drawtype = "plantlike", groups = { - flammable = 2, choppy = 3, oddly_breakable_by_hand = 3, compostability = 55 + handy = 1, axey = 1, flammable = 2, choppy = 3, oddly_breakable_by_hand = 3, + compostability = 55 }, sounds = farming.sounds.node_sound_leaves_defaults(), selection_box = { diff --git a/crops/mint.lua b/crops/mint.lua index eeed4c7..f8afebb 100644 --- a/crops/mint.lua +++ b/crops/mint.lua @@ -11,7 +11,7 @@ minetest.register_node("farming:seed_mint", { drawtype = "signlike", groups = { compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1, - flammable = 2 + handy = 1, flammable = 2 }, paramtype = "light", paramtype2 = "wallmounted", diff --git a/crops/rice.lua b/crops/rice.lua index 1e831f3..372b2f4 100644 --- a/crops/rice.lua +++ b/crops/rice.lua @@ -10,7 +10,7 @@ minetest.register_node("farming:seed_rice", { wield_image = "farming_rice_seed.png", drawtype = "signlike", groups = { - compostability = 48, seed = 1, snappy = 3, attached_node = 1, + handy = 1, compostability = 48, seed = 1, snappy = 3, attached_node = 1, flammable = 4, growing = 1 }, paramtype = "light", diff --git a/crops/sunflower.lua b/crops/sunflower.lua index df7f43a..15c62e0 100644 --- a/crops/sunflower.lua +++ b/crops/sunflower.lua @@ -18,7 +18,7 @@ minetest.register_node("farming:seed_sunflower", { drawtype = "signlike", groups = { compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1, - food_sunflower_seeds = 1, flammable = 2 + handy = 1, food_sunflower_seeds = 1, flammable = 2 }, paramtype = "light", paramtype2 = "wallmounted", diff --git a/crops/wheat.lua b/crops/wheat.lua index 7d62db0..0b070d8 100644 --- a/crops/wheat.lua +++ b/crops/wheat.lua @@ -9,7 +9,9 @@ minetest.register_node("farming:seed_wheat", { inventory_image = "farming_wheat_seed.png", wield_image = "farming_wheat_seed.png", drawtype = "signlike", - groups = {seed = 1, snappy = 3, attached_node = 1, flammable = 4, growing = 1}, + groups = { + handy = 1, seed = 1, snappy = 3, attached_node = 1, flammable = 4, growing = 1 + }, paramtype = "light", paramtype2 = "wallmounted", walkable = false, diff --git a/init.lua b/init.lua index 5d76a64..f968b59 100644 --- a/init.lua +++ b/init.lua @@ -7,7 +7,7 @@ farming = { mod = "redo", - version = "20230915", + version = "20231125", path = minetest.get_modpath("farming"), select = { type = "fixed", @@ -586,7 +586,7 @@ farming.register_plant = function(name, def) drawtype = "signlike", groups = { seed = 1, snappy = 3, attached_node = 1, flammable = 2, growing = 1, - compostability = 65 + compostability = 65, handy = 1 }, paramtype = "light", paramtype2 = "wallmounted",