1
0
فهرست منبع

[fixed] More places the credit card limit was missing

bgkjdgbizgblzdgbr 7 ماه پیش
والد
کامیت
97d8265344
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      locations/pav_clinic.qsrc

+ 3 - 3
locations/pav_clinic.qsrc

@@ -254,7 +254,7 @@ if $ARGS[0] = '':
 				act 'Return to the entrance': gt 'pav_clinic'
 
 				if glass = 1:
-					if money < 4500 and karta < 4500:
+					if money < 4500 and karta + bankDebtLimit < 4500:
 						*nl
 						'You can''t afford the more stylish glasses.'
 					else
@@ -286,7 +286,7 @@ if $ARGS[0] = '':
 				end
 
 				if glass ! 0:
-					if money < 75000 and karta < 75000:
+					if money < 75000 and karta + bankDebtLimit < 75000:
 						*nl
 						'You can''t afford the laser eye correction surgery.'
 					else
@@ -715,7 +715,7 @@ if $ARGS[0] = 'sexual_health':
 	end
 
 	if GerpesNapr > 0 and GerpesUkolDay ! daystart:
-		if money < 450 and karta < 450: *nl & 'You can''t afford your herpes shot.'
+		if money < 450 and karta + bankDebtLimit < 450: *nl & 'You can''t afford your herpes shot.'
 
 		if money >= 450:
 			act 'Get herpes shot (450 <b>₽</b>) (cash) You need <<GerpesNapr>> more injections to complete the treatment':