Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsAGoodTime()

bool Terraria.GameContent.Events.MysticLogFairiesEvent.IsAGoodTime ( )
inlineprivate

Definition at line 57 of file MysticLogFairiesEvent.cs.

58 {
59 if (Main.dayTime)
60 {
61 return false;
62 }
63 if (!Main.remixWorld)
64 {
65 if (Main.time < 6480.0000965595245)
66 {
67 return false;
68 }
69 if (Main.time > 25920.000386238098)
70 {
71 return false;
72 }
73 }
74 return true;
75 }

References Terraria.Main.dayTime, Terraria.Main.remixWorld, and Terraria.Main.time.

Referenced by Terraria.GameContent.Events.MysticLogFairiesEvent.UpdateTime().