Compare commits
5 Commits
4e3ed4f1a0
...
541da22d80
Author | SHA1 | Date |
---|---|---|
Milan | 541da22d80 | |
Milan | 81549ff577 | |
Milan | fcece7add0 | |
Milan | 41bcbb02ac | |
tchncs | 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
|
-- cotton definition
|
||||||
local crop_def = {
|
local crop_def = {
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
|
|
21
donut.lua
21
donut.lua
|
@ -9,14 +9,27 @@ minetest.register_craftitem("farming:donut", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:donut 3",
|
output = "farming:donut_raw 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{'', 'farming:wheat', ''},
|
{'', 'farming:flour', ''},
|
||||||
{'farming:wheat', '', 'farming:wheat'},
|
{'farming:flour', '', 'farming:flour'},
|
||||||
{'', 'farming:wheat', ''},
|
{'', '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
|
-- Chocolate Donut
|
||||||
minetest.register_craftitem("farming:donut_chocolate", {
|
minetest.register_craftitem("farming:donut_chocolate", {
|
||||||
description = S("Chocolate Donut"),
|
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({
|
minetest.register_craft({
|
||||||
output = "farming:wheat 3",
|
output = "farming:wheat 9",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"farming:straw"},
|
{"farming:straw"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:seed_wheat 4",
|
||||||
|
recipe = {
|
||||||
|
{"farming:wheat"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
-- flour
|
-- flour
|
||||||
minetest.register_craftitem("farming:flour", {
|
minetest.register_craftitem("farming:flour", {
|
||||||
description = S("Flour"),
|
description = S("Flour"),
|
||||||
|
@ -59,7 +66,8 @@ minetest.register_craftitem("farming:flour", {
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "farming:flour",
|
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
|
-- bread
|
||||||
|
@ -69,11 +77,24 @@ minetest.register_craftitem("farming:bread", {
|
||||||
on_use = minetest.item_eat(5),
|
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({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
cooktime = 15,
|
cooktime = 15,
|
||||||
output = "farming:bread",
|
output = "farming:bread",
|
||||||
recipe = "farming:flour"
|
recipe = "farming:bread_raw"
|
||||||
})
|
})
|
||||||
|
|
||||||
-- wheat definition
|
-- wheat definition
|
||||||
|
|
Loading…
Reference in New Issue