From 58d124aeb311a0ad7ea1e1f9e9cf8f5687e6b2e9 Mon Sep 17 00:00:00 2001 From: PrairieWind Date: Wed, 26 Oct 2022 14:18:31 -0600 Subject: [PATCH] Add Sandstone Obelisks by Michieal --- CHANGELOG.md | 6 +- CREDITS.md | 1 + README.md | 3 +- init.lua | 1 + sandstone_obelisk.lua | 61 ++++++++++++++++++ ...a_structures_diamond_sandstone_obelisk.mts | Bin 0 -> 372 bytes ...xtra_structures_iron_sandstone_obelisk.mts | Bin 0 -> 539 bytes ...mcl_extra_structures_sandstone_obelisk.mts | Bin 0 -> 459 bytes 8 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 sandstone_obelisk.lua create mode 100644 schematics/mcl_extra_structures_diamond_sandstone_obelisk.mts create mode 100644 schematics/mcl_extra_structures_iron_sandstone_obelisk.mts create mode 100644 schematics/mcl_extra_structures_sandstone_obelisk.mts 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 0000000000000000000000000000000000000000..91e9a240306fefb96531ae92dedbbc66db82a332 GIT binary patch literal 372 zcmeYb3HD`RVPIz9V_>dF0SufB61mAa@yYo`saC~_c`3yu`FW|ux%v4e84T(mnc|Yf z%%Wl|Fcpuc!YDq!v?R5NL6M+B21#7D7-4fja$-?gY6^o8rX~g{+;%aD!qul_Cg$en zr6lF#CucJ-1AS02=V(AQUxNbA>IX-de^{&wFW=(a`zc@il!kXELkFX#MRH2x=|4FO zCA??cu>X2!R%Fv2t?RL?H?}I(TfAQDV%r)wXLb5co2jcx&(C>p)3o#Y0g<_Lj<0`E fpB(w&X!z%odyQAjkN$10zoh4_-Q0H{9F710&l#Io literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..937346f33f8efbaea3028cbe2a2ef389c0e29bf0 GIT binary patch literal 539 zcmeYb3HD`RVPIz9XJD>J1q^%)Lb=H~@yYo`saC~_c`3yu`FW`f5}0Dex%v4e8Q5f! z6N}1HQy5f0dWuUDGmDC?igOZ^;^D?Yv>L^i5?swWVYx=H}<6fGtG|O1ML? zI1+9Q#E}(q&IaD(YcSw=&Bt$Z&&KY0y!Z{V!dJUh1&nrGN^NMo{6R{u{lGjH7n8KG zWt_TJ=i-c%>J0!w{MjS` literal 0 HcmV?d00001 diff --git a/schematics/mcl_extra_structures_sandstone_obelisk.mts b/schematics/mcl_extra_structures_sandstone_obelisk.mts new file mode 100644 index 0000000000000000000000000000000000000000..056b853ef2e60cb4446664bfa270b61cc0538b6d GIT binary patch literal 459 zcmeYb3HD`RVPIz9V_>dF0Sw#>Lb=H~@yYo`saC~_c`3yu`FW`f5}0Dex%v4e84QxR zWQ?$BN=_^)OHE-=0ck2ONz5!Nwkpm^Op1rw1Tobpz9heZK>=A6NHIcLe12(3Y7v7J zZWRpbxaDA$KnzhNsE~mfXgR8LusOP7&e6U=z6J#z=hMqL>SkBOtbg}{fmh|N7C>EBmSLxdBJ>u2-R;HM#SkKI}eR?&x;z*E}kf)NdpH08j)(J;y%zl00 uIg@=q*g|~oH_htz-#0%0y4v8Rm~G!gpP=W@e}o@j;B&