2015-11-20 20:14:50 +01:00
|
|
|
-- Glue and fiber
|
2012-03-05 19:21:26 +01:00
|
|
|
minetest.register_craftitem("mesecons_materials:glue", {
|
2015-11-20 20:14:50 +01:00
|
|
|
image = "mesecons_glue.png",
|
2012-03-05 19:21:26 +01:00
|
|
|
on_place_on_ground = minetest.craftitem_place_item,
|
2022-02-12 20:12:12 +01:00
|
|
|
description="Glue",
|
2012-03-05 19:21:26 +01:00
|
|
|
})
|
|
|
|
|
2012-08-17 21:32:21 +02:00
|
|
|
minetest.register_craftitem("mesecons_materials:fiber", {
|
2015-11-20 20:14:50 +01:00
|
|
|
image = "mesecons_fiber.png",
|
2012-08-17 21:32:21 +02:00
|
|
|
on_place_on_ground = minetest.craftitem_place_item,
|
2022-02-12 20:12:12 +01:00
|
|
|
description="Fiber",
|
2012-08-17 21:32:21 +02:00
|
|
|
})
|
|
|
|
|
2012-03-05 19:21:26 +01:00
|
|
|
minetest.register_craft({
|
2013-04-28 12:40:08 +02:00
|
|
|
output = "mesecons_materials:glue 2",
|
2012-08-13 14:36:48 +02:00
|
|
|
type = "cooking",
|
2015-01-09 12:54:32 +01:00
|
|
|
recipe = "group:sapling",
|
2012-08-13 14:36:48 +02:00
|
|
|
cooktime = 2
|
2012-03-05 19:21:26 +01:00
|
|
|
})
|
|
|
|
|
2012-08-17 21:32:21 +02:00
|
|
|
minetest.register_craft({
|
2013-04-28 12:40:08 +02:00
|
|
|
output = "mesecons_materials:fiber 6",
|
2012-08-17 21:32:21 +02:00
|
|
|
type = "cooking",
|
|
|
|
recipe = "mesecons_materials:glue",
|
|
|
|
cooktime = 4
|
|
|
|
})
|
|
|
|
|
2012-03-05 19:21:26 +01:00
|
|
|
-- Silicon
|
|
|
|
minetest.register_craftitem("mesecons_materials:silicon", {
|
2015-11-20 20:14:50 +01:00
|
|
|
image = "mesecons_silicon.png",
|
2012-03-05 19:21:26 +01:00
|
|
|
on_place_on_ground = minetest.craftitem_place_item,
|
2022-02-12 20:12:12 +01:00
|
|
|
description="Silicon",
|
2012-03-05 19:21:26 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2013-04-28 12:40:08 +02:00
|
|
|
output = "mesecons_materials:silicon 4",
|
2012-03-05 19:21:26 +01:00
|
|
|
recipe = {
|
2015-01-12 09:53:10 +01:00
|
|
|
{"group:sand", "group:sand"},
|
2022-04-21 14:42:54 +02:00
|
|
|
{"group:sand", "mesecons_gamecompat:steel_ingot"},
|
2012-03-05 19:21:26 +01:00
|
|
|
}
|
|
|
|
})
|