tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.LootSimulation.SimulationConditionSetters Class Reference

Static Public Attributes

static FastConditionSetter BloodMoon
 
static FastConditionSetter Eclipse
 
static StackedConditionSetter ExpertAndHardMode = new StackedConditionSetter(ExpertMode, HardMode)
 
static FastConditionSetter ExpertMode
 
static FastConditionSetter HardMode
 
static LuckyCoinConditionSetter LuckyCoinTest = new LuckyCoinConditionSetter(100)
 
static FastConditionSetter MidDay
 
static FastConditionSetter MidNight
 
static FastConditionSetter SlainMechBosses
 
static FastConditionSetter SlainPlantera
 
static FastConditionSetter SlimeRain
 
static SlimeStaffConditionSetter SlimeStaffTest = new SlimeStaffConditionSetter(100)
 
static StackedConditionSetter WindyExpertHardmodeEndgameBloodMoonNight = new StackedConditionSetter(WindyWeather, ExpertMode, HardMode, SlainMechBosses, SlainPlantera, BloodMoon, MidNight)
 
static StackedConditionSetter WindyExpertHardmodeEndgameEclipseMorning = new StackedConditionSetter(WindyWeather, ExpertMode, HardMode, SlainMechBosses, SlainPlantera, Eclipse, MidDay)
 
static FastConditionSetter WindyWeather
 

Member Data Documentation

◆ BloodMoon

FastConditionSetter Terraria.GameContent.LootSimulation.SimulationConditionSetters.BloodMoon
static
Initial value:
= new FastConditionSetter(delegate {
Main.bloodMoon = true;
}, delegate {
Main.bloodMoon = false;
})

◆ Eclipse

FastConditionSetter Terraria.GameContent.LootSimulation.SimulationConditionSetters.Eclipse
static
Initial value:
= new FastConditionSetter(delegate {
Main.eclipse = true;
}, delegate {
Main.eclipse = false;
})

◆ ExpertMode

FastConditionSetter Terraria.GameContent.LootSimulation.SimulationConditionSetters.ExpertMode
static
Initial value:
= new FastConditionSetter(delegate (SimulatorInfo info) {
Main.GameMode = 1;
info.runningExpertMode = true;
}, delegate (SimulatorInfo info) {
Main.GameMode = 0;
info.runningExpertMode = false;
})

◆ HardMode

FastConditionSetter Terraria.GameContent.LootSimulation.SimulationConditionSetters.HardMode
static
Initial value:
= new FastConditionSetter(delegate {
Main.hardMode = true;
}, delegate {
Main.hardMode = false;
})

◆ MidDay

FastConditionSetter Terraria.GameContent.LootSimulation.SimulationConditionSetters.MidDay
static
Initial value:
= new FastConditionSetter(delegate {
Main.dayTime = true;
Main.time = 27000.0;
}, delegate (SimulatorInfo info) {
info.ReturnToOriginalDaytime();
})

◆ MidNight

FastConditionSetter Terraria.GameContent.LootSimulation.SimulationConditionSetters.MidNight
static
Initial value:
= new FastConditionSetter(delegate {
Main.dayTime = false;
Main.time = 16200.0;
}, delegate (SimulatorInfo info) {
info.ReturnToOriginalDaytime();
})

◆ SlainMechBosses

FastConditionSetter Terraria.GameContent.LootSimulation.SimulationConditionSetters.SlainMechBosses
static
Initial value:
= new FastConditionSetter(delegate {
NPC.downedMechBoss1 = (NPC.downedMechBoss2 = (NPC.downedMechBoss3 = (NPC.downedMechBossAny = true)));
}, delegate {
NPC.downedMechBoss1 = (NPC.downedMechBoss2 = (NPC.downedMechBoss3 = (NPC.downedMechBossAny = false)));
})

◆ SlainPlantera

FastConditionSetter Terraria.GameContent.LootSimulation.SimulationConditionSetters.SlainPlantera
static
Initial value:
= new FastConditionSetter(delegate {
NPC.downedPlantBoss = true;
}, delegate {
NPC.downedPlantBoss = false;
})

◆ SlimeRain

FastConditionSetter Terraria.GameContent.LootSimulation.SimulationConditionSetters.SlimeRain
static
Initial value:
= new FastConditionSetter(delegate {
Main.slimeRain = true;
}, delegate {
Main.slimeRain = false;
})

◆ WindyWeather

FastConditionSetter Terraria.GameContent.LootSimulation.SimulationConditionSetters.WindyWeather
static
Initial value:
= new FastConditionSetter(delegate {
Main._shouldUseWindyDayMusic = true;
}, delegate {
Main._shouldUseWindyDayMusic = false;
})