add stone spikes under caves biome.

This commit is contained in:
tenplus1 2024-12-16 09:08:34 +00:00
parent caa41b322c
commit a5403839fb
4 changed files with 63 additions and 2 deletions

View File

@ -19,7 +19,7 @@ TODO:
#### Lucky Blocks #### Lucky Blocks
It provides 65 new lucky blocks if the mod is detected. It provides 66 new lucky blocks if the mod is detected.
## Technical info ## Technical info
----------------- -----------------
@ -110,6 +110,7 @@ who helped make this mod bigger and better throughout it's release :)
the new layout for compatibility if wanted. the new layout for compatibility if wanted.
- Update settings. - Update settings.
- Candles use [multiply for colour. - Candles use [multiply for colour.
- Add desert stone spikes to caves biome, and stone spikes underneath.
### 1.31 ### 1.31
- Fix fishing biome checks - Fix fishing biome checks

View File

@ -14,6 +14,7 @@ lucky_block:add_schematics({
{"basandrabush", ethereal.basandrabush, {x = 1, y = 0, z = 1}}, {"basandrabush", ethereal.basandrabush, {x = 1, y = 0, z = 1}},
{"mushroomone", ethereal.mushroomone, {x = 4, y = 0, z = 4}}, {"mushroomone", ethereal.mushroomone, {x = 4, y = 0, z = 4}},
{"mushroomtwo", ethereal.mushroomtwo, {x = 1, y = 0, z = 1}}, {"mushroomtwo", ethereal.mushroomtwo, {x = 1, y = 0, z = 1}},
{"underspike", ethereal.desertstone_under_spike, {x = 1, y = 0, z = 1}},
}) })
-- add lucky blocks -- add lucky blocks
@ -62,6 +63,7 @@ lucky_block:add_blocks({
{"dro", {"ethereal:shovel_crystal"}}, {"dro", {"ethereal:shovel_crystal"}},
{"dro", {"ethereal:fishing_rod_baited"}}, {"dro", {"ethereal:fishing_rod_baited"}},
{"exp"}, {"exp"},
{"sch", "underspike", 0, false},
{"dro", {"ethereal:fire_dust"}, 2}, {"dro", {"ethereal:fire_dust"}, 2},
{"exp", 4}, {"exp", 4},
{"dro", {"ethereal:crystal_gilly_staff"}}, {"dro", {"ethereal:crystal_gilly_staff"}},

View File

@ -0,0 +1,48 @@
local _ = {name = "air", param1 = 000}
local S = {name = "default:stone", param1 = 255}
local s = {name = "default:stone", param1 = 127}
local C = {name = "default:cobble", param1 = 255}
local c = {name = "default:cobble", param1 = 127}
ethereal.desertstone_under_spike = {
size = {x = 3, y = 8, z = 3},
yslice_prob = {
{ypos = 3, prob = 127},
{ypos = 5, prob = 127},
{ypos = 6, prob = 127},
},
data = {
C,S,C,
C,S,C,
_,S,_,
_,S,_,
_,C,_,
_,_,_,
_,_,_,
_,_,_,
S,S,S,
S,S,S,
S,S,S,
_,S,_,
_,S,_,
_,S,_,
_,S,_,
_,C,_,
C,S,C,
C,S,C,
_,S,_,
_,S,_,
_,C,_,
_,_,_,
_,_,_,
_,_,_,
}
}

View File

@ -31,6 +31,7 @@ dofile(path .. "lemon_tree.lua")
dofile(path .. "olive_tree.lua") dofile(path .. "olive_tree.lua")
dofile(path .. "basandra_bush.lua") dofile(path .. "basandra_bush.lua")
dofile(path .. "desertstone_spike.lua") dofile(path .. "desertstone_spike.lua")
dofile(path .. "desertstone_under_spike.lua")
-- register decoration helper -- register decoration helper
@ -55,12 +56,21 @@ local old = minetest.settings:get_bool("ethereal.old_biomes")
register_decoration(minetest.get_modpath("stairs") and ethereal.caves, { register_decoration(minetest.get_modpath("stairs") and ethereal.caves, {
place_on = "default:desert_stone", place_on = "default:desert_stone",
fill_ratio = 0.01, y_min = 5, y_max = 42, sidelen = 16, fill_ratio = 0.01, y_min = 5, y_max = 42,
biomes = {"caves"}, biomes = {"caves"},
schematic = ethereal.desertstone_spike, schematic = ethereal.desertstone_spike,
spawn_by = "default:desert_stone", num_spawn_by = 8, spawn_by = "default:desert_stone", num_spawn_by = 8,
flags = "place_center_x, place_center_z, force_placement", rotation = "random"}) flags = "place_center_x, place_center_z, force_placement", rotation = "random"})
-- desertstone under spike
register_decoration(ethereal.caves, {
place_on = "default:stone",
sidelen = 16, fill_ratio = 0.01, y_min = 5, y_max = 42,
biomes = {"caves"},
schematic = ethereal.desertstone_under_spike,
flags = "place_center_x, place_center_z, all_floors", rotation = "random"})
-- igloo -- igloo
register_decoration(ethereal.glacier, { register_decoration(ethereal.glacier, {