tModLoader v2024.10
A mod to make and play Terraria mods
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 SimulationConditionSetters.BloodMoon
static
Initial value:
= new FastConditionSetter(delegate {
Main.bloodMoon = true;
}, delegate {
Main.bloodMoon = false;
})
Definition: FastConditionSetter.cs:6

◆ Eclipse

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

◆ ExpertMode

FastConditionSetter 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;
})
Definition: SimulatorInfo.cs:6

◆ HardMode

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

◆ MidDay

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

◆ MidNight

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

◆ SlainMechBosses

FastConditionSetter 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 SimulationConditionSetters.SlainPlantera
static
Initial value:
= new FastConditionSetter(delegate {
NPC.downedPlantBoss = true;
}, delegate {
NPC.downedPlantBoss = false;
})

◆ SlimeRain

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

◆ WindyWeather

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