Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #InfiRPG
- #External
- import time
- import random
- #Global Vars
- global player_gender
- global player_name
- global player_gender_display
- global player_health
- #Consants
- ver = "0.0.1"
- ver_type = "Alpha"
- Time_Loop_Control = 1
- Game_Loop_1 = 1
- #Loading Intro
- def Intro():
- print()
- print("Welcome To InfiRPG!")
- print("Version", ver, ver_type)
- print()
- print()
- Dead_Var_1 = input("Press Any Key To Continue... ")
- print()
- #Main Menu
- def menu():
- print()
- print("Press 1 to Start a New Game")
- print("Press 2 to Continue", "(Coming Soon)")
- print()
- print("Type the number of what you want to do.")
- Menu_Decision = input(": ")
- if Menu_Decision == "MARK":
- mark_loop_timer = 0
- Mark_Loop = 1
- while Mark_Loop == 1:
- mark_loop_timer = mark_loop_timer + 1
- print()
- print("Super")
- print()
- time.sleep(1)
- print("Super")
- print()
- time.sleep(1)
- print()
- print("Super Mark Feely")
- print()
- time.sleep(0.5)
- if mark_loop_timer == 50:
- Mark_Loop = 0
- ##################################################################################
- #Game Intro
- #
- #Gives Player Info
- def Game_Intro():
- print()
- print("First, Whats Your Name?")
- player_name = input(": ")
- player_name_ref = player_name.upper()
- if player_name_ref == "MARK":
- print("MARKKK!!!! HAVE YOU GOT YOUR SCRAP!!!!!!!!!")
- print()
- time.sleep(1)
- print("Hello,", player_name)
- print()
- time.sleep(1)
- print()
- #Gender System
- player_gender_loop = 1
- while player_gender_loop == 1:
- print("Are You Male or Female.")
- player_gender_inp = input(": ")
- player_gender_inp = player_gender_inp.upper()
- if player_gender_inp == "BOY" or player_gender_inp == "MALE" or player_gender_inp == "M":
- player_gender = "MALE"
- player_gender_display = "Male"
- player_gender_loop = 0
- elif player_gender_inp == "FEMALE" or player_gender_inp == "GIRL" or player_gender_inp == "F":
- player_gender = "FEMALE"
- player_gender_display = "Female"
- player_gender_loop = 0
- else:
- print()
- print("Error - Try Again, Make Sure to input Male or Female")
- print()
- player_gender_loop = 1
- print()
- #Intro In Woods
- def Game_Intro_Woods():
- print()
- print("You Wake...")
- time.sleep(1)
- print(".")
- time.sleep(1)
- print("..")
- time.sleep(1)
- print("...")
- time.sleep(1)
- print()
- print("Your Memory seems hazy.")
- print()
- time.sleep(2)
- print()
- print("You see trees rustling in the wind.")
- def decison():
- decison = random.randint(1, 2)
- def level_one_choice():
- if decison == 1:
- print()
- print("You Trip on a tree...")
- time.sleep(1)
- print()
- print("You graze your legs")
- player_health = player_health - random.randint(10,20)
- print()
- print("You lose", player_health, "Hp")
- elif decison == 2:
- print("You Walk On")
- ###################################################################################
- player_level = 1
- player_health = 500
- def game():
- Game_Intro()
- Game_Intro_Woods()
- #Main Game
- while Game_Loop_1 == 1:
- print()
- if player_level == 1:
- print()
- decison()
- level_one_choice()
- while Time_Loop_Control == 1:
- #Intro sections...
- Intro()
- menu()
- if Menu_Decision == "1":
- game()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement