Added etherium ore/dust and cave biome decor

This commit is contained in:
TenPlus1 2019-11-05 20:45:04 +00:00
parent a916d82a47
commit 4a19552fe4
7 changed files with 37 additions and 7 deletions

View File

@ -10,6 +10,11 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
## Changelog
### 1.27
- Added Etherium ore and dust
- Added sparse decoration of dry grass and shrub to caves biome
### 1.26
- Added Sakura biome, pink sakura trees and saplings

View File

@ -1,6 +1,22 @@
local S = ethereal.intllib
-- Etherium Dust
minetest.register_craftitem("ethereal:etherium_dust", {
description = S("Etherium Dust"),
inventory_image = "ethereal_etherium_dust.png",
wield_image = "ethereal_etherium_dust.png",
})
-- Ethereium Ore
minetest.register_node("ethereal:etherium_ore", {
description = S("Etherium Ore"),
tiles = {"default_desert_stone.png^ethereal_etherium_ore.png"},
groups = {cracky = 3},
drop = "ethereal:etherium_dust",
sounds = default.node_sound_stone_defaults(),
})
-- Bamboo Flooring
minetest.register_node("ethereal:bamboo_floor", {
description = S("Bamboo Floor"),

View File

@ -11,7 +11,7 @@
-- DO NOT change settings below, use the settings.conf file instead
ethereal = {
version = "1.26",
version = "1.27",
leaftype = 0, -- 0 for 2D plantlike, 1 for 3D allfaces
leafwalk = false, -- true for walkable leaves, false to fall through
cavedirt = true, -- caves chop through dirt when true

View File

@ -533,6 +533,8 @@ add_node({"default:dirt_with_dry_grass"}, 0.25, {"savannah"}, 1, 100, {"default:
"default:dry_grass_3", "default:dry_grass_4", "default:dry_grass_5"}, nil, nil, nil, ethereal.savannah)
add_node({"default:dirt_with_dry_grass"}, 0.10, {"mesa"}, 1, 100, {"default:dry_grass_2",
"default:dry_grass_3", "default:dry_grass_4", "default:dry_grass_5"}, nil, nil, nil, ethereal.mesa)
add_node({"default:desert_stone"}, 0.005, {"caves"}, 5, 40, {"default:dry_grass_2",
"default:dry_grass_3", "default:dry_shrub"}, nil, nil, nil, ethereal.caves)
-- flowers & strawberry
add_node({"default:dirt_with_grass"}, 0.025, {"grassy"}, 1, 100, {"flowers:dandelion_white",

View File

@ -54,31 +54,38 @@ local add_ore = function(a, b, c, d, e, f, g)
end
-- Coal
add_ore("default:stone_with_coal", "default:desert_stone", 24*24*24, 27, 6, -31000, -16)
-- Iron
add_ore("default:stone_with_iron", "default:desert_stone", 9*9*9, 5, 3, -63, -16)
add_ore("default:stone_with_iron", "default:desert_stone", 24*24*24, 27, 6, -31000, -64)
--Mese
add_ore("default:stone_with_mese", "default:desert_stone", 14*14*14, 5, 3, -31000, -256)
-- Gold
add_ore("default:stone_with_gold", "default:desert_stone", 15*15*15, 3, 2, -255, -64)
add_ore("default:stone_with_gold", "default:desert_stone", 13*13*13, 5, 3, -31000, -256)
-- Diamond
add_ore("default:stone_with_diamond", "default:desert_stone", 17*17*17, 4, 3, -255, -128)
add_ore("default:stone_with_diamond", "default:desert_stone", 15*15*15, 4, 3, -31000, -256)
-- Copper
add_ore("default:stone_with_copper", "default:desert_stone", 9*9*9, 5, 3, -31000, -64)
-- Coral Sand
add_ore("ethereal:sandy", "default:sand", 10*10*10, 24, 4, -100, -10)
-- Etherium
minetest.register_ore({
ore_type = "scatter",
ore = "ethereal:etherium_ore",
wherein = "default:desert_stone",
clust_scarcity = 10*10*10,
clust_num_ores = 1,
clust_size = 1,
y_min = 5,
y_max = 40,
biomes = {"caves"},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B