move title proc to romms file
This commit is contained in:
		@@ -17,28 +17,13 @@ when isMainModule:
 | 
			
		||||
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  proc title_screen() = 
 | 
			
		||||
    echo fmt"""
 | 
			
		||||
    Welcome to Geedren Mansion. You are {player.name}, a capable 24 year old adventurer.
 | 
			
		||||
    Your uncle Rob has been missing for 10 years. He went hunting for the secrets and treasure rumored to 
 | 
			
		||||
    be hidden deep within the walls of the mysterious Geedren Mansion. Now that you are of age and have
 | 
			
		||||
    trained in adventuring, you have decided to find your uncle. Your mission is dangerous as many men
 | 
			
		||||
    have gone missing with the mansion being their last known whereabouts. The door is unlocked and you
 | 
			
		||||
    walk right in the doors of the massive mansion.  
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
    """
 | 
			
		||||
 | 
			
		||||
    stdout.write("Press 1 to contnue: ")
 | 
			
		||||
    var choice = stdin.readLine()
 | 
			
		||||
 | 
			
		||||
    if choice == "1":
 | 
			
		||||
      foyer_room(player)
 | 
			
		||||
    else:
 | 
			
		||||
      echo "You pressed the wrong key!"
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  title_screen()
 | 
			
		||||
    title_screen()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user