Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class MaeHouse : SceneMonoBehaviour
- {
- public Character mom, dad, bea;
- IEnumerator Start()
- {
- yield return null;
- Debug.LogWarning("Here: " + Data.act + "-" + Data.day);
- if (IsActDay(1, 0))
- {
- Debug.LogWarning("in act 1 day 0!!!!");
- mom.Hide();
- dad.Show();
- bea.Hide();
- //<<walk Mae Enter wait>>
- yield return Say(Dad, "Where have you been?");
- yield return Say(Mae, "...");
- yield return Say(Mae, "{emote=hotdog}");
- //<<end>>
- }
- else if (IsActDay(1, 1) || IsActDay(2, 1) || IsActDay(2, 2))
- {
- if (Data.night)
- {
- mom.Hide();
- dad.Show();
- bea.Hide();
- }
- else
- {
- mom.Show();
- dad.Hide();
- bea.Hide();
- }
- }
- else if (IsActDay(1, 3))
- {
- if (Data.night)
- {
- mom.Hide();
- dad.Hide();
- bea.Show();
- }
- else
- {
- mom.Show();
- dad.Hide();
- bea.Hide();
- }
- }
- }
- public IEnumerator TalkToMom()
- {
- player.Sit();
- if (IsActDay(1, 1))
- {
- if (Data.mom == 0)
- {
- // WelcomeHome
- yield return Say(Mae, "Hi mom!");
- yield return Say(Mom, "Welcome home, sweetie!");
- yield return Say(Mae, "Thanks!");
- yield return Say(Mom, "Sorry we mixed up the day you were coming back");
- yield return Say(Mom, "But I think it just got lost in all the hubbub");
- yield return Say(Mom, "Since it was such short notice!");
- yield return Say(Mae, "It's okay, mom.");
- yield return Say(Mom, "Mae honey?");
- yield return Say(Mae, "Yeah?");
- yield return Say(Mom, "Is everything ok?");
- Data.mom++;
- yield return Options("Yeah!", "What Do You Mean?");
- if (option == 0)
- {
- // Yeah_A1D1
- yield return Say(Mae, "Yeah Mom, things are good.");
- yield return Say(Mom, "Well I mean it was a bit alarming to your father and I when you called.");
- yield return Say(Mom, "I assumed that something was very wrong.");
- yield return Say(Mae, "No, it just didn't work out at school.");
- yield return Say(Mom, "What does that mean, honey?");
- yield return Say(Mae, "Can we talk about this another time?");
- yield return Say(Mom, "Sure, hon.");
- yield return Say(Mae, "Thanks, mom.");
- yield return MomWheresGregg();
- }
- else
- {
- // What_A1D1
- yield return Say(Mom, "Honey, did something happen?");
- yield return Say(Mae, "I just needed to come home.");
- yield return Say(Mom, "Well sweetie I think you can understand my worry...");
- yield return Say(Mom, "That's not usually something a college sophomore just up and does...");
- yield return Say(Mae, "I know.");
- yield return Say(Mom, "Honey, you can tell me if something happened.");
- yield return Say(Mae, "Mom, I'm fine. Really. I just");
- yield return Say(Mae, "I just");
- yield return Say(Mae, "Can we talk about this another time?");
- yield return Say(Mom, "Sure, honey. It's ok.");
- yield return Say(Mae, "Thanks, mom.");
- yield return MomWheresGregg();
- }
- }
- else if (Data.mom == 1)
- {
- // News_A1d1
- yield return Say(Mae, "So what's been happening in town?");
- yield return Say(Mom, "Well, let's see...");
- yield return Say(Mom, "Did you hear Mrs Crangler died?");
- yield return Say(Mae, "Who?");
- yield return Say(Mom, "You remember Mrs Crangler! She taught your girl scout troop how to dance!");
- yield return Say(Mae, "Oh wow. She was pretty old then, too.");
- yield return Say(Mom, "Oh she was ancient, honey. She was ancient when I was your age.");
- yield return Say(Mae, "How did she die?");
- yield return Say(Mom, "From being ancient, honey.");
- yield return Say(Mae, "How old was she?");
- yield return Say(Mom, "115");
- yield return Say(Mae, "WOW.");
- yield return Say(Mom, "I know! If this were a contest, she'd have won!");
- Data.mom++;
- }
- else if (Data.mom == 2)
- {
- // Book_A1D1
- yield return Say(Mom, "Honey you've got to read this book when I'm done with it.");
- yield return Say(Mae, "What is it?");
- yield return Say(Mom, "Wellboy. It's a true story about a boy who grew up in a well.");
- yield return Say(Mom, "His parents didn't want him so they threw him in a well.");
- yield return Say(Mom, "And he was raised by eels.");
- yield return Say(Mom, "In a well.");
- yield return Say(Mae, "Wow.");
- Data.mom++;
- }
- else if (Data.mom == 3)
- {
- // Loop_A1D1
- yield return Say(Mom, "Eels, honey. EELS.");
- }
- }
- else if (IsActDay(2, 1))
- {
- yield return Say(Mom, "Yo.");
- yield return Say(Mae, "Sup.");
- yield return Say(Mom, "Sinkholes.");
- yield return Say(Mae, "Oh?");
- yield return Say(Mom, "in the town.");
- yield return Say(Mae, "Yes.");
- yield return Say(Mom, "...");
- yield return Say(Mae, "...");
- yield return Say(Mom, "Don't fall in!!!");
- yield return Say(Mae, "Y-yeah? Okay.");
- yield return Say(Mom, "But the stairs in TCE are fixed, so you can go to church!!");
- yield return Say(Mae, "YAAAAAAAAAAAAAAa");
- //<<end>>
- }
- else if (IsActDay(2, 2))
- {
- yield return Say(Mom, "Crazy things happened across town.");
- yield return Say(Mae, "O-Oh?");
- yield return Say(Mae, "Wasn't me...");
- }
- }
- public IEnumerator MomWheresGregg()
- {
- yield return Say(Mom, "So are you off to see your friends today?");
- yield return Say(Mom, "I betcha they'll be happy to see you!");
- yield return Say(Mae, "You wouldn't happen to know where Gregg is, would you?");
- yield return Say(Mom, "Oh yeah! Gregg's working down at the Snack Falcon");
- yield return Say(Mom, "Up in Towne Centre West by the Clik Clak.");
- yield return Options("I think I'll run over and say hey.", "We have a Snack Falcon now?");
- if (option == 0)
- {
- // [[Thanks_A1D1]]
- yield return Say(Mom, "Well, have a good time out there!");
- yield return Say(Mom, "Lots to explore! See what's changed!");
- yield return Say(Mae, "I will!");
- yield return Say(Mom, "Just watch out for all the construction.");
- yield return Say(Mae, "Well it wouldn't be fall in Possum Springs without loads of construction.");
- yield return Say(Mom, "It's so festive, honey.");
- yield return Say(Mae, "I'll be back later!");
- yield return Say(Mom, "Bye, sweetie!");
- }
- else
- {
- // [[SnackFalcon]]
- }
- }
- public IEnumerator TalkToBea()
- {
- if (IsActDay(1, 3))
- {
- yield return Say(Bea, "You got drunk! Go to bed.");
- }
- }
- public IEnumerator TalkToDad()
- {
- if (IsActDay(2, 1))
- {
- if (Data.dad == 0)
- {
- yield return Say(Dad, "It is night. And I am tired.");
- yield return Say(Mae, "I feel the suffering of generations.");
- yield return Say(Dad, "Fear creeps upon me like a cold blanket.");
- yield return Say(Mae, "I would hug you, but it wouldn't help.");
- yield return Say(Dad, "...");
- yield return Say(Mae, "...");
- Data.dad ++;
- }
- else if (Data.dad == 1)
- {
- yield return Say(Dad, "...");
- yield return Say(Mae, "It is time for sleep.");
- yield return Say(Dad, "We can do no better for now.");
- //<<end>>
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement