diff --git a/README.md b/README.md index 2a08500..de5dce0 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ TODO: #### 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 ----------------- @@ -110,6 +110,7 @@ who helped make this mod bigger and better throughout it's release :) the new layout for compatibility if wanted. - Update settings. - Candles use [multiply for colour. + - Add desert stone spikes to caves biome, and stone spikes underneath. ### 1.31 - Fix fishing biome checks diff --git a/lucky_block.lua b/lucky_block.lua index 1489358..af15c6a 100644 --- a/lucky_block.lua +++ b/lucky_block.lua @@ -14,6 +14,7 @@ lucky_block:add_schematics({ {"basandrabush", ethereal.basandrabush, {x = 1, y = 0, z = 1}}, {"mushroomone", ethereal.mushroomone, {x = 4, y = 0, z = 4}}, {"mushroomtwo", ethereal.mushroomtwo, {x = 1, y = 0, z = 1}}, + {"underspike", ethereal.desertstone_under_spike, {x = 1, y = 0, z = 1}}, }) -- add lucky blocks @@ -62,6 +63,7 @@ lucky_block:add_blocks({ {"dro", {"ethereal:shovel_crystal"}}, {"dro", {"ethereal:fishing_rod_baited"}}, {"exp"}, + {"sch", "underspike", 0, false}, {"dro", {"ethereal:fire_dust"}, 2}, {"exp", 4}, {"dro", {"ethereal:crystal_gilly_staff"}}, diff --git a/schematics/desertstone_under_spike.lua b/schematics/desertstone_under_spike.lua new file mode 100644 index 0000000..cc63587 --- /dev/null +++ b/schematics/desertstone_under_spike.lua @@ -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,_, + _,_,_, + _,_,_, + _,_,_, + + } +} diff --git a/schems.lua b/schems.lua index 513151d..a50bd53 100644 --- a/schems.lua +++ b/schems.lua @@ -31,6 +31,7 @@ dofile(path .. "lemon_tree.lua") dofile(path .. "olive_tree.lua") dofile(path .. "basandra_bush.lua") dofile(path .. "desertstone_spike.lua") +dofile(path .. "desertstone_under_spike.lua") -- 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, { 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"}, schematic = ethereal.desertstone_spike, spawn_by = "default:desert_stone", num_spawn_by = 8, 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 register_decoration(ethereal.glacier, {