Add blue marble
This commit is contained in:
parent
648bac69b7
commit
10cfa229f0
@ -6,7 +6,7 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
|
|||||||
- https://forum.minetest.net/viewtopic.php?f=11&t=14638
|
- https://forum.minetest.net/viewtopic.php?f=11&t=14638
|
||||||
|
|
||||||
## Lucky Blocks
|
## Lucky Blocks
|
||||||
42
|
45
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
@ -19,6 +19,7 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
|
|||||||
- Use default grass abms
|
- Use default grass abms
|
||||||
- Split and re-write mapgen files for tidier generation
|
- Split and re-write mapgen files for tidier generation
|
||||||
- Giant Mushroom tops now decay when trunk removed
|
- Giant Mushroom tops now decay when trunk removed
|
||||||
|
- Added Blue Marble to grey biomes and Blue Marble Tile recipe
|
||||||
|
|
||||||
### 1.26
|
### 1.26
|
||||||
|
|
||||||
|
35
biomes.lua
35
biomes.lua
@ -4,6 +4,34 @@ minetest.clear_registered_biomes()
|
|||||||
minetest.clear_registered_decorations()
|
minetest.clear_registered_decorations()
|
||||||
--minetest.clear_registered_ores()
|
--minetest.clear_registered_ores()
|
||||||
|
|
||||||
|
local S = ethereal.intllib
|
||||||
|
|
||||||
|
|
||||||
|
-- Blue Marble Nodes
|
||||||
|
minetest.register_node("ethereal:blue_marble", {
|
||||||
|
description = S("Blue Marble"),
|
||||||
|
tiles = {"ethereal_blue_marble.png"},
|
||||||
|
groups = {cracky = 1, stone = 1},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("ethereal:blue_marble_tile", {
|
||||||
|
description = S("Blue Marble Tile"),
|
||||||
|
tiles = {"ethereal_blue_marble_tile.png"},
|
||||||
|
groups = {cracky = 1, stone = 1},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "ethereal:blue_marble_tile 9",
|
||||||
|
recipe = {
|
||||||
|
{"ethereal:blue_marble", "ethereal:blue_marble", "ethereal:blue_marble"},
|
||||||
|
{"ethereal:blue_marble", "ethereal:blue_marble", "ethereal:blue_marble"},
|
||||||
|
{"ethereal:blue_marble", "ethereal:blue_marble", "ethereal:blue_marble"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
-- helper strings
|
-- helper strings
|
||||||
local tmp, tmp2
|
local tmp, tmp2
|
||||||
|
|
||||||
@ -115,8 +143,11 @@ end
|
|||||||
add_biome("grayness", 2, 41, 15, 30, ethereal.grayness,
|
add_biome("grayness", 2, 41, 15, 30, ethereal.grayness,
|
||||||
nil, "ethereal:gray_dirt", 1, "default:dirt", 3)
|
nil, "ethereal:gray_dirt", 1, "default:dirt", 3)
|
||||||
|
|
||||||
add_biome("grayness_ocean", -192, 1, 15, 30, ethereal.grayness,
|
--add_biome("grayness_ocean", -192, 1, 15, 30, ethereal.grayness,
|
||||||
nil, tmp, 2, "default:sand", 2)
|
-- nil, tmp, 2, "default:sand", 2)
|
||||||
|
|
||||||
|
add_biome("grayness_ocean", -28, 1, 15, 30, ethereal.grayness,
|
||||||
|
nil, tmp, 2, "default:sand", 2, "ethereal:blue_marble")
|
||||||
|
|
||||||
|
|
||||||
add_biome("grassytwo", 1, 91, 15, 40, ethereal.grassytwo,
|
add_biome("grassytwo", 1, 91, 15, 40, ethereal.grassytwo,
|
||||||
|
@ -67,6 +67,9 @@ lucky_block:add_blocks({
|
|||||||
{name = "ethereal:sakura_sapling", max = 10},
|
{name = "ethereal:sakura_sapling", max = 10},
|
||||||
{name = "ethereal:willow_sapling", max = 10},
|
{name = "ethereal:willow_sapling", max = 10},
|
||||||
}},
|
}},
|
||||||
|
{"flo", 5, {"ethereal:blue_marble_tile"}, 2},
|
||||||
|
{"dro", {"ethereal:blue_marble", "ethereal:blue_marble_tile"}, 8},
|
||||||
|
{"dro", {"ethereal:etherium_ore"}, 5},
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("3d_armor") then
|
if minetest.get_modpath("3d_armor") then
|
||||||
|
1
ores.lua
1
ores.lua
@ -53,6 +53,7 @@ local add_ore = function(a, b, c, d, e, f, g)
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-- Coal
|
-- Coal
|
||||||
add_ore("default:stone_with_coal", "default:desert_stone", 24*24*24, 27, 6, -31000, -16)
|
add_ore("default:stone_with_coal", "default:desert_stone", 24*24*24, 27, 6, -31000, -16)
|
||||||
|
|
||||||
|
20
stairs.lua
20
stairs.lua
@ -4,6 +4,12 @@ local S = ethereal.intllib
|
|||||||
-- Stairs Redo
|
-- Stairs Redo
|
||||||
if stairs and stairs.mod and stairs.mod == "redo" then
|
if stairs and stairs.mod and stairs.mod == "redo" then
|
||||||
|
|
||||||
|
stairs.register_all("blue_marble_tile", "ethereal:blue_marble_tile",
|
||||||
|
{cracky = 1},
|
||||||
|
{"ethereal_blue_marble_tile.png"},
|
||||||
|
S("Blue Marble Tile"),
|
||||||
|
default.node_sound_stone_defaults())
|
||||||
|
|
||||||
stairs.register_all("crystal_block", "ethereal:crystal_block",
|
stairs.register_all("crystal_block", "ethereal:crystal_block",
|
||||||
{cracky = 1, level = 2, puts_out_fire = 1, cools_lava = 1},
|
{cracky = 1, level = 2, puts_out_fire = 1, cools_lava = 1},
|
||||||
{"crystal_block.png"},
|
{"crystal_block.png"},
|
||||||
@ -100,6 +106,13 @@ stairs.register_all("sakura_wood", "ethereal:sakura_wood",
|
|||||||
-- Stairs Plus (in More Blocks)
|
-- Stairs Plus (in More Blocks)
|
||||||
elseif minetest.global_exists("stairsplus") then
|
elseif minetest.global_exists("stairsplus") then
|
||||||
|
|
||||||
|
stairsplus:register_all("ethereal", "blue_marble_tile", "ethereal:blue_marble_tile", {
|
||||||
|
description = S("Blue Marble Tile"),
|
||||||
|
tiles = {"ethereal_blue_marble_tile.png"},
|
||||||
|
groups = {cracky = 1},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
stairsplus:register_all("ethereal", "crystal_block", "ethereal:crystal_block", {
|
stairsplus:register_all("ethereal", "crystal_block", "ethereal:crystal_block", {
|
||||||
description = S("Crystal block"),
|
description = S("Crystal block"),
|
||||||
tiles = {"crystal_block.png"},
|
tiles = {"crystal_block.png"},
|
||||||
@ -211,6 +224,13 @@ stairsplus:register_all("ethereal", "sakura_wood", "ethereal:sakura_wood", {
|
|||||||
-- Default Stairs
|
-- Default Stairs
|
||||||
else
|
else
|
||||||
|
|
||||||
|
stairs.register_stair_and_slab("blue_marble_tile", "ethereal:blue_marble_tile",
|
||||||
|
{cracky = 1},
|
||||||
|
{"ethereal_blue_marble_tile.png"},
|
||||||
|
S("Blue Marble Tile Stair"),
|
||||||
|
S("Blue Marble Tile Slab"),
|
||||||
|
default.node_sound_stone_defaults())
|
||||||
|
|
||||||
stairs.register_stair_and_slab("crystal_block", "ethereal:crystal_block",
|
stairs.register_stair_and_slab("crystal_block", "ethereal:crystal_block",
|
||||||
{cracky = 1, level = 2, puts_out_fire = 1, cools_lava = 1},
|
{cracky = 1, level = 2, puts_out_fire = 1, cools_lava = 1},
|
||||||
{"crystal_block.png"},
|
{"crystal_block.png"},
|
||||||
|
BIN
textures/ethereal_blue_marble.png
Normal file
BIN
textures/ethereal_blue_marble.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 583 B |
BIN
textures/ethereal_blue_marble_tile.png
Normal file
BIN
textures/ethereal_blue_marble_tile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 601 B |
Loading…
x
Reference in New Issue
Block a user