示例#1
0
from dialogue import Dialogue
d = Dialogue()
d.character = 'g_man'
d.dialogue_name = 'g_man'
d.dialogue = {
 'start': 'you approach the official look in man sitting at the table covered in documentation and forms\n\n',
 'startchoices': [
                  ["""
                  you look at the documents on the table they appear to be for a government agency called 
                  NDEP national department of enforcement and protection you inquire as to its purpose'
                  """,'inquire'],
                  ['you glance at the table of documents along with the apparent G man scoff and walk away','exit'],
                 ],
 'inquire': 'Well "Iam glad you asked," the G man exclaimed with a ever broadening smile, "you see, we at the NDEP are ever vigilant in the defense of our great country!"',
 'inquirechoices': [
                    ['what exactly do you defend us from you say sarcastically...aliens?','threat'],
                   ],
 'threat': """
            Unphased,  the g man spreads his arms out, in a wide gesture, we protect and defend against any and every thing, 
            terrorists,spies, gangs. Basically any thing that proves it self a threat\n\n'
           """,
 'threatchoices': [
                   ['asking dubiously "aaaannddd...what exactly are you doing here"','recruit'],
                  ],
 'recruit': """
            Good question! I am here hoping to recruit some candidates to become NDEP operators. 
            Let me tell you its one hell of an opportunity. The pay is phenomenal and benefits are unsurpassed.
            The best part is you get government housing, transport and, gas vouchers!'
            """,
 'recruitchoices': [
from dialogue import Dialogue
d = Dialogue()
d.character = 'garret_1'
d.dialogue_name = 'garret_1'
d.dialogue = {'camps': 'Garret glances over his shoulder at you, "you seem a bit stressed you should smoke a bowl.\n\n',
 'campschoices': [['you look at your watch and say "no thanks I have to get going" you walk out into the hall',
                   'exit'],
                  ['\nlaughing you say "sure why not its not like I have a job interview any time soon." an hour or two later you lazily wonder out of garrets dorm room.',
                   'exit \n\n']],
 'heya': '"A little bit of coding actually," Garret turns back and starts pondering one screen intently.\n\n',
 'heyachoices': [['You notice the poster that seems a bit out of place and ask "hey whats up with this poster garret"?',
                  'poster'],
                 ["\n'Oh what you working' on?", 'oh\n\n']],
 'interest': '"I will," he says excitedly "if you want you can help me with some of the rooms and dialog?!"\n\n',
 'interestchoices': [['"Uh no thanks I am really busy right now."', 'no'],
                     ['\n"sure why not could be fun."', 'sure\n\n']],
 'no': 'Garret shrugs resignedly, "ok ill send you a copy when its done."\n\n',
 'nochoices': [['lamely you change the subject. "Hey whats that odd poster over there?"',
                'poster\n\n\n\n\n\n\n\n\n\n\n\n']],
 'oh': '"I am creating a old school text based adventure game" he replies jovially. "I just finished creating a combat system and the "shifty little man" monster keeps kicking my ass he\'s just too shifty."\n\n',
 'ohchoices': [['with interest you peer over his shoulder at the screen but all you see is a open python shell and some initeligible text."Oh cool you will have to send it to me when you finish"',
                'interest\n\n']],
 'poster': 'Garret glaces at the poster you are pointing at, "that one? oh its about all the government abductions."\n\n',
 'posterchoices': [['"Uh....the what now?" you disbelievingly as you look at him out of the corner of your eye.',
                    'what\n\n']],
 'start': 'Garret swivels around in his chair, and and through a fit of suspect coughing, says,\n        "WORD...stack (character name), whats happenin."\n\n',
 'startchoices': [['heya Garret plotting the downfall of civilization again or programing',
                   'heya'],
                  ['\nyou start coughing uncontrollably and hurriedly back out of the room.',
                   'exit\n\n']],