forked from mtcontrib/farming
fix _mcl_hardness values for crops and seeds
This commit is contained in:
parent
ac4c4f48d3
commit
877f944641
@ -27,6 +27,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ minetest.register_node("farming:seed_barley", {
|
|||||||
handy = 1, compostability = 48, seed = 1, snappy = 3, attached_node = 1,
|
handy = 1, compostability = 48, seed = 1, snappy = 3, attached_node = 1,
|
||||||
growing = 1
|
growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
@ -62,6 +63,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -191,6 +191,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 3, not_in_creative_inventory = 1,
|
handy = 1, snappy = 3, flammable = 3, not_in_creative_inventory = 1,
|
||||||
attached_node = 1, growing = 1, plant = 1
|
attached_node = 1, growing = 1, plant = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -49,6 +49,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -65,6 +65,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -67,6 +67,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 4, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 4, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -158,6 +158,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, growing = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, growing = 1,
|
||||||
not_in_creative_inventory = 1, leafdecay = 1, leafdecay_drop = 1
|
not_in_creative_inventory = 1, leafdecay = 1, leafdecay_drop = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults(),
|
sounds = farming.sounds.node_sound_leaves_defaults(),
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -120,6 +120,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,7 @@ minetest.register_node("farming:cotton_wild", {
|
|||||||
groups = {
|
groups = {
|
||||||
handy = 1, snappy = 3, attached_node = 1, flammable = 4, compostability = 60
|
handy = 1, snappy = 3, attached_node = 1, flammable = 4, compostability = 60
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
drop = {
|
drop = {
|
||||||
items = {
|
items = {
|
||||||
@ -42,6 +43,7 @@ minetest.register_node("farming:seed_cotton", {
|
|||||||
compostability = 48, seed = 1, snappy = 3, attached_node = 1,
|
compostability = 48, seed = 1, snappy = 3, attached_node = 1,
|
||||||
flammable = 4, growing = 1
|
flammable = 4, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
@ -120,6 +122,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 4, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 4, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -93,6 +93,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 3, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 3, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -186,6 +186,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 3, not_in_creative_inventory = 1,
|
handy = 1, snappy = 3, flammable = 3, not_in_creative_inventory = 1,
|
||||||
attached_node = 1, growing = 1, plant = 1
|
attached_node = 1, growing = 1, plant = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ minetest.register_node("farming:seed_hemp", {
|
|||||||
handy = 1, compostability = 38, seed = 1, snappy = 3, attached_node = 1,
|
handy = 1, compostability = 38, seed = 1, snappy = 3, attached_node = 1,
|
||||||
growing = 1
|
growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
@ -223,6 +224,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ minetest.register_node("farming:seed_mint", {
|
|||||||
compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1,
|
compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1,
|
||||||
handy = 1, flammable = 2
|
handy = 1, flammable = 2
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
@ -69,6 +70,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -61,6 +61,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 3, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 3, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -53,6 +53,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -95,6 +95,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 3, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 3, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,7 @@ minetest.register_node("farming:pineapple", {
|
|||||||
food_pineapple = 1, fleshy = 3, dig_immediate = 3, flammable = 2,
|
food_pineapple = 1, fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||||
compostability = 65
|
compostability = 65
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false
|
is_ground_content = false
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -95,6 +96,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -71,6 +71,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -163,6 +163,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -45,6 +45,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -46,6 +46,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults(),
|
sounds = farming.sounds.node_sound_leaves_defaults(),
|
||||||
minlight = 10,
|
minlight = 10,
|
||||||
|
@ -13,6 +13,7 @@ minetest.register_node("farming:seed_rice", {
|
|||||||
handy = 1, compostability = 48, seed = 1, snappy = 3, attached_node = 1,
|
handy = 1, compostability = 48, seed = 1, snappy = 3, attached_node = 1,
|
||||||
flammable = 4, growing = 1
|
flammable = 4, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
@ -90,6 +91,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 4, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 4, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -133,6 +133,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -32,6 +32,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -20,6 +20,7 @@ minetest.register_node("farming:seed_sunflower", {
|
|||||||
compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1,
|
compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1,
|
||||||
handy = 1, food_sunflower_seeds = 1, flammable = 2
|
handy = 1, food_sunflower_seeds = 1, flammable = 2
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
@ -128,6 +129,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -49,6 +49,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@ local def = {
|
|||||||
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@ minetest.register_node("farming:seed_wheat", {
|
|||||||
groups = {
|
groups = {
|
||||||
handy = 1, seed = 1, snappy = 3, attached_node = 1, flammable = 4, growing = 1
|
handy = 1, seed = 1, snappy = 3, attached_node = 1, flammable = 4, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
@ -128,6 +129,7 @@ local def = {
|
|||||||
snappy = 3, flammable = 4, plant = 1, attached_node = 1,
|
snappy = 3, flammable = 4, plant = 1, attached_node = 1,
|
||||||
not_in_creative_inventory = 1, growing = 1
|
not_in_creative_inventory = 1, growing = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults()
|
sounds = farming.sounds.node_sound_leaves_defaults()
|
||||||
}
|
}
|
||||||
|
7
init.lua
7
init.lua
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
farming = {
|
farming = {
|
||||||
mod = "redo",
|
mod = "redo",
|
||||||
version = "20240624",
|
version = "20240625",
|
||||||
path = minetest.get_modpath("farming"),
|
path = minetest.get_modpath("farming"),
|
||||||
select = {
|
select = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
@ -24,7 +24,8 @@ farming = {
|
|||||||
use_utensils = minetest.settings:get_bool("farming_use_utensils") ~= false,
|
use_utensils = minetest.settings:get_bool("farming_use_utensils") ~= false,
|
||||||
mtg = minetest.get_modpath("default"),
|
mtg = minetest.get_modpath("default"),
|
||||||
mcl = minetest.get_modpath("mcl_core"),
|
mcl = minetest.get_modpath("mcl_core"),
|
||||||
sounds = {}
|
sounds = {},
|
||||||
|
mcl_hardness = 0.01
|
||||||
}
|
}
|
||||||
|
|
||||||
-- default sound functions just incase
|
-- default sound functions just incase
|
||||||
@ -599,6 +600,7 @@ farming.register_plant = function(name, def)
|
|||||||
seed = 1, snappy = 3, attached_node = 1, flammable = 2, growing = 1,
|
seed = 1, snappy = 3, attached_node = 1, flammable = 2, growing = 1,
|
||||||
compostability = 65, handy = 1
|
compostability = 65, handy = 1
|
||||||
},
|
},
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
@ -685,6 +687,7 @@ farming.register_plant = function(name, def)
|
|||||||
drop = drop,
|
drop = drop,
|
||||||
selection_box = sel,
|
selection_box = sel,
|
||||||
groups = g,
|
groups = g,
|
||||||
|
_mcl_hardness = farming.mcl_hardness,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.sounds.node_sound_leaves_defaults(),
|
sounds = farming.sounds.node_sound_leaves_defaults(),
|
||||||
minlight = def.minlight,
|
minlight = def.minlight,
|
||||||
|
Loading…
Reference in New Issue
Block a user