Browse Source

[Fixed] Bug making the lend money options have a timer an extra time.

Alaratt 3 years ago
parent
commit
cf69312c79
1 changed files with 5 additions and 11 deletions
  1. 5 11
      locations/natbelapt.qsrc

+ 5 - 11
locations/natbelapt.qsrc

@@ -1253,10 +1253,12 @@ if $ARGS[0] = 'chat':
 			act 'Don''t give her the money': gt 'natbelapt', 'chat'
 			act 'Give her the money (2000 <b>₽</b>)':
 				*clr & cla
+				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/natasha/bedtalk.jpg"></center>'
+				NatbelQW['Debt'] = 2000
+				money -= 2000
+				NatbelQW['MoneyGivenTimes'] += 1
+				gs 'stat'
 				if NatbelQW['MoneyGivenTimes'] < 4:
-					NatbelQW['Debt'] = 2000
-					money -= 2000
-					NatbelQW['MoneyGivenTimes'] += 1
 					!!set timer for repayment
 					NatbelQW['DebtDay'] = daystart + 30
 					gs 'stat'
@@ -1265,20 +1267,12 @@ if $ARGS[0] = 'chat':
 					act 'Stop talking': gt 'natbelapt', 'natroom'
 					act 'Keep talking': gt 'natbelapt', 'chat'
 				elseif NatbelQW['MoneyGivenTimes'] < 7:
-					NatbelQW['Debt'] = 2000
-					money -= 2000
-					NatbelQW['MoneyGivenTimes'] += 1
-					gs 'stat'
 					'"Or I could ...uhm... I could do those things again for you to... to repay you."'
 					'"Ok. I am sure I can think of more things for you to do for me." You get your purse and give Natasha the money.'
 					'"Thank you <<$pcs_nickname>>, you''re the best. I promise you won''t regret it."'
 					act 'Stop talking': gt 'natbelapt', 'natroom'
 					act 'Keep talking': gt 'natbelapt', 'chat'
 				else
-					NatbelQW['Debt'] = 2000
-					money -= 2000
-					NatbelQW['MoneyGivenTimes'] += 1
-					gs 'stat'
 					'You get your purse and give Natasha the money.'
 					'"I see someone wants to be my little bitch again. You''re going to do whatever I want until you''ve worked off that debt."'
 					'"You know I will, I''ve proven that haven''t I?"'