diff --git a/CHANGELOG.md b/CHANGELOG.md index e21b92d..876c259 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ Change Log ========== -Current Version: 1.2.0 +Current Version: 1.3.0 (In-dev) + +1.3.0 +----- +* Add Sandstone Obelisks (Michieal) 1.2.0 ----- diff --git a/CREDITS.md b/CREDITS.md index ef17383..c478d9f 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -13,3 +13,4 @@ Schematics * Brick Pyramid - PrairieWind * Graveyard - PrairieWind * Loggers Camp - cora +* Sandstone Obelisks - Michieal (aka Faerraven) \ No newline at end of file diff --git a/README.md b/README.md index 0c1de20..4d7578c 100644 --- a/README.md +++ b/README.md @@ -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. @@ -9,3 +9,4 @@ Structure List * Brick Pyramid * Graveyard * Loggers Camp +* Sandstone Obelisks \ No newline at end of file diff --git a/init.lua b/init.lua index f930fdd..bf480a5 100644 --- a/init.lua +++ b/init.lua @@ -10,3 +10,4 @@ dofile(mod .. "/birch_forest_ruins.lua") -- Load Birch Forest Ruins dofile(mod .. "/brick_pyramid.lua") -- Load Brick Pyramid dofile(mod .. "/graveyard.lua") -- Load Graveyards dofile(mod .. "/loggers_camp.lua") -- Load Loggers Camp +dofile(mod .. "/sandstone_obelisk.lua") -- Load Sandstone Obelisks diff --git a/sandstone_obelisk.lua b/sandstone_obelisk.lua new file mode 100644 index 0000000..4de3d59 --- /dev/null +++ b/sandstone_obelisk.lua @@ -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", + }, +}) diff --git a/schematics/mcl_extra_structures_diamond_sandstone_obelisk.mts b/schematics/mcl_extra_structures_diamond_sandstone_obelisk.mts new file mode 100644 index 0000000..91e9a24 Binary files /dev/null and b/schematics/mcl_extra_structures_diamond_sandstone_obelisk.mts differ diff --git a/schematics/mcl_extra_structures_iron_sandstone_obelisk.mts b/schematics/mcl_extra_structures_iron_sandstone_obelisk.mts new file mode 100644 index 0000000..937346f Binary files /dev/null and b/schematics/mcl_extra_structures_iron_sandstone_obelisk.mts differ diff --git a/schematics/mcl_extra_structures_sandstone_obelisk.mts b/schematics/mcl_extra_structures_sandstone_obelisk.mts new file mode 100644 index 0000000..056b853 Binary files /dev/null and b/schematics/mcl_extra_structures_sandstone_obelisk.mts differ