Table of Contents

Class DefaultSmokeWorld

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

A small, game-created Valheim 1.0.16 world for an owned smoke run. The server that created it had only ValheimCLI default plugin and its built-in commands. It is a starting point, not a synthetic terrain replacement: the game still generates terrain and locations when the client enters it.

public static class DefaultSmokeWorld
Inheritance
object
DefaultSmokeWorld

Remarks

Prepare(string) writes only to a new directory. A run copies that pinned source through Copy(string, string, IReadOnlyDictionary<string, string>) or a hosting client's journalled placement (HostedWorld) and never edits the packaged source. The save format belongs to Valheim; a later game version must pass a native load check before being claimed compatible.

Fields

Name

public const string Name = "VTDefaultSmoke"

Field Value

string

SeedName

public const string SeedName = "UFpb0JbRZB"

Field Value

string

Uid

public const string Uid = "3010640879"

Field Value

string

Methods

Prepare(string)

Materializes the pinned one-world fixture into newRoot. The path must not exist, so this cannot silently replace a valued world or a previous run's evidence. Returns the UID read from the written world metadata, rather than trusting the folder name.

public static WorldIdentity Prepare(string newRoot)

Parameters

newRoot string

Returns

WorldIdentity

PrepareServerSaveRoot(string)

Creates the same pinned world in a dedicated server's -savedir layout, worlds_local/VTDefaultSmoke/, under a new root. It checks the embedded world through Prepare(string) before moving its own files; no existing server save is changed.

public static WorldIdentity PrepareServerSaveRoot(string newRoot)

Parameters

newRoot string

Returns

WorldIdentity