1
0
Эх сурвалжийг харах

[fixes] Logic fix nd some snazzy brackets for readability in the piercing salon. Thanks to amopen for spotting the error

KevinSmarts 4 жил өмнө
parent
commit
c8944d0bf1
1 өөрчлөгдсөн 26 нэмэгдсэн , 26 устгасан
  1. 26 26
      locations/pirsingsalon.qsrc

+ 26 - 26
locations/pirsingsalon.qsrc

@@ -138,7 +138,7 @@ if $ARGS[0] = 'tongue_pir':
 				'You don''t have enough money in your bank for this piercing.'
 			end
 		end
-	elseif money >= 5000 or karta + bankDebtLimit >= 5000:
+	elseif (money >= 5000) or (karta + bankDebtLimit >= 5000):
 		if money >= 5000:
 			act 'Get your tongue pierced with this piercing for 5000 <b>₽</b> (cash)':
 				cls
@@ -224,7 +224,7 @@ if $ARGS[0] = 'lip_pir':
 				'You don''t have enough money in your bank for this piercing.'
 			end
 		end
-	elseif money >= 6000 or karta + bankDebtLimit >= 6000:
+	elseif (money >= 6000) or (karta + bankDebtLimit >= 6000):
 		if money >= 6000:
 			act 'Get your lip pierced with this piercing for 6000 <b>₽</b> (cash)':
 				cls
@@ -310,7 +310,7 @@ if $ARGS[0] = 'ears_pir':
 				'You don''t have enough money in your bank for these earrings.'
 			end
 		end
