Incomplete Story Program Thing Schmoop Aug 16th, 2016 240 Never 240Never

Not a member of Pastebin yet? Sign Up , it unlocks many cool features!

rawdownloadcloneembedreportprint Python 4.00 KB from time import sleep import sys character_names = [ '???: ' , 'Truckman: ' , 'Game: ' , 'Narrator: ' ] def delay_print ( s ) : for c in s : sys . stdout . write ( c ) sys . stdout . flush ( ) sleep ( .1 ) return "" def fast_print ( s ) : for c in s : sys . stdout . write ( c ) sys . stdout . flush ( ) sleep ( .01 ) return "" def insta_print ( s ) : for c in s : sys . stdout . write ( c ) sys . stdout . flush ( ) return "" print ( insta_print ( character_names [ 0 ] ) + delay_print ( "Hello it is me, truckman!" ) ) print ( insta_print ( character_names [ 1 ] ) + delay_print ( "The truck you were hit by was driven by me!" ) ) print ( insta_print ( character_names [ 1 ] ) + delay_print ( "So now you are reincarnated as a guy in every nerd's dream world..." ) ) sleep ( .01 ) print ( insta_print ( character_names [ 1 ] ) + delay_print ( "Not one of those fetish worlds, you know a fantasy world!" ) ) sleep ( 1 ) print ( insta_print ( character_names [ 1 ] ) + delay_print ( "Get your mind out of the gutter!" ) ) print ( insta_print ( character_names [ 1 ] ) + delay_print ( "Anyways, what's your name. You know the cliche. I ask your name for a random reason that is convenient that would likely not happen in real life." ) ) name = input ( delay_print ( "So what's your goddamn name. You know, I never did know your name, since I did only run over you. With a truck. Full of fap material. Don't question me, it was a job, I swear!" ) ) while name == "" : name = input ( "OI TELL ME YOUR NAME DAMNIT" ) print ( insta_print ( character_names [ 1 ] ) + delay_print ( "So your name is %s, huh. Pretty crappy name if you ask me. Now I'mma leave and never appear again." % name ) ) sleep ( .1 ) print ( insta_print ( character_names [ 1 ] ) + delay_print ( "Normally I would be say something like 'It is sad that you are leaving and stuff', but to be honest you really sucked to talk to." ) ) sleep ( .1 ) print ( insta_print ( character_names [ 1 ] ) + delay_print ( "Literally, you just nodded not saying anything." ) ) print ( insta_print ( character_names [ 1 ] ) + delay_print ( "Now go fuck off" ) ) sleep ( 2 ) print ( insta_print ( character_names [ 0 ] ) + delay_print ( "You wake up laying on a tree. You stand up and point at the sky." ) ) print ( insta_print ( character_names [ 0 ] ) + delay_print ( "Oh me? I am the narrator. I describe pratically everything you do." ) ) print ( insta_print ( character_names [ 3 ] ) + delay_print ( "My job description is... Stalking and describing professionally." ) ) choices = [ "1" , "2" , "3" ] print ( insta_print ( character_names [ 2 ] ) + delay_print ( "You've got some choices to make!" ) ) print ( delay_print ( "1. Nod" ) ) print ( delay_print ( "2. Say 'bang' with a finger gun pointed at a tree." ) ) print ( delay_print ( "3. Go get a noose and do what you can." ) ) choice1 = input ( "Choose one of these actions." ) while choice1 not in choices: choice1 = input ( "Type 1, 2, or 3!" ) if choice1 == '2' : print ( insta_print ( character_names [ 3 ] ) + delay_print ( "What are you doing?" ) ) print ( insta_print ( character_names [ 3 ] ) + delay_print ( "Only a few minutes into speaking with you and I already gave up on trying to rationalize your actions." ) ) print ( insta_print ( character_names [ 3 ] ) + delay_print ( "No wonder truckman told you to fuck off." ) ) elif choice1 == '3' : print ( insta_print ( character_names [ 3 ] ) + delay_print ( "Wait" ) ) print ( insta_print ( character_names [ 3 ] ) + fast_print ( "YOU HAVE SO MUCH TO LIVE FOR!" ) ) print ( insta_print ( character_names [ 3 ] ) + fast_print ( "NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!" ) ) print ( insta_print ( character_names [ 2 ] ) + delay_print ( "The game has ended because of your choices." ) ) print ( insta_print ( character_names [ 2 ] ) + delay_print ( "You can execute the program again to try to see what else happens." ) ) sleep ( 5 ) sys . exit ( ) print ( insta_print ( character_names [ 2 ] ) + delay_print ( "Now that you've gotten a hang of the choice system, lets move on!" ) ) print ( insta_print ( character_names [ 3 ] ) + delay_print ( "Oh hey there's the waif- " ) + fast_print ( "I mean important female character." ) ) print ( delay_print ( "What do you do?" ) )

