diff --git a/moonlight/src/Dialogue.js b/moonlight/src/Dialogue.js index e37a9dc..fe8e93f 100644 --- a/moonlight/src/Dialogue.js +++ b/moonlight/src/Dialogue.js @@ -8,7 +8,15 @@ var moonlightDialog = { "The missus is off shoppin', and\nhere I am sittin' on\nme Jack Jones.", "Oy I'm gonna have a butcher’s at\nthat new tailor's knickers\nhe has for sale.", "I'm off to the pub to see the\nlads and chew the fat.", - "♪ ♫ Whistling ♪ ♫" + "♪ ♫ Whistling ♪ ♫", + "Gods, I'm thirsty.", + "Oh, I'll kip well tonight for sure.", + "Well, at least it ain't raining.", + "I'd hang for a pint about now.", + "Oof. Those beans ain't doing me guts any good.", + "Knew I should'a bought my coat with me.", + "Just a few hours left...", + "I need some new boots." ], "concerned" : [ "Wha… what’s that? Who’s there?", @@ -17,12 +25,20 @@ var moonlightDialog = { "Oi? I don’t want no tomfoolery;\ncome out if you’re there!", "Must be them darned kids again.", "What’s that?", - "Did you see that?" + "Did you see that?", + "Is someone over there?", + "What's occurring?", + "Eh? What's that?", + "What the chuff was that?", + "Can't get a moments peace, can I?", + "Eh? That don't sound good...", + "Ugh. What now?", + "What's that ruckus?" ], "alerted" : [ "Don't you come no closer, you hear?", "Egads!", - "I'm getting’ outta here!", + "I'm getting outta here!", "What's going on?!", "Holy bejeezus!", "Did you see that?", @@ -30,7 +46,15 @@ var moonlightDialog = { "Get away!", "Get away from me!", "Stay away! I know Kung-fu! ... but\nthat would require bravery \nI don't have", - "Guards! GUARDS!" + "Guards! GUARDS!", + "Get back you grubber!", + "Keep your distance, pal.", + "Come near me and there'll be trouble!", + "Sneak up on me, will you?", + "I ain't scared of you, young'un!", + "By the Duke's beard!", + "This ain't gonna end well!", + "Steer clear or you'll be sorry!" ], "losthim" : [ "Whew. Glad that’s over.", @@ -39,7 +63,15 @@ var moonlightDialog = { "That’s right! Run away!", "Aye, and don’t-cha come back!", "Spoony Bard...", - "Bloody wanker!" + "Bloody wanker!", + "Where'd you go, grubber?", + "Yeah, you'd better hide.", + "That's right. Crawl back to your hole!", + "Ha, I must of scared 'em away.", + "Huh. Guess they scarpered off.", + "Yeah, go pick on someone else then.", + "I'm chuffin' glad that's over!", + "Huh. Looks like the grubber ghosted." ] }, "townsfolk-female" : { @@ -48,7 +80,16 @@ var moonlightDialog = { "I'm off to get my Barnet sorted\nout. I’ll be the best looking\nlady at the gala.", "It's always all itsy bitsy with\nthem boys at the Rub-a-Dub.", "I need to get this shopping\nsorted out.", - "What a lovely evening. Perfect\nfor skulking, I would imagine." + "What a lovely evening. Perfect\nfor skulking, I would imagine.", + "'tis a hard life. Always has been.", + "What I wouldn't give for a warm bath...", + "Haven't had a day off in weeks.", + "I just need to save up a bit more coin...", + "Should probably stop nattering to meself.", + "Nothing good ever happens round 'ere.", + "Where's that chuffin' cat got to now?", + "Nobody ever listens to me, do they?", + "I picked the wrong day to quit tiffin'." ], "concerned" : [ "Wha… what’s that? Who’s there?", @@ -57,7 +98,15 @@ var moonlightDialog = { "I don't want no tomfoolery.\nGo away!", "What was that? This is how horror\ntheatre bits start…", "What's that?", - "Did you see that?" + "Did you see that?", + "I...I don't want no trouble, y'hear?", + "Someone peeping on me?", + "Who's that grubbing about?", + "If someone's there, come out now!", + "What's that trouble over there?", + "Who's there?", + "Um, hullo?", + "Uh oh..." ], "alerted" : [ "Eeeek!", @@ -66,13 +115,29 @@ var moonlightDialog = { "What in the nine hells?", "Get back or I'll swoon!", "Help! He's after me virtue!" + "Oh, a peeper!", + "No, please!", + "Someone help!", + "Get back, you filthy grubber!", + "Please, I don't have anything!", + "Stay back or I'll scream!", + "Guards! Guards!", + "Oh, please no!" ], "losthim" : [ "Good riddance! There’s too many\nmale protagonists in\ngames anyhow!", "I sure am glad that’s over.", "This town is going straight to hell.", "I hope he doesn’t come back.", - "I hope he’s caught and hanged!" + "I hope he’s caught and hanged!", + "Ah, my heart can't take much more...", + "Oh, thank the Duke that's over...", + "I hope they don't come back!", + "Peepers everywhere in this chuffin' city.", + "Why do peepers always find me?", + "I..I think it's safe now.", + "Maybe I just imagined it?", + "It was just some kid grubbing about." ] }, "townsfolk-guard" : { @@ -83,7 +148,16 @@ var moonlightDialog = { "No loitering.", "I am the law.", "May Evil beware and may\nGood dress warmly and\neat plenty of fresh vegetables.", - "We're sworn to protect The City." + "We're sworn to protect The City.", + "No gold. No glory. This job is no good.", + "Should of joined the army instead.", + "One more day 'til retirement.", + "I always draw the chuffin' night shift.", + "Blast, I left me flask at home!", + "I'm never drinking again, I swear.", + "Tomorrow. I'll quit tiffin' tomorrow.", + "I'll join the Duke's guard someday.", + "Well, better bored than busy." ], "concerned" : [ "I sense law-breaking abound.", @@ -91,7 +165,18 @@ var moonlightDialog = { "Did you see that?", "I know you're around here\nsomewhere, rat…", "Don't make me look for\nyou in hard-to-reach places!", - "The eyes play tricks\nlike tiny, round devils." + "The eyes play tricks\nlike tiny, round devils.", + "Come out at once!", + "Reveal thyself, peeper!", + "Someone hiding there?!", + "State your business!", + "Who's that skulkin' there?", + "Someone's up to no good!", + "Trouble? At last!", + "I'll get to the bottom of this!", + "I see you there, grubber!", + "I heard that, whoever you are!", + "Stop fooling and come out at once!" ], "alerted" : [ "Surrender lawbreaker!", @@ -102,31 +187,223 @@ var moonlightDialog = { "There’s no escaping the law!", "Surrender thief!", "Prepare to taste steel!", - "Clear the area! Nobody\npanic! I'll catch him!" + "Clear the area! Nobody\npanic! I'll catch him!", + "Halt in the name of the Duke!", + "Hold it, grubber!", + "I'll teach you a thing or two, trickster!", + "Defend yourself, heathen!", + "Surrender, vagrant!", + "Code Ten! Code Ten!", + "In the name of the Duke, surrender!", + "Fall before the law!", + "Run and you'll die tired, grubber!", + "Don't try to flee, coward!", + "Now where'd you come from?" ], "losthim" : [ "I’ll get you next time,\ncriminal scum.", "Defeat is a harsh mistress.", "Evil men may get away, but\njustice fights another day.", - "Wickedness flees, evading the\ncold steel of righteousness." + "Wickedness flees, evading the\ncold steel of righteousness.", + "I'll find you...eventually.", + "You'll turn up sooner or later...", + "Someone else's problem now.", + "I'll catch you next time, see if I don't.", + "The law will find thee later, grubber.", + "The Duke's rule will find you. Later.", + "I'd better keep an eye out...", + "This is ALL going in my report.", + "Hide if you can, vagrant.", + "Well, that was an anticlimax." ] } }, - "conversations": { - "townsfolk-male": { - "townsfolk-female": [], - "townsfolk-male": [], - "townsfolk-guard": [] + "conversations": [ + { + "members": ["townsfolk-female", "townsfolk-male"], + "starter": "townsfolk-male", + "lines": [ + "You look like you need looking after, dear.", + "Ha. You couldn't look after a rock.", + "You're a fiery one!", + "Aye. So steer clear or get burned.", + "I could do with some warming up...", + "Look, just chuff off, will you?" + ] }, - "townsfolk-female": { - "townsfolk-male": [], - "townsfolk-female": [], - "townsfolk-guard": [], - }, - "townsfolk-guard": { - "townsfolk-male": [], - "townsfolk-female": [], - "townsfolk-guard": [] + { + "members": ["townsfolk-[fm]*", "townsfolk-[fm]*"], + "starter": "", + "lines": [ + "Alright.", + "Aye. ", + "Nice night, innit?", + "Aye.", + "Well, nice chatting.", + "Aye." + ] } - } + { + "members": ["townsfolk-[fm]*", "townsfolk-[fm]*"], + "starter": "", + "lines": [ + "Have you seen a cat around here?", + "This a joke? Heard it.", + "Excuse me?", + "About the cat and his Duke, right?", + "Um, no. I'm looking for my cat.", + "Oh, sorry. I've not seen it.", + "Thanks anyway. ", + "Hang on, wanna hear a joke?" + ] + }, + { + "members": ["townsfolk-[fm]*", "townsfolk-[fm]*"], + "starter": "", + "lines": [ + "Have you seen a cat around here?", + "Afraid not. Did you lose one?", + "Yes, Mr Smidge ran away!", + "How terrible. I hope you find him soon!", + "So do I, or my kids will go hungry again." + ] + }, + { + "members": ["townsfolk-[fm]*", "townsfolk-[fm]*"], + "starter": "", + "lines": [ + "See the Duke raised our taxes again?", + "Keep your voice down!", + "Why, what's wrong?", + "I saw the Duke earlier. He's nearby!", + "Oh, right. Praise the Duke!" + ] + }, + { + "members": ["townsfolk-[fm]*", "townsfolk-[fm]*"], + "starter": "", + "lines": [ + "Nice weather, ain't it?", + "Can't you think of something new to say?", + "No. I'm worry I'm just going round in circles.", + "Yeah, I know that feeling.", + "At least the weather is nice though." + ] + }, + { + "members": ["townsfolk-[fm]*", "townsfolk-guard"], + "starter": "townsfolk-[fm]*", + "lines": [ + "Fancy a pint or three later?", + "Can't. Got the kids at home, ain't I?", + "Bring 'em with.", + "Eh? You can't give booze ta babies!" + "Never did me no harm.", + "If you say so, chuffer." + ] + }, + { + "members": ["townsfolk-[fm]*", "townsfolk-guard"], + "starter": "townsfolk-[fm]*", + "lines": [ + "Do you like being a guard?", + "Not really.", + "Why not? Is it lonely?", + "No. And that's the problem. " + ] + }, + { + "members": ["townsfolk-[fm]*", "townsfolk-guard"], + "starter": "townsfolk-[fm]*", + "lines": [ + "Want to buy a fine leather jacket?", + "It wouldn't fit over my armour.", + "Take the armour off.", + "What if I'm attacked?", + "Then you'll die looking good! " + ] + }, + { + "members": ["townsfolk-[fm]*", "townsfolk-guard"], + "starter": "townsfolk-[fm]*", + "lines": [ + "Excuse me, have you seen a cat?", + "A little ginger cat?", + "Yes!", + "Blue collar? Delicious flavour?", + "Yes! Yes! ", + "Can't say I have, no." + ] + }, + { + "members": ["townsfolk-[fm]*", "townsfolk-guard"], + "starter": "townsfolk-[fm]*", + "lines": [ + "Is it true the Duke is here? ", + "What, the Duke is near?", + "He is? ", + "Is he?", + "You don't know?", + "Do you? " + ] + }, + { + "members": ["townsfolk-guard", "townsfolk-guard"], + "starter": "", + "lines": [ + "Anything to report?", + "Nothing to report!", + "Good! I'll note that in my report.", + "Do you have anything to report, Sir?", + "Only that you have nothing to report.", + "Great! I'll note that in my report!" + ] + }, + { + "members": ["townsfolk-guard", "townsfolk-guard"], + "starter": "", + "lines": [ + "Stay alert, soldier!", + "Yes, sir!", + "The Duke is near. We must be vigilant.", + "Vigilant for the Duke, Sir?", + "Yes! How else will I get his autograph?" + ] + }, + { + "members": ["townsfolk-guard", "townsfolk-guard"], + "starter": "", + "lines": [ + "Seen anything interesting?", + "Just this cat that keeps limping around.", + "Limping?", + "Aye. Something took a bite out of it.", + "Aw, the poor thing." + ] + }, + { + "members": ["townsfolk-guard", "townsfolk-guard"], + "starter": "", + "lines": [ + "What is it we're guarding anyway?", + "Beats me.", + "And who are we guarding it from?", + "No idea.", + "Why don't we just go home?", + "Sure. You first. " + ] + }, + { + "members": ["townsfolk-guard", "townsfolk-guard"], + "starter": "", + "lines": [ + "Dammit. I lost my sandwich.", + "Well you're not sharing mine. ", + "What have you got?", + "Sandwich surprise.", + "What's the surprise?", + "Depends. What was in your sandwich?" + ] + } + ] }; diff --git a/moonlight/src/GameStates.js b/moonlight/src/GameStates.js index f5aea93..b377cf6 100644 --- a/moonlight/src/GameStates.js +++ b/moonlight/src/GameStates.js @@ -122,7 +122,7 @@ GameState.prototype.create = function() 20, SCREEN_HEIGHT - 40, '', { font : '16px Arial', fill: '#ffffff' }, this.uigroup ); this.clock = new Date(); - this.clock.setHours(20, 0, 0, 0); + this.clock.setHours(20, 50, 0, 0); this.clockTimer = game.time.create(true); this.clockTimer.repeat(DAYLIGHT_TIMER_REPEAT, DAYLIGHT_TIMER_REPEATCOUNT,