Ver Fonte

[fixed] I had aperently forgot to run the analyser before my last comit.

bgkjdgbizgblzdgbr há 2 anos atrás
pai
commit
18c64918fc
2 ficheiros alterados com 14 adições e 14 exclusões
  1. 7 7
      locations/city_clinic.qsrc
  2. 7 7
      locations/pav_clinic.qsrc

+ 7 - 7
locations/city_clinic.qsrc

@@ -216,17 +216,17 @@ if $ARGS[0] = 'start':
 				gs 'AppearanceSystem', 'UpdateBaseAppearnce'
 				gs 'stat'
 			else
-				if pcs_missing_teeth * 30000 = 1:
-					zubpay = = 3000
+				if pcs_missing_teeth = 1:
+					zubpay = 3000
 					'The dentist examines you and says, it will cost you <<3000>> <b>₽</b> to replace your tooth'
-				elseif 
+				elseif pcs_missing_teeth > 1:
 					zubpay = pcs_missing_teeth * 30000
 					'The dentist examines you and says, it will cost you <<pcs_missing_teeth * 30000>> <b>₽</b> to fill the gaps'
 				elseif pcs_teeth = 0:
-					zubpay = = 3000
+					zubpay = 3000
 					'The dentist examines you and says, it will cost you <<3000>> <b>₽</b> to brighten and polish your teeth.'
 				elseif pcs_teeth > 0:
-					zubpay = = 45000
+					zubpay = 45000
 					'The dentist examinees you and says, it will cost you <<4500>><b>₽</b> to straighten your teeth and you will have to wear a brace for three months and he can''t promise they will be completely straight after one treatment.'
 				end
 
@@ -242,7 +242,7 @@ if $ARGS[0] = 'start':
 							if pcs_missing_teeth > 0:
 								pcs_missing_teeth = 0
 								'You pay the dentist to fix your teeth, within an hour he has restored your winning smile.'
-							elseif pcs_teeth > 0
+							elseif pcs_teeth > 0:
 								dentistday = daystart
 								pcs_brace = 1
 								'You pay the dentist to straighten your teeth. After and hour of work he have attached a brace to teeth and tells you to comeback it three months to have it taken of.'
@@ -265,7 +265,7 @@ if $ARGS[0] = 'start':
 							if pcs_missing_teeth > 0:
 								pcs_missing_teeth = 0
 								'You pay the dentist to fix your teeth, within an hour he has restored your winning smile.'
-							elseif pcs_teeth > 0
+							elseif pcs_teeth > 0:
 								dentistday = daystart
 								pcs_brace = 1
 								'You pay the dentist to straighten your teeth. After and hour of work he have attached a brace to teeth and tells you to comeback it three months to have it taken of.'

+ 7 - 7
locations/pav_clinic.qsrc

@@ -153,17 +153,17 @@ if $ARGS[0] = '':
 					gs 'AppearanceSystem', 'UpdateBaseAppearnce'
 					gs 'stat'
 				else
-					if pcs_missing_teeth * 30000 = 1:
-						zubpay = = 3000
+					if pcs_missing_teeth = 1:
+						zubpay = 3000
 						'The dentist examines you and says, it will cost you <<3000>> <b>₽</b> to replace your tooth'
-					elseif 
+					elseif pcs_missing_teeth > 1:
 						zubpay = pcs_missing_teeth * 30000
 						'The dentist examines you and says, it will cost you <<pcs_missing_teeth * 30000>> <b>₽</b> to fill the gaps'
 					elseif pcs_teeth = 0:
-						zubpay = = 3000
+						zubpay = 3000
 						'The dentist examines you and says, it will cost you <<3000>> <b>₽</b> to brighten and polish your teeth.'
 					elseif pcs_teeth > 0:
-						zubpay = = 45000
+						zubpay = 45000
 						'The dentist examinees you and says, it will cost you <<4500>><b>₽</b> to straighten your teeth and you will have to wear a brace for three months and he can''t promise they will be completely straight after one treatment.'
 					end
 
@@ -179,7 +179,7 @@ if $ARGS[0] = '':
 								if pcs_missing_teeth > 0:
 									pcs_missing_teeth = 0
 									'You pay the dentist to fix your teeth, within an hour he has restored your winning smile.'
-								elseif pcs_teeth > 0
+								elseif pcs_teeth > 0:
 									dentistday = daystart
 									pcs_brace = 1
 									'You pay the dentist to straighten your teeth. After and hour of work he have attached a brace to teeth and tells you to comeback it three months to have it taken of.'
@@ -202,7 +202,7 @@ if $ARGS[0] = '':
 								if pcs_missing_teeth > 0:
 									pcs_missing_teeth = 0
 									'You pay the dentist to fix your teeth, within an hour he has restored your winning smile.'
-								elseif pcs_teeth > 0
+								elseif pcs_teeth > 0:
 									dentistday = daystart
 									pcs_brace = 1
 									'You pay the dentist to straighten your teeth. After and hour of work he have attached a brace to teeth and tells you to comeback it three months to have it taken of.'