RAW Paste Data

from time import sleep import sys character_names = ['???: ', 'Truckman: ', 'Game: ', 'Narrator: '] def delay_print(s): for c in s : sys.stdout.write(c) sys.stdout.flush() sleep(.1) return "" def fast_print(s): for c in s : sys.stdout.write(c) sys.stdout.flush() sleep(.01) return "" def insta_print(s): for c in s : sys.stdout.write(c) sys.stdout.flush() return "" print (insta_print(character_names[0]) + delay_print("Hello it is me, truckman!")) print (insta_print(character_names[1]) + delay_print("The truck you were hit by was driven by me!")) print (insta_print(character_names[1]) + delay_print("So now you are reincarnated as a guy in every nerd's dream world...")) sleep(.01) print (insta_print(character_names[1]) + delay_print("Not one of those fetish worlds, you know a fantasy world!")) sleep(1) print (insta_print(character_names[1]) + delay_print("Get your mind out of the gutter!")) print (insta_print(character_names[1]) + delay_print("Anyways, what's your name. You know the cliche. I ask your name for a random reason that is convenient that would likely not happen in real life.")) name = input(delay_print("So what's your goddamn name. You know, I never did know your name, since I did only run over you. With a truck. Full of fap material. Don't question me, it was a job, I swear!")) while name == "": name = input("OI TELL ME YOUR NAME DAMNIT") print (insta_print(character_names[1]) + delay_print("So your name is %s, huh. Pretty crappy name if you ask me. Now I'mma leave and never appear again." % name)) sleep(.1) print (insta_print(character_names[1]) + delay_print("Normally I would be say something like 'It is sad that you are leaving and stuff', but to be honest you really sucked to talk to.")) sleep(.1) print (insta_print(character_names[1]) + delay_print("Literally, you just nodded not saying anything.")) print (insta_print(character_names[1]) + delay_print("Now go fuck off")) sleep(2) print (insta_print(character_names[0]) + delay_print("You wake up laying on a tree. You stand up and point at the sky.")) print (insta_print(character_names[0]) + delay_print("Oh me? I am the narrator. I describe pratically everything you do.")) print (insta_print(character_names[3]) + delay_print("My job description is... Stalking and describing professionally.")) choices = ["1", "2", "3"] print (insta_print(character_names[2]) + delay_print("You've got some choices to make!")) print (delay_print("1. Nod")) print (delay_print("2. Say 'bang' with a finger gun pointed at a tree.")) print (delay_print("3. Go get a noose and do what you can.")) choice1 = input("Choose one of these actions.") while choice1 not in choices: choice1 = input("Type 1, 2, or 3!") if choice1 == '2': print (insta_print(character_names[3]) + delay_print("What are you doing?")) print (insta_print(character_names[3]) + delay_print("Only a few minutes into speaking with you and I already gave up on trying to rationalize your actions.")) print (insta_print(character_names[3]) + delay_print("No wonder truckman told you to fuck off.")) elif choice1 == '3': print (insta_print(character_names[3]) + delay_print("Wait")) print (insta_print(character_names[3]) + fast_print("YOU HAVE SO MUCH TO LIVE FOR!")) print (insta_print(character_names[3]) + fast_print("NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!")) print (insta_print(character_names[2]) + delay_print("The game has ended because of your choices.")) print (insta_print(character_names[2]) + delay_print("You can execute the program again to try to see what else happens.")) sleep(5) sys.exit() print (insta_print(character_names[2]) + delay_print("Now that you've gotten a hang of the choice system, lets move on!")) print (insta_print(character_names[3]) + delay_print("Oh hey there's the waif- ") + fast_print("I mean important female character.")) print (delay_print("What do you do?"))