2019-08-23 05:22:16 +02:00
|
|
|
local S = minetest.get_translator("mesecons_materials")
|
|
|
|
|
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,
|
2019-08-23 05:22:16 +02:00
|
|
|
description=S("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,
|
2019-08-23 05:22:16 +02:00
|
|
|
description=S("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,
|
2019-08-23 05:22:16 +02:00
|
|
|
description=S("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"},
|
|
|
|
{"group:sand", "default:steel_ingot"},
|
2012-03-05 19:21:26 +01:00
|
|
|
}
|
|
|
|
})
|