diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-09-29 16:53:18 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-09-29 16:53:18 +0100 |
commit | d7bc9b16fc68af6fbd643c6afdf619a0478a8579 (patch) | |
tree | a93d0f772286595492f28592dc5b1ab1a024c78d /crops/pumpkin.lua | |
parent | 0d5fb9800aec6399f7939d0b6f58fa5186d086b5 (diff) |
added crop information to farming.registered_plants table20181016
Diffstat (limited to 'crops/pumpkin.lua')
-rw-r--r-- | crops/pumpkin.lua | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/crops/pumpkin.lua b/crops/pumpkin.lua index c864d55..c362449 100644 --- a/crops/pumpkin.lua +++ b/crops/pumpkin.lua @@ -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 +} |