add rhubarb seeds

master
tchncs 2016-05-21 23:34:42 +02:00
parent c7ac1381bc
commit 945c384748
3 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,11 @@
minetest.register_craftitem("farming:rhubarb_seed", {
description = "Rhubarb Seeds",
inventory_image = "farming_rhubarb_seed.png",
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "farming:rhubarb_1")
end
})
-- rhubarb
minetest.register_craftitem("farming:rhubarb", {
description = "Rhubarb",
@ -56,6 +63,7 @@ crop_def.drop = {
items = {
{items = {'farming:rhubarb 2'}, rarity = 1},
{items = {'farming:rhubarb'}, rarity = 2},
{items = {'farming:rhubarb_seed 2'}, rarity = 2},
{items = {'farming:rhubarb'}, rarity = 3},
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

View File

@ -3,6 +3,6 @@
* [ ] orange_seed
* [x] tomato_seed
* [x] potatoe_seed
* [ ] rhubarb_seed
* [x] rhubarb_seed
* [ ] strawberry_seed
* [ ] pumpkin_seed