raise mushroom beach biome, add slime mold and slime block

This commit is contained in:
tenplus1 2024-08-30 09:57:03 +01:00
parent c891a2fe1e
commit c618f30ef5
6 changed files with 65 additions and 6 deletions

View File

@ -42,8 +42,8 @@
{"name": "grove", "heat_point": 40, "humidity_point": 25, "y_min": 3, "y_max": 23},
{"name": "grove_ocean", "heat_point": 40, "humidity_point": 25, "y_min": -192, "y_max": 2},
{"name": "mediterranean", "heat_point": 30, "humidity_point": 45, "y_min": 3, "y_max": 50},
{"name": "mushroom", "heat_point": 45, "humidity_point": 82, "y_min": 3, "y_max": 50},
{"name": "mushroom_ocean", "heat_point": 45, "humidity_point": 82, "y_min": -192, "y_max": 2},
{"name": "mushroom", "heat_point": 45, "humidity_point": 82, "y_min": 4, "y_max": 50},
{"name": "mushroom_beach", "heat_point": 45, "humidity_point": 82, "y_min": -3, "y_max": 5},
{"name": "sandstone_desert", "heat_point": 60, "humidity_point": 0, "y_min": 3, "y_max": 23},
{"name": "sandstone_desert_ocean", "heat_point": 60, "humidity_point": 0, "y_min": -192, "y_max": 2},
{"name": "sandstone_desert_under", "heat_point": 60, "humidity_point": 0, "y_min": -31000, "y_max": -256},

View File

@ -328,15 +328,16 @@ register_biome(ethereal.mediterranean, {
register_biome(ethereal.mushroom, {
name = "mushroom",
heat_point = 45, humidity_point = 82, y_min = 3, y_max = 50,
heat_point = 45, humidity_point = 82, y_min = 4, y_max = 50,
node_top = "ethereal:mushroom_dirt", depth_top = 1,
node_filler = "default:dirt", depth_filler = 3})
register_biome(ethereal.mushroom, {
name = "mushroom_ocean",
heat_point = 45, humidity_point = 82, y_min = -192, y_max = 2,
name = "mushroom_beach",
heat_point = 45, humidity_point = 82, y_min = -3, y_max = 5,
node_top = "default:sand", depth_top = 1,
node_filler = "default:sand", depth_filler = 2})
node_filler = "default:sand", depth_filler = 2,
vertical_blend = 1})
-- sandstone desert

View File

@ -206,6 +206,15 @@ register_decoration(ethereal.mushroom, {
biomes = {"mushroom"},
decoration = "ethereal:spore_grass"})
-- slime mold
register_decoration(ethereal.mushroom, {
place_on = {"default:sand"},
fill_ratio = 0.1,
y_min = 2, y_max = 6,
biomes = {"mushroom_beach"},
decoration = "ethereal:slime_mold"})
-- red & brown mushroom
register_decoration(1, {

View File

@ -293,3 +293,52 @@ minetest.register_craft({
},
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
})
-- slime mold
minetest.register_node("ethereal:slime_mold", {
description = S("Slime Mold"),
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
tiles = {"ethereal_slime_mold.png"},
inventory_image = "ethereal_slime_mold.png",
wield_image = "ethereal_slime_mold.png",
use_texture_alpha = "clip",
walkable = false,
buildable_to = true,
floodable = true,
drop = {},
groups = {crumbly = 3, flammable = 1},
sounds = default.node_sound_leaves_defaults(),
node_box = {
type = "fixed", fixed = {-0.5, -31 / 64, -0.5, 0.5, -15 / 32, 0.5}
},
selection_box = {
type = "fixed", fixed = {-0.5, -31 / 64, -0.5, 0.5, -15 / 32, 0.5}
}
})
-- slime block
minetest.register_node("ethereal:slime_block", {
description = S("Slime Block"),
tiles = {"ethereal_slime_block.png"},
inventory_image = minetest.inventorycube("ethereal_slime_block.png"),
groups = {crumbly = 3, bouncy = 100, fall_damage_add_percent = -100, disable_jump = 1},
sounds = default.node_sound_leaves_defaults()
})
minetest.register_craft({
output = "ethereal:slime_block",
recipe = {
{"ethereal:slime_mold", "ethereal:slime_mold", "ethereal:slime_mold"},
{"ethereal:slime_mold", "ethereal:slime_mold", "ethereal:slime_mold"},
{"ethereal:slime_mold", "ethereal:slime_mold", "ethereal:slime_mold"}
}
})
minetest.register_craft({
output = "ethereal:slime_mold 9",
recipe = {{"ethereal:slime_block"}}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B