show what the prospecting pick reads, and find it
The ore maps GenDeposits makes are ported and match the save's for all 31 minerals in every stored region. With them and the strata, a column reads as the pick's density mode would read it: a Minerals overlay colours the map by reading, the probe lists every mineral the pick finds, and Find nearest looks for a mineral read at least so high. Readings run slightly high: the pick's column already holds the ore of its chunk's deposits, which are not generated yet. The check against the 13 readings stored in the save asserts exactly that direction. Silver, gold and peridot are read from ore inside other deposits, so they wait for the deposits themselves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -36,12 +36,12 @@ $(B)/cJSON.o: cJSON/cJSON.c cJSON/cJSON.h | $(B)
|
||||
$(B)/stb.o: src/stb.c third_party/stb/stb_image_write.h | $(B)
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
|
||||
|
||||
VSMV_OBJ = vsmv cs pb json maps save img dump lcg noise shape worldgen fastnoise rivers terra strata settings verify cJSON stb
|
||||
VSMV_OBJ = vsmv cs pb json maps save img dump lcg noise shape worldgen fastnoise rivers terra strata ores settings verify cJSON stb
|
||||
|
||||
$(B)/vsmv: $(VSMV_OBJ:%=$(B)/%.o)
|
||||
$(CC) $^ -o $@ -lsqlite3
|
||||
|
||||
VIEWER_OBJ = viewer tiles search hover settings worldgen fastnoise rivers terra strata shape noise lcg maps save pb json cs nk cJSON stb
|
||||
VIEWER_OBJ = viewer tiles search hover settings worldgen fastnoise rivers terra strata ores shape noise lcg maps save pb json cs nk cJSON stb
|
||||
|
||||
$(B)/vs-map-viewer: $(VIEWER_OBJ:%=$(B)/%.o)
|
||||
$(CC) $^ -o $@ $(SDL_LIBS) -lsqlite3
|
||||
|
||||
Reference in New Issue
Block a user