basalt glass added

This commit is contained in:
Joachim Stolberg 2019-06-09 22:29:59 +02:00
parent 8cf9fae205
commit 8abb6444d3
3 changed files with 26 additions and 4 deletions

View File

@ -41,7 +41,7 @@ else
dofile(MP.."/tools/trowel.lua")
dofile(MP.."/tools/repairkit.lua")
-- Nodes
-- Nodes1
dofile(MP.."/nodes/baborium.lua")
dofile(MP.."/nodes/usmium.lua")
@ -93,9 +93,6 @@ else
dofile(MP.."/basic_machines/autocrafter.lua")
dofile(MP.."/basic_machines/forceload.lua")
dofile(MP.."/basic_machines/electronic_fab.lua")
if techage.basalt_stone_enabled then
dofile(MP.."/basic_machines/basalt.lua")
end
-- Coal power station
dofile(MP.."/coal_power_station/help.lua")
@ -121,6 +118,11 @@ else
dofile(MP.."/oil/drillbox.lua")
dofile(MP.."/oil/pumpjack.lua")
-- Nodes2
if techage.basalt_stone_enabled then
dofile(MP.."/nodes/basalt.lua")
end
--dofile(MP.."/test/generator.lua")
--dofile(MP.."/test/lamp.lua")

View File

@ -63,6 +63,19 @@ minetest.register_node("techage:sieved_basalt_gravel", {
sounds = default.node_sound_gravel_defaults(),
})
minetest.register_node("techage:basalt_glass", {
description = "Basalt Glass",
drawtype = "glasslike_framed_optional",
tiles = {"techage_basalt_glass.png"},
use_texture_alpha = true,
paramtype = "light",
paramtype2 = "glasslikeliquidlevel",
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, oddly_breakable_by_hand = 3},
sounds = default.node_sound_glass_defaults(),
})
minetest.register_craft({
output = "techage:basalt_stone_brick 4",
recipe = {
@ -71,6 +84,13 @@ minetest.register_craft({
}
})
minetest.register_craft({
type = "cooking",
output = "techage:basalt_glass",
recipe = "techage:sieved_basalt_gravel",
cooktime = 4,
})
minetest.register_craft({
output = "techage:basalt_stone_block 9",
recipe = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B