Преглед изворни кода

[changed] calculation on parents sex event moved to a single location for ease

Anya пре 1 година
родитељ
комит
4dcbc12f20
2 измењених фајлова са 7 додато и 4 уклоњено
  1. 7 2
      locations/korrPar.qsrc
  2. 0 2
      locations/pav_complex.qsrc

+ 7 - 2
locations/korrPar.qsrc

@@ -103,8 +103,13 @@ if locat['Mother'] = 3:
 		end
 	end
 elseif locat['Mother'] = 1:
-	if hour = 22 and parsexrand = 5 and parentsexday ! daystart:
-		act 'Go to your parents'' room': gt 'bedrPar2', 'peek'
+	if hour = 22 and parsexrand ! daystart and parentsexday ! daystart:
+		parsexrand = daystart
+		if rand(0, 5) = 0:
+			act 'Go to your parents'' room': gt 'bedrPar2', 'peek'
+		else
+			act 'Go to your parents'' room': msg'Your parents are probably asleep. You shouldn''t go in right now.'
+		end
 	else
 		act 'Go to your parents'' room': msg'Your parents are probably asleep. You shouldn''t go in right now.'
 	end

+ 0 - 2
locations/pav_complex.qsrc

@@ -24,8 +24,6 @@ if $ARGS[0] = 'start':
 	litltown = 1
 	alkoblock = 0
 	boynumBlock = 0
-!! the following variable seems to be here on the wrong place as it is related to bedroom, but it is here intentionally because I want it to be stable when PC in the apartement. 
-	parsexrand = rand(0, 5)
 	gs 'stat'
 !! Slut gossip
 	if complx_rand[1] + rand(5,10) < daystart and fame['pav_slut'] >= 50 and (hour > 8 and hour < 23):