Skip to content

Lightrain Environment Code

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

About

Light rain is a low-intensity rain weather state. It appears at 3% chance in the Meadows, 7% in the Ocean, and 14% in the Plains, with light wind and mild visibility reduction.

Overview

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

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

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

Command reference
env
Command reference
resetenv

Commands

Sets the current environment to Lightrain.

Resets the environment to its natural state.

More Environments

Creature spawn conditions

Full reference

1 entry

Biome & terrain

0–10 m altitude · Inside or outside forest

Time & weather
Progression & limits

No required world key

Up to 8 nearby · Groups of 2–4 · 0–2 stars permitted · 30 sec between attempts · 100% attempt chance

These are world-spawn rules. Raids and location spawners have separate rules on their own pages. An interval is an attempt schedule, not a guaranteed respawn timer; valid terrain and local population checks still apply.

Weather effects

Temperature effects can be countered by shelter, clothing, and resistance effects.

Wet weather
Yes
Freezing
No
Cold
At night
Daylight
Always dark
Wind intensity
10%–60% of the game's wind scale
Game data source

The full settings include internal fields and inactive defaults. The sections above explain the values relevant to gameplay.

Download full game settings (JSON)