Kaynağa Gözat

Rolling back the `$ARGS` -> `ARGS` changes.

While the changes make sense they break because the calls were not updated and they still send strings.
But we should clean these up for the next release.
We shouldn't send number as strings and then try to use them as numbers.

And we should not use numbers for `ARGS[0]` values, only descriptive names.
netuttki 7 ay önce
ebeveyn
işleme
915e66f3dc
1 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  1. 6 6
      locations/gadukino_event.qsrc

+ 6 - 6
locations/gadukino_event.qsrc

@@ -819,15 +819,15 @@ if $ARGS[0] = 'gadukino_2boys':
 	else
 		'<center><img <<$set_imgh>> src="images/locations/gadukino/village/2boys.2.jpg"></center>'
 	end
-	if ARGS[1] = 1:
+	if $ARGS[1] = '1':
 		mitkaday = daystart
 		kolyambaday = daystart
 		'Walking through the village, you meet Mitka and Kolyamba. Seeing you, they grin, grab you by the arms and drag you into the bushes.'
-	elseif ARGS[1] = 2:
+	elseif $ARGS[1] = '2':
 		mitkaday = daystart
 		vasyanday = daystart
 		'Walking through the village, you meet Mitka and Vasyan. Seeing you, they grin, grab you by the arms and drag you into the bushes.'
-	elseif ARGS[1] = 3:
+	elseif $ARGS[1] = '3':
 		kolyambaday = daystart
 		vasyanday = daystart
 		'Walking through the village, you meet Kolyamba and Vasyan. Seeing you, they grin, grab you by the arms and drag you into the bushes.'
@@ -836,13 +836,13 @@ if $ARGS[0] = 'gadukino_2boys':
 	if will_cost <= pcs_willpwr:
 		act 'Refuse (<<will_cost>> Willpower)':
 			cla
-			if ARGS[1] = 1:
+			if $ARGS[1] = 1:
 				npc_rel['A63'] -= 3
 				npc_rel['A61'] -= 3
-			elseif ARGS[1] = 1:
+			elseif $ARGS[1] = '2':
 				npc_rel['A63'] -= 3
 				npc_rel['A62'] -= 3
-			elseif ARGS[1] = 1:
+			elseif $ARGS[1] = '3':
 				npc_rel['A61'] -= 3
 				npc_rel['A62'] -= 3
 			end