1
0
Преглед на файлове

[added] menu variables to street_walker

julzor преди 6 години
родител
ревизия
0fd256d887
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      locations/street_walker.qsrc

+ 4 - 0
locations/street_walker.qsrc

@@ -1,6 +1,9 @@
 # street_walker
 
 if $ARGS[0] = 'start':
+	$menu_loc = 'street_walker'
+	$menu_arg = 'work'
+	menu_off = 0
 	if prst_loc = 0:
 		if sound = 0:
 			if month >=11 and month <= 12 or month >=1 and month <=3:
@@ -69,6 +72,7 @@ if $ARGS[0] = 'work':
 end
 
 if $ARGS[0] = 'event1':
+	menu_off = 1
 	if (prst_loc = 0 and RAND(1,3) > 1) or (prst_loc = 1 and RAND(1,5) > 1) or (prst_loc = 2 and RAND(1,8) > 1):
 		*clr & cla
 		street_work = 1