Преглед изворни кода

[fixed] Can't use if ARGS[0]=0: like an eejit, sorry

Kevin_Smarts пре 1 година
родитељ
комит
e1db4f8f71
1 измењених фајлова са 8 додато и 8 уклоњено
  1. 8 8
      locations/city_kafe.qsrc

+ 8 - 8
locations/city_kafe.qsrc

@@ -381,13 +381,13 @@ if $ARGS[0] = 'events':
 		minut += 120 - minut
 	end
 	if city_cafe['events_firsttime'] = 0:
-		gt 'city_kafe', 0
-	elseif city_cafe['events_firsttime'] = 1:
 		gt 'city_kafe', 1
-	elseif city_cafe['events_firsttime'] = 2:
+	elseif city_cafe['events_firsttime'] = 1:
 		gt 'city_kafe', 2
-	elseif city_cafe['events_firsttime'] = 3:
+	elseif city_cafe['events_firsttime'] = 2:
 		gt 'city_kafe', 3
+	elseif city_cafe['events_firsttime'] = 3:
+		gt 'city_kafe', 4
 !!	elseif rand(0,4) <= 1:
 !!		gt random events yet to be added
 	else
@@ -395,7 +395,7 @@ if $ARGS[0] = 'events':
 	end
 end
 
-if ARGS[0] = 0:
+if ARGS[0] = 1:
 	npc_rel['A93'] += 1
 	minut += 10
 	*clr & cla
@@ -415,7 +415,7 @@ if ARGS[0] = 0:
 
 	'"And because of that, I can afford to pay my rent and buy the necessities of life," she tells you with a grin. "I couldn''t otherwise. Give it some thought."'
 	act 'Return to work': gt 'city_kafe', 'shift_end'
-elseif ARGS[0] = 1:
+elseif ARGS[0] = 2:
 	npc_rel['A41'] += 1
 	minut += 10
 	*clr & cla
@@ -439,7 +439,7 @@ elseif ARGS[0] = 1:
 
 	'Fabi is suddenly nervous as though he just realized he said something he shouldn''t have, and he gathers together the papers he was working on and stands up from his desk. "Um, never mind. That''s not something you need to worry about. I''ll just finish these up back in the office."'
 	act 'Return to work': gt 'city_kafe', 'shift_end'
-elseif ARGS[0] = 2:
+elseif ARGS[0] = 3:
 	npc_rel['A43'] += 1
 	minut += 10
 	*clr & cla
@@ -463,7 +463,7 @@ elseif ARGS[0] = 2:
 
 	'You don''t know what to say to that, so you change the subject to the St. Petersburg nightlife, which is something Nika seems intimately familiar with, and spend the next few minutes talking with her about party spots until customers come in that you need to attend to.'
 	act 'Return to work': gt 'city_kafe', 'shift_end'
-elseif ARGS[0] = 3:
+elseif ARGS[0] = 4:
 	npc_rel['A42'] += 1
 	minut += 10
 	*clr & cla