Skip to content

Commit 1e14d3e

Browse files
committed
Make ancient portalstone rarer in the Nether
Soon the nether mod will provide a portalstone, and cloudlands:ancient_portalstone will become an alias of that, so I'll reduce the amount of this that is being created in the Nether. Since 82d4283 ancient_portalstone is available from the islands anyway.
1 parent a240848 commit 1e14d3e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cloudlands.lua

+6-4
Original file line numberDiff line numberDiff line change
@@ -482,10 +482,10 @@ if ENABLE_PORTALS and minetest.get_modpath("nether") ~= nil and minetest.global_
482482
ore_type = "scatter",
483483
ore = "cloudlands:ancient_portalstone",
484484
wherein = "nether:rack",
485-
clust_scarcity = 28 * 28 * 28,
485+
clust_scarcity = 32 * 32 * 32,
486486
clust_num_ores = 6,
487487
clust_size = 3,
488-
y_max = nether.DEPTH,
488+
y_max = nether.DEPTH_CEILING or nether.DEPTH,
489489
y_min = nether.DEPTH_FLOOR or -32000,
490490
})
491491

@@ -499,9 +499,9 @@ if ENABLE_PORTALS and minetest.get_modpath("nether") ~= nil and minetest.global_
499499
deco_type = "schematic",
500500
place_on = "nether:rack",
501501
sidelen = 80,
502-
fill_ratio = 0.0003,
502+
fill_ratio = 0.0002,
503503
biomes = {"nether_caverns"},
504-
y_max = nether.DEPTH,
504+
y_max = nether.DEPTH_CEILING or nether.DEPTH,
505505
y_min = nether.DEPTH_FLOOR or -32000,
506506
schematic = {
507507
size = {x = 4, y = 4, z = 1},
@@ -2062,6 +2062,8 @@ local frameTexture = nil
20622062
if woodTexture ~= nil then
20632063
-- perhaps it's time for cloudlands to contain textures.
20642064
frameTexture = "([combine:16x16:0,0="..woodTexture.."\\^[colorize\\:black\\:170:1,1="..woodTexture.."\\^[colorize\\:#0F0\\:255\\^[resize\\:14x14^[makealpha:0,255,0)"
2065+
--frameTexture = "([combine:16x16:0,0="..woodTexture.."\\^[resize\\:16x16\\^[colorize\\:black\\:170:1,1="..woodTexture.."\\^[colorize\\:#0F0\\:255\\^[resize\\:14x14^[makealpha:0,255,0)"
2066+
--frameTexture = "(("..woodTexture.."^[colorize:black:170)^([combine:16x16:1,1="..woodTexture.."\\^[resize\\:14x14\\^[colorize\\:#0F0\\:255))"
20652067
end
20662068

20672069
-- Since "secret:fossilized_egg_display" doesn't use this mod's name as the prefix, we shouldn't

0 commit comments

Comments
 (0)