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

[fixed] Missing declaration of fake passport for driving license

jeep91 преди 1 година
родител
ревизия
77df53a35e
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      locations/dk.qsrc

+ 3 - 3
locations/dk.qsrc

@@ -68,7 +68,7 @@ if $ARGS[0] = 'lessons':
 	'<table border=0 align="center">'
 	'<TR>'
 	if	prava = 0 and avtoskul = 0:
-		'<TR><TD>Driving lessons - 30,000 <b>₽</b>.</TD><TD>10 classes</TD><TD><a href="exec:gt ''dk'', ''drivingschool''">Book a driving course.</a></TD></TR>'
+		'<TR><TD>Driving lessons - 30,000 <b>₽</b>.</TD><TD>10 classes</TD><TD><a href="exec:gt ''dk'', ''drivingschool''">drBook a driving course.</a></TD></TR>'
 	elseif avtoskul  < 11 and prava = 0 and skulday ! daystart:
 		'<TR><TD>Driving lessons -</TD><TD></TD><TD><a href="exec:gt ''dk'', ''drivingschool''">Attend your driving lesson.</a></TD></TR>'
 	elseif avtoskul  < 12 and prava = 0 and skulday ! daystart:
@@ -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