Upload from upload_mods.ps1
This commit is contained in:
29
Scripts/Dialog/NPCs/DialogRequirementCanGoMineRebirth.cs
Normal file
29
Scripts/Dialog/NPCs/DialogRequirementCanGoMineRebirth.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
public class DialogRequirementIsNotHordeDay : BaseDialogRequirement
|
||||
{
|
||||
public override bool CheckRequirement(EntityPlayer player, EntityNPC talkingTo)
|
||||
{
|
||||
|
||||
if (RebirthUtilities.IsHordeDay())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public class DialogRequirementIsHordeDay : BaseDialogRequirement
|
||||
{
|
||||
public override bool CheckRequirement(EntityPlayer player, EntityNPC talkingTo)
|
||||
{
|
||||
|
||||
if (!RebirthUtilities.IsHordeDay())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user