Upload from upload_mods.ps1
This commit is contained in:
15
Scripts/Requirements/RequirementGore.cs
Normal file
15
Scripts/Requirements/RequirementGore.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
public class RequirementGore : RequirementBase
|
||||
{
|
||||
public override bool ParamsValid(MinEventParams _params)
|
||||
{
|
||||
string optionGore = RebirthVariables.customGore;
|
||||
bool isSinglePlayer = SingletonMonoBehaviour<ConnectionManager>.Instance.IsSinglePlayer;
|
||||
|
||||
if (isSinglePlayer && optionGore == "bloodsplatter")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user