Update dungeons nodes in cursed lands, update screenshot

This commit is contained in:
Juraj Vajda 2023-03-19 16:52:39 -04:00
parent 07718f6e04
commit 5464740432
6 changed files with 13 additions and 15 deletions

View File

@ -318,7 +318,6 @@ local c_coral_forest_deep_ocean_sand = minetest.get_content_id('everness:coral_f
-- mapchunks, therefore minimising memory use. -- mapchunks, therefore minimising memory use.
local data = {} local data = {}
local chance = 25 local chance = 25
local rotations = { '0', '90', '180', '270' }
-- size = { x = 11, y = 17, z = 12 } -- size = { x = 11, y = 17, z = 12 }
local house_volume = 11 * 17 * 12 local house_volume = 11 * 17 * 12
@ -359,7 +358,6 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
local vi = area:index(x, y, z) local vi = area:index(x, y, z)
if data[vi + area.ystride] == c_water_source and data[vi] == c_coral_forest_deep_ocean_sand then if data[vi + area.ystride] == c_water_source and data[vi] == c_coral_forest_deep_ocean_sand then
local rotation = rotations[rand:next(1, #rotations)]
local s_pos = area:position(vi) local s_pos = area:position(vi)
local biome_data = minetest.get_biome_data(s_pos) local biome_data = minetest.get_biome_data(s_pos)
@ -390,7 +388,7 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
vm, vm,
schem_pos, schem_pos,
house_schem, house_schem,
rotation, 'random',
nil, nil,
true, true,
'place_center_x, place_center_z' 'place_center_x, place_center_z'

View File

@ -33,9 +33,9 @@ minetest.register_biome({
depth_filler = 1, depth_filler = 1,
node_riverbed = 'everness:cursed_dirt', node_riverbed = 'everness:cursed_dirt',
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'default:cobble', node_dungeon = 'everness:cursed_brick',
node_dungeon_alt = 'default:mossycobble', node_dungeon_alt = 'everness:cursed_brick_with_growth',
node_dungeon_stair = 'stairs:stair_cobble', node_dungeon_stair = 'stairs:stair_cursed_brick',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 45, heat_point = 45,

View File

@ -33,9 +33,9 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_riverbed = 'everness:cursed_sand', node_riverbed = 'everness:cursed_sand',
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'default:cobble', node_dungeon = 'everness:cursed_sandstone_brick',
node_dungeon_alt = 'default:mossycobble', node_dungeon_alt = 'everness:cursed_sandstone_block',
node_dungeon_stair = 'stairs:stair_cobble', node_dungeon_stair = 'stairs:stair_cursed_sandstone_brick',
vertical_blend = 1, vertical_blend = 1,
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,

View File

@ -34,9 +34,9 @@ minetest.register_biome({
node_riverbed = 'everness:cursed_stone', node_riverbed = 'everness:cursed_stone',
depth_riverbed = 2, depth_riverbed = 2,
node_cave_liquid = 'default:water_source', node_cave_liquid = 'default:water_source',
node_dungeon = 'default:cobble', node_dungeon = 'everness:cursed_lands_deep_ocean_sandstone_block',
node_dungeon_alt = 'default:mossycobble', node_dungeon_alt = 'everness:cursed_lands_deep_ocean_sandstone_brick',
node_dungeon_stair = 'stairs:stair_cobble', node_dungeon_stair = 'stairs:stair_cursed_lands_deep_ocean_sandstone_block',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 45, heat_point = 45,

View File

@ -28,9 +28,9 @@ local y_min = Everness.settings.biomes.everness_cursed_lands_under.y_min
minetest.register_biome({ minetest.register_biome({
name = 'everness_cursed_lands_under', name = 'everness_cursed_lands_under',
node_cave_liquid = { 'default:water_source', 'default:lava_source' }, node_cave_liquid = { 'default:water_source', 'default:lava_source' },
node_dungeon = 'default:cobble', node_dungeon = 'everness:cursed_brick',
node_dungeon_alt = 'default:mossycobble', node_dungeon_alt = 'everness:cursed_brick_with_growth',
node_dungeon_stair = 'stairs:stair_cobble', node_dungeon_stair = 'stairs:stair_cursed_brick',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 45, heat_point = 45,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 MiB

After

Width:  |  Height:  |  Size: 9.3 MiB