summaryrefslogtreecommitdiff
path: root/crops/pumpkin.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-11-14 12:45:17 +0100
committerroot <root@linux-forks.de>2018-11-14 12:45:17 +0100
commiteb2f1069f7bca09c0c25656db42dc3bfe3bf264a (patch)
tree5d8d0f21d38f7e4fcec6b3687cbd75962191761c /crops/pumpkin.lua
parenta4014f9d78e3603e01ee4b2cccac982eaf65c85c (diff)
parentefdc816584d08d639b166c7799ea41f10465fccd (diff)
xMerge branch 'master' of https://notabug.org/TenPlus1/farmingHEADmaster
Diffstat (limited to 'crops/pumpkin.lua')
-rw-r--r--crops/pumpkin.lua14
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
+}