1
0
Pārlūkot izejas kodu

[fixed] errors from the analyzer

julzor 4 gadi atpakaļ
vecāks
revīzija
843e9afa21
2 mainītis faili ar 22 papildinājumiem un 22 dzēšanām
  1. 21 21
      locations/bbgameout.qsrc
  2. 1 1
      locations/fbgameout.qsrc

+ 21 - 21
locations/bbgameout.qsrc

@@ -546,7 +546,7 @@ if $ARGS[0] = 'mixed':
 						act 'Drive in (<<will_cost>> Willpower)':
 							*clr & cla
 							grupvalue[2] += 1
-							[npc_rel 'A27'] = += 1
+							npc_rel['A27'] += 1
 							pcs_mood += 40
 							bkbll_exp += rand(0,2)
 							gs 'sweat', 'add', 40
@@ -562,7 +562,7 @@ if $ARGS[0] = 'mixed':
 								act 'End the game': gt 'bbgameout', 'end_game'
 							else
 								grupvalue[2] -= 1
-								[npc_rel 'A27'] = -= 1
+								npc_rel['A27'] -= 1
 								pcs_mood -= 40
 								gs 'sweat', 'add', 40
 								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/dribblegirl.jpg"></center>'
@@ -580,7 +580,7 @@ if $ARGS[0] = 'mixed':
 						act 'Pass (<<will_cost>> Willpower)':
 							*clr & cla
 							grupvalue[2] += 1
-							[npc_rel 'A27'] = += 1
+							npc_rel['A27'] += 1
 							pcs_mood += 40
 							bkbll_exp += rand(0,2)
 							gs 'sweat', 'add', 40
@@ -595,7 +595,7 @@ if $ARGS[0] = 'mixed':
 								act 'End the game': gt 'bbgameout', 'end_game'
 							else
 								grupvalue[2] -= 1
-								[npc_rel 'A27'] = -= 1
+								npc_rel['A27'] -= 1
 								pcs_mood -= 20
 								gs 'sweat', 'add', 20
 								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/outsidepass.jpg"></center>'
@@ -614,7 +614,7 @@ if $ARGS[0] = 'mixed':
 						act 'Shoot (<<will_cost>> Willpower)':
 							*clr & cla
 							grupvalue[2] += 1
-							[npc_rel 'A27'] = += 1
+							npc_rel['A27'] += 1
 							pcs_mood += 40
 							bkbll_exp += rand(0,2)
 							gs 'sweat', 'add', 40
@@ -629,7 +629,7 @@ if $ARGS[0] = 'mixed':
 								act 'End the game': gt 'bbgameout', 'end_game'
 							else
 								grupvalue[2] -= 1
-								[npc_rel 'A27'] = -= 1
+								npc_rel['A27'] -= 1
 								pcs_mood -= 40
 								gs 'sweat', 'add', 40
 								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/outsideshoot1.jpg"></center>' 
@@ -646,7 +646,7 @@ if $ARGS[0] = 'mixed':
 					act 'Get rid of the ball':
 						*clr & cla
 						grupvalue[2] -= 2
-						[npc_rel 'A27'] = -= 2
+						npc_rel['A27'] -= 2
 						pcs_mood -= 40
 						gs 'sweat', 'add', 40
 						'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/fail2.jpg"></center>'
@@ -682,7 +682,7 @@ if $ARGS[0] = 'mixed':
 						act 'Drive in (<<will_cost>> Willpower)':
 							*clr & cla
 							grupvalue[2] += 1
-							[npc_rel 'A27'] = += 1
+							npc_rel['A27'] += 1
 							pcs_mood += 20
 							bkbll_exp += rand(0,2)
 							gs 'sweat', 'add', 20
@@ -698,7 +698,7 @@ if $ARGS[0] = 'mixed':
 								act 'End the game': gt 'bbgameout', 'end_game'
 							else
 								grupvalue[2] -= 1
-								[npc_rel 'A27'] = -= 1
+								npc_rel['A27'] -= 1
 								pcs_mood -= 20
 								gs 'sweat', 'add', 20
 								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/dribblegirl.jpg"></center>'
@@ -716,7 +716,7 @@ if $ARGS[0] = 'mixed':
 						act 'Pass (<<will_cost>> Willpower)':
 							*clr & cla
 							grupvalue[2] += 1
-							[npc_rel 'A27'] = += 1
+							npc_rel['A27'] += 1
 							pcs_mood += 20
 							bkbll_exp += rand(0,2)
 							gs 'sweat', 'add', 20
@@ -731,7 +731,7 @@ if $ARGS[0] = 'mixed':
 								act 'End the game': gt 'bbgameout', 'end_game'
 							else
 								grupvalue[2] -= 1
