Переглянути джерело

[fixed] add in a line for when the player hasn't actually previously cautioned Sonia. this line is from the version of the code before the copypasting consolidation in my last commit, but in the old version, the "we've already been through this" version showed up the first time the player had the chance to caution Sonia about her drinking while the other version showed up all subsequent times

Spackled Lanturn 3 роки тому
батько
коміт
3686c5cbf4
1 змінених файлів з 5 додано та 1 видалено
  1. 5 1
      locations/soniadisco.qsrc

+ 5 - 1
locations/soniadisco.qsrc

@@ -349,7 +349,11 @@ if $ARGS[0] = 'peerpressure':
 		'You smile and hold up your cup for a refill. Everyone is laughing and having a good time.'
 	elseif $soniadisco_peerpressuretrigger = 'cautionsonia':
 		'You move over to sit next to Sonia, turning down the drink as you say to her, "Slow down Sonia, you don''t want to get wasted." She turns and gives you a sour look.'
-		'"We''ve already been through this <<$pcs_nickname>>! You aren''t my mother, how about you chill out and enjoy the drinks like the rest of us?" With that, she grabs the bottle and chugs down a quarter of it. The gopniks all whoop and holler, encouraging her to keep going.'
+		if soniahelp > 0:
+			'"We''ve already been through this <<$pcs_nickname>>! You aren''t my mother, how about you chill out and enjoy the drinks like the rest of us?" With that, she grabs the bottle and chugs down a quarter of it. The gopniks all whoop and holler, encouraging her to keep going.'
+		else
+			'"What are you my mother? God I am tired of having to always be the good girl, I just want to cut lose and party for once." The gopniks all whoop and holler, encouraging her.'
+		end
 	elseif $soniadisco_peerpressuretrigger = 'soniadrinkmore':
 		'You smile and hold up your cup for a refill. Everyone is laughing and having a good time. When it comes time for a third refill, Vasily refuses to refill your cup and instead whispers to you, "Good girls shouldn''t get drunk around bad boys."'
 	end