コード例 #1
0
 public static bool Unrandomized(this LogicObjects.LogicEntry entry, int UnRand0Manual1Either2 = 0)
 {
     if (UnRand0Manual1Either2 == 0)
     {
         return(entry.RandomizedState() == 1);
     }
     if (UnRand0Manual1Either2 == 1)
     {
         return(entry.RandomizedState() == 2);
     }
     if (UnRand0Manual1Either2 == 2)
     {
         return(entry.RandomizedState() == 1 || entry.RandomizedState() == 2);
     }
     return(false);
 }
コード例 #2
0
 public bool NeedsDialogBox(LogicObjects.LogicEntry entry)
 {
     return(!(entry.Checked || entry.SpoilerRandom > -2 || entry.RandomizedItem > -2 || entry.RandomizedState() == 2));
 }
コード例 #3
0
 public static bool Randomized(this LogicObjects.LogicEntry entry)
 {
     return(entry.RandomizedState() == 0);
 }