SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedWorld generation

Dynamic Rain

by valertron · for Factorio

Adds rain cycles to multiple planets, with Fulgora-style lightning, thunder, fire suppression, and pollution cleanup

4.5KDownloads
29d agoLast updated
All Rights ReservedLicense
2.1Latest game version

About Dynamic Rain

From Factorio Mod Portal

Adds rain cycles to multiple planets, with Fulgora-style lightning, thunder, fire suppression, and pollution cleanup

It might still have a few rough edges - feel free to report any issues you find

Features

  • Periodic rain cycles with configurable wet and dry durations
  • Rain on multiple planets/surfaces, including Nauvis, Vulcanus, Fulgora, and modded planets (configurable)
  • Rain can extinguish fires, with a configurable chance for each fire
  • Pollution reduction during rain. Looks great with Pollution: Impactful Smog / Spore Cloud
  • Reduced solar panel efficiency during rain (disabled by default)
  • Lightning and thunder effects
  • Configurable rain intensity
  • Multiplayer support
  • Weather statistics: lightning strikes, fires, power disruptions, and kills. Open with the shortcut button 🗲 or /dynamic-rain stat
  • Other commands to check the current weather or start a rain / dry period / lightning strike:

/dynamic-rain status /dynamic-rain rain /dynamic-rain dry /dynamic-rain lightning 0 0

image

From rain to winter

Want more weather challenges? Try my other mod, Winter is Coming: frozen lakes, changing seasons, and a factory that needs heating to survive the cold. Works with Dynamic Rain. Requires Space Age.

Lightning strikes

Rare Fulgora-style lightning, but unlike on Fulgora, these strikes can instantly kill living creatures and ignite flammable structures, while leaving other structures undamaged. (Space Age only)

  • Can kill players unless they are inside a vehicle
  • Can kill enemies, spawners, drones, and fish
  • Can ignite trees, fuel pipes (works best with Flammable Oils), wooden chests, and small wooden electric poles
  • Electric poles take no damage but may temporarily stop conducting power
  • Radars are temporarily disabled when struck
  • Chain discharges are also dangerous
  • Flying with Jetpack during a thunderstorm is extremely dangerous
Video description

Remote API

start_phase(...)

  • Temporarily overrides the weather on the specified surface.
  • If the requested phase is already active, resets its timer to duration_ticks. Otherwise, takes 600 ticks to fade rain in or out before starting the requested phase.
  • After the duration ends, Dynamic Rain continues its own scheduler.
  • Each call replaces all options. Omitted options use player settings.
  • API-enabled surfaces remain enabled after the episode ends. 
remote.call("dynamic-rain", "start_phase",
  surface_index, -- Existing surface index
  "wet",         -- "wet" or "dry"
  20000,         -- Duration: positive integer, ticks
  {              -- Optional; omitted fields use player settings
    intensity = 1,                       -- Absolute drop density: number >= 0 && < 100
    thunderstorm = false,                -- true / false; false disables thunder and lightning
    fire_extinguish_chance = 0.7,         -- 0..1; 0 disables extinguishing
    pollution_cleanup_per_minute = 10,   -- Number >= 0; 0 disables cleanup
    pollution_max_chunks_per_tick = 10   -- Positive integer
  }
)

To keep the surface dry until your next rain episode, call start_phase with "dry" and a suitable duration.

is_raining(...)

Returns true during the wet phase; false during dry weather or when rain is disabled.

local raining = remote.call("dynamic-rain", "is_raining", surface_index)

time_left(...)

Returns ticks remaining until the phase changes; 0 when rain is disabled.

local ticks_left = remote.call("dynamic-rain", "time_left", surface_index)

Events

local events = remote.call("dynamic-rain", "get_events")

script.on_event(events.on_phase_changed, function(event)
  -- Raised when the phase actually changes
  -- event.surface_index
  -- event.old_phase, event.phase: "wet" / "dry"
  -- event.duration_ticks: duration of the new phase
end)

script.on_event(events.on_rain_pollution_cleaned, function(event)
  -- Raised when rain removes pollution
  -- event.surface_index
  for _, chunk in ipairs(event.chunks) do
    -- chunk.chunk_position: { x, y }, chunk coordinates
    -- chunk.pollution_before: pollution before cleanup
    -- chunk.pollution_removed: amount removed
    -- chunk.pollution_after: pollution remaining
  end
end)

Highlights

From source data

Game versions

Built for Factorio 2.1.

Footprint

Rated a light load on a server.

License

Published under All Rights Reserved.

Dynamic Rain on Nxeon

From our catalogue
One-click install
Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
Server side
Required on the server
Server load
light
Smallest plan we suggest
Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.2.0, released 2026-10-24

Recent builds

BuildReleasedGame versionsLoaders
1.2.02026-10-242.1n/a
0.8.02026-10-042.0n/a
1.1.02026-10-042.1n/a
0.7.02026-09-272.0n/a
1.0.32026-09-242.1n/a
0.6.52026-09-242.0n/a

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run Dynamic Rain on a Factorio server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Factorio Mod Portal as “Mods”

World generation

Changes or adds to how new terrain, biomes and structures are created.

Runs on your server

From source side support

Factorio Mod Portal lists Dynamic Rain as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Compatibility

Game
Factorio
Runs on
Serverrequired on the server
Game versions
2.1

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-25Open ↗
  • ✓Authorvalertron, as published on Factorio Mod Portal
  • ✓LicenseAll Rights ReservedFree

Dynamic Rain, answered

Generated from the mod’s own source data.

Do my players need to install Dynamic Rain?

Factorio Mod Portal lists Dynamic Rain as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. Dynamic Rain is free to download from Factorio Mod Portal. Its license is All Rights Reserved.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Dynamic Rain on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Dynamic Rain in one click.