Wind

Wind is a mechanism in Terraria which influences the movement of various objects.

Wind speed ranges between 0 to 55 mph, and wind can blow from either the west or east. Informational accessories such as the Weather Radio show the direction the wind is blowing from, not towards (so for example, "25 mph W" means that the wind is blowing 25 mph from the west). The Windy Day event occurs when the wind speed is 20 mph or higher.

Wind primarily affects things that have no effect on gameplay, such as cloud movement speeds, blizzard and sandstorm background effects, and the animations of the surface of water and trees. However, it occasionally plays a part in how the game plays, such as its effects on Detonating Bubbles and its effects on players afflicted with Mighty Wind. The UFO Mount summoned by the Cosmic Car Key also seems to be slightly pushed by wind, but it is unnoticeable unless firing a weapon that bounces at a corner for a long period of time.

The Weather Radio, Fish Finder, PDA, and Cell Phone all list the wind speed in the upper right corner of the screen.

Effects
There are two base values the game uses when determining windspeed, "windSpeed" and "windSpeedSet". windSpeedSet is a value set to determine what value windSpeed should gradually change to, but both values are used intermittently throughout the code to affect certain objects. The game takes the following steps to determine windSpeed:


 * If windSpeed is not already equal to windSpeedSet, move it closer by .001
 * Change windSpeedSpeed by a value from -.001 to .001 (-.002 to .002 when night)
 * Cap windSpeedSpeed to -.002 or .002
 * Change windSpeedTemp by windSpeedSpeed (windSpeedSpeed x 2 if raining)
 * Cap windSpeedTemp by
 * Set windSpeedSet to windSpeedTemp
 * Loop

Overall this means that there are stronger wind speeds when it is nighttime and/or raining. However, as sandstorms do not count as rain, sandstorms do not actually cause increased wind speeds. Also notable is that more clouds in the sky means higher potential for higher wind speeds, whether it is raining or not.

Wind affects the following:

Vent 风