Skip to content

Rain Environment Code

Environment codeRain

The environment code for Rain in Valheim, with the env command to force this weather and resetenv to return to the natural cycle.
Overview

Rain is one of Valheim's environment / weather states, identified internally as Rain.

Force the world into this environment with the cheat command env Rain, and return to natural cycling with resetenv.

Environment changes are useful for screenshots, testing biome-specific events, or just resetting bad sailing weather.

About

Rain is the standard moderate-intensity rain weather state. It applies wet status to the player and reduces visibility, occurring at 3-7% chance in most biomes.

Commands

Sets the current environment to Rain.

Resets the environment to its natural state.