Cloudburst: Rain, Snow, Storms and Fog for Your Game
README.md
FogBank
A bank of fog placed in the world: a valley filling with fog, mist lying over a pond, sea fog
rolling in over a harbour, haze over a town. The entity's position is the bank's centre on the
ground and size its width, height and depth. bank picks how it lies (valley, ground, sea,
haze); with followsWeather on it thickens in fog and mist and thins away in clear weather, so
one placed bank comes and goes with the forecast. Lit by the sky, the sun and the lamps standing
in it; it wraps around buildings and fills hollows.
local bank = entity.spawn("Valley fog")
bank.position = { 0, 0, 60 }
bank.component.add("FogBank", { bank = "valley", size = { 120, 12, 80 } })