Exemple #1
0
 protected override void SetupConversation(string topic)
 {
     currentConversation = ConversationUtilities.randomUnused(usedConversations);
     if (currentConversation != -1)
     {
         usedConversations[currentConversation] = true;
     }
 }
Exemple #2
0
 protected override void SetupConversation(string topic)
 {
     Debug.Log(topic);
     if (topic == "Ice Cream" && !icecream)
     {
         currentConversation = -2;
         conversedBefore     = true;
         icecream            = true;
     }
     else if (topic == "Toothbrush" && !toothbrush)
     {
         currentConversation = -3;
         conversedBefore     = true;
         toothbrush          = true;
     }
     else if (!conversedBefore)
     {
         currentConversation = 0;
         conversedBefore     = true;
     }
     //else if (likeAmount < 10)
     else if (likeAmount >= 20)
     {
         currentConversation = 7;
     }
     else
     {
         currentConversation = ConversationUtilities.randomUnused(usedHateConversations);
         if (currentConversation != -1)
         {
             usedHateConversations[currentConversation] = true;
             currentConversation += 1;
         }
     }/* else if (story.filthiness > 20)
       * {
       * currentConversation = 5 + ConversationUtilities.randomUnused(usedLikeConversations);
       * if (currentConversation != -1)
       * {
       *     usedLikeConversations[currentConversation - 4] = true;
       * }
       * } else
       * {
       * currentConversation = 1 + ConversationUtilities.randomUnused(usedHateConversations);
       * if (currentConversation != -1)
       * {
       *     usedHateConversations[currentConversation] = true;
       * }
       * }*/
      //currentConversation = 6;
 }
Exemple #3
0
 protected override void SetupConversation(string topic)
 {
     if (!conversedBefore)
     {
         currentConversation = 0;
         conversedBefore     = true;
     }
     else
     {
         currentConversation = ConversationUtilities.randomUnused(usedConversations);
         if (currentConversation != -1)
         {
             usedConversations[currentConversation] = true;
             currentConversation += 1;
         }
     }
 }
 protected override void SetupConversation(string topic)
 {
     if (!talkedBefore)
     {
         currentConversation = 0;
         talkedBefore        = true;
     }
     else if (story.hasCigarette)
     {
         currentConversation = 1;
     }
     else
     {
         currentConversation = ConversationUtilities.randomUnused(usedConversations);
         if (currentConversation != -1)
         {
             usedConversations[currentConversation] = true;
         }
     }
 }