techage_modpack/techage/items/redstone.lua

71 lines
1.6 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
2020-05-31 23:31:18 +03:00
Redstone as result from the redmud/sand
2022-01-04 21:43:30 +03:00
2020-05-31 23:31:18 +03:00
]]--
local S = techage.S
minetest.register_node("techage:red_stone", {
description = S("Red Stone"),
tiles = {"default_stone.png^[colorize:#ff4538:110"},
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("techage:red_stone_brick", {
description = S("Red Stone Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"default_stone_brick.png^[colorize:#ff4538:110"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("techage:red_stone_block", {
description = S("Red Stone Block"),
tiles = {"default_stone_block.png^[colorize:#ff4538:110"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = "techage:red_stone_brick 4",
recipe = {
{"techage:red_stone", "techage:red_stone"},
{"techage:red_stone", "techage:red_stone"},
}
})
minetest.register_craft({
output = "techage:red_stone_block 9",
recipe = {
{"techage:red_stone", "techage:red_stone", "techage:red_stone"},
{"techage:red_stone", "techage:red_stone", "techage:red_stone"},
{"techage:red_stone", "techage:red_stone", "techage:red_stone"},
}
})
techage.furnace.register_recipe({
2022-12-31 12:51:49 +03:00
output = "techage:red_stone 3",
2020-05-31 23:31:18 +03:00
recipe = {
2022-01-04 21:43:30 +03:00
"techage:canister_redmud",
"default:sand",
2022-12-31 12:51:49 +03:00
"default:sand",
"default:sand",
2020-05-31 23:31:18 +03:00
},
waste = "techage:ta3_canister_empty",
2022-12-31 12:51:49 +03:00
time = 10,
2020-05-31 23:31:18 +03:00
})