Sfoglia il codice sorgente

Cleaned up and made prettier as promised.

KevinSmarts 8 anni fa
parent
commit
9ca4c33de5
1 ha cambiato i file con 41 aggiunte e 34 eliminazioni
  1. 41 34
      locations/dk

+ 41 - 34
locations/dk

@@ -14,20 +14,19 @@ if $ARGS[0] = 'start':
 
 	if hour >= 9 and hour <= 17 and week < 6:
 		act 'Enter':gt 'dk', 'holl'
-	end
 
-	if avtoskul >= 1 and avtoskul < 11 and skulday ! daystart and week >= 6 and money >= 1000 and age >= 18:
-		act 'Driver Training class (1,000 <b>₽</b>) (2:00)':
-			cla
-			*clr
-			money -= 1000
-			skulday = daystart
-			avtoskul += 1
-			minut += 120
-			'<center><img src="images/etogame/dk2.jpg"></center>'
-			'You studied by modern methods driving.'
+		if avtoskul >= 1 and avtoskul < 11 and skulday ! daystart and age >= 18:
+			act 'Driving lesson (2:00)':
+				cla
+				*clr
+				skulday = daystart
+				avtoskul += 1
+				minut += 120
+				'<center><img src="images/etogame/dk2.jpg"></center>'
+				'You studied by modern methods driving.'
 
-			act 'Leave':gt 'dk', 'holl'
+				act 'Leave':gt 'dk', 'holl'
+			end
 		end
 	end
 
@@ -45,13 +44,17 @@ if $ARGS[0] = 'holl':
 	lcolor = rgb(106, 90, 205)
 	'<center><b>The Vladimir Lenin community centre</b></center>'
 	'<center><img src="images/etogame/dk1.jpg"></center>'
-	'Available services, driving school - 30,000 <b>₽</b>. 10 classes, at any time convenient for you during the working day at the community center.'
-	'Educational office program: Secretarial diploma - 15,000 <b>₽</b>, training period 10 days.'
+	nl
+	'<B><center>Available services</center></B>'
+	nl
+	*pl '<center><table border=0 align="center"><TR>'
+	'<TR><TD>Driving lessons - 30,000 <b>₽</b>.</TD><TD>10 classes</TD><TD>Instructors available by entrance</TD></TR>'
+	'<TR><TD>Secretarial diploma - 15,000 <b>₽</b>.</TD><TD>10 classes</TD><TD>Classes in room 204</TD></TR>'
+	'<TR><TD>Singing lessons - 500 <b>₽</b>.</TD><TD>Per class</TD><TD>Classes in room 213</TD></TR>'
+	'<TR><TD>Massage lessons - 5,000 <b>₽</b>.</TD><TD>Per session</TD><TD>Classes in room 203 (certificate issued after 10 lessons)</TD></TR>'
+	'<TR><TD>Personal development - 1,000 <b>₽</b>.</TD><TD>Per class</TD><TD>Classes in room 201 (Learn to assert yourself)</TD></TR>'
 	!!'Medium for new opportunities - only here only freebie.'
-	'On the wall hangs sign.'
-	'Singing lessons - 500 <b>₽</b> per session.'
-	'Massage lessons - 5,000 <b>₽</b> per session.'
-	'Personal growth course - 1,000 <b>₽</b> per session.'
+	'</TR></table></center>'
 
 	!'
 	act 'Go to a medium':
@@ -67,7 +70,7 @@ if $ARGS[0] = 'holl':
 	'!
 
 	if money >= 1000:
-		act 'Personal Growth class cost 1,000 <b>₽</b> (1:00)':
+		act 'Personal development class - 1,000 <b>₽</b> (1:00)':
 			cls
 			money -= 1000
 			dom += 5
@@ -81,9 +84,10 @@ if $ARGS[0] = 'holl':
 
 	if hour >= 9 and hour <= 17 and week < 6:
 		if vokalday ! daystart and alexeySex > 0 and alexeyVopros = 2:
-			act 'Go to singing lessons':
+			act 'Singing lesson (1:00)':
 				cls
 				alexeyQW += 1
+				minut += 60
 				vokal += 1
 				vokalday = daystart
 				horny += 30
@@ -112,7 +116,7 @@ if $ARGS[0] = 'holl':
 							minut += 10
 							swallow += 1
 							spafinloc = 12
