From f4c05de692735e2ab2826659191e8d20258d02f4 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 13 Feb 2022 18:20:33 +0100 Subject: [PATCH] Increase the minimum size of the smoothed terrain below the teleporter by one. --- game/scripts/world_generator/continents/test_continent.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/scripts/world_generator/continents/test_continent.gd b/game/scripts/world_generator/continents/test_continent.gd index 34bb5633..b64abcfb 100644 --- a/game/scripts/world_generator/continents/test_continent.gd +++ b/game/scripts/world_generator/continents/test_continent.gd @@ -160,8 +160,8 @@ func spawn_dungeon(chunk: TerrainChunk, dungeon_seed : int, spawn_mobs : bool) - var vh : int = chunk.get_voxel(vpx, vpz, TerrainChunkDefault.DEFAULT_CHANNEL_ISOLEVEL) - var orx : int = (randi() % 3) + 1 - var orz : int = (randi() % 3) + 1 + var orx : int = (randi() % 3) + 2 + var orz : int = (randi() % 3) + 2 for wx in range(vpx - orx, vpx + orx + 1): for wz in range(vpz - orz, vpz + orz + 1):