Browse Source

[fixes] Contingency as temp name variable cannot be filled beforehand

KevinSmarts 5 years ago
parent
commit
3d7694d8d5
1 changed files with 16 additions and 3 deletions
  1. 16 3
      locations/preTG.qsrc

+ 16 - 3
locations/preTG.qsrc

@@ -431,17 +431,30 @@ if $ARGS[0] = 'sleepPRE':
 		'"Well, yes. I won''t argue about that." Tatiana agrees. "It''s your life and you decide what you do with it, but for the time being, you cannot go back to your old life, so deal with it. On a side note, I already took care of an alibi. Today Mikhail crashed his car into the pit and died, it''s on the news." With these words, Tatiana picked up the remote and turned on the TV.'
 
 		!! player name is set in preSYS.qsrc
-		$temp_firstname = '<<$pcs_firstname>>'
+		if $temp_firstname = '':
+			$temp_firstname = 'Svetlana'
+		else
+			$temp_firstname = '<<$pcs_firstname>>'
+		end
 		$pcs_firstname = input("What is your first name? (Leave blank for Svetlana)")
 		if $pcs_firstname = '':$pcs_firstname = '<<$temp_firstname>>'
 		killvar '$temp_firstname'
 
-		$temp_lastname = '<<$pcs_lastname>>'
+		
+		if $temp_lastname = '':
+			$temp_lastname = 'Lebedev'
+		else
+			$temp_lastname = '<<$pcs_lastname>>'
+		end
 		$pcs_lastname = input("What is your family name? (Leave blank for Lebedev)")
 		if $pcs_lastname = '':$pcs_lastname = '<<$temp_lastname>>'
 		killvar '$temp_lastname'
 
-		$temp_nickname = '<<$pcs_nickname>>'
+		if $temp_nickname = '':
+			$temp_nickname = 'Sveta'
+		else
+			$temp_nickname = '<<$pcs_nickname>>'
+		end
 		$pcs_nickname = input("What is your nickname? (Leave blank for Sveta)")
 		if $pcs_nickname = '':$pcs_nickname = '<<$temp_nickname>>'
 		killvar '$temp_nickname'