mirror of
https://codeberg.org/tenplus1/farming.git
synced 2024-12-28 11:40:16 +01:00
added handy=1 group to seeds, hemp block and hemp rope (thx usrib)
This commit is contained in:
parent
1f97cbbe00
commit
12eb5579a1
@ -9,7 +9,10 @@ minetest.register_node("farming:seed_barley", {
|
|||||||
inventory_image = "farming_barley_seed.png",
|
inventory_image = "farming_barley_seed.png",
|
||||||
wield_image = "farming_barley_seed.png",
|
wield_image = "farming_barley_seed.png",
|
||||||
drawtype = "signlike",
|
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",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
@ -14,7 +14,9 @@ minetest.register_node("farming:cotton_wild", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
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 = {
|
drop = {
|
||||||
items = {
|
items = {
|
||||||
{items = {"farming:cotton"}, rarity = 2},
|
{items = {"farming:cotton"}, rarity = 2},
|
||||||
|
@ -9,7 +9,10 @@ minetest.register_node("farming:seed_hemp", {
|
|||||||
inventory_image = "farming_hemp_seed.png",
|
inventory_image = "farming_hemp_seed.png",
|
||||||
wield_image = "farming_hemp_seed.png",
|
wield_image = "farming_hemp_seed.png",
|
||||||
drawtype = "signlike",
|
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",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
@ -178,7 +181,8 @@ minetest.register_node("farming:hemp_rope", {
|
|||||||
inventory_image = "farming_hemp_rope.png",
|
inventory_image = "farming_hemp_rope.png",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
groups = {
|
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(),
|
sounds = farming.sounds.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
@ -11,7 +11,7 @@ minetest.register_node("farming:seed_mint", {
|
|||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
groups = {
|
groups = {
|
||||||
compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1,
|
compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1,
|
||||||
flammable = 2
|
handy = 1, flammable = 2
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
@ -10,7 +10,7 @@ minetest.register_node("farming:seed_rice", {
|
|||||||
wield_image = "farming_rice_seed.png",
|
wield_image = "farming_rice_seed.png",
|
||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
groups = {
|
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
|
flammable = 4, growing = 1
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
@ -18,7 +18,7 @@ minetest.register_node("farming:seed_sunflower", {
|
|||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
groups = {
|
groups = {
|
||||||
compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1,
|
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",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
@ -9,7 +9,9 @@ minetest.register_node("farming:seed_wheat", {
|
|||||||
inventory_image = "farming_wheat_seed.png",
|
inventory_image = "farming_wheat_seed.png",
|
||||||
wield_image = "farming_wheat_seed.png",
|
wield_image = "farming_wheat_seed.png",
|
||||||
drawtype = "signlike",
|
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",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
4
init.lua
4
init.lua
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
farming = {
|
farming = {
|
||||||
mod = "redo",
|
mod = "redo",
|
||||||
version = "20230915",
|
version = "20231125",
|
||||||
path = minetest.get_modpath("farming"),
|
path = minetest.get_modpath("farming"),
|
||||||
select = {
|
select = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
@ -586,7 +586,7 @@ farming.register_plant = function(name, def)
|
|||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
groups = {
|
groups = {
|
||||||
seed = 1, snappy = 3, attached_node = 1, flammable = 2, growing = 1,
|
seed = 1, snappy = 3, attached_node = 1, flammable = 2, growing = 1,
|
||||||
compostability = 65
|
compostability = 65, handy = 1
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
Loading…
Reference in New Issue
Block a user