-gs 'cum_manage'
+							gs 'cum_manage'
 							gs 'stat'
 							picrand = rand(1, 14)
 							'<center><img src="images/qwest/alexey/bjcum<<picrand>>.jpg"></center>'
@@ -136,9 +140,10 @@ gs 'cum_manage'
 				end
 			end
 		elseif money >= 500 and vokalday ! daystart and alexeySex > 0 and alexeyVopros = 1:
-			act 'Singing lesson cost 500 <b>₽</b>':
+			act 'Singing lesson - 500 <b>₽</b> (1:00)':
 				cls
 				money -= 500
+				minut += 60
 				alexeyQW += 1
 				vokal += 1
 				vokalday = daystart
@@ -148,7 +153,7 @@ gs 'cum_manage'
 				act 'Leave':gt 'dk', 'holl'
 			end
 		elseif money >= 500 and vokalday ! daystart and alexeySex > 0 and alexeyVopros = 0:
-			act 'Singing lesson cost 500 <b>₽</b>':
+			act 'Singing lesson - 500 <b>₽</b> (1:00)':
 				cls
 				alexeyQW += 1
 				vokal += 1
@@ -161,6 +166,7 @@ gs 'cum_manage'
 				act 'Let''s forget that between us that it was.':
 					cls
 					money -= 500
+					minut += 60
 					alexeyVopros = 1
 					'You offered Alexei forget what happened and gave him 500 <b>₽</b> per lesson Lech nodded sadly and began to teach you vocal.'
 
@@ -169,6 +175,7 @@ gs 'cum_manage'
 
 				act 'If you do not napivatsya so, then we could try again.':
 					cls
+					minut += 60
 					alexeyVopros = 2
 					'You playfully smiled and told him that you do not mind him vstrechatsya if it will not be so napivatsya. Alexei smiled with relief. "That''s good. And now engaged." The remaining time you have dedicated classes.'
 
@@ -176,7 +183,7 @@ gs 'cum_manage'
 				end
 			end
 		elseif money >= 500 and vokalday ! daystart and alexeySex = 0:
-			act 'Singing lesson cost 500 <b>₽</b> (1:00)':
+			act 'Singing lesson - 500 <b>₽</b> (1:00)':
 				cls
 				minut += 60
 				money -= 500
@@ -295,7 +302,7 @@ gs 'cum_manage'
 		end
 
 		if sekrObu > 0 and sekrObu < 11 and secrday ! daystart:
-			act 'Learn from the Secretary (2:00)':
+			act 'Secretarial class (2:00)':
 				cla
 				*clr
 				secrday = daystart
@@ -309,7 +316,7 @@ gs 'cum_manage'
 				act 'Leave':gt 'dk', 'holl'
 			end
 		elseif sekrObu >= 11 and secrday ! daystart:
-			act 'Get Secretary diploma':
+			act 'Secretarial diploma':
 				cla
 				*clr
 				secrday = daystart
@@ -323,22 +330,22 @@ gs 'cum_manage'
 			end
 		end
 
-		if avtoskul >= 1 and avtoskul < 11 and skulday ! daystart and age >= 18:
-			act 'Learn from the right (2:00)':
+		if avtoskul = 11 and skulday ! daystart and age >= 18:
+			act 'Driver theory (2:00)':
 				cla
 				*clr
 				skulday = daystart
-				avtoskul += 1
+				avtoskul = 12
 				minut += 120
 				'<center><img src="images/etogame/dk2.jpg"></center>'
-				'You studied by modern methods driving.'
+				'You study modern methods driving.'
 
 				!!if nikpravaQW = 1:end
 
 				act 'Leave':gt 'dk', 'holl'
 			end
-		elseif avtoskul >= 11 and skulday ! daystart and age >= 18:
-			act 'Pass on the right (2:00)':
+		elseif avtoskul = 12 and skulday ! daystart and age >= 18:
+			act 'Driving test (2:00)':
 				cla
 				*clr
 				minut += 120
@@ -346,8 +353,8 @@ gs 'cum_manage'
 				prava = 1
 				minut += 120
 				'<center><img src="images/etogame/dk3.jpg"></center>'
-				'You went with traffic cops within 2 hours of the city, he was satisfied and did not find what pridratsya.'
-				'You gave ready-law.'
+				'You drive a traffic officer around the city for 2 hours, he is satisfied and did not find any faults.'
+				'"Congratulations, you''ve passed."'
 
 				act 'Leave':gt 'dk', 'holl'
 			end