-								[npc_rel 'A27'] = -= 1
+								npc_rel['A27'] -= 1
 								pcs_mood -= 20
 								gs 'sweat', 'add', 20
 								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/outsidepass.jpg"></center>'
@@ -750,7 +750,7 @@ if $ARGS[0] = 'mixed':
 						act 'Shoot (<<will_cost>> Willpower)':
 							*clr & cla
 							grupvalue[2] += 1
-							[npc_rel 'A27'] = += 1
+							npc_rel['A27'] += 1
 							pcs_mood += 20
 							bkbll_exp += rand(0,2)
 							gs 'sweat', 'add', 20
@@ -765,7 +765,7 @@ if $ARGS[0] = 'mixed':
 								act 'End the game': gt 'bbgameout', 'end_game'
 							else
 								grupvalue[2] -= 1
-								[npc_rel 'A27'] = -= 1
+								npc_rel['A27'] -= 1
 								pcs_mood -= 20
 								gs 'sweat', 'add', 20
 								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/outsideshoot1.jpg"></center>' 
@@ -782,7 +782,7 @@ if $ARGS[0] = 'mixed':
 					act 'Get rid of the ball':
 						*clr & cla
 						grupvalue[2] -= 2
-						[npc_rel 'A27'] = -= 2
+						npc_rel['A27'] -= 2
 						pcs_mood -= 20
 						gs 'sweat', 'add', 20
 						'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/fail2.jpg"></center>'
@@ -818,7 +818,7 @@ if $ARGS[0] = 'mixed':
 						act 'Drive in (<<will_cost>> Willpower)':
 							*clr & cla
 							grupvalue[2] += 1
-							[npc_rel 'A27'] = += 1
+							npc_rel['A27'] += 1
 							pcs_mood += 30
 							bkbll_exp += rand(0,2)
 							gs 'sweat', 'add', 30
@@ -834,7 +834,7 @@ if $ARGS[0] = 'mixed':
 								act 'End the game': gt 'bbgameout', 'end_game'
 							else
 								grupvalue[2] -= 1
-								[npc_rel 'A27'] = -= 1
+								npc_rel['A27'] -= 1
 								pcs_mood -= 30
 								gs 'sweat', 'add', 30
 								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/dribblegirl.jpg"></center>'
@@ -853,7 +853,7 @@ if $ARGS[0] = 'mixed':
 							*clr & cla
 							temp = rand(0,100)
 							grupvalue[2] += 1
-							[npc_rel 'A27'] = += 1
+							npc_rel['A27'] += 1
 							pcs_mood += 30
 							bkbll_exp += rand(0,2)
 							gs 'sweat', 'add', 30
@@ -868,7 +868,7 @@ if $ARGS[0] = 'mixed':
 								act 'End the game': gt 'bbgameout', 'end_game'
 							else
 								grupvalue[2] -= 1
-								[npc_rel 'A27'] = -= 1
+								npc_rel['A27'] -= 1
 								pcs_mood -= 30
 								gs 'sweat', 'add', 30
 								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/outsidepass.jpg"></center>'
@@ -887,7 +887,7 @@ if $ARGS[0] = 'mixed':
 						act 'Shoot (<<will_cost>> Willpower)':
 							*clr & cla
 							grupvalue[2] += 1
-							[npc_rel 'A27'] = += 1
+							npc_rel['A27'] += 1
 							pcs_mood += 30
 							bkbll_exp += rand(0,2)
 							gs 'sweat', 'add', 30
@@ -902,7 +902,7 @@ if $ARGS[0] = 'mixed':
 								act 'End the game': gt 'bbgameout', 'end_game'
 							else
 								grupvalue[2] -= 1
-								[npc_rel 'A27'] = -= 1
+								npc_rel['A27'] -= 1
 								pcs_mood -= 30
 								gs 'sweat', 'add', 30
 								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/outsideshoot1.jpg"></center>' 
@@ -919,7 +919,7 @@ if $ARGS[0] = 'mixed':
 					act 'Get rid of the ball':
 						*clr & cla
 						grupvalue[2] -= 2
-						[npc_rel 'A27'] = -= 2
+						npc_rel['A27'] -= 2
 						pcs_mood -= 30
 						gs 'sweat', 'add', 30
 						'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/bboutside/fail2.jpg"></center>'

+ 1 - 1
locations/fbgameout.qsrc

@@ -16,7 +16,7 @@ if $ARGS[0] = 'start':
 			'You take a seat on the ground near the field and watch the jocks play football. Most of them are pretty competitive really pushing it to try and win. Occasionally there is some arguments about a foul, but for the most part they get along and have fun. You have to admit it looks pretty fun, maybe you could ask to join them one day.'
 			act 'Leave': gt 'gschool_grounds', 'main' 
 		end
-		act 'Ask to join'
+		act 'Ask to join':
 			*clr & cla
 			minut += 3
 			grupvalue[2] += 1