Add Sandstone Obelisks by Michieal

This commit is contained in:
PrairieWind 2022-10-26 14:18:31 -06:00
parent 22e42e612a
commit 58d124aeb3
8 changed files with 70 additions and 2 deletions

View File

@ -1,7 +1,11 @@
Change Log Change Log
========== ==========
Current Version: 1.2.0 Current Version: 1.3.0 (In-dev)
1.3.0
-----
* Add Sandstone Obelisks (Michieal)
1.2.0 1.2.0
----- -----

View File

@ -13,3 +13,4 @@ Schematics
* Brick Pyramid - PrairieWind * Brick Pyramid - PrairieWind
* Graveyard - PrairieWind * Graveyard - PrairieWind
* Loggers Camp - cora * Loggers Camp - cora
* Sandstone Obelisks - Michieal (aka Faerraven)

View File

@ -1,4 +1,4 @@
mcl_extra_structures Extra Structures for MineClone2
==================== ====================
Adds extra structures to the MineClone2 game. Includes structures based on YouTube videos about what could be in future Minecraft updates. This will hopefully be continuously updated and expanded. Adds extra structures to the MineClone2 game. Includes structures based on YouTube videos about what could be in future Minecraft updates. This will hopefully be continuously updated and expanded.
@ -9,3 +9,4 @@ Structure List
* Brick Pyramid * Brick Pyramid
* Graveyard * Graveyard
* Loggers Camp * Loggers Camp
* Sandstone Obelisks

View File

@ -10,3 +10,4 @@ dofile(mod .. "/birch_forest_ruins.lua") -- Load Birch Forest Ruins
dofile(mod .. "/brick_pyramid.lua") -- Load Brick Pyramid dofile(mod .. "/brick_pyramid.lua") -- Load Brick Pyramid
dofile(mod .. "/graveyard.lua") -- Load Graveyards dofile(mod .. "/graveyard.lua") -- Load Graveyards
dofile(mod .. "/loggers_camp.lua") -- Load Loggers Camp dofile(mod .. "/loggers_camp.lua") -- Load Loggers Camp
dofile(mod .. "/sandstone_obelisk.lua") -- Load Sandstone Obelisks

61
sandstone_obelisk.lua Normal file
View File

@ -0,0 +1,61 @@
--||||||||||||||||||||||
--|||||| Obelisks ||||||
--||||||||||||||||||||||
local modname = minetest.get_current_modname()
local S = minetest.get_translator(modname)
local modpath = minetest.get_modpath(modname)
-- Sandstone Obelisk, sandstone capped
mcl_structures.register_structure("sandstone_obelisk",{
place_on = {"group:sand"},
fill_ratio = 0.01,
flags = "place_center_x, place_center_z",
solid_ground = true,
make_foundation = true,
y_offset = 0,
chunk_probability = 300,
y_max = mcl_vars.mg_overworld_max,
y_min = 1,
biomes = { "Desert" },
sidelen = 1,
filenames = {
modpath.."/schematics/mcl_extra_structures_sandstone_obelisk.mts",
},
})
-- Sandstone Obelisk, iron capped
mcl_structures.register_structure("iron_sandstone_obelisk",{
place_on = {"group:sand"},
fill_ratio = 0.01,
flags = "place_center_x, place_center_z",
solid_ground = true,
make_foundation = true,
y_offset = 0,
chunk_probability = 600,
y_max = mcl_vars.mg_overworld_max,
y_min = 1,
biomes = { "Desert" },
sidelen = 1,
filenames = {
modpath.."/schematics/mcl_extra_structures_iron_sandstone_obelisk.mts",
},
})
-- Sandstone Obelisk, diamond capped
mcl_structures.register_structure("diamond_sandstone_obelisk",{
place_on = {"group:sand"},
fill_ratio = 0.01,
flags = "place_center_x, place_center_z",
solid_ground = true,
make_foundation = true,
y_offset = 0,
chunk_probability = 900,
y_max = mcl_vars.mg_overworld_max,
y_min = 1,
biomes = { "Desert" },
sidelen = 1,
filenames = {
modpath.."/schematics/mcl_extra_structures_diamond_sandstone_obelisk.mts",
},
})

Binary file not shown.