2019-11-17 16:52:59 +03:00
|
|
|
--[[
|
|
|
|
|
|
|
|
TechAge
|
|
|
|
=======
|
|
|
|
|
|
|
|
Copyright (C) 2019 Joachim Stolberg
|
|
|
|
|
2020-10-19 20:09:17 +03:00
|
|
|
AGPL v3
|
2019-11-17 16:52:59 +03:00
|
|
|
See LICENSE.txt for more information
|
2022-01-03 23:40:31 +03:00
|
|
|
|
|
|
|
Plastic
|
|
|
|
|
2019-11-17 16:52:59 +03:00
|
|
|
]]--
|
|
|
|
|
|
|
|
local S = techage.S
|
|
|
|
|
|
|
|
minetest.register_craftitem("techage:plastic_granules", {
|
|
|
|
description = S("Plastic Granules"),
|
|
|
|
inventory_image = "techage_powder_inv.png^[colorize:#FFFFFF:180",
|
2020-05-12 18:11:32 +03:00
|
|
|
groups = {powder = 1},
|
2019-11-17 16:52:59 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
techage.recipes.add("ta4_doser", {
|
|
|
|
output = "techage:plastic_granules 1",
|
|
|
|
input = {
|
|
|
|
"techage:naphtha 1",
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
techage.furnace.register_recipe({
|
2022-01-03 23:40:31 +03:00
|
|
|
output = "basic_materials:plastic_sheet 4",
|
|
|
|
recipe = {"techage:plastic_granules"},
|
2019-11-17 16:52:59 +03:00
|
|
|
time = 2,
|
2022-01-03 23:40:31 +03:00
|
|
|
|
2022-01-04 21:40:27 +03:00
|
|
|
})
|