mirror of
https://codeberg.org/tenplus1/farming.git
synced 2024-12-26 18:50:20 +01:00
removed _beans from coffee and cocoa
This commit is contained in:
parent
77198100f3
commit
e4ed12056d
@ -59,7 +59,7 @@ end
|
|||||||
minetest.register_craftitem("farming:cocoa_beans", {
|
minetest.register_craftitem("farming:cocoa_beans", {
|
||||||
description = S("Cocoa Beans"),
|
description = S("Cocoa Beans"),
|
||||||
inventory_image = "farming_cocoa_beans.png",
|
inventory_image = "farming_cocoa_beans.png",
|
||||||
groups = {food_cocoa_beans = 1, flammable = 2},
|
groups = {food_cocoa = 1, flammable = 2},
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
return place_cocoa(itemstack, placer, pointed_thing, "farming:cocoa_1")
|
return place_cocoa(itemstack, placer, pointed_thing, "farming:cocoa_1")
|
||||||
end,
|
end,
|
||||||
|
@ -5,7 +5,7 @@ local S = farming.intllib
|
|||||||
minetest.register_craftitem("farming:coffee_beans", {
|
minetest.register_craftitem("farming:coffee_beans", {
|
||||||
description = S("Coffee Beans"),
|
description = S("Coffee Beans"),
|
||||||
inventory_image = "farming_coffee_beans.png",
|
inventory_image = "farming_coffee_beans.png",
|
||||||
groups = {food_coffee_beans = 1, flammable = 2},
|
groups = {food_coffee = 1, flammable = 2},
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
return farming.place_seed(itemstack, placer, pointed_thing, "farming:coffee_1")
|
return farming.place_seed(itemstack, placer, pointed_thing, "farming:coffee_1")
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user