mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-29 23:01:00 +02:00
added crop information to farming.registered_plants table
This commit is contained in:
@ -202,12 +202,16 @@ minetest.register_node("farming:pumpkin_8", {
|
||||
food_pumpkin = 1, choppy = 1, oddly_breakable_by_hand = 1,
|
||||
flammable = 2, plant = 1
|
||||
},
|
||||
-- drop = {
|
||||
-- items = {
|
||||
-- {items = {'farming:pumpkin_slice 9'}, rarity = 1},
|
||||
-- }
|
||||
-- },
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_alias("farming:pumpkin", "farming:pumpkin_8")
|
||||
|
||||
-- add to registered_plants
|
||||
farming.registered_plants["farming:pumpkin"] = {
|
||||
crop = "farming:pumpkin",
|
||||
seed = "farming:pumpkin_slice",
|
||||
minlight = 13,
|
||||
maxlight = 15,
|
||||
steps = 8
|
||||
}
|
||||
|
Reference in New Issue
Block a user