Add ability to set custom spawn location

This commit is contained in:
2026-10-15 23:53:45 +03:00
parent dc15ec21a4
commit e42e7b46b5
6 changed files with 139 additions and 27 deletions

View File

@@ -47,8 +47,9 @@ WORLD is where the seed and settings come from:
real size;
- or a =serverconfig.json=: the seed as typed and the world config.
Without WORLD it opens =./serverconfig.json=. It starts at spawn, in the
middle of the map.
Without WORLD it opens =./serverconfig.json=. It starts at the world's
spawn: the one the save or config names, else the middle of the map,
as in the game.
Options:
@@ -69,6 +70,7 @@ Options:
| =--find-cave= | find the nearest cave entrance on start |
| =--find-hot-spring= | find the nearest hot spring on start |
| =--probe X Z= | probe the column at block X, Z on start |
| =--spawn X Z= | count coordinates from block X, Z instead of the world's spawn |
| =--screenshot FILE.png= | wait until everything is drawn, save the window, quit |
| =--mouse X Y= | place the cursor, for screenshots |
@@ -107,9 +109,13 @@ when nothing is left to compute, the viewer sleeps.
- Change any setting (seed, sizes, landcover, scales, climate...)
and press /Apply/ to generate that world instead. The seed can be
any text, as typed into the game.
- /Go to spawn/ goes back to the centre of the map.
- /Go to spawn/ goes back to the spawn.
- /Set spawn/, then a click on the map, sets the spawn that
coordinates count from there, as the game counts them from the
world's; Escape or the button again gives up. It starts as the
world's spawn; /World's spawn/ goes back to it.
- *Info*: what is under the cursor:
- coordinates, absolute and from the map centre, and the region;
- coordinates, absolute and from the spawn, and the region;
- landform and geologic province;
- climate: temperature at sea level, rain, geologic activity;
- ocean and upheaval values;
@@ -133,7 +139,8 @@ when nothing is left to compute, the viewer sleeps.
- *Overlays*: any of Landform, Climate, Geologic province, Upheaval,
Rock strata thickness (pick the stratum below it), Rock and
Minerals. Drawn over the base at the /Overlay opacity/.
- /Story locations/ marks spawn and the story structures.
- /Story locations/ marks the spawn, the world's spawn if the one set
differs, and the story structures.
- /Rock under cursor/ turns the cursor label on and off.
- *Rocks*: finding rock.
- Choose where to look: at the /Surface/, at a /Depth below