-	elseif money >= 3000 or karta + bankDebtLimit >= 3000:
+	elseif (money >= 3000) or (karta + bankDebtLimit >= 3000:
 		if money >= 3000:
 			act 'Get your ears pierced with these earrings for 3000 <b>₽</b> (cash)':
 				cls
@@ -396,7 +396,7 @@ if $ARGS[0] = 'nose_pir':
 				'You don''t have enough money in your bank for this piercing.'
 			end
 		end
-	elseif money >= 5000 or karta + bankDebtLimit >= 5000:
+	elseif (money >= 5000) or (karta + bankDebtLimit >= 5000:
 		if money >= 5000:
 			act 'Get your nose pierced with this piercing for 5000 <b>₽</b> (cash)':
 				cls
@@ -482,7 +482,7 @@ if $ARGS[0] = 'brow_pir':
 				'You don''t have enough money in your bank for this piercing.'
 			end
 		end
-	elseif money >= 5000 or karta + bankDebtLimit >= 5000:
+	elseif (money >= 5000) or (karta + bankDebtLimit >= 5000:
 		if money >= 5000:
 			act 'Get your brow pierced with this piercing for 5000 <b>₽</b> (cash)':
 				cls
@@ -568,7 +568,7 @@ if $ARGS[0] = 'nip_pir':
 				'You don''t have enough money in your bank for this piercing.'
 			end
 		end
-	elseif money >= 10000 or karta + bankDebtLimit >= 10000:
+	elseif (money >= 10000) or (karta + bankDebtLimit >= 10000:
 		if money >= 10000:
 			act 'Get your nipples pierced with these piercings for 10,000 <b>₽</b> (cash)':
 				cls
@@ -654,7 +654,7 @@ if $ARGS[0] = 'belly_pir':
 				'You don''t have enough money in your bank for this piercing.'
 			end
 		end
-	elseif money >= 10000 or karta + bankDebtLimit >= 10000:
+	elseif (money >= 10000) or (karta + bankDebtLimit >= 10000:
 		if money >= 10000:
 			act 'Get your belly button pierced with this piercing for 10,000 <b>₽</b> (cash)':
 				cls
@@ -740,7 +740,7 @@ if $ARGS[0] = 'pubic_pir':
 				'You don''t have enough money in your bank for this piercing.'
 			end
 		end
-	elseif money >= 25000 or karta + bankDebtLimit >= 25000:
+	elseif (money >= 25000) or (karta + bankDebtLimit >= 25000):
 		if money >= 25000:
 			act 'Get your pussy pierced with this piercing for 25,000 <b>₽</b> (cash)':
 				cls
@@ -805,7 +805,7 @@ if $ARGS[0] = 'arm_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/arms/tatarm<<n>>.jpg"></center>'
 
-	if money < 8000 or karta + bankDebtLimit < 8000:
+	if (money < 8000) and (karta + bankDebtLimit < 8000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 8000:
@@ -860,7 +860,7 @@ if $ARGS[0] = 'ass_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/ass/tatass<<n>>.jpg"></center>'
 
-	if money < 10000 or karta + bankDebtLimit < 10000:
+	if (money < 10000) and (karta + bankDebtLimit < 10000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 10000:
@@ -915,7 +915,7 @@ if $ARGS[0] = 'back_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/back/tatback<<n>>.jpg"></center>'
 
-	if money < 10000 or karta + bankDebtLimit < 10000:
+	if (money < 10000) and (karta + bankDebtLimit < 10000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 10000:
@@ -970,7 +970,7 @@ if $ARGS[0] = 'belly_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/belly/tatblly<<n>>.jpg"></center>'
 
-	if money < 10000 or karta + bankDebtLimit < 10000:
+	if (money < 10000) and (karta + bankDebtLimit < 10000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 10000:
@@ -1025,7 +1025,7 @@ if $ARGS[0] = 'breast_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/breasts/tatbrst<<n>>.jpg"></center>'
 
-	if money < 15000 or karta + bankDebtLimit < 15000:
+	if (money < 15000) and (karta + bankDebtLimit < 15000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 15000:
@@ -1080,7 +1080,7 @@ if $ARGS[0] = 'chest_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/chest/tatchst<<n>>.jpg"></center>'
 
-	if money < 12000 or karta + bankDebtLimit < 12000:
+	if (money < 12000) and (karta + bankDebtLimit < 12000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 12000:
@@ -1135,7 +1135,7 @@ if $ARGS[0] = 'face_get':
 	cla
 '<center><img src="images/pc/body/tattoos/face/tatfce<<n>>.jpg"></center>'
 
-	if money < 10000 or karta + bankDebtLimit < 10000:
+	if (money < 10000) and (karta + bankDebtLimit < 10000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 10000:
@@ -1190,7 +1190,7 @@ if $ARGS[0] = 'foot_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/foot/tatankle<<n>>.jpg"></center>'
 
-	if money < 8000 or karta + bankDebtLimit < 8000:
+	if (money < 8000) and (karta + bankDebtLimit < 8000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 8000:
@@ -1245,7 +1245,7 @@ if $ARGS[0] = 'leg_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/legs/tatleg<<n>>.jpg"></center>'
 
-	if money < 10000 or karta + bankDebtLimit < 10000:
+	if (money < 10000) and (karta + bankDebtLimit < 10000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 10000:
@@ -1300,7 +1300,7 @@ if $ARGS[0] = 'lip_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/lip/tatlip<<n>>.jpg"></center>'
 
-	if money < 5000 or karta + bankDebtLimit < 5000:
+	if (money < 5000) and (karta + bankDebtLimit < 5000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 5000:
@@ -1355,7 +1355,7 @@ if $ARGS[0] = 'neck_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/neck/tatnck<<n>>.jpg"></center>'
 
-	if money < 8000 or karta + bankDebtLimit < 8000:
+	if (money < 8000) and (karta + bankDebtLimit < 8000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 8000:
@@ -1410,7 +1410,7 @@ if $ARGS[0] = 'vag_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/pubic/tatvag<<n>>.jpg"></center>'
 
-	if money < 20000 or karta + bankDebtLimit < 20000:
+	if (money < 20000) and (karta + bankDebtLimit < 20000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 20000:
@@ -1465,7 +1465,7 @@ if $ARGS[0] = 'shoulder_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/shoulder/tatshldr<<n>>.jpg"></center>'
 
-	if money < 8000 or karta + bankDebtLimit < 8000:
+	if (money < 8000) and (karta + bankDebtLimit < 8000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 8000:
@@ -1520,7 +1520,7 @@ if $ARGS[0] = 'side_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/side/tatside<<n>>.jpg"></center>'
 
-	if money < 12000 or karta + bankDebtLimit < 12000:
+	if (money < 12000) and (karta + bankDebtLimit < 12000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 12000:
@@ -1575,7 +1575,7 @@ if $ARGS[0] = 'tramp_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/trampstamp/tatlowbck<<n>>.jpg"></center>'
 
-	if money < 12000 or karta + bankDebtLimit < 12000:
+	if (money < 12000) and (karta + bankDebtLimit < 12000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 12000:
@@ -1630,7 +1630,7 @@ if $ARGS[0] = 'under_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/underbreast/tatundbreast<<n>>.jpg"></center>'
 
-	if money < 12000 or karta + bankDebtLimit < 12000:
+	if (money < 12000) and (karta + bankDebtLimit < 12000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 12000:
@@ -1685,7 +1685,7 @@ if $ARGS[0] = 'wrist_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/wrists/tatwrst<<n>>.jpg"></center>'
 
-	if money < 7000 or karta + bankDebtLimit < 7000:
+	if (money < 7000) and (karta + bankDebtLimit < 7000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 7000:
@@ -1740,7 +1740,7 @@ if $ARGS[0] = 'hand_get':
 	cla
 	'<center><img src="images/pc/body/tattoos/hand/tathnd<<n>>.jpg"></center>'
 
-	if money < 7000 or karta + bankDebtLimit < 7000:
+	if (money < 7000) and (karta + bankDebtLimit < 7000):
 		'You cannot afford this tattoo.'
 	else
 		if money >= 7000: