From 1b60a1beeadab8f5cc7ebe18468e8215c3fe072d Mon Sep 17 00:00:00 2001 From: Dirkfried <> Date: Fri, 8 Oct 2021 15:31:17 +0200 Subject: [PATCH 1/2] astro portal blocks generating on diff kinds of sand and add this info to the portal book --- illuna_aestival/src/mapgen.lua | 4 ++-- illuna_aestival/src/portal.lua | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/illuna_aestival/src/mapgen.lua b/illuna_aestival/src/mapgen.lua index 15e54a0..97bb8d8 100755 --- a/illuna_aestival/src/mapgen.lua +++ b/illuna_aestival/src/mapgen.lua @@ -117,10 +117,10 @@ dofile(path .. "astroportal.lua") minetest.register_decoration({ name = "Ancient broken astro portal", deco_type = "schematic", - place_on = "default:sand", + place_on = {"default:sand","default:desert_sand","default:silver_sand"}, sidelen = 80, fill_ratio = 0.00018, - biomes = "desert", + biomes = {"desert","desert_ocean","cold_desert"}, y_max = 2300, y_min = 1250, schematic = illuna.astroportal, diff --git a/illuna_aestival/src/portal.lua b/illuna_aestival/src/portal.lua index 86b8dcd..7a3ac7a 100644 --- a/illuna_aestival/src/portal.lua +++ b/illuna_aestival/src/portal.lua @@ -18,8 +18,9 @@ nether.register_portal( scale = 1.5 }, title = "Asteroid Portal", - book_of_portals_pagetext = [[Requiring 21 blocks of ancient astro-portal blocks, and constructed in the shape of a 3 × 3 platform with walls, or like a bowl. A finished platform is 2 blocks high, and 5 blocks wide at the widest in both directions. -This portal is different to the others, rather than acting akin to a doorway it appears to the eye more like a small pool of water which can be stepped into. Upon setting foot in the portal we found ourselves at a tremendous altitude.]], + book_of_portals_pagetext = [[Ancient astro portal stones can be found at tremendous hights laying on different kinds of sand. +The portal itself requires 21 blocks of ancient astro-portal blocks, and is constructed in the shape of a 3 × 3 platform with walls, or like a bowl. A finished platform is 2 blocks high, and 5 blocks wide at the widest in both directions. +This portal is different to the others, rather than acting akin to a doorway it appears to the eye more like a small pool of water which can be stepped into. Upon setting foot in the portal we found ourselves in space.]], is_within_realm = function(pos) -- return true if pos is inside the Nether return pos.y > OTHER_WORLDS_LEVEL - 200 end, From d683a140664a2d3c4cbb8525a28a17963e97ecbf Mon Sep 17 00:00:00 2001 From: Milan Date: Sat, 9 Oct 2021 17:09:49 +0200 Subject: [PATCH 2/2] Typofix --- illuna_aestival/src/portal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/illuna_aestival/src/portal.lua b/illuna_aestival/src/portal.lua index 7a3ac7a..40bf4e9 100644 --- a/illuna_aestival/src/portal.lua +++ b/illuna_aestival/src/portal.lua @@ -18,7 +18,7 @@ nether.register_portal( scale = 1.5 }, title = "Asteroid Portal", - book_of_portals_pagetext = [[Ancient astro portal stones can be found at tremendous hights laying on different kinds of sand. + book_of_portals_pagetext = [[Ancient astro portal stones can be found at tremendous heights laying on different kinds of sand. The portal itself requires 21 blocks of ancient astro-portal blocks, and is constructed in the shape of a 3 × 3 platform with walls, or like a bowl. A finished platform is 2 blocks high, and 5 blocks wide at the widest in both directions. This portal is different to the others, rather than acting akin to a doorway it appears to the eye more like a small pool of water which can be stepped into. Upon setting foot in the portal we found ourselves in space.]], is_within_realm = function(pos) -- return true if pos is inside the Nether