Compare commits
5 Commits
4e3ed4f1a0
...
541da22d80
Author | SHA1 | Date |
---|---|---|
|
541da22d80 | |
|
81549ff577 | |
|
fcece7add0 | |
|
41bcbb02ac | |
|
f5aaf96c2e |
|
@ -37,6 +37,14 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
-- TODO: different output for slabs
|
||||
minetest.register_craft({
|
||||
output = "farming:cotton 4",
|
||||
recipe = {
|
||||
{"group:wool"},
|
||||
}
|
||||
})
|
||||
|
||||
-- cotton definition
|
||||
local crop_def = {
|
||||
drawtype = "plantlike",
|
||||
|
|
21
donut.lua
21
donut.lua
|
@ -9,14 +9,27 @@ minetest.register_craftitem("farming:donut", {
|
|||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "farming:donut 3",
|
||||
output = "farming:donut_raw 4",
|
||||
recipe = {
|
||||
{'', 'farming:wheat', ''},
|
||||
{'farming:wheat', '', 'farming:wheat'},
|
||||
{'', 'farming:wheat', ''},
|
||||
{'', 'farming:flour', ''},
|
||||
{'farming:flour', '', 'farming:flour'},
|
||||
{'', 'farming:flour', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("farming:donut_raw", {
|
||||
description = "Raw Donut",
|
||||
inventory_image = "farming_donut_raw.png",
|
||||
on_use = minetest.item_eat(4),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
cooktime = 7,
|
||||
output = "farming:donut",
|
||||
recipe = "farming:donut_raw"
|
||||
})
|
||||
|
||||
-- Chocolate Donut
|
||||
minetest.register_craftitem("farming:donut_chocolate", {
|
||||
description = S("Chocolate Donut"),
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
27
wheat.lua
27
wheat.lua
|
@ -44,12 +44,19 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "farming:wheat 3",
|
||||
output = "farming:wheat 9",
|
||||
recipe = {
|
||||
{"farming:straw"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "farming:seed_wheat 4",
|
||||
recipe = {
|
||||
{"farming:wheat"},
|
||||
}
|
||||
})
|
||||
|
||||
-- flour
|
||||
minetest.register_craftitem("farming:flour", {
|
||||
description = S("Flour"),
|
||||
|
@ -59,7 +66,8 @@ minetest.register_craftitem("farming:flour", {
|
|||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "farming:flour",
|
||||
recipe = {"farming:wheat", "farming:wheat", "farming:wheat", "farming:wheat"}
|
||||
recipe = {"farming:seed_wheat", "farming:seed_wheat", "farming:seed_wheat",
|
||||
"farming:seed_wheat", "farming:seed_wheat", "farming:seed_wheat"}
|
||||
})
|
||||
|
||||
-- bread
|
||||
|
@ -69,11 +77,24 @@ minetest.register_craftitem("farming:bread", {
|
|||
on_use = minetest.item_eat(5),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("farming:bread_raw", {
|
||||
description = "Raw Bread",
|
||||
inventory_image = "farming_bread_raw.png",
|
||||
on_use = minetest.item_eat(1),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "farming:bread_raw",
|
||||
recipe = {"farming:flour", "farming:flour", "farming:flour",
|
||||
"farming:flour", "farming:flour", "farming:flour"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
cooktime = 15,
|
||||
output = "farming:bread",
|
||||
recipe = "farming:flour"
|
||||
recipe = "farming:bread_raw"
|
||||
})
|
||||
|
||||
-- wheat definition
|
||||
|
|
Loading…
Reference in New Issue