forked from mtcontrib/farming
add popcorn
This commit is contained in:
parent
70803f8aef
commit
e6994235c5
@ -32,6 +32,25 @@ minetest.register_craft({
|
|||||||
recipe = "group:food_corn"
|
recipe = "group:food_corn"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- popcorn
|
||||||
|
minetest.register_craftitem("farming:popcorn", {
|
||||||
|
description = S("Popcorn"),
|
||||||
|
inventory_image = "farming_popcorn.png",
|
||||||
|
groups = {food_popcorn = 1, flammable = 2},
|
||||||
|
on_use = minetest.item_eat(4)
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:popcorn",
|
||||||
|
recipe = {
|
||||||
|
{"group:food_pot", "group:food_oil", "group:food_corn"}
|
||||||
|
},
|
||||||
|
replacements = {
|
||||||
|
{"group:food_pot", "farming:pot"},
|
||||||
|
{"group:food_oil", "vessels:glass_bottle"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
-- cornstarch
|
-- cornstarch
|
||||||
minetest.register_craftitem("farming:cornstarch", {
|
minetest.register_craftitem("farming:cornstarch", {
|
||||||
description = S("Cornstarch"),
|
description = S("Cornstarch"),
|
||||||
|
@ -173,3 +173,6 @@ Created by gorlock (CC0)
|
|||||||
Created by sirrobzeroone (CC0)
|
Created by sirrobzeroone (CC0)
|
||||||
farming_gyoza.png
|
farming_gyoza.png
|
||||||
farming_pineapple_ring.png
|
farming_pineapple_ring.png
|
||||||
|
|
||||||
|
Created by TechM8 (https://www.deviantart.com/techm8)
|
||||||
|
farming_popcorn.png
|
||||||
|
BIN
textures/farming_popcorn.png
Normal file
BIN
textures/farming_popcorn.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 292 B |
Loading…
Reference in New Issue
Block a user