Add basalt

master
Wuzzy 2022-04-06 05:25:33 +02:00
parent 25fc60e56c
commit 36f11e591d
10 changed files with 83 additions and 2 deletions

View File

@ -78,6 +78,8 @@ columnia.register_all("hades_core:marble_brick")
columnia.register_all("hades_core:marble")
columnia.register_all("hades_core:chondrite")
columnia.register_all("hades_core:chondrite_brick")
columnia.register_all("hades_core:basalt")
columnia.register_all("hades_core:basalt_brick")
columnia.register_all("hades_core:tuff")
columnia.register_all("hades_core:tuff_brick")
columnia.register_all("hades_core:tuff_baked")

View File

@ -836,6 +836,22 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'hades_core:basalt_block',
recipe = {
{'hades_core:basalt', 'hades_core:basalt', 'hades_core:basalt'},
{'hades_core:basalt', 'hades_core:basalt', 'hades_core:basalt'},
{'hades_core:basalt', 'hades_core:basalt', 'hades_core:basalt'},
}
})
minetest.register_craft({
output = 'hades_core:basalt 9',
recipe = {
{'hades_core:basalt_block'}
}
})
minetest.register_craft({
output = 'hades_core:ash_block',
recipe = {
@ -1287,6 +1303,14 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'hades_core:basalt_brick 4',
recipe = {
{'hades_core:basalt', 'hades_core:basalt',''},
{'','hades_core:basalt', 'hades_core:basalt'},
}
})
minetest.register_craft({
output = 'hades_core:essexite_brick 4',
recipe = {

View File

@ -89,6 +89,30 @@ minetest.register_node("hades_core:chondrite_brick", {
sounds = hades_sounds.node_sound_stone_defaults(),
})
minetest.register_node("hades_core:basalt", {
description = S("Basalt"),
tiles = {"hades_core_basalt.png"},
groups = {cracky=2, stone=1, porous=1},
is_ground_content = true,
sounds = hades_sounds.node_sound_stone_defaults(),
})
minetest.register_node("hades_core:basalt_block", {
description = S("Basalt Block"),
tiles = {"hades_core_basalt_block.png"},
groups = {cracky=2},
is_ground_content = false,
sounds = hades_sounds.node_sound_stone_defaults(),
})
minetest.register_node("hades_core:basalt_brick", {
description = S("Basalt Brick"),
tiles = {"hades_core_basalt_brick.png"},
groups = {cracky=2, stone=1},
is_ground_content = false,
sounds = hades_sounds.node_sound_stone_defaults(),
})
minetest.register_node("hades_core:tuff", {
description = S("Tuff"),
tiles = {"hades_core_tuff.png"},

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 649 B

View File

@ -550,7 +550,11 @@ register_pedestal("pedestal_chondrite", {
tiles={"hades_itemshow_pedestal_chondrite_top.png","hades_itemshow_pedestal_chondrite.png"},
groups={cracky=2},
craftitem="hades_core:chondrite"})
register_pedestal("pedestal_basalt", {
description=S("Basalt Pedestal"),
tiles={"hades_core_basalt.png"},
groups={cracky=2},
craftitem="hades_core:basalt"})
-- Item Showcase

View File

@ -14,6 +14,7 @@ local tile_sandstone_volcanic = { "sandstonevolcanic", S("Volcanic Sandstone"),
local tile_marble = { "marble", S("Marble"), "hades_core:marble", {}, g_stone2, s_stone }
local tile_essexite = { "essexite", S("Essexite"), "hades_core:essexite", {} }
local tile_essexitegold = { "essexitegold", S("Golden Essexite"), "hades_core:floor_essexite_gold", {}, g_stone2, s_stone }
local tile_basalt = { "basalt", S("Basalt"), "hades_core:basalt", {}, g_stone2, s_stone }
local tile_groups = {
{
@ -41,7 +42,10 @@ local tile_groups = {
},
{
tile_essexitegold,
}
},
{
tile_basalt,
},
}
local function register_tile(tile_node1, tile_node2, tile_groups, tile_snd, is_mirrored, is_same)
@ -144,3 +148,4 @@ end
register_tile_and_mirror(tile_sandstone, tile_sandstone_volcanic, g_stone3, s_stone)
register_tile_and_mirror(tile_sandstone_volcanic, tile_stone, g_stone3, s_stone)
register_tile_and_mirror(tile_essexitegold, tile_essexite, g_stone2, s_stone)
register_tile_and_mirror(tile_basalt, tile_marble, g_stone2, s_stone)

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

View File

@ -681,6 +681,28 @@ stairs.register_stair_and_slab_and_step("stonebrick", "hades_core:stonebrick",
S("Outer Stone Brick Step"),
S("Inner Stone Brick Step"))
stairs.register_stair_and_slab_and_step("basalt_brick", "hades_core:basalt_brick",
{cracky=2},
nil,
S("Basalt Brick Stair"),
S("Outer Basalt Brick Stair"),
S("Inner Basalt Brick Stair"),
S("Basalt Brick Slab"),
S("Basalt Brick Step"),
S("Outer Basalt Brick Step"),
S("Inner Basalt Brick Step"))
stairs.register_stair_and_slab_and_step("basalt", "hades_core:basalt",
{cracky=2},
nil,
S("Basalt Stair"),
S("Outer Basalt Stair"),
S("Inner Basalt Stair"),
S("Basalt Slab"),
S("Basalt Step"),
S("Outer Basalt Step"),
S("Inner Basalt Step"))
stairs.register_stair_and_slab_and_step("chondrite_brick", "hades_core:chondrite_brick",
{cracky=2},
nil,