Esempio n. 1
0
 /// <summary>
 /// check if the main person's love intrest is another person's (J)  spouce and
 /// J's siignificantOther is their spouce
 /// </summary>
 void checkLoveTraingle(int IMainLoveInrestID, int JSpouce, int JsiginifcantOther, int jID, string flag, InterestingCharacters character)
 {
     if (checkForNullValues(IMainLoveInrestID, JSpouce, JsiginifcantOther))
     {
         if (IMainLoveInrestID == JSpouce && JsiginifcantOther == JSpouce)
         {
             character.characterFlags[flag] = true;
             //Debug.Log("DOES THIS HAPPEN?");
             character.SetLoveTraingleValues(IMainLoveInrestID, jID);
         }
     }
 }
Esempio n. 2
0
 void checkLoveTraingle(int person, int bestfriend, int spuceofperson, string flag, InterestingCharacters character)
 {
     if (checkForNullValues(person, spuceofperson, bestfriend))
     {
         if (person == bestfriend && bestfriend == spuceofperson) //do all of the checks
         {                                                        //check charge!
             character.characterFlags[flag] = true;
             Debug.Log("somone has this flag true " + flag);      //NO ONE HAS A LOve traingle - check this logic out
         }
         character.SetLoveTraingleValues(spuceofperson, bestfriend);
     }
 }