Jump to content

World generation: Difference between revisions

From MirkLurk Wiki
repo-sync: 3541005e5de1 text:bc444c93d92c5446a0a1b82c69911e56
repo-sync: ec6f5e8d169c text:08f957e44cfd7ee9983129a0337337ad
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''World generation''' happens in two stages: the game chooses the world-map biomes and several landmark zones upfront, then generates each area's terrain when you enter it. There is '''no reusable world seed'''. The route you explore affects both terrain borders and where some NPC locations appear.
'''World generation''' happens in two stages: the game chooses the world map's area types and several landmark zones upfront, then generates each area's terrain when you enter it. There is '''no reusable world seed'''. The route you explore affects both terrain borders and where some NPC locations, including the Survivors' camp, appear.


This guide covers '''0.8.1.5''' and contains '''location and story spoilers'''. A '''zone''' is one cell of the five-by-five world map, labeled A through E and 1 through 5.
This guide covers '''0.9.6.5''' and contains '''location and story spoilers'''. A '''zone''' is one cell of the five-by-five world map, labeled A through E and 1 through 5. See [[Areas]] for what each kind of area contains; the game itself calls a cell an area.
 
Generation rules are unchanged between 0.9.5.5 and 0.9.5.6. Version 0.9.5.5 changes nature acceptance near Fort Solid and removes the random pit pass from the first two rift depths. Removing those random draws can also change later generated choices, including exit positions. The 0.9.5.0 Giant Snail substitutions and Toadkin Shaman companion rolls also consume randomness. Older builds therefore need not generate identical areas from the same internal random state.
 
== Spider-cave access ==
Version 0.9.6.5 adds a random check when an ordinary cave candidate passes its collision checks. The check does not replace the entrance, but its random draw can change later placements.
 
The current build defines a separate cave area with webs, [[Mirk Lurker]], [[Deathlob]] and webbed treasure. Normal placement of an entrance to this area is unconfirmed. Do not expect one third of ordinary caves to lead there: the ordinary cave check's body is empty.


== What is decided upfront? ==
== What is decided upfront? ==
Creating a world chooses its biome grid and the zones for Fort Solid, [[Ranger Bhato]]'s hideout, [[Scaal]]'s lair and the Library. Those assignments exist before all the zones are explored; their exact exterior positions are created when the relevant areas are generated.
Creating a world chooses its grid of area types and the zones for Fort Solid, [[Ranger Bhato]]'s hideout, [[Scaal]]'s lair and the Library. Those assignments exist before all the zones are explored; their exact exterior positions are created when the relevant areas are generated.


=== Fort Solid ===
=== Fort Solid ===
Fort Solid is chosen in column A or E, in any row from 1 to 5. Its biome is '''Fort Solid Shorehold'''.
Fort Solid is chosen in column A or E, in any row from 1 to 5. Its area type is '''Fort Solid Shorehold'''.
 
Nature placement now keeps a 164-world-pixel radius clear around the fort's clearing reference point, rather than 104 pixels. Until late in the main story, that restriction also applies to player planting. Afterwards player placement skips this particular exclusion, while natural growth retains a 90% exclusion roll; other terrain and planting checks remain. See [[Planting]].


=== Scaal's lair ===
=== Scaal's lair ===
Line 13: Line 22:


The zone is a '''Rift-Thorn Mire'''. Its surface entrance leads through three rift depths, with Scaal in the third; the world-map coordinate identifies the entrance zone, not an outdoor Scaal encounter.
The zone is a '''Rift-Thorn Mire'''. Its surface entrance leads through three rift depths, with Scaal in the third; the world-map coordinate identifies the entrance zone, not an outdoor Scaal encounter.
Newly generated first and second depths no longer run the random pit-carving pass. The third depth is not part of this change. Existing saved terrain is not automatically repaired or regenerated.


=== The Library ===
=== The Library ===
The Library is assigned after Fort Solid and Scaal's zone. The generator rerolls a candidate until the cell is empty, at least 2 cells from the fort and at least 1.2 cells from Scaal's zone. These are '''straight-line distances''' on the world map, not walking distances.
The Library is assigned after Fort Solid and Scaal's zone. The generator rerolls a candidate until the cell is empty, at least 2 cells from the fort and at least 1.2 cells from Scaal's zone. These are '''straight-line distances''' on the world map, not walking distances.


This excludes the fort's adjacent cells, including diagonals, and Scaal's orthogonal neighbors, but permits Scaal's diagonal neighbors. The Library's zone becomes '''Sunken Ancient Ruins'''. Another two or three Sunken Ancient Ruins zones are added later, so that biome alone does not identify the Library.
This excludes the fort's adjacent cells, including diagonals, and Scaal's orthogonal neighbors, but permits Scaal's diagonal neighbors. The Library's zone becomes '''Sunken Ancient Ruins'''. Another two or three Sunken Ancient Ruins zones are added later, so that area type alone does not identify the Library.


=== Guaranteed fen biomes ===
=== Guaranteed fen areas ===
New worlds contain two or three Broken Fens and at least one Drowned Fen. These are used for [[Ihar#Location_and_access|Ihar's shipwreck]] and [[Gurb-Gurb#Location_and_access|Gurb-Gurb's hollow]].
New worlds contain two or three Broken Fens and at least one Drowned Fen. These are used for [[Ihar#Location_and_access|Ihar's shipwreck]] and [[Gurb-Gurb#Location_and_access|Gurb-Gurb's hollow]].


Line 25: Line 36:
See each character's page for directions, exterior pictures and access requirements.
See each character's page for directions, exterior pictures and access requirements.


<div class="mirklurk-scroll noresize" role="group" tabindex="0" aria-label="Finding NPCs (scroll horizontally)" style="max-width:100%;overflow-x:auto;">
{| class="wikitable"
{| class="wikitable"
! Character !! Finding their location
! Character !! Finding their location
Line 35: Line 47:
|-
|-
| [[Ihar#Location_and_access|Ihar]]
| [[Ihar#Location_and_access|Ihar]]
| Finding the Broken Fen shipwreck, failed shoreline searches, retries and the absence of an alternative-biome fallback.
| Finding the Broken Fen shipwreck, failed shoreline searches, retries and the absence of a fallback to another area type.
|-
| [[Wilda#Location_and_access|Wilda and Grand Mother]]
| The [[Survivors' camp]] appears in the first Savage Mirk area you enter, with a torchlight cue pointing toward it.
|-
|-
| [[Scaal]]
| [[Scaal]]
| The [[#Scaal's_lair|opposite-zone rule above]] identifies the route into his lair.
| The [[#Scaal's_lair|opposite-zone rule above]] identifies the route into his lair.
|}
|}
</div>


Bhato's zone is chosen upfront. Gurb-Gurb's hollow and Ihar's wreck are '''not assigned a zone with the initial world map''': their placement depends on which eligible outdoor areas you enter while they remain uncreated. Visiting every zone once does not guarantee that Ihar's placement has succeeded.
Bhato's zone is chosen upfront. Gurb-Gurb's hollow, Ihar's wreck and the Survivors' camp are '''not assigned a zone with the initial world map''': their placement depends on which eligible outdoor areas you enter while they remain uncreated. The camp is always built in the first Savage Mirk area you enter. Visiting every zone once does not guarantee that Ihar's placement has succeeded.


== Exploration, revisits and saves ==
== Exploration, revisits and saves ==
A save records the initial biome grid and fixed landmark zones, but cannot reveal terrain that has not yet been generated. Once an area has been generated and saved, later visits load it instead of rerolling its terrain.
A save records the initial area-type grid and fixed landmark zones, but cannot reveal terrain that has not yet been generated. Once an area has been generated and saved, later visits load it instead of rerolling its terrain.
 
That does not freeze every object in the area. The delayed placement checks for Gurb-Gurb, Ihar and the camp also run on revisits and when loading a save in an eligible outdoor area, not while inside a cave there. Their individual pages explain success conditions and what happens after failure.


That does not freeze every object in the area. The delayed placement checks for Gurb-Gurb and Ihar also run on revisits and when loading a save in an eligible outdoor area, not while inside a cave there. Their individual pages explain success conditions and what happens after failure.
Creating those three locations now requests a save. This does not replace their existing placement conditions or automatically regenerate saved terrain.


== World seeds ==
== World seeds ==
There is no seed code you can enter to recreate a world.
There is no seed code you can enter to recreate a world.


[[NPCs]] | [[Merchants]] | [[Quests and journal]] | [[Game mechanics]] | [[Main Page]]
[[NPCs]] | [[Merchants]] | [[Quests and journal]] | [[Areas]] | [[Game mechanics]] | [[Main Page]]


== Stats ==
== Stats ==
<span id="fact-area-seed-ceiling"></span>
<span id="area-seed-ceiling"></span>
<div class="mirklurk-scroll noresize" role="group" tabindex="0" aria-label="Table (scroll horizontally)" style="max-width:100%;overflow-x:auto;">
{| class="wikitable"
{| class="wikitable"
! Detail !! Value !! Applies to / notes
! Detail !! Value !! Applies to / notes
|-
|-
| <span id="fact-area-cell-size"></span><nowiki>Terrain cell width (game units)</nowiki> || <nowiki>16</nowiki> || <nowiki>An area is 2560 units wide.</nowiki>
| <span id="area-cell-size"></span><nowiki>Terrain cell width (game units)</nowiki> || <nowiki>16</nowiki> || <nowiki>An area is 2560 units wide.</nowiki>
|-
|-
| <span id="fact-world-grid-width"></span><nowiki>World-map width and height (zones)</nowiki> || <nowiki>5</nowiki> || <nowiki>Not every zone is playable terrain.</nowiki>
| <span id="world-grid-width"></span><nowiki>World-map width and height (zones)</nowiki> || <nowiki>5</nowiki> || <nowiki>Not every zone is playable terrain.</nowiki>
|}
|}
</div>




<span id="entry-world-seed-boundaries"></span>
<span id="rules-Exploration_order"></span>
== <nowiki>Exploration order</nowiki> ==
== <nowiki>Exploration order</nowiki> ==
<nowiki>New terrain blends into neighboring zones you have already explored.</nowiki>
<nowiki>New terrain blends into neighboring zones you have already explored.</nowiki>
# <nowiki>Entering an unsaved zone creates fresh terrain. Saved zones load their existing terrain instead.</nowiki>
# <nowiki>Entering an unsaved zone creates fresh terrain. Saved zones load their existing terrain instead.</nowiki>
# <nowiki>Gurb-Gurb and Ihar can still appear on first visits, revisits or outdoor save loads until their locations have been created. See their pages for biome and placement rules.</nowiki>
# <nowiki>Gurb-Gurb, Ihar and the Survivors' camp can still appear on first visits, revisits or outdoor save loads until their locations have been created. See their pages for area and placement rules.</nowiki>
 
Related pages: [[Ranger Bhato|<nowiki>Ranger Bhato</nowiki>]] | [[Scaal|<nowiki>Scaal</nowiki>]] | [[Gurb-Gurb|<nowiki>Gurb-Gurb</nowiki>]] | [[Ihar|<nowiki>Ihar</nowiki>]] | [[Wilda|<nowiki>Wilda</nowiki>]] | [[Survivor|<nowiki>Survivor</nowiki>]] | [[Grand Mother|<nowiki>Grand Mother</nowiki>]]


Related pages: [[Ranger Bhato|<nowiki>Ranger Bhato</nowiki>]] | [[Scaal|<nowiki>Scaal</nowiki>]] | [[Gurb-Gurb|<nowiki>Gurb-Gurb</nowiki>]] | [[Ihar|<nowiki>Ihar</nowiki>]]
Changed in [[Version 0.9.5.5|version 0.9.5.5]].

Latest revision as of 05:26, 23 November 2026

World generation happens in two stages: the game chooses the world map's area types and several landmark zones upfront, then generates each area's terrain when you enter it. There is no reusable world seed. The route you explore affects both terrain borders and where some NPC locations, including the Survivors' camp, appear.

This guide covers 0.9.6.5 and contains location and story spoilers. A zone is one cell of the five-by-five world map, labeled A through E and 1 through 5. See Areas for what each kind of area contains; the game itself calls a cell an area.

Generation rules are unchanged between 0.9.5.5 and 0.9.5.6. Version 0.9.5.5 changes nature acceptance near Fort Solid and removes the random pit pass from the first two rift depths. Removing those random draws can also change later generated choices, including exit positions. The 0.9.5.0 Giant Snail substitutions and Toadkin Shaman companion rolls also consume randomness. Older builds therefore need not generate identical areas from the same internal random state.

Spider-cave access

Version 0.9.6.5 adds a random check when an ordinary cave candidate passes its collision checks. The check does not replace the entrance, but its random draw can change later placements.

The current build defines a separate cave area with webs, Mirk Lurker, Deathlob and webbed treasure. Normal placement of an entrance to this area is unconfirmed. Do not expect one third of ordinary caves to lead there: the ordinary cave check's body is empty.

What is decided upfront?

Creating a world chooses its grid of area types and the zones for Fort Solid, Ranger Bhato's hideout, Scaal's lair and the Library. Those assignments exist before all the zones are explored; their exact exterior positions are created when the relevant areas are generated.

Fort Solid

Fort Solid is chosen in column A or E, in any row from 1 to 5. Its area type is Fort Solid Shorehold.

Nature placement now keeps a 164-world-pixel radius clear around the fort's clearing reference point, rather than 104 pixels. Until late in the main story, that restriction also applies to player planting. Afterwards player placement skips this particular exclusion, while natural growth retains a 90% exclusion roll; other terrain and planting checks remain. See Planting.

Scaal's lair

Scaal's lair zone is the reflection of Fort Solid across the map's center: swap A with E and subtract the row from 6. For example, a fort at A2 puts the lair at E4; E1 puts it at A5.

The zone is a Rift-Thorn Mire. Its surface entrance leads through three rift depths, with Scaal in the third; the world-map coordinate identifies the entrance zone, not an outdoor Scaal encounter.

Newly generated first and second depths no longer run the random pit-carving pass. The third depth is not part of this change. Existing saved terrain is not automatically repaired or regenerated.

The Library

The Library is assigned after Fort Solid and Scaal's zone. The generator rerolls a candidate until the cell is empty, at least 2 cells from the fort and at least 1.2 cells from Scaal's zone. These are straight-line distances on the world map, not walking distances.

This excludes the fort's adjacent cells, including diagonals, and Scaal's orthogonal neighbors, but permits Scaal's diagonal neighbors. The Library's zone becomes Sunken Ancient Ruins. Another two or three Sunken Ancient Ruins zones are added later, so that area type alone does not identify the Library.

Guaranteed fen areas

New worlds contain two or three Broken Fens and at least one Drowned Fen. These are used for Ihar's shipwreck and Gurb-Gurb's hollow.

Finding NPCs

See each character's page for directions, exterior pictures and access requirements.

Character Finding their location
Ranger Bhato Directions from Captain Eir, the neighboring Common Bog, north/south placement, and recognizing the hut rather than the nearby cellar.
Gurb-Gurb Finding the hollow in a Drowned Fen, its smoke-discovery cue, and when the Savage Mirk fallback applies.
Ihar Finding the Broken Fen shipwreck, failed shoreline searches, retries and the absence of a fallback to another area type.
Wilda and Grand Mother The Survivors' camp appears in the first Savage Mirk area you enter, with a torchlight cue pointing toward it.
Scaal The opposite-zone rule above identifies the route into his lair.

Bhato's zone is chosen upfront. Gurb-Gurb's hollow, Ihar's wreck and the Survivors' camp are not assigned a zone with the initial world map: their placement depends on which eligible outdoor areas you enter while they remain uncreated. The camp is always built in the first Savage Mirk area you enter. Visiting every zone once does not guarantee that Ihar's placement has succeeded.

Exploration, revisits and saves

A save records the initial area-type grid and fixed landmark zones, but cannot reveal terrain that has not yet been generated. Once an area has been generated and saved, later visits load it instead of rerolling its terrain.

That does not freeze every object in the area. The delayed placement checks for Gurb-Gurb, Ihar and the camp also run on revisits and when loading a save in an eligible outdoor area, not while inside a cave there. Their individual pages explain success conditions and what happens after failure.

Creating those three locations now requests a save. This does not replace their existing placement conditions or automatically regenerate saved terrain.

World seeds

There is no seed code you can enter to recreate a world.

NPCs | Merchants | Quests and journal | Areas | Game mechanics | Main Page

Stats

Detail Value Applies to / notes
Terrain cell width (game units) 16 An area is 2560 units wide.
World-map width and height (zones) 5 Not every zone is playable terrain.


Exploration order

New terrain blends into neighboring zones you have already explored.

  1. Entering an unsaved zone creates fresh terrain. Saved zones load their existing terrain instead.
  2. Gurb-Gurb, Ihar and the Survivors' camp can still appear on first visits, revisits or outdoor save loads until their locations have been created. See their pages for area and placement rules.

Related pages: Ranger Bhato | Scaal | Gurb-Gurb | Ihar | Wilda | Survivor | Grand Mother

Changed in version 0.9.5.5.