Jelajahi Sumber

[changed] Added the possibilty for Sveta to take driving lesson if owning a fake passport

jeep91 1 tahun lalu
induk
melakukan
cc86534d87
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      locations/dk.qsrc

+ 2 - 2
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