Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Script converted by DarkShadow44's MobTalkerScript Converter (v1.1)
- ]]
- Lucy = Character.ForCreature()
- Lucy:SetName("Lucy")
- function WaitTomorrow()
- WaitSet(10000);
- TableSave["Waiting"] = true;
- end
- function WaitSet(ticks)
- TableSave["Wait_TimeStart"] = DCLib.World.GetTime();
- TableSave["Wait_TimeTicks"] = ticks;
- end
- function WaitReady()
- if(TableSave["Wait_TimeTicks"] == nil) then
- return true;
- end
- if(DCLib.World.GetTime() < TableSave["Wait_TimeStart"]) then
- SAY("<ScriptWarning>", "Invalid Time - Resetting wait timer to keep things running. Did you change the world time ?");
- WaitSet(TableSave["Wait_TimeTicks"]);
- return false;
- end
- return DCLib.World.GetTime() >= TableSave["Wait_TimeStart"] + TableSave["Wait_TimeTicks"];
- end
- function LoveInc(num)
- DCLib.Player.LoveSet(DCLib.Player.LoveGet() + num);
- end
- function LoveDec(num)
- DCLib.Player.LoveSet(DCLib.Player.LoveGet() - num);
- end
- function LoveGet()
- return DCLib.Player.LoveGet();
- end
- function Start()
- player = DCLib.Player.GetName();
- love = LoveGet();
- if(TableSave["Waiting"] == true) then
- if(WaitReady() == true) then
- TableSave["Day"] = TableSave["Day"] + 1;
- TableSave["Waiting"] = false;
- else
- love = -1; --force default response
- end
- end
- day = TableSave["Day"];
- if(TableDays[day] == nil) then
- day = -1;
- end
- if(TableDays[day][love] == nil) then
- love = -1;
- end
- TableDays[day][love]();
- end
- function Load()
- if(TableSave == nil) then
- TableSave = {};
- TableSave["Day"] = -2;
- end
- makeTableDays();
- end
- function Story_init_default()
- SHOW(_CurrentMob, "Normal");
- SAY("Female Wither Skeleton", "Hello there.");
- DCLib.Player.LoveSet(0);
- TableSave["Day"] = 1;
- end
- function Story_day1_default()
- SHOW(_CurrentMob, "Normal");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "Thanks for bringing me here.");
- end
- function Story_day1_love0()
- SHOW(_CurrentMob, "Normal");
- SAY("Female Wither Skeleton", "Hello, sir.");
- SAY(""..player.."", "Hello there. What's your name?");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "It's Lucy. Lucy the Wither Skeleton. Nice to meet you.");
- SAY("Lucy", "What's yours?");
- SAY(""..player.."", "It's "..player..". Nice to meet you too.");
- SAY("Lucy", "Well then "..player..", how have you been?");
- SAY(""..player.."", "I'm doing good. How about you?");
- SAY("Lucy", "I'm doing just fine.");
- SAY(""..player.."", "That's good to hear.");
- SAY(""..player.."", "I got some questions...");
- SAY("Lucy", "Alright then. Hehe...");
- SAY(""..player.."", "Are you related to the Skeletons by any chance?");
- SAY("Lucy", "Well, I'm related to my cousin, Suzie. She lives somewhere in the Overworld.");
- SAY(""..player.."", "Why are you two in different worlds?");
- SHOW(_CurrentMob, "Shy");
- SAY("Lucy", "I have no idea...");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "But at least I visit her from time to time.");
- SAY(""..player.."", "That's good to hear.");
- SHOW(_CurrentMob, "Normal");
- SAY(""..player.."", "Are you and the Spider friends?");
- SAY("Lucy", "No... Suzie has never introduced me to her spider friends...");
- SAY("Lucy", "But she has talked about them from time to time...");
- SAY(""..player.."", "I see...");
- SAY(""..player.."", "So, how'd you learn how to use a sword?");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "Experience, I guess?");
- SHOW(_CurrentMob, "Normal");
- SAY("Lucy", "How did you learn how to use a sword?");
- SAY(""..player.."", "I taught myself how to use one.");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "That sounds interesting!");
- SAY(""..player.."", "Yeah...");
- SAY(""..player.."", "Does your cousin know how to use a sword?");
- SHOW(_CurrentMob, "Shy");
- SAY("Lucy", "No... Sadly she only knows how to use a bow.");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "But hey, I don't mind that. I'm glad she knows how to use it.");
- SAY("Lucy", "Heck, it's hard for me to use one.");
- SAY(""..player.."", "That's good to hear, I guess.");
- SAY(""..player.."", "Well, that's all I got.");
- SAY("Lucy", "Very well, then.");
- SAY(""..player.."", "Hey, would you like to come to my place? I have a room for you.");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "Sure, why not? I need to cool down anyways.");
- SAY("Lucy", "Let's go, "..player..".");
- SAY(""..player.."", "Alright. Let's go, Lucy.");
- LoveInc(1);
- DCLib.Entity.SetFollow(true);
- end
- function Story_day1_love1()
- SHOW(_CurrentMob, "Normal");
- SAY(""..player.."", "Here we are...");
- SAY("Lucy", "It's not a bad place. Pretty cool, though.");
- SAY(""..player.."", "Make yourself at home. If you need anything, tell me.");
- SAY("Lucy", "Will do.");
- SAY("Lucy", "I'll see you in the morning then.");
- SAY(""..player.."", "Yeah. See you in the morning.");
- LoveInc(1);
- DCLib.Entity.SetFollow(false);
- WaitTomorrow();
- end
- function Story_day2_default()
- SHOW(_CurrentMob, "Normal");
- SHOW(_CurrentMob, "Scared");
- SAY("Lucy", "Wh-What is it?!");
- end
- function Story_day2_love2()
- SHOW(_CurrentMob, "Normal");
- SAY(""..player.."", "Good evening, Lucy.");
- SAY("Lucy", "Evening, "..player.."...");
- SAY(""..player.."", "Say, you wanna go out on a walk?");
- SAY(""..player.."", "Maybe we can see who's good at using a sword.");
- SAY("Lucy", "Sure, that seems really fun that way.");
- SAY("Lucy", "It's on, "..player..".");
- SAY(""..player.."", "Great, let's go.");
- LoveInc(1);
- DCLib.Entity.SetFollow(true);
- end
- function Story_day2_love3()
- SHOW(_CurrentMob, "Normal");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "That was fun.");
- SAY(""..player.."", "Yeah. You put up a challenge, Lucy.");
- SAY("Lucy", "Yeah, likewise.");
- SHOW(_CurrentMob, "Shy");
- SAY("Lucy", "...");
- SAY(""..player.."", "Uh, Lucy. Why are you looking at me like that?");
- SAY("Lucy", "You face is so red right now.");
- SAY(""..player.."", "Why are you so close?");
- SHOW(_CurrentMob, "Normal");
- SAY("Lucy", "Oh? Is it wrong to admire how cute you are?");
- SAY(""..player.."", "Uhh... Lucy?");
- SAY("Lucy", "What is it?");
- SAY(""..player.."", "I think this is a bit embarrasing to say but...");
- SAY(""..player.."", "Do you have a crush on me?");
- SAY("Lucy", "...");
- SHOW(_CurrentMob, "Scared");
- SAY("Lucy", "Huh? What? Oh my... Don't be ridiculous.");
- SAY("Lucy", "I was just trying to teasing you, that's all.");
- SAY(""..player.."", "I dunno, and I'm not sure myself...");
- SAY(""..player.."", "Just tell me, Lucy.");
- SHOW(_CurrentMob, "Shy");
- SAY("Lucy", "...");
- SAY("Lucy", "Err... I guess I do, but err...");
- SAY("Lucy", "Well, I guess I can say...");
- SAY("Lucy", "I like you a lot...");
- SAY("Lucy", "I mean, since I met you... I-");
- SAY(""..player.."", "That's ok, I understand.");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "Really? Thanks.");
- SHOW(_CurrentMob, "Shy");
- SAY("Lucy", "...");
- SAY(""..player.."", "So you really like me, huh?");
- SHOW(_CurrentMob, "Scared");
- SAY("Lucy", "Huh?! Don't be ridiculous...");
- SAY("Lucy", "...");
- SAY("Lucy", "I'm sorry... I don't know what got into me...");
- SAY(""..player.."", "It's fine. Don't worry about it.");
- SAY(""..player.."", "I hope you enjoy your stay. I'll come by to see you tomorrow, ok?");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "Ok. See you tomorrow, "..player..".");
- SHOW(_CurrentMob, "Shy");
- SAY("Lucy", "...");
- SAY("Lucy", "I love you, "..player..".");
- SAY(""..player.."", "Uh... Yeah... Love you too.");
- SAY(""..player.."", "See you tomorrow, Lucy.");
- LoveInc(97);
- WaitTomorrow();
- end
- function Story_default_default()
- SHOW(_CurrentMob, "Normal");
- SHOW(_CurrentMob, "Happy");
- SAY("Lucy", "Hi, "..player..". How's it going?");
- end
- function makeTableDays()
- TableDays = {};
- TableDays[-2] = {};
- TableDays[-2][-1]= Story_init_default;
- TableDays[1] = {};
- TableDays[1][-1]= Story_day1_default;
- TableDays[1][0]= Story_day1_love0;
- TableDays[1][1]= Story_day1_love1;
- TableDays[2] = {};
- TableDays[2][-1]= Story_day2_default;
- TableDays[2][2]= Story_day2_love2;
- TableDays[2][3]= Story_day2_love3;
- TableDays[-1] = {};
- TableDays[-1][-1]= Story_default_default;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement