Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- # untitled.py
- #
- # Copyright 2011 mathieu <mathieu@crunchbang>
- #
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2 of the License, or
- # (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- # MA 02110-1301, USA.
- #
- #
- ##############################################################################
- #
- print ' ___________ __ '
- print ' \_ _____/__ __ ____ _____/ |_'
- print ' | __)_\ \/ // __ \ / \ __\ '
- print ' | \ /\ ___/| | \ | '
- print ' /_______ / \_/ \___ >___| /__| '
- print ' \/ \/ \/ '
- print ' ___ ___ .__ '
- print ' / | \ ___________|__|___________ ____'
- print '/ ~ \/ _ \_ __ \ \___ / _ \ / \ '
- print '\ Y ( <_> ) | \/ |/ ( <_> ) | \ '
- print ' \___|_ / \____/|__| |__/_____ \____/|___| / '
- print ' \/ \/ \/ '
- print '.___ __ __ .__'
- print '| | _____/ |_ ________________ _____/ |_|__|__ __ ____'
- print '| |/ \ __\/ __ \_ __ \__ \ _/ ___\ __\ \ \/ // __ \ '
- print '| | | \ | \ ___/| | \// __ \ \___| | | |\ /\ ___/ '
- print '|___|___| /__| \___ >__| (____ /\___ >__| |__| \_/ \___ > '
- print ' \/ \/ \/ \/ \/ '
- print 'By: Mathieu Dombrock 2011-2012 GPL'
- import random
- global loc_n
- global loc_s
- global loc_e
- global loc_w
- global com_
- global tut
- loc_n = 0
- loc_s = 0
- loc_e = 0
- loc_w = 0
- global name
- global com_
- def clear():
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- print
- command()
- def loc_check():
- global loc_n
- global loc_s
- global loc_e
- global loc_w
- if (loc_n == 0) and (loc_e == 0) and (tut == 0):
- lvl_one()
- #2-0
- if (loc_n == 2) and (loc_e == 0):
- raw_input('You found a text file left here by someone else<')
- raw_input('It is entitled "Xkill.txt"<')
- raw_input('I does not belong to you but if you feel the need to open it \n you can enter "Xkill.txt"<')
- command()
- else :
- command()
- #main
- def V_info():
- raw_input('***LOADING V_info***<')
- raw_input('King117: Vnet is the virtual world<')
- raw_input('It is all around you, though you cant detect it with any of your 5 humanoid scense receptors.<')
- raw_input('The terminal in front of you is your gateway to this virtual world, your Vserver<')
- raw_input('***UPD^TE ERR0***<')
- raw_input('***SyS n0nCRit##***<')
- raw_input('It appears that we have experienced a non critical system error on the Vserver update<')
- raw_input('Your hardware is probably out dated...<')
- raw_input('According to my scan, youre hardware is from circa 2000 A.D.<')
- raw_input('...')
- raw_input('I managed to update Vserver but there no garuntee that everything will work right<')
- raw_input('This would definatly explain your lack of on-screen images<')
- raw_input('I strongly suggest that you upgrade you hardware to somthing made after 2050 A.D. at the very least<')
- raw_input('That is the only way you can get images with Vserver<')
- raw_input('***CONTINUING IN TEXT MODE***<')
- raw_input('In Vnet, just like the "real" world there are four cardinal directions<')
- raw_input('North, South, East, and West<')
- raw_input('You can use the keys "w, a, s, and d" to move about in Vnet')
- print
- raw_input('To move North enter "w" in the command line<')
- raw_input('To move South enter "s" in the command line<')
- raw_input('To move East enter "a" in the command line<')
- raw_input('To move West enter "d" in the command line<')
- raw_input('Note: the command line is CASE SENSITIVE<')
- raw_input('You can also enter "gps" to veiw your location inside Vnet<')
- raw_input('Ill bring you to the command line now and you can try these yourself<')
- command()
- def north():
- global loc_n
- global loc_s
- print 'You travel Northward'
- loc_n = (loc_n + 1)
- loc_s = (loc_s - 1)
- loc_check()
- def south():
- global loc_s
- global loc_n
- print 'You travel Southward'
- loc_s = (loc_s + 1)
- loc_n = (loc_n - 1)
- loc_check()
- def east():
- global loc_e
- global loc_w
- print 'You travel Eastward'
- loc_e = (loc_e + 1)
- loc_w = (loc_w - 1)
- loc_check()
- def west():
- global loc_w
- global loc_e
- print 'You travel Westward'
- loc_w = (loc_w + 1)
- loc_e = (loc_e - 1)
- loc_check()
- def intro():
- global name
- print
- print
- print
- name = str(raw_input('What is your name?: '))
- raw_input( 'Greetings <' )
- raw_input( 'My name is King117 <')
- raw_input( 'Lets get started then <')
- loc_check()
- def GPS():
- global loc_n
- global loc_s
- global loc_e
- global loc_w
- global name
- loc = int(loc_n +loc_s + loc_e + loc_w)
- print 'N: ' , loc_n
- print 'S: ' , loc_s
- print 'E: ' , loc_e
- print 'W: ' , loc_w
- command()
- #commands
- def command():
- global com_
- global loc_n
- global loc_s
- global loc_e
- global loc_w
- global name
- global tut
- print
- com_ = str(raw_input('$V{0}-##@Vnet.143.311.7:'.format(name)))
- if com_ == ('w'):
- north()
- if com_ == ('s'):
- south()
- if com_ == ('d'):
- east()
- if com_ == ('a'):
- west()
- if com_ == ('gps'):
- GPS()
- if com_ == ('V_info'):
- V_info()
- if com_ == ('/update'):
- raw_input('There are no new updates<')
- command()
- if com_ == ('fuck') or ('damn') or ('shit'):
- raw_input('***Error 99H [S0AP]***<')
- command()
- if com_ == (''):
- print '***Error 7A [Input Required]***'
- command()
- if com_ == ('tut'):
- print tut
- command()
- if com_ == ('Xkill.txt'):
- lvl_XkillTXT()
- if com_ == ('/help' or 'help'):
- raw_input('***Help()***')
- raw_input('***Sysss err0r 4o4 and 4o5***<')
- raw_input('***{No items found}***<')
- raw_input(".")
- command()
- if com_ == ('/clear'):
- clear()
- else :
- print '***4o4-RETURN-4o5***'
- command()
- #levels
- def lvl_one():
- global tut
- global name
- raw_input('***RUNNING IN TEXT MODE***<')
- name = str(raw_input('Username: '))
- raw_input('*King117*: Todays date is Jul. 7 , 2114<')
- raw_input('Vserver is updating to version 7x<')
- raw_input('...<')
- raw_input('52.5 % completed<')
- raw_input('This new update will allow you to explore Vnet at much higer speeds than before<')
- print
- print '********'
- print 'Would you like more info on Vnet and Vserver? \n (enter "V_info" if you would like more info)<'
- print '********'
- print
- tut = 1
- command()
- def lvl_XkillTXT() :
- raw_input('***ENCRYPTED***<')
- password = raw_input('PASSWORD: ')
- if password == ('truth117'):
- #do stuff
- print "yaaah"
- else :
- raw_input('FALSE')
- command()
- def lvl_Zed() :
- raw_input('You see a tall man<')
- raw_input('He is smoking a cigarette and typing on a cumputer<')
- raw_input('His back is turned and he doesnt seem to notice you<')
- if __name__ == '__main__':
- lvl_one()
Add Comment
Please, Sign In to add comment