techage/items/plastic.lua

36 lines
589 B
Lua
Raw Normal View History

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