ソースを参照

[Fixed] Actions getting blocked

Awesome 5 ヶ月 前
コミット
9778884ee5

+ 2 - 0
locations/pav_shared_nestor.qsrc

@@ -288,11 +288,13 @@ if $ARGS[0] = 'Nestor_Serve':
 
 	! very bad mood, does not want anything
 	if Nestor['mood'] >= 7:
+		Nestor['served'] = 0
 		'<font color=#<<$Nestor[''font'']>>>"Not now <<$pcs_firstname>>, get lost."</font>'
 		act 'Leave':gt 'pav_shared_apt', 'start'
 	
 	! random chance to sex
 	elseif shared_apt['sexCh'] < 40:
+		Nestor['served'] = 0
 		'<font color=#<<$Nestor[''font'']>>>"Not now <<$pcs_firstname>>, can''t you see I am busy?"</font>'
 		act 'Leave':gt 'pav_shared_apt', 'start'
 	

+ 3 - 2
locations/pav_shared_oleg.qsrc

@@ -331,13 +331,14 @@ if $ARGS[0] = 'Oleg_Serve':
 	shared_apt['sexCh'] = rand(0, 100)
 	
 	! very bad mood
-	if Oleg['mood'] >= 6:
+	if Oleg['mood'] >= 7:
+		Oleg['served'] = 0
 		'<font color=#<<$Oleg[''font'']>>>"Not now <<$pcs_firstname>>, I don''t have the mood for it."</font>'
 		act 'Leave':gt 'pav_shared_apt', 'start'
 	
 	! random chance to sex, but increasing with horniness level; Oleg min horny = 15/80*100 = 18,75
 	elseif shared_apt['sexCh'] < 40:
-
+		Oleg['served'] = 0
 		'<font color=#<<$Oleg[''font'']>>>"Not now <<$pcs_firstname>>, I am busy."</font>'
 		act 'Leave':gt 'pav_shared_apt', 'start'
 	

+ 2 - 0
locations/pav_shared_yakov.qsrc

@@ -296,11 +296,13 @@ if $ARGS[0] = 'Yakov_Serve':
 	shared_apt['sexCh'] = rand(0, 100)
 	! very bad mood
 	if Yakov['mood'] >= 7:
+		Yakov['served'] = 0
 		'<font color=#<<$Yakov[''font'']>>>"Not now <<$pcs_firstname>>, I am exhausted."</font>'
 		act 'Leave':gt 'pav_shared_apt', 'start'
 	
 	! random chance to sex
 	elseif shared_apt['sexCh'] < 40:
+		Yakov['served'] = 0
 		'<font color=#<<$Yakov[''font'']>>>"Not now <<$pcs_firstname>>, I have to excersice in a while."</font>'
 		act 'Leave':gt 'pav_shared_apt', 'start'