1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-11-13 05:50:16 +01:00

added handy=1 group to seeds, hemp block and hemp rope (thx usrib)

This commit is contained in:
tenplus1 2023-11-25 12:05:21 +00:00
parent 1f97cbbe00
commit 12eb5579a1
8 changed files with 21 additions and 10 deletions

View File

@ -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,

View File

@ -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},

View File

@ -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 = {

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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,

View File

@ -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",