techage_modpack/techage/items/powder.lua

91 lines
4.1 KiB
Lua
Raw Normal View History

2020-05-31 23:31:18 +03:00
--[[
TechAge
=======
Copyright (C) 2019 Joachim Stolberg
2020-10-25 23:32:47 +03:00
AGPL v3
2020-05-31 23:31:18 +03:00
See LICENSE.txt for more information
2022-01-04 21:43:30 +03:00
Powder
2020-05-31 23:31:18 +03:00
]]--
local S = techage.S
minetest.register_craftitem("techage:leave_powder", {
description = S("Leave Powder"),
inventory_image = "techage_powder_inv.png^[colorize:#71a157:120",
groups = {powder = 1},
})
minetest.register_craftitem("techage:needle_powder", {
description = S("Needle Powder"),
inventory_image = "techage_powder_inv.png^[colorize:#1c800f:120",
groups = {powder = 1},
})
2020-07-21 18:45:15 +03:00
minetest.register_craftitem("techage:iron_powder", {
description = S("Iron Powder"),
inventory_image = "techage_powder_inv.png^[colorize:#c7643d:160",
groups = {powder = 1},
})
2021-05-14 19:50:16 +03:00
minetest.register_craftitem("techage:clay_powder", {
description = S("Clay Powder"),
inventory_image = "techage_powder_inv.png^[colorize:#F9DE80:160",
groups = {powder = 1},
})
minetest.register_craftitem("techage:aluminum_powder", {
description = S("Aluminum Powder"),
inventory_image = "techage_powder_inv.png^[colorize:#A1BDC4:160",
groups = {powder = 1},
})
minetest.register_craftitem("techage:silver_sandstone_powder", {
description = S("Silver Sandstone Powder"),
inventory_image = "techage_powder_inv.png^[colorize:#FFFFFF:160",
groups = {powder = 1},
})
2022-01-28 20:22:52 +03:00
minetest.register_craftitem("techage:graphite_powder", {
description = S("Graphite Powder"),
inventory_image = "techage_powder_inv.png^[colorize:#000000:160",
groups = {powder = 1},
})
2020-05-31 23:31:18 +03:00
techage.add_grinder_recipe({input="default:acacia_bush_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="default:acacia_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="default:aspen_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="default:blueberry_bush_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="default:bush_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="default:jungleleaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="default:leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="default:pine_needles", output="techage:needle_powder"})
2020-07-21 18:45:15 +03:00
techage.add_grinder_recipe({input="default:iron_lump", output="techage:iron_powder"})
2021-05-14 19:50:16 +03:00
techage.add_grinder_recipe({input="default:clay", output="techage:clay_powder"})
techage.add_grinder_recipe({input="techage:aluminum", output="techage:aluminum_powder"})
techage.add_grinder_recipe({input="default:silver_sandstone", output="techage:silver_sandstone_powder"})
2022-01-28 20:22:52 +03:00
techage.add_grinder_recipe({input="default:coal_lump", output="techage:graphite_powder"})
2021-05-14 19:50:16 +03:00
2022-12-31 12:51:49 +03:00
if minetest.get_modpath("ethereal") then
techage.add_grinder_recipe({input="ethereal:bush", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:bush2", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:bush3", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:bamboo_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:bananaleaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:birch_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:frost_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:lemon_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:olive_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:orange_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:palmleaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:redwood_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:sakura_leaves", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:ethereal:sakura_leaves2", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:willow_twig", output="techage:leave_powder"})
techage.add_grinder_recipe({input="ethereal:yellowleaves", output="techage:leave_powder"})
end