astro portal blocks generating on diff kinds of sand and add this info to the portal book

master
Dirkfried 2021-10-08 15:31:17 +02:00
parent c0d68fc50c
commit 1b60a1beea
2 changed files with 5 additions and 4 deletions

View File

@ -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,

View File

@ -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,