tModLoader v2024.03
A mod to make and play Terraria mods
CommonConditions.SurfaceBiome Class Reference

Static Public Attributes

static readonly ChromaCondition Corruption = new SimpleCondition((Player player) => player.ZoneCorrupt && player.ZoneOverworldHeight)
 
static readonly ChromaCondition Crimson = new SimpleCondition((Player player) => player.ZoneCrimson && player.ZoneOverworldHeight)
 
static readonly ChromaCondition Desert = new SimpleCondition((Player player) => player.ZoneDesert && !player.ZoneBeach && player.ZoneOverworldHeight)
 
static readonly ChromaCondition Hallow = new SimpleCondition((Player player) => player.ZoneHallow && player.ZoneOverworldHeight)
 
static readonly ChromaCondition Jungle = new SimpleCondition((Player player) => player.ZoneJungle && player.ZoneOverworldHeight)
 
static readonly ChromaCondition Mushroom = new SimpleCondition((Player player) => player.ZoneGlowshroom && player.ZoneOverworldHeight)
 
static readonly ChromaCondition Ocean = new SimpleCondition((Player player) => player.ZoneBeach && player.ZoneOverworldHeight)
 
static readonly ChromaCondition Snow = new SimpleCondition((Player player) => player.ZoneSnow && player.ZoneOverworldHeight)