Files
7d2dXG/Mods/zzz_REBIRTH__Utils/Scripts/Requirements/ZombieParticlesEnabled.cs
Nathaniel Cosford 062dfab2cd Patched
2025-05-30 01:04:40 +09:30

13 lines
435 B
C#

public class ZombieParticlesEnabled : RequirementBase
{
public override bool ParamsValid(MinEventParams _params)
{
string optionZombieParticles = RebirthVariables.customZombieParticles;
bool isHordeNight = RebirthUtilities.IsHordeNight();
bool flag = optionZombieParticles == "on";
bool flag2 = optionZombieParticles == "nohordenight" && !isHordeNight;
return flag || flag2;
}
}