2022-12-01 18:33:19 +01:00
|
|
|
local S = minetest.get_translator(minetest.get_current_modname())
|
|
|
|
|
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-12-01 18:33:19 +01: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,
|
2022-12-01 18:33:19 +01: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,
|
2022-12-01 18:33:19 +01: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"},
|
2022-05-05 16:57:53 +02:00
|
|
|
{"group:sand", "mesecons_gamecompat:steel_ingot"},
|
2012-03-05 19:21:26 +01:00
|
|
|
}
|
|
|
|
})
|