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

[changed] Modify driving lesson requirements to allow the fake passport to work,
in locations/dk.

Kharita Ranaseti преди 8 месеца
родител
ревизия
c2c24ff172
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      locations/dk.qsrc

+ 4 - 4
locations/dk.qsrc

@@ -136,7 +136,7 @@ if $ARGS[0] = 'drivingschool':
 	if skulday = daystart:
 		'You''ve taken your driving lesson for today.'
 	end
-	if avtoskul = 0 and money >= 30000 and prava = 0 and age >= 18:
+	if avtoskul = 0 and money >= 30000 and prava = 0 and (age >= 18 or fakepassport = 1):
 
 		act 'Book a driving training course (30,000 <b>₽</b>)':
 			cla
@@ -150,7 +150,7 @@ if $ARGS[0] = 'drivingschool':
 		end
 	end
 	if hour >= 9 and hour <= 17 and week < 6:
-		if avtoskul >= 1 and avtoskul < 11 and skulday ! daystart and age >= 18:
+		if avtoskul >= 1 and avtoskul < 11 and skulday ! daystart and (age >= 18 or fakepassport = 1):
 
 			act 'Driving lesson':
 				*clr & cla
@@ -165,7 +165,7 @@ if $ARGS[0] = 'drivingschool':
 				act 'Return': gt $loc, $loc_arg
 			end
 		end
-		if avtoskul = 11 and skulday ! daystart and age >= 18:
+		if avtoskul = 11 and skulday ! daystart and (age >= 18 or fakepassport = 1):
 
 			act 'Driving theory':
 				*clr & cla
@@ -179,7 +179,7 @@ if $ARGS[0] = 'drivingschool':
 				act 'Return': gt $loc, $loc_arg
 				!!if nikpravaQW = 1:end
 			end
-		elseif avtoskul = 12 and skulday ! daystart and age >= 18:
+		elseif avtoskul = 12 and skulday ! daystart and (age >= 18 or fakepassport = 1):
 
 			act 'Driving test':
 				*clr & cla