From ce526b7fded31bee39fac29270b1f4bbdedd8727 Mon Sep 17 00:00:00 2001 From: Kelly Kinkade Date: Tue, 6 Oct 2026 11:27:32 -0500 Subject: [PATCH] prospector: don't warn about correctly missing magma sea prospector should not complain about not finding the magma sea when there is not supposed to be a magma sea due to worldgen settings --- docs/changelog.txt | 1 + plugins/prospector.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.txt b/docs/changelog.txt index 1e8961c7be..9ebad265fa 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -60,6 +60,7 @@ Template for new versions: ## New Features ## Fixes +- `prospect`: don't warn about a missing magma sea in the pre-embark estimate when the world was generated without one ## Misc Improvements diff --git a/plugins/prospector.cpp b/plugins/prospector.cpp index 5dd712e872..427d8d34e9 100644 --- a/plugins/prospector.cpp +++ b/plugins/prospector.cpp @@ -385,7 +385,8 @@ bool estimate_underground(color_ostream &out, EmbarkTileLayout &tile, df::world_ if (!sea_found) { - out.printerr("Could not find magma sea; depth may be incorrect.\n"); + if (world->worldgen.worldgen_parms.have_bottom_layer_1) + out.printerr("Could not find magma sea; depth may be incorrect.\n"); tile.min_z = tile.base_z; }