Table of Contents

Class ClimateCondition

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class ClimateCondition
Inheritance
ClimateCondition
Inherited Members

Fields

Fertility

Nomalized value between 0..1

public float Fertility

Field Value

float

ForestDensity

Nomalized value between 0..1

public float ForestDensity

Field Value

float

GeologicActivity

Nomalized value between 0..1. Static value determined on world generation

public float GeologicActivity

Field Value

float

RainCloudOverlay

public float RainCloudOverlay

Field Value

float

Rainfall

Nomalized value between 0..1. When loading the now values, this is set to the current precipitation value, otherwise to "yearly averages" or the values generated during worldgen

public float Rainfall

Field Value

float

ShrubDensity

Nomalized value between 0..1

public float ShrubDensity

Field Value

float

Temperature

Between -20 and +40 degrees

public float Temperature

Field Value

float

WorldGenTemperature

If you read the now values, you can still get the world gen temp from this value

public float WorldGenTemperature

Field Value

float

WorldgenRainfall

If you read the now values, you can still get the world gen rain fall from this value. Between 0..1

public float WorldgenRainfall

Field Value

float

Methods

SetLerped(ClimateCondition, ClimateCondition, float)

public void SetLerped(ClimateCondition left, ClimateCondition right, float w)

Parameters

left ClimateCondition
right ClimateCondition
w float