Ver código fonte

Merge branch 'master' of https://git.tfgames.site/Kevin_Smarts/glife

Lusticon 9 meses atrás
pai
commit
54101731e3
41 arquivos alterados com 1984 adições e 1570 exclusões
  1. 39 33
      glife.qproj
  2. 1 1
      locations/Voltrener.qsrc
  3. 1 1
      locations/albinahome.qsrc
  4. 2 2
      locations/anush_bedroom.qsrc
  5. 1 1
      locations/anush_bedroom_city.qsrc
  6. 9 5
      locations/ballet_npc.qsrc
  7. 271 32
      locations/ballet_secrets.qsrc
  8. 1 1
      locations/carF.qsrc
  9. 2 2
      locations/city_hermitage.qsrc
  10. 2 2
      locations/city_industrial.qsrc
  11. 13 124
      locations/city_industrial_train.qsrc
  12. 9 132
      locations/city_train.qsrc
  13. 1 1
      locations/emp_functions.qsrc
  14. 2 2
      locations/gadukino.qsrc
  15. 1 1
      locations/gopsex.qsrc
  16. 1 1
      locations/gschool_grounds.qsrc
  17. 1 1
      locations/gschool_socialchg.qsrc
  18. 1 1
      locations/journal_quests.qsrc
  19. 2 2
      locations/lezbsex.qsrc
  20. 1 1
      locations/ludahome.qsrc
  21. 5 5
      locations/metro.qsrc
  22. 1 1
      locations/mey_home.qsrc
  23. 2 2
      locations/miroslava.qsrc
  24. 1 1
      locations/music_bedroompractice.qsrc
  25. 1 1
      locations/music_guitarlesson.qsrc
  26. 3 3
      locations/pav_commcenter.qsrc
  27. 2 2
      locations/pav_market.qsrc
  28. 1 1
      locations/pav_park.qsrc
  29. 10 123
      locations/pav_train_hall.qsrc
  30. 1 1
      locations/pushkin_ballet_center.qsrc
  31. 11 11
      locations/pushkin_ballet_class.qsrc
  32. 9 3
      locations/pushkin_sq.qsrc
  33. 5 0
      locations/saveupdater.qsrc
  34. 1 1
      locations/soniahome.qsrc
  35. 1 1
      locations/talent_agency.qsrc
  36. 480 773
      locations/train.qsrc
  37. 880 0
      locations/train_events.qsrc
  38. 34 285
      locations/train_incidental.qsrc
  39. 165 0
      locations/transport_functions.qsrc
  40. 5 5
      locations/version.qsrc
  41. 5 5
      locations/volleyball.qsrc

+ 39 - 33
glife.qproj

@@ -8,15 +8,17 @@
 	<Location name="begin"/>
 	<Location name="onobjsel"/>
 	<Location name="obj_din"/>
-	<Location name="journal"/>
-	<Location name="journal_work"/>
-	<Location name="journal_school"/>
-	<Location name="journal_uni"/>
-	<Location name="journal_quests"/>
-	<Location name="journal_portfolio"/>
-	<Location name="journal_NPC_information"/>
-	<Location name="Cheatmenu_din"/>
 	<Location name="themes"/>
+	<Folder name="Journal">
+		<Location name="journal"/>
+		<Location name="journal_work"/>
+		<Location name="journal_school"/>
+		<Location name="journal_uni"/>
+		<Location name="journal_quests"/>
+		<Location name="journal_portfolio"/>
+		<Location name="journal_NPC_information"/>
+		<Location name="Cheatmenu_din"/>
+	</Folder>
 	<Folder name="System">
 		<Location name="counter"/>
 		<Location name="loadg"/>
@@ -349,10 +351,6 @@
 		<Location name="bank"/>
 		<Location name="kiosk"/>
 		<Location name="taxi"/>
-		<Location name="train"/>
-		<Location name="train_incidental"/>
-		<Location name="metro"/>
-		<Location name="metro_events"/>
 		<Location name="events"/>
 		<Location name="flash"/>
 		<Location name="street_event"/>
@@ -363,6 +361,15 @@
 		<Location name="gloryhole"/>
 		<Location name="home_activity"/>
 	</Folder>
+	<Folder name="Transportation">
+		<Location name="transport_functions"/>
+		<Location name="train"/>
+		<Location name="train_events"/>
+		<Location name="train_incidental"/>
+		<Location name="metro"/>
+		<Location name="metro_events"/>
+		<Location name="bicycle"/>
+	</Folder>
 	<Folder name="Post office">
 		<Location name="post_office"/>
 		<Location name="post_master"/>
@@ -427,26 +434,6 @@
 		<Location name="WorkHosp"/>
 		<Location name="worksalon"/>
 	</Folder>
-	<Folder name="Nicholas">
-		<Location name="nichApartment"/>
-		<Location name="nichBathGuest"/>
-		<Location name="nichBathMaster"/>
-		<Location name="nichBathServant"/>
-		<Location name="nichBedroomMaster"/>
-		<Location name="nichBedroomServant"/>
-		<Location name="nichBedroomTanja"/>
-		<Location name="nichChore"/>
-		<Location name="nichClub"/>
-		<Location name="nichCook"/>
-		<Location name="nichGala"/>
-		<Location name="nichKitchen"/>
-		<Location name="nichLivingroom"/>
-		<Location name="nichNicholas"/>
-		<Location name="nichStudy"/>
-		<Location name="nichTanya"/>
-		<Location name="nichTaras"/>
-		<Location name="nichUtil"/>
-	</Folder>
 	<Folder name="Home- City Residental Apartment">
 		<Location name="bedr"/>
 		<Location name="sitr"/>
@@ -520,6 +507,26 @@
 		<Location name="rex_party_smallEvents"/>
 		<Location name="rex_party_sexEvents"/>
 	</Folder>
+	<Folder name="Nicholas">
+		<Location name="nichApartment"/>
+		<Location name="nichBathGuest"/>
+		<Location name="nichBathMaster"/>
+		<Location name="nichBathServant"/>
+		<Location name="nichBedroomMaster"/>
+		<Location name="nichBedroomServant"/>
+		<Location name="nichBedroomTanja"/>
+		<Location name="nichChore"/>
+		<Location name="nichClub"/>
+		<Location name="nichCook"/>
+		<Location name="nichGala"/>
+		<Location name="nichKitchen"/>
+		<Location name="nichLivingroom"/>
+		<Location name="nichNicholas"/>
+		<Location name="nichStudy"/>
+		<Location name="nichTanya"/>
+		<Location name="nichTaras"/>
+		<Location name="nichUtil"/>
+	</Folder>
 	<Folder name="Dima Nosov">
 		<Location name="dimaEv"/>
 		<Location name="dimaHome"/>
@@ -1128,7 +1135,6 @@
 		<Location name="gadriver"/>
 		<Location name="meadow"/>
 		<Location name="gadprostitutes"/>
-		<Location name="bicycle"/>
 		<Location name="gadfield"/>
 		<Location name="gadgarden"/>
 		<Location name="gadmarket"/>

+ 1 - 1
locations/Voltrener.qsrc

@@ -446,7 +446,7 @@ if $ARGS[0] = 'trener_speak':
 			$OpenInnerThought+'"Didn''t get anything out of him there, <<$pcs_lastname>>. Although, the classes in the fitness center should be worth investigating."'+$CloseInnerThought 
 			npc_rel['A69'] += 3
 			'Seeing Mikhail a little upset by your questions, you decide to cheer him up.'
-			!! the flag on the emergence of Turner in the centre
+			!! the flag on the emergence of Turner in the center
 			ShowerIvan = 4
 			act 'Kiss':
 				cla & *clr

+ 1 - 1
locations/albinahome.qsrc

@@ -220,7 +220,7 @@ if $ARGS[0] = 'bedroom':
 		act 'Hang out': gt $loc, $loc_arg
 	else
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/albinahome/albinaroom.jpg"></center>'
-		'You are impressed at how nice Albina''s bedroom looks, the centrepiece being a large double bed covered in soft pillows. A door at the back of the room leads to her en-suite bathroom, and she even has a sliding door leading to a balcony that overlooks the nearby lake. A closet full of expensive-looking clothes is built into one of the walls.'
+		'You are impressed at how nice Albina''s bedroom looks, the centerpiece being a large double bed covered in soft pillows. A door at the back of the room leads to her en-suite bathroom, and she even has a sliding door leading to a balcony that overlooks the nearby lake. A closet full of expensive-looking clothes is built into one of the walls.'
 		'By the bed is a small <a href="exec:gt ''albina_house_events'',''night_stand''">nightstand</a>, and on a desk is a <a href="exec:gt ''albina_house_events'',''computer''">laptop</a>'
 		act 'Return to the hallway': gt 'albinahome', 'hallway'
 		act 'Chat with Albina': gt 'albina_chat', 'chat'

+ 2 - 2
locations/anush_bedroom.qsrc

@@ -60,7 +60,7 @@ if $ARGS[0] = 'anushroom':
 	gs 'stat'
 	'<center><h4><font color="maroon">Anushka''s Room</font></h4></center>'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/anushapt/anushroom.jpg"></center>'
-	'The room is surprisingly clean, more so than any other room in the apartment. The walls are covered with pictures and posters of <a href="exec:gt ''anush_bedroom'',''the_pretty_reckless''">bands</a> or famous models, girls and guys, while the room is skillfully decorated with various strings of coloured lights. In the centre of the room, beneath the window, is a <a href="exec:gt ''anush_bedroom'',''bed''">bed</a> with a small <a href="exec:gt ''anush_bedroom'',''night_stand''">nightstand</a> beside it.'
+	'The room is surprisingly clean, more so than any other room in the apartment. The walls are covered with pictures and posters of <a href="exec:gt ''anush_bedroom'',''the_pretty_reckless''">bands</a> or famous models, girls and guys, while the room is skillfully decorated with various strings of coloured lights. In the center of the room, beneath the window, is a <a href="exec:gt ''anush_bedroom'',''bed''">bed</a> with a small <a href="exec:gt ''anush_bedroom'',''night_stand''">nightstand</a> beside it.'
 	'Against the opposite wall are a small computer desk, a <a href="exec:gt ''anush_bedroom'',''computer''">laptop</a> and a chair. Next to the desk is a <a href="exec:gt ''anush_bedroom'',''nushdresser''">dresser</a> with a decent sized flatscreen TV sitting on top of it. On the other side of the desk is a bookshelf with a relatively large collection of books. Hanging on the wall next to the shelves is an <a href="exec:gt ''anush_bedroom'',''guitar''">acoustic guitar</a> with an electric guitar right beside it. A skateboard is also leaning against one of the other walls next to the <a href="exec:gt ''anush_bedroom'',''nushcloset''">closet door</a>, along with some rollerblades in the corner.'
 	act 'Leave Anushka''s room': gt 'anushapt','hallway'
 	if AnushkaLoc = 2:
@@ -403,7 +403,7 @@ if $ARGS[0] = 'computer':
 			'You perk up at the mention of modelling to earn money towards a lovely laptop like she has. "Does modelling really pay that well?"'
 			'She nods. "Sort of... If you''re willing to do nude modelling, you can make a lot in a short amount of time. Are you interested?" she asks while arching a shapely eyebrow.'
 			'"Nude?" you silently ask yourself. Still, it might be worth considering if it pays that much. "I don''t know... Maybe... How would I get started? Is there a modelling agency or something?"'
-			'She grins at your reply. "Yes, it''s located in the city centre." She then explains precisely where it is and to let the photographer know she sent you.'
+			'She grins at your reply. "Yes, it''s located in the city center." She then explains precisely where it is and to let the photographer know she sent you.'
 			act 'Thanks':gt 'anush_bedroom','anushroom'
 			if fakepassport ! 1:
 				act 'Underaged?':

+ 1 - 1
locations/anush_bedroom_city.qsrc

@@ -72,7 +72,7 @@ if $ARGS[0] = 'anushroom':
 	gs 'stat'
 	'<center><h4><font color="maroon">Anushka''s Room</font></h4></center>'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/anushapt/anushroom.jpg"></center>'
-	'The room is clean, even more so than her room back in Pavlovsk, it reminds you a lot of her old room, a few new posters, slightly bigger and looks a little more adult but otherwise pretty much the same. The walls are covered with pictures and posters of <a href="exec:gt ''anush_bedroom_city'',''the_pretty_reckless''">bands</a> or famous models, girls and guys, while the room is skillfully decorated with various strings of coloured lights. In the centre of the room, beneath the window, is a <a href="exec:gt ''anush_bedroom_city'',''bed''">bed</a> with a small <a href="exec:gt ''anush_bedroom_city'',''night_stand''">nightstand</a> beside it.'
+	'The room is clean, even more so than her room back in Pavlovsk, it reminds you a lot of her old room, a few new posters, slightly bigger and looks a little more adult but otherwise pretty much the same. The walls are covered with pictures and posters of <a href="exec:gt ''anush_bedroom_city'',''the_pretty_reckless''">bands</a> or famous models, girls and guys, while the room is skillfully decorated with various strings of coloured lights. In the center of the room, beneath the window, is a <a href="exec:gt ''anush_bedroom_city'',''bed''">bed</a> with a small <a href="exec:gt ''anush_bedroom_city'',''night_stand''">nightstand</a> beside it.'
 	*nl
 	'Against the opposite wall are a small computer desk, a <a href="exec:gt ''anush_bedroom_city'',''computer''">laptop</a> and a chair. Next to the desk is a <a href="exec:gt ''anush_bedroom_city'',''nushdresser''">dresser</a> with a decent sized flatscreen TV sitting on top of it. On the other side of the desk is a bookshelf with a relatively large collection of books. Hanging on the wall next to the shelves is an <a href="exec:gt ''anush_bedroom_city'',''guitar''">acoustic guitar</a> with an electric guitar right beside it. A skateboard is also leaning against one of the other walls next to the <a href="exec:gt ''anush_bedroom_city'',''nushcloset''">closet door</a>, along with some rollerblades in the corner.'
 	act 'Leave Anushka''s room': gt 'anushapt_city','hallway'

+ 9 - 5
locations/ballet_npc.qsrc

@@ -20,7 +20,7 @@ hotcat_rating['A<<npctemp>>'] = 8
 !! mod appearance NPC settings, height in cm, weight in kg
 $npc_haircolour['A<<npctemp>>'] = 'blonde'
 $npc_eyecolour['A<<npctemp>>'] = 'blue'
-$npc_height['A<<npctemp>>'] = 170
+$npc_height['A<<npctemp>>'] = 160
 $npc_weight['A<<npctemp>>'] = 50 
 
 !! NPC Temp: 3502 - Kima
@@ -83,12 +83,16 @@ $npc_nickname['A<<npctemp>>'] = 'Bronya '
 $npc_lastname['A<<npctemp>>'] = 'Volkova'
 $npc_usedname['A<<npctemp>>'] = 'Bronya'
 
-!! NPC temp: 3514 - Physio - 
+!! NPC temp: 3514 - Physio - Pelageya Makarova
  
-!! Make up teacher: No name, the teacher never bothers to tell the class after a week. Former stage make up artist, beautician and scatterbrained.
+!! Make up teacher: Rada Egorova, the teacher never bothers to tell the class after a week. Former stage make up artist, beautician and scatterbrained.
+
+!! Staff Physio -  Syuzanna Zakharova / Klavdii Frolov (Klavdii is a pun)
+!! Mistress of Ballet - Zarya Popova
+
+!! Names f: Boleslava Grigoreva, Esfir Mikhaylova, Gavriila Makarova (warrior),Yustina Vinogradova
+!! Names m: Ipatiy Novikov, Venedikt Sorokin, Ony Volkov, Kazimir Sokolov
 
-!! Staff Physio - TBC
-!! Mistress of Ballet - TBC
 --- ballet_npc ---------------------------------
 
 

+ 271 - 32
locations/ballet_secrets.qsrc

@@ -1,74 +1,313 @@
 # ballet_secrets
-
 !! Author: Hooded Silence
-!! A dance shop which includes ballet, gymnastics and physio-therapy sources. Alternative path to ballet career in second year and first.
+!! Date Created: Nov, 2023
+!! Version: .01
+!! Author: Hooded Silence
+!! A dance shop which includes ballet, gymnastics and physio-therapy sources. Alternative path to ballet or dance career in second year and first.
 !! TBC - NPCs to be created
 
+$default_img_path = 'locations/pushkin/ballet_secrets/'
+
 if $ARGS[0] = 'init':
   *clr & cla
   gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
   $location_type = 'public_indoors'
   $setloc['StageTitle'] = 'Ballet Secrets'
-  $setloc['StageImage'] =  'pushkin/ballet_secrets'
+  $setloc['StageImage'] =  '<<$default_img_path>>ballet-shop-window'
   $location_type = 'public_indoors'
   gs 'themes', 'indoors'
   gs 'core_library', 'stage_title'
 
+  if week < 7 and hour >= 9 and hour <= 17:
+    'You enter the shop and greeted by a riot of displays showcasing ballet and other dance equipment. A woman is sewing something in the corner and glances at you before continuing.'
+    if balletqw['ballet_secrets'] = 1:
+      act 'Approach the woman': gt $loc, 'first_visit'
+    else
+      act 'Enter studio area': gt $loc, 'reception'
+      !! act 'Talk to assistant':
+      !! act'Look at equipment'
+      !! act 'look at dance wear'
+      act 'Leave shop': gt 'pushkin_sq'
+    end
+  else
+    'You look at the shop window and realise it''s closed, there is a security door to the left of you that allows you access the studio areas if you are a member.'
+    if balletqw['membership'] >= daystart:
+      act 'Swipe membership card': gt $loc, 'membership'
+    end
+  end
+
 end
 
 !! Intro
 
 if $ARGS[0] = 'first_visit':
+  balletqw['ballet_secrets_visit'] = 1
+  balletqw['shoe_order'] = daystart + 14
+  $setloc['StageImage'] =  '<<$default_img_path>>ballet_secrets_fitting_1'
+  minut += 60
+  gs 'core_library', 'stage_title'
+  gs 'stats'
+
+  'You are greeted by a middle aged woman. "Hello, how may I help you?" She askes politely.'
+  '"Hello, I am <<$pcs_firstname>> <<$pcs_lastname>>. I am part of the ballet school intake." you give her a smile and hand over the schools letter as proof.'
+  'The woman smiles warmly, "Ah you are the new students for this year?" she claps her hands and then takes yours, "Come, come we must measure your feet and order your shoes"'
+  'Before you say anything she''s dragging you through the shop towards the back we are are greeted by a wall of shoes and there is pictures on the wall signed by dancers with shoes next to them. You look at the woman.'
+  '"Yes, they are all dancers who are or have been clients of our establishment", she noticed your gaze and explains with pride."We will only provide the best for the school."'
+  !! Set up gate for sponsored or not, not implemented system needs to be added to the end of year assessment.
+  '"But where are my manners I am Darya Pushkina, I am the owner of this shop and facilies" she exclaims, "now to your fitting grabbing a tape measure and fitting tools for your feet"'
+  'For the next hour Madam Pushkina bombards you with questions of whether you want leather or cotton fabric, how many satin shoes and a myriad other questions before she finally relents.'
+  '"Of course as you are aware the school is sponsoring these costs, but only for the first year she says and you will need to manage your own equipment after this.", Madame Pushkina advises.'
+  '"Is there anything else you neeed? No? Good, I will see you again in two weeks for your final shoe fitting. I would like to extend my congratulations and wish you a successful career Ms. <<$pcs_lastname>>."'
+  act 'Leave': gt 'pushkin_sq'
+  act 'Return to shop': gt $loc, 'init'
+  
+
 end
 !! Services
-  !! Gymnastics
-  if $ARGS[0] = 'gymnastics':
-    gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
-    $location_type = 'public_indoors'
-    $setloc['StageTitle'] = 'Ballet Secrets - Gymnastics Class'
-    $setloc['StageImage'] =  'pushkin/ballet_secrets'
-    $location_type = 'public_indoors'
-    gs 'themes', 'indoors'
-    gs 'core_library', 'stage_title'
+
+!! Sports Area - Req Membership card
+
+if $ARGS[0] = 'reception':
+  gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
+  $location_type = 'public_indoors'
+  $setloc['StageTitle'] = 'Ballet Secrets - Reception'
+  $setloc['StageImage'] =  '<<$default_img_path>>reception'
+  $location_type = 'public_indoors'
+  gs 'themes', 'indoors'
+  gs 'core_library', 'stage_title'
+
+  'As you enter you are greeted warmly by the gym staff. The gym has an industrial feel reflecting the buildng being converted from an old factory.'
+
+  'There is a <a href="exec: gt ''food'', ''watercooler''">drinking fountain</a> near the doors to the gym hall to refill your water bottle.'
+ 
+
+  act 'Return to shop': gt $loc, 'init'
+  act 'Changing rooms': gt $loc, 'changing_room'
+  !! if membership not active:
+  if balletqw['membership'] = 0 or balletqw['membership'] < daystart:
+    act 'Discuss membership': gt $loc, 'enrol'
+  elseif hour <= 15 and $clothingworntype = 'danilovich_outfits' and $shoeworntype = 'danilovich' and pcs_stam >= stammax / 5 and pcs_energy >= 20:
+    !! link to services:
+    !! if membership active
+    !! act 'Attend Physio': gt $loc, 'physio'
+    !! act 'Attend a gymnastics class.': gt $loc, 'gymnastics_courses'
+    !! act 'Attend a dance class': gt $loc, 'ballet_courses'
+    act 'Attend a yoga class': gt $loc, 'yoga_courses'
+  elseif hour >= 16:
+    'All the evening classes have started today, you need to be here before 16:00 to ensure you can attend.'
   end
-  !! Ballet Courses Easy, Intermediate and advanced
-  if $ARGS[0] = 'ballet_courses':
-    gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
-    $location_type = 'public_indoors'
-    $setloc['StageTitle'] = 'Ballet Secrets - Courses'
-    $setloc['StageImage'] =  'pushkin/ballet_secrets'
-    $location_type = 'public_indoors'
-    gs 'themes', 'indoors'
-    gs 'core_library', 'stage_title'
+end
+if $ARGS[0]= 'enrol':
+  
+	$epayments['method'] = ''
+	$epayments['item_variable'] = ''
+	$epayments['description'] = 'gym facilities access'
+	$epayments['loc'] = 'ballet_secrets'
+	$epayments['loc_arg'] = 'reception'
+	$epayments['banner']= 'locations/<<$default_img_path>>reception.jpg'
+  gs 'core_library', 'stage_title'
+
+  if balletqw['membership'] = 0:
+    'You approach the reception to discuss membership to the gym.'
+  elseif balletqw['membership'] ! 0:
+    'You approach the reception to renew your membership.'
   end
-  !! Physiotherapy
-  if $ARGS[0] = 'physio':
-    gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
-    $location_type = 'public_indoors'
-    $setloc['StageTitle'] = 'Ballet Secrets - Physio'
-    $setloc['StageImage'] =  'pushkin/ballet_secrets'
-    $location_type = 'public_indoors'
-    gs 'themes', 'indoors'
-    gs 'core_library', 'stage_title'
+  act 'Return to the studio entrance': gt $loc, 'reception'
+
+  'The gym offers a weekly or monthly subscription for of 1,500<b> ₽</b>  or 5,000<b> ₽</b> respectively to use the facilities with some courses included. Physio appointments are charged seperately.'
+  'The subscriptions includes classes in gymnastics, yoga and introductory ballet. For advanced classes there is an additional instructor charge. A physical trainer is on hand to assist at all times if you so need one.'
+  'We also have a small café which attracts a members discount and your membership card can purchase items directly from the vending machine which will be billed to your account.'
+
+  if money >= 5000 or karta + bankDebtLimit >= 5000:
+    '<td> <a href="exec: epayments[''value''] = 5000 & balletqw[''membership''] = daystart + 30  & gs ''shortgs'',''payments'' ">Purchase a monthly subscription for 5,000<b> ₽</b></a></td>'
   end
+  if money >= 1500 or karta + bankDebtLimit >= 1500:
+    '<td> <a href="exec: epayments[''value''] = 1500 & balletqw[''membership''] = daystart + 7  & gs ''shortgs'',''payments'' ">Purchase a weekly subscription for 1,500<b> ₽</b></a></td>'
+	end
+end
+
+if $ARGS[0] = 'changing_room':
+  menu_off = 0
+  gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
+	$location_type = 'private'
+	$locclass = 'changingroom'
+  gs 'themes', 'indoors'
+  '<center><h2>Changing Room</h2></center>'
+	'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/locker.jpg"></center>'
+
+  act 'Return to the studio reception': gt $loc, 'reception'
+  if mc_inventory['shampoo'] > 0:
+		act 'Take a shower (0:15)':
+			cla
+			*clr
+			menu_off = 1
+			minut += 15
+			pcs_horny += 1
+			pcs_hairbsh = 0
+			pcs_makeup = 1
+			if pcs_inhib < 15:inhib_exp += rand(1,2)
+			dynamic $showerdin
+			'<center><video autoplay loop src="images/shared/home/bathroom/dush.mp4"></video></center>'
+			'You go into the bathroom and turn on the shower. You lather your body and wash in the shower.'
+			if deodorant_on = 1: gs 'sweat', 'remove_deo' & '<br>Your deodorant gets washed away in the shower.'
+
+			act 'Get out of the shower':gt $loc, 'changing_room'
+
+		end
+	else
+		'<font color="red">You''ve run out of shampoo and will have to buy some more before you can wash yourself.</font>'
+	end
+
+	act 'Use mirror':
+		cla
+		gt 'mirror', 'start'
+	end
+
+	act 'Change outfit':
+		cla
+		gt 'wardrobe', 'start'
+	end
+
+	gs 'wardrobe', 'default_sport_options'
+
+  if mc_inventory['deodorant'] > 0 and deodorant_on = 0:
+		'Your deodorant will last you for <b><<mc_inventory[''deodorant'']>></b> more '+iif(mc_inventory['deodorant'] =  1, 'application.', 'applications.')
+		act 'Apply deodorant (0:01)':
+			*clr & cla
+			menu_off = 1
+			minut += 1
+			mc_inventory['deodorant'] -=  1
+			gs 'sweat', 'deo'
+			iif(func('body_din','pregnancyVisibility') = 1, '<center><img <<$set_imgh>> src="images/shared/home/bathroom/deodorant_preg.jpg"></center>', '<center><img <<$set_imgh>> src="images/shared/home/bathroom/deodorant.jpg"></center>')
+			'You apply deodorant to your armpits. It will keep you feeling fresh and clean for longer.'
+			act 'Continue': menu_off = 0 & gt $loc, $loc_arg
+		end
+	end
+	dynamic $tampon
+  
+end
+
+!! Physiotherapy
+if $ARGS[0] = 'physio':
+  gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
+  $location_type = 'public_indoors'
+  $setloc['StageTitle'] = 'Ballet Secrets - Physio'
+  $setloc['StageImage'] =  '<<$default_img_path>>physio'
+  $location_type = 'public_indoors'
+  gs 'themes', 'indoors'
+  gs 'core_library', 'stage_title'
+
+  !! write attendance spiel 
+  act 'Leave': gt 'pushkin_sq'
+end
+
+!! Gymnastics
+
+if $ARGS[0] = 'gymnastics_courses':
+  gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
+  $location_type = 'public_indoors'
+  $setloc['StageTitle'] = 'Ballet Secrets - Gymnastics Class'
+  $setloc['StageImage'] =  '<<$default_img_path>>gymnastics'
+  $location_type = 'public_indoors'
+  gs 'themes', 'indoors'
+  gs 'core_library', 'stage_title'
+
+  !! write attendance spiel and some random reactions for post-exercise such that was a great workout, you didn''t feel you did well today
+  act 'Leave': gt 'pushkin_sq'
+end
+
+!! Ballet Courses Easy, Intermediate and advanced
+if $ARGS[0] = 'ballet_courses':
+  gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
+  $location_type = 'public_indoors'
+  $setloc['StageTitle'] = 'Ballet Secrets - Courses'
+  $setloc['StageImage'] =  '<<$default_img_path>>ballet_class'
+  $location_type = 'public_indoors'
+  gs 'themes', 'indoors'
+  gs 'core_library', 'stage_title'
+end
+
+  !! Gymnastics
+
+if $ARGS[0] = 'yoga_courses':
+  gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
+  $location_type = 'public_indoors'
+  $setloc['StageTitle'] = 'Ballet Secrets - Yoga Class'
+  $setloc['StageImage'] =  '<<$default_img_path>>yoga_class'
+  $location_type = 'public_indoors'
+  gs 'themes', 'indoors'
+  gs 'core_library', 'stage_title'
+  if balletqw['yoga_session'] ! daystart:
+    act 'Attend Yoga Class':
+      cla
+      balletqw['yoga_session'] = daystart
+      lesson_tier = rand(1,3)
+      if lesson_tier = 1:
+        gs 'exercise', 'tier1', 60, 'sprt', 'agil'
+      'You spend sixty minutes in an easy going class today, leaving you feeling refreshed and ready to face the world again.'
+      elseif lesson_tier = 2:
+
+
+        'You spend sixty minutes with your instructor today correcting your poses and providing advice on how you can improve, leaving you feeling tired and some muscle aches from the exercises.'
+        gs 'exercise', 'tier2', 60, 'sprt', 'agil'
+      else 
+        gs 'exercise', 'tier3', 60, 'sprt', 'agil', 'stren'
+        'Today''s sixty minutes was challenging with the instructor taking the class through some of the more demanding positions. Leaving many of your yoga buddies look more than a little bit ragged after todays session.'
+      end
+      pcs_willpwr += rand(1,lesson_tier)
+        !! Set minor pain to reflect exercising
+
+      gs 'pain', 2, 'legL', 'stretch'
+      gs 'pain', 2, 'legR', 'stretch'
+      gs 'pain', 2, 'shoulders', 'stretch'
+      gs 'pain', 2, 'armL', 'stretch'
+      gs 'pain', 2, 'armR', 'stretch'
+      gs 'pain', 2, 'back', 'stretch'
+      gs 'pain', 2, 'chest', 'stretch'
+
+      killvar 'lesson_tier'
+      act 'Return to the studio reception': gt $loc, 'reception'
+    end
+  else 
+    'There is another fitness class in progress and no more yoga sessions today.'
+  end
+  act 'Return to the studio reception': gt $loc, 'reception'
+end 
+
 !! Shopping
 if $ARGS[0] = 'clothing':
   gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
   $location_type = 'public_indoors'
   $setloc['StageTitle'] = 'Ballet Secrets - Dancewear'
-  $setloc['StageImage'] =  'pushkin/ballet_secrets'
+  $setloc['StageImage'] =  '<<$default_img_path>>sports_shop'
   $location_type = 'public_indoors'
   gs 'themes', 'indoors'
   gs 'core_library', 'stage_title'
+  act 'Leave': gt 'pushkin_sq'
 end
+
 !! Custom Tutus for quests/shows, ballet shoe fitting, clothing, physio items, portable ballet equipment (barre) etc.
 if $ARGS[0] = 'quest':
   gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
   $location_type = 'public_indoors'
   $setloc['StageTitle'] = 'Ballet Secrets'
-  $setloc['StageImage'] =  'pushkin/ballet_secrets'
+  $setloc['StageImage'] =  '<<$default_img_path>>quest'
+  $location_type = 'public_indoors'
+  gs 'themes', 'indoors'
+  gs 'core_library', 'stage_title'
+  act 'Leave': gt 'pushkin_sq'
+end
+
+if $ARGS[0] = 'food':
+  gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0] 
+  $location_type = 'public_indoors'
+  $setloc['StageTitle'] = 'Food Court'
+  $setloc['StageImage'] =  '<<$default_img_path>>food_court'
   $location_type = 'public_indoors'
   gs 'themes', 'indoors'
   gs 'core_library', 'stage_title'
+
+  'There is a small area set aside for vending machines to provide drinks and food. '
+  act 'Leave': gt 'pushkin_sq'
 end
 --- ballet_secrets ---------------------------------

+ 1 - 1
locations/carF.qsrc

@@ -95,7 +95,7 @@ if $ARGS[0] = 'salon':
 	if cardrive = 4:'Through the windshield, you see the lake.'
 	if cardrive = 5:'Through the windshield, you can see the park.'
 	if cardrive = 6:'Through the windshield, you can see the gas station in the city industrial region.'
-	if cardrive = 7:'Through the windshield, you can see the car service centre.'
+	if cardrive = 7:'Through the windshield, you can see the car service center.'
 	if cardrive = 8:'Through the windshield, you see your house in St. Petersburg''s residential area.'
 	if cardrive = 9:'Through the windshield, you can see many of the cars for sale outside the showroom.'
 	if cardrive = 10:'Through the windshield, you can see hookers outside the park.'

+ 2 - 2
locations/city_hermitage.qsrc

@@ -1,5 +1,5 @@
 # city_hermitage
-!Please add a blue underlined link on the St. Petersburg city centre page as below for the State Hermitage Museum
+!Please add a blue underlined link on the St. Petersburg city center page as below for the State Hermitage Museum
 !Please add 1 intelligence point and 5 mood points for each visit
 
 if $ARGS[0] = 'start':
@@ -19,7 +19,7 @@ if $ARGS[0] = 'start':
 		'Of the six buildings in the main museum complex, five, being the Winter Palace, Small Hermitage, Old Hermitage, New Hermitage, and Hermitage Theatre are all open to the public.'
 		'You approach the visitors entrance which is located in the Winter Palace.'
 	end
-	act 'Return city centre': gt 'city_center'
+	act 'Return city center': gt 'city_center'
 	if hour >= 8 and hour <= 17:
 		act 'View The Golden Peacock (90 mins)': gt 'city_hermitage', 'peacock'
 		act 'View Catherine The Great''s art collection (90 mins)': gt 'city_hermitage', 'art'

+ 2 - 2
locations/city_industrial.qsrc

@@ -103,9 +103,9 @@ if $ARGS[0] = '':
 		'Next to the car dealership is a repair shop.' + iif(week = 7, 'It''s closed on Sundays.', 'It will be open between 09:00 and 20:00.') + iif(car > 0 and cardrive = 7, ' Your <<$car>> is currently locked inside.', '')
 	end
 	if hour >= 9 and hour < 17 and week < 6:
-		'The <a href="exec: minut += 5 & gt ''dk'', ''start''">community centre</a> is currently open.'
+		'The <a href="exec: minut += 5 & gt ''dk'', ''start''">community center</a> is currently open.'
 	else
-		'The community centre is currently closed. It''s only open during the week between 09:00 and 17:00.'
+		'The community center is currently closed. It''s only open during the week between 09:00 and 17:00.'
 	end
 
 	if hour >= 9 and hour <= 17 and (mid($start_type,1,2) ! 'sg' or SchoolAtestat = 0) or bumtolik > 3: 

+ 13 - 124
locations/city_industrial_train.qsrc

@@ -16,8 +16,8 @@ if $ARGS[0] = 'inside':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/vokzalholle.jpg" ></center>'
 	act 'Leave the station': minut += 2 & gt 'city_industrial_train', 'outside'
 	*nl
-	if Trainpass_day > daystart:
-		'You have <<Trainpass_day - daystart>> days left on your train pass.'
+	if transportVars['trainpass_day'] > daystart:
+		func('transport_functions', 'display_trainpass_time')
 		act 'Go to the platforms': gt 'city_industrial_train', 'platform'
 	else
 		act 'Go to the ticket office': minut += 1 & gt 'city_industrial_train', 'ticket'
@@ -56,9 +56,9 @@ if $ARGS[0] = 'outside':
 
 	'There is a path leading off in to the distance, in the direction of the <a href="exec:minut += 60 & gt ''city_lake'', ''start''">lake</a>.'
 
-	act 'Walk to the City Industrial Region': minut += 15 & gt'city_industrial'
-	act 'Walk to the lake': minut += 60 & gt'city_lake', 'start'
-	act 'Enter the station building': minut += 2 & gt'city_industrial_train', 'inside'
+	act 'Walk to the City Industrial Region': minut += 15 & gt 'city_industrial'
+	act 'Walk to the lake': minut += 60 & gt 'city_lake', 'start'
+	act 'Enter the station building': minut += 2 & gt 'city_industrial_train', 'inside'
 end
 
 if $ARGS[0] = 'platform':
@@ -75,14 +75,11 @@ if $ARGS[0] = 'platform':
 
 	act 'Return to the station': minut += 5 & gt 'city_industrial_train', 'inside'
 	
-	if Trainpass_day > daystart:
-		act 'Take a train to the city center': gt 'city_industrial_train', 'centre'
-		
-		act 'Take a train to the old platform by the communal village': gt 'city_industrial_train', 'communal'
-		
-		act 'Take a train to the village of Gadukino': gt 'city_industrial_train', 'village'
-		
-		act 'Take a train to Pavlovsk': gt 'city_industrial_train', 'pavlovsk'
+	if transportVars['trainpass_day'] > daystart:
+		act 'Take a train to the city center (<<func(''transport_functions'', ''display_train_timecost'', ''ind'', ''center'')>>)': gt 'train', 'ind_center'
+		act 'Take a train to the old platform by the communal village (<<func(''transport_functions'', ''display_train_timecost'', ''ind'', ''communal'')>>)': gt 'train', 'ind_communal'
+		act 'Take a train to the village of Gadukino (<<func(''transport_functions'', ''display_train_timecost'', ''ind'', ''village'')>>)': gt 'train', 'ind_village'
+		act 'Take a train to Pavlovsk (<<func(''transport_functions'', ''display_train_timecost'', ''ind'', ''pavlovsk'')>>)': gt 'train', 'ind_pavlovsk'
 	end
 end
 
@@ -132,125 +129,17 @@ if $ARGS[0] = 'ticket':
 		end
 	end
 
-	if money >= 1500 and Trainpass_day <= daystart:
-		act 'Buy a weekly pass  (7 days - 1500 <b>₽</b>) ':
-			cla
-			money -= 1500
-			Trainpass_day = daystart + 7
-			act 'Return': gt 'city_industrial_train', 'inside'
-		end
-	end
-
-	if money >= 5500 and Trainpass_day <= daystart:
-		act 'Buy a monthly pass (30day -  5500 <b>₽</b>)':
-			cla
-			money -= 5500
-			Trainpass_day = daystart + 30
-			act 'Return': gt 'city_industrial_train', 'inside'
-		end
-	end
+	gs 'transport_functions', 'buy_train_pass'
 end
 
-if $ARGS[0] = 'buy_ticket':	
+if $ARGS[0] = 'buy_ticket':
 	$menu_loc = 'city_industrial_train'
 	$menu_arg = 'buy_ticket'
 	menu_off = 0
 	
 	act 'Leave the ticket office': gt 'city_industrial_train', 'inside'
-	
-	if money >= 50:
-		act 'Buy a ticket to the city center (50 <b>₽</b>)':
-			money -= 50
-			gt 'city_industrial_train', 'centre'
-		end
-	end
-
-	if money >= 50:
-		act 'Buy a ticket to the old platform by the communal village (50 <b>₽</b>)':
-			money -= 100
-			gt 'city_industrial_train', 'communal'
-		end
-	end
 
-	if money >= 75:
-		act 'Buy a ticket to the village of Gadukino (75 <b>₽</b>)':
-			money -= 75
-			gt 'city_industrial_train', 'village'
-		end
-	end
-
-	if money >= 125:
-		act 'Buy a ticket to Pavlovsk (125 <b>₽</b>)':
-			money -= 125
-			gt 'city_industrial_train', 'pavlovsk'
-		end
-	end
-end
-
-if $ARGS[0] = 'centre':
-	$loc = 'city_train'
-	$loc_arg = 'start'
-	menu_off = 1
-	*clr & cla
-	minut += 5
-	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/electri_' + rand(1,5) + '.jpg"></center>'
-	'You pay for the ticket and board the next train going to the city center.'
-	'After 5 minutes, you see the office blocks and shops at the heart of the city. The train stops at its final destination, the busy station in the city center.'
-
-	act 'Get off the train at this station':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'city_train', 'start'
-	end
-end
-
-if $ARGS[0] = 'communal':
-	$loc = 'train'
-	$loc_arg = 'communal'
-	menu_off = 1
-	minut += 10
-	if rand(1, 100) < 20: gt 'train', 'events'
-	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
-	'After 10 minutes you arrive at an old railway platform near the communal village.'
-	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'train', 'communal'
-	end
-end
-
-if $ARGS[0] = 'village':
-	$loc = 'train'
-	$loc_arg = 'village'
-	menu_off = 1
-	minut += 20
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) < 20: gt 'train', 'events'
-	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
-	'After 20 minutes, the train stops at the small station near the village of Gadukino.'
-	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'train', 'village'
-	end
-end
-
-if $ARGS[0] = 'pavlovsk':
-	$loc = 'pav_train_hall'
-	$loc_arg = 'platform'
-	menu_off = 1
-	minut += 35
-	if rand(1, 100) < 15: gt 'train', 'private'
-	if rand(1, 100) < 30: gt 'train', 'Gopnik'
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
-	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
-	'After 35 minutes, you see the town of Pavlovsk approaching. Pavlovsk Castle is an impressive sight, even from a long distance. The train stops at its final destination, a platform in Pavlovsk station.'
-	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'pav_train_hall'
-	end
+	gs 'transport_functions', 'buy_train_ticket', 'ind'
 end
 
 --- city_industrial_train ---------------------------------

+ 9 - 132
locations/city_train.qsrc

@@ -11,15 +11,15 @@ if $ARGS[0] = 'start':
 	gs'stat'
 	'<center><B>City center railway station</B></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/trainstation/central_station_inside.jpg"></center>'
-	'The grand old station in the city centre is an impressive building. It is busy and has a number of shops and bars as well as all the platforms and trains. '
+	'The grand old station in the city center is an impressive building. It is busy and has a number of shops and bars as well as all the platforms and trains. '
 	*nl
 	if car > 0 and cardrive = 2:
 		'In the parking lot is <a href="exec:GS ''carF'',''start''">your <<$car>></a>.'
 	end
 
 	act 'Walk to the city center (0:05)':minut += 5 & gt 'city_center'
-	if Trainpass_day > daystart:
-		'You have <<Trainpass_day - daystart>> days left on your train pass.'
+	if transportVars['trainpass_day'] > daystart:
+		func('transport_functions', 'display_trainpass_time')
 		act 'Go to the platforms': gt 'city_train', 'platform'
 	else
 		act 'Go to the ticket office': gt 'city_train', 'tickets'
@@ -42,25 +42,7 @@ if $ARGS[0] = 'tickets':
 		gs 'city_train', 'buy_ticket'
 	end
 
-	if money >= 1500 and Trainpass_day <= daystart:
-		act 'Buy a weekly pass  (7 days - 1500 <b>₽</b>) ':
-			cla
-			menu_off = 1
-			money -= 1500
-			Trainpass_day = daystart + 7
-			act 'Return': gt 'city_train', 'start'
-		end
-	end
-
-	if money >= 5500 and Trainpass_day <= daystart:
-		act 'Buy a monthly pass (30day -  5500 <b>₽</b>)':
-			cla
-			menu_off = 1
-			money -= 5500
-			Trainpass_day = daystart + 30
-			act 'Return': gt 'city_train', 'start'
-		end
-	end	
+	gs 'transport_functions', 'buy_train_pass'
 end
 
 if $ARGS[0] = 'buy_ticket':
@@ -69,42 +51,8 @@ if $ARGS[0] = 'buy_ticket':
 	menu_off = 0
 	
 	act 'Leave the ticket office': minut += 1 & gt 'city_train', 'start'
-	
-	act 'Buy a ticket to the city industrial area (50 <b>₽</b>)':
-		if money >= 50:
-			money -= 50
-			gt 'city_train', 'ind'
-		else
-			'You don''t have enough money for this ticket.'
-		end
-	end
-
-	act 'Buy a ticket to the old platform by the communal village (75 <b>₽</b>)':
-		if money >= 75:
-			money -= 75
-			gt 'city_train', 'communal'
-		else
-			'You don''t have enough money for this ticket.'
-		end	
-	end
-
-	act 'Buy a ticket to the village of Gadukino (100 <b>₽</b>)':
-		if money >= 100:
-			money -= 100
-			gt 'city_train', 'village'
-		else
-			'You don''t have enough money for this ticket.'	
-		end
-	end
 
-	act 'Buy a ticket to Pavlovsk (150 <b>₽</b>)':
-		if money >= 150:
-			money -= 150
-			gt 'city_train', 'pavlovsk'
-		else
-			'You don''t have enough money for this ticket.'		
-		end
-	end
+	gs 'transport_functions', 'buy_train_ticket', 'center'
 end
 
 if $ARGS[0] = 'platform':
@@ -118,81 +66,10 @@ if $ARGS[0] = 'platform':
 
 	act 'Return to the station hall':gt 'city_train', 'start'
 	
-	act 'Take a train to the city industrial area': gt 'city_train', 'ind'
-
-	act 'Take a train to the old platform by the communal village': gt 'city_train', 'communal'
-
-	act 'Take a train to the village of Gadukino': gt 'city_train', 'village'
-
-	act 'Take a train to Pavlovsk': gt 'city_train', 'pavlovsk'
-end
-
-if $ARGS[0] = 'ind':
-	$loc = 'city_industrial_train'
-	$loc_arg = 'platform'
-	menu_off = 1
-	minut += 5
-	gs 'stat'
-	if rand(1, 100) < 15: gt 'train', 'private'
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
-	'After 5 minutes, the train stops at the St. Petersburg city industrial area station.'
-	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'city_industrial_train', 'platform'
-	end
-end
-
-if $ARGS[0] = 'communal':
-	$loc = 'train'
-	$loc_arg = 'communal'
-	menu_off = 1
-	minut += 15
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
-	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
-	'After 15 minutes you arrive at an old railway platform near the communal village.'
-	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'train', 'communal'
-	end
-end
-
-if $ARGS[0] = 'village':
-	$loc = 'train'
-	$loc_arg = 'village'
-	menu_off = 1
-	minut += 25
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
-	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
-	'After 25 minutes, the train stops at the small station near the village of Gadukino.'
-	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'train', 'village'
-	end
-end
-
-if $ARGS[0] = 'pavlovsk':
-	$loc = 'pav_train_hall'
-	$loc_arg = 'platform'
-	menu_off = 1
-	minut += 40
-	if rand(1, 100) < 15: gt 'train', 'private'
-	if rand(1, 100) < 30: gt 'train', 'Gopnik'
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
-	gs 'stat'
-	if train_event = 0 and rand(1, 100) < 20: gt 'train', 'events'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
-	'After 40 minutes, you see the town of Pavlovsk approaching. Pavlovsk Castle is an impressive sight, even from a long distance. The train stops at its final destination, a platform in Pavlovsk station.'
-	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'pav_train_hall'
-	end
+	act 'Take a train to the city industrial area (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''ind'')>>)': gt 'train', 'city_ind'
+	act 'Take a train to the old platform by the communal village (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''communal'')>>)': gt 'train', 'city_communal'
+	act 'Take a train to the village of Gadukino (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''village'')>>)': gt 'train', 'city_village'
+	act 'Take a train to Pavlovsk (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''pavlovsk'')>>)': gt 'train', 'city_pavlovsk'
 end
 
 --- city_train ---------------------------------

+ 1 - 1
locations/emp_functions.qsrc

@@ -389,7 +389,7 @@ if $ARGS[0] = 'cat_evt':
 	evt_wages[] = transient_evt_wages
 	!! Journal location as reminder
 	$evt_journal[] = $transient_journal
-	!! The following are event location triggers to allow the content to appear in areas such as community centre but host their content elsewhere such as Photography shop
+	!! The following are event location triggers to allow the content to appear in areas such as community center but host their content elsewhere such as Photography shop
 	!! 	Event area triggers such as city_residential
 	$evt_loc[] = $transient_loc
 	$evt_loc_arg[] = $transient_arg 

+ 2 - 2
locations/gadukino.qsrc

@@ -125,7 +125,7 @@ if $ARGS[0] = '':
 
 		!Looks like no reference to Gadmarket exists. Adding it...FinnMacha
 		*nl
-		'In the centre of the village is a small grass-covered square where villagers gather to meet and discuss or argue about politics or village life.'
+		'In the center of the village is a small grass-covered square where villagers gather to meet and discuss or argue about politics or village life.'
 		'Near the square sits the old <a href="exec: minut += 3 & gt ''gad_church'',''start''">chapel</a>, it is not in the best shape, but it appears well-loved.'
 		if hour >= 8 and hour < 20:
 			'One of the buildings facing the square has a sign saying, <a href="exec: minut += 5 & gt ''gadmarket''">General Store</a>. A sign on the door proclaims it "OPEN". It looks like the only place in the village to buy goods.'
@@ -315,7 +315,7 @@ if $ARGS[0] = 'mira_events':
 			gs 'stat'
 			'<center><img <<$set_imgh>> src="images/characters/gadukino/mira/mira.jpg"></center>'
 			'You decide to lend a hand to help the girl with the calf. You are lonely in the village, and maybe this girl, if you get to know her, could make your trips to Gadukino less boring. You walk over to the girl, introduce yourself, and ask if she wants help. She nods and resumes pulling on the rope while you walk over behind the calf and give it a load slap on the rump. The calf is surprised and immediately moves forward away from you. The girl smiles in thanks and tells you her name is Miroslava, but everyone calls her Mira.'
-			'Together you can guide the calf back into its pen. Mira turns out to be quite a sociable girl and conversationalist. You learn that her family was recently forced to move to the village from the city. Her father''s substantial gambling debts to some questionable men forced him to sell the family''s property in the city to pay them back. Mira is having a rough time adjusting to life in a small village. She misses the apartment in the city centre and the money to buy lovely dresses and makeup. After selling everything and paying off the debt, her father was told to leave the city "or else...".'
+			'Together you can guide the calf back into its pen. Mira turns out to be quite a sociable girl and conversationalist. You learn that her family was recently forced to move to the village from the city. Her father''s substantial gambling debts to some questionable men forced him to sell the family''s property in the city to pay them back. Mira is having a rough time adjusting to life in a small village. She misses the apartment in the city center and the money to buy lovely dresses and makeup. After selling everything and paying off the debt, her father was told to leave the city "or else...".'
 			'They were left relatively poor and could only afford a house in this run-down, dust-covered village.'
 			'You walk with her and chat until you reach her house, which turns out to be just down the road from your grandparents'' place. Mira invites you to come and visit her anytime. She is just as bored in the village as you are.'
 

+ 1 - 1
locations/gopsex.qsrc

@@ -1106,7 +1106,7 @@ if $ARGS[0] = 'hide':
 		if rnd_telogg_text = 10:$rnd_telogg_text = '"What have we here, <<$pcs_nickname>>?! How come they stretch you here so?"'
 		if rnd_telogg_text = 11:$rnd_telogg_text = '"She lost her fear completely, '+func('gopsex','hide','gop_gg_name2')+'!"'
 		if rnd_telogg_text = 12:$rnd_telogg_text = '"She lost her shyness completely, '+func('gopsex','hide','gop_gg_name2')+'!"'
-		if rnd_telogg_text = 13:$rnd_telogg_text = '"How can you shamelessly expose your holes right, left and centre, '+func('gopsex','hide','gop_gg_name2')+'?"'
+		if rnd_telogg_text = 13:$rnd_telogg_text = '"How can you shamelessly expose your holes right, left and center, '+func('gopsex','hide','gop_gg_name2')+'?"'
 		if rnd_telogg_text = 14:$rnd_telogg_text = '"<<$pcs_nickname>>, you are so shameless, '+func('gopsex','hide','gop_gg_name2')+'!"'
 		if rnd_telogg_text = 15:$rnd_telogg_text = '"Oh, <<$pcs_nickname>>, aren''t you sorry for yourself?"'
 		!turnip: whore

+ 1 - 1
locations/gschool_grounds.qsrc

@@ -871,7 +871,7 @@ if $ARGS[0] = 'Family extension':
 				'"<<$pcs_nickname>>, you won! Well done!" your <<$npc_nickname[''A29'']>> shouts as she approaches.'
 				'"Thanks. And thanks for coming too."'
 				'"I know that we have our differences, but I haven''t stopped caring about you and I asked Kolka to let me know if he saw you around as I kept seeing you heading out in your sports gear with your waterbottle and wondered what you were doing." she replies.'
-				'You''re a little lost for words, so your <<$npc_nickname[''A29'']>> continues. "He told me he''s seen you running at the track when the school was closed and training at the community centre, so I asked the coach. Anyway I''m so proud of you! Why didn''t you say something?"'
+				'You''re a little lost for words, so your <<$npc_nickname[''A29'']>> continues. "He told me he''s seen you running at the track when the school was closed and training at the community center, so I asked the coach. Anyway I''m so proud of you! Why didn''t you say something?"'
 				'When you don''t answer, your <<$npc_nickname[''A29'']>> continues. "Come on, get showered and changed and I''ll meet you outside." Anya and Kolka give you a friendly wave and leave.'
 				minut += 4
 				gs 'stat'

+ 1 - 1
locations/gschool_socialchg.qsrc

@@ -325,7 +325,7 @@ if $ARGS[0] = 'nerd':
 		cla & *clr
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/events/joinnerd.jpg"></center>'
 		'You nod your head. "Yes, I would love to hang out with you guys! A game night sounds like a lot of fun."'
-		'They all start speaking at once, excited about you joining them. Feofan then speaks up. "That''s great, <<$pcs_nickname>>! Meet us at the community centre library tonight at 20:00. See you then." Then, they all start leaving and going to class, saying they look forward to seeing you tonight.'
+		'They all start speaking at once, excited about you joining them. Feofan then speaks up. "That''s great, <<$pcs_nickname>>! Meet us at the community center library tonight at 20:00. See you then." Then, they all start leaving and going to class, saying they look forward to seeing you tonight.'
 		
 		!! Used at the first d&d game to se if Sveta is new in the nerd group.
 		if grupTipe['joined_nerds'] = 0: grupTipe['joined_nerds'] = 1

+ 1 - 1
locations/journal_quests.qsrc

@@ -642,7 +642,7 @@ if $start_type['cat'] = 'dancer' or (mod_ballet['letter'] > 0 or balletqw['schoo
 		'You have been a ballerina since a child and you have excelled in your dance class. Your name was put forward for the yearly entrance assessments for the Pushkin Ballet School which are being held during the summer and you are hoping for a invitation to the prestigious Pushkin Ballet Academy to your dream of being a ballerina.'
 	end
 	if 	mod_ballet['letter'] = 1 and balletqw['school'] < 1:
-		'You have accepted the opportunity at the Pushkin Ballet Academy. Transport is provided for the week long course from the Pavlosk Community Centre. '
+		'You have accepted the opportunity at the Pushkin Ballet Academy. Transport is provided for the week long course from the Pavlosk Community Center. '
 		'Departure: 3rd July between 1600 and 1700.'
 		'Ensure you have sufficient toiletries and work on your appearance, physical and dance skills. Note this is a residental school in Pushkin and has strict rules, ensure you have wrapped up any unfinished business before departing.'
 	end

+ 2 - 2
locations/lezbsex.qsrc

@@ -92,7 +92,7 @@ if $ARGS[0] = 'anuli':
 	*clr
 
 	'<center><img <<$set_imgh>> src="images/shared/sex/lesbian/anuli<<picrand>>.jpg"></center>'
-	'She kisses your buttocks in ever-decreasing circles, eventually reaching the centre where your puckered anus is waiting. Reaching her goal, she licks all around the tender star to get it plenty moist, then firmly pushes her tongue forward, penetrating your ass with just the tip. Finally, she retracts it, again licking all around your anus, and repeats her tongue invasion into that most private entrance.'
+	'She kisses your buttocks in ever-decreasing circles, eventually reaching the center where your puckered anus is waiting. Reaching her goal, she licks all around the tender star to get it plenty moist, then firmly pushes her tongue forward, penetrating your ass with just the tip. Finally, she retracts it, again licking all around your anus, and repeats her tongue invasion into that most private entrance.'
 
 	gs 'arousal', 'rimming', 5, 'lesbian'
 	gs 'stat'
@@ -106,7 +106,7 @@ if $ARGS[0] = 'uanuli':
 	*clr
 	
 	'<center><img <<$set_imgh>> src="images/shared/sex/lesbian/uanuli<<picrand>>.jpg"></center>'
-	'You kiss her buttocks in ever-decreasing circles, eventually reaching the centre where her puckered anus is waiting. Reaching your goal, you lick all around the tender star to get it plenty moist, then firmly push your tongue forward, penetrating her ass with just the tip. Finally, you retract it, again licking all around her anus and repeating your tongue invasion into that most private entrance.'
+	'You kiss her buttocks in ever-decreasing circles, eventually reaching the center where her puckered anus is waiting. Reaching your goal, you lick all around the tender star to get it plenty moist, then firmly push your tongue forward, penetrating her ass with just the tip. Finally, you retract it, again licking all around her anus and repeating your tongue invasion into that most private entrance.'
 
 	gs 'arousal', 'rimming_give', 5, 'lesbian'
 	gs 'stat'

+ 1 - 1
locations/ludahome.qsrc

@@ -418,7 +418,7 @@ if $ARGS[0] = 'livingroom':
 	gs 'stat'
 	'<center><b><font color = maroon>Living room</font></b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/ludahome/living.jpg"></center>'
-	'The living room is clean and neat. A couch rests against one wall, with an entertainment centre on the opposite wall holding a relatively decent-sized flat-screen TV and a DVD player. Inside one of the glass doors of the entertainment centre, you see several dozen DVDs.'
+	'The living room is clean and neat. A couch rests against one wall, with an entertainment center on the opposite wall holding a relatively decent-sized flat-screen TV and a DVD player. Inside one of the glass doors of the entertainment center, you see several dozen DVDs.'
 	gs 'family_schedule'
 	if locat['Mother'] = 20 and OluLoc = 5:
 		'Olu is sitting on the couch watching some sports and seems pretty intent on it. When he notices you, he briefly looks up and smiles as you walk back in.'

+ 5 - 5
locations/metro.qsrc

@@ -45,7 +45,7 @@ if $ARGS[0] = 'start':
 	
 	if money >= 16:
 		if $loc ! 'city_residential':
-			act 'Go to the Residential Area (16 <b>₽</b>)':
+			act 'Go to the Residential Area (00:10 - 16 <b>₽</b>)':
 				$loc = 'city_residential'
 				$loc_arg = ''
 				money -= 16
@@ -55,7 +55,7 @@ if $ARGS[0] = 'start':
 		end
 
 		if $loc ! 'city_center':
-			act 'Go to the City Center (16 <b>₽</b>)':
+			act 'Go to the City Center (00:10 - 16 <b>₽</b>)':
 				$loc = 'city_center'
 				$loc_arg = ''
 				money -= 16
@@ -65,7 +65,7 @@ if $ARGS[0] = 'start':
 		end
 
 		if $loc ! 'city_industrial':
-			act 'Go to the City Industrial Region (16 <b>₽</b>)':
+			act 'Go to the City Industrial Region (00:10 - 16 <b>₽</b>)':
 				$loc = 'city_industrial'
 				$loc_arg = ''
 				money -= 16
@@ -75,7 +75,7 @@ if $ARGS[0] = 'start':
 		end
 
 		if $loc ! 'city_suburbs':
-			act 'Go to the City Suburbs (16 <b>₽</b>)':
+			act 'Go to the City Suburbs (00:10 - 16 <b>₽</b>)':
 				$loc = 'city_suburbs'
 				$loc_arg = 'start'
 				money -= 16
@@ -85,7 +85,7 @@ if $ARGS[0] = 'start':
 		end
 
 		if $loc ! 'city_island':
-			act 'Go to Vasilyevsky Island (16 <b>₽</b>)':
+			act 'Go to Vasilyevsky Island (00:10 - 16 <b>₽</b>)':
 				$loc = 'city_island'
 				$loc_arg = ''
 				money -= 16

+ 1 - 1
locations/mey_home.qsrc

@@ -354,7 +354,7 @@ if $ARGS[0] = 'vicky_bedroom':
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/meynolds/vika_room.jpg"></center>'
 	*nl
 	'Vicky''s room is always a mess. It''s clean, but everything is scattered all over the place. Soft toys are lying around in enormous quantities, and all the walls are plastered with posters of pop stars and film actors.'
-	'There''s a laptop on the table by the window. It accidentally brings a sense of orderliness. The stacks of magazines resemble music speakers. The room''s centrepiece is the ginormous bed and a wardrobe next to it. There''s a lone chair somewhere hidden under all the stuff.'
+	'There''s a laptop on the table by the window. It accidentally brings a sense of orderliness. The stacks of magazines resemble music speakers. The room''s centerpiece is the ginormous bed and a wardrobe next to it. There''s a lone chair somewhere hidden under all the stuff.'
 
 	act 'Return to hallway': minut += 1 & gt 'mey_home', 'start'
 end

+ 2 - 2
locations/miroslava.qsrc

@@ -47,7 +47,7 @@ if $ARGS[0] = 'Start' or $ARGS[0] = '':
 	! Mira_no > 0 Mira hiding in her house after 3rd wish. Reduces 1 per day, plus 1 more per day if you talk to her
 
 	gs 'miroslava', 'miraclothes'
-	'Mira is a sociable girl. She is <<girlage>> years old. She lives with her father, who recently moved in here because of his considerable debts to some disreputable men in the city. He had to sell all the family''s property, including an apartment in the city centre. With the money left over, they could only afford to buy a house in a rundown village like this one.'
+	'Mira is a sociable girl. She is <<girlage>> years old. She lives with her father, who recently moved in here because of his considerable debts to some disreputable men in the city. He had to sell all the family''s property, including an apartment in the city center. With the money left over, they could only afford to buy a house in a rundown village like this one.'
 
 	!npc_rel['A60'] is the measure of your friendship with Mira
 	if npc_rel['A60'] < 25:
@@ -798,7 +798,7 @@ if $ARGS[0] = 'Start' or $ARGS[0] = '':
 						minut += 2
 						gs 'stat'
 						'<center><img <<$set_imgh>> src="images/characters/gadukino/mira/mira_looks.jpg"></center>'
-						'You lead her to the centre of the village square, in front of the market. Here, you turn to her and demand disdainfully that she undress. You tell her that this is your final wish and you will forgive her betrayal after she completes this task. Mira''s mouth slowly drops open, and she looks at you as if you''re insane.'
+						'You lead her to the center of the village square, in front of the market. Here, you turn to her and demand disdainfully that she undress. You tell her that this is your final wish and you will forgive her betrayal after she completes this task. Mira''s mouth slowly drops open, and she looks at you as if you''re insane.'
 						'"Come on, you''re like a little girl," you snort, "we both know you''re a big whore and can''t live without having cock every day. And now this is the mother load, entirely for free."'
 						'Mira, in silence, looks at you and then looks around at the village street on which people walk about their business.'
 						'"<<$pcs_nickname>>, please don''t make this your wish. I will die of embarrassment!" - Mira plaintively begs, hoping it will change your mind.'

+ 1 - 1
locations/music_bedroompractice.qsrc

@@ -34,7 +34,7 @@ if $ARGS[0] = 'guitar':
 	act 'Finish practice': gs 'music_actions', 'finish'
 end
 
-!! TODO: Tie in with the vocal coach at the Industrial Region Community Centre
+!! TODO: Tie in with the vocal coach at the Industrial Region Community Center
 if $ARGS[0] = 'vocals':
 
 end

+ 1 - 1
locations/music_guitarlesson.qsrc

@@ -115,7 +115,7 @@ if $ARGS[0] = 'advertisement':
 
 	ml_guitarlesson['advertisement'] = 1
 	
-	'<center>As you pass by the community centre door you see a new colour note screaming "Guitar Lessons!" in bright letters over the image of a guitar.<center>'
+	'<center>As you pass by the community center door you see a new colour note screaming "Guitar Lessons!" in bright letters over the image of a guitar.<center>'
 	*nl
 	'<center><img src="images/locations/pavlovsk/community/guitarlesson/glessonad.jpg"></center>'
 	

+ 3 - 3
locations/pav_commcenter.qsrc

@@ -11,13 +11,13 @@ gs 'family_schedule'
 gs 'stat'
 
 if $ARGS[0] ! 'XXX':
-	'<center><b><font color="maroon">Community Centre</font></b></center>'
+	'<center><b><font color="maroon">Community Center</font></b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/'+iif(DayStage < 4,'dk.jpg','dk_night.jpg')+'"></center>'
 
 	act 'Leave': minut += 2 & gt 'pav_residential'
 
 	if hour >= 20 and hour <= 23 and week >= 5 and week < 7:
-		'The entrance to the community centre is full of young people. The guys are just hanging around smoking and joking while the girls are in small groups, all dressed up and gossiping. You see the bushes moving - Pavlovsks'' famous make out garden.'
+		'The entrance to the community center is full of young people. The guys are just hanging around smoking and joking while the girls are in small groups, all dressed up and gossiping. You see the bushes moving - Pavlovsks'' famous make out garden.'
 		'You hear people in the alley beside the club. <a href="exec:minut += 5 & gt ''pav_commcenter'', ''alley''">Investigate</a>.'
 		if gdkincum = daystart and (cumloc[6] = 0 and cumloc[7] = 0) and cumloc[11] = 0: gdkincum = 0
 		if gdkincum ! daystart:
@@ -39,7 +39,7 @@ if $ARGS[0] ! 'XXX':
 			end
 		end
 	else
-		'The community centre has sports facilities and offers classes in the evening.'
+		'The community center has sports facilities and offers classes in the evening.'
 		'It houses a small library which is open from 08:00 until 18:00.'
 		'Upstairs, there are some hobby clubs available from 12:00 until 20:00.'
 		'The sports section is open from 14:00 until 20:00 during the week and from 09:00 until 20:00 during the weekend.'

+ 2 - 2
locations/pav_market.qsrc

@@ -303,8 +303,8 @@ if maidqw >= 1 and hour >= 16 and hour < 17:
 end
 
 act 'Walk to the train station (0:03)': minut += 3 & gt 'pav_train_hall'
-if Trainpass_day > daystart:
-	'You have <<Trainpass_day - daystart>> days left on your train pass.'
+if transportVars['trainpass_day'] > daystart:
+		func('transport_functions', 'display_trainpass_time')
 	act 'Go direct to train station platforms': gt 'pav_train_hall', 'platform'
 end
 act 'Walk to the Commercial area (0:10)':minut += 10 & gt 'pav_commercial'

+ 1 - 1
locations/pav_park.qsrc

@@ -172,7 +172,7 @@ if $ARGS[0] = 'start':
 	if ((month = 8 and day > 20) or (month = 9 and day < 16)) and week > 5 and hour > 8 and hour < 20 and AlbinaQW['ParkRally'] = 0:
 		'<br>You overhear someone speaking in front of a crowd. The crowd is quite rowdy, yelling and clapping throughout the <a href="exec: minut += 2 & gt ''pav_park'', ''alb_father_meeting_1''">meeting</a>.'
 	elseif ((month = 9 and day > 20) or (month = 10 and day < 16)) and week > 5 and hour > 8 and hour < 20 and AlbinaQW['ParkRally'] = 1 and AlbinaQW['StarletsShutDown'] = 0:
-		'Once again, a large crowd has gathered in the town centre. You can hear Albina''s father holding a public <a href="exec: minut += 2 & gt ''pav_park'', ''alb_father_meeting_2''">meeting</a>.'
+		'Once again, a large crowd has gathered in the town center. You can hear Albina''s father holding a public <a href="exec: minut += 2 & gt ''pav_park'', ''alb_father_meeting_2''">meeting</a>.'
 	elseif ((month = 10 and day > 20) or (month = 11 and day < 16)) and week > 5 and hour > 8 and hour < 20 and AlbinaQW['ParkRally'] = 2 and AlbinaQW['StarletsShutDown'] = 0 and AlbinaQW['StarletsJoined'] = 0:
 		'By this time, you''re well aware that Albina''s father is holding a <a href="exec: minut += 2 & gt ''pav_park'', ''alb_father_meeting_3''">meeting</a>, though they have erected a big stage.'
 	end

+ 10 - 123
locations/pav_train_hall.qsrc

@@ -2,8 +2,8 @@
 
 if $ARGS[0] = '':
 	$region = 'pav'
-	$loc_arg = ''
 	$loc = 'pav_train_hall'
+	$loc_arg = ''
 	$menu_loc = 'pav_train_hall'
 	$menu_arg = ''
 	menu_off = 0
@@ -63,8 +63,8 @@ if $ARGS[0] = '':
 	act 'Walk to the highway (0:15)':minut += 15 & nroad = 20 & gt 'road'
 	act 'Walk to Pushkin (0:15)':minut += 15 & nroad = 19 & gt 'pushkin'
 
-	if Trainpass_day > daystart:
-		'You have <<Trainpass_day - daystart>> days left on your train pass.'
+	if transportVars['trainpass_day'] > daystart:
+		func('transport_functions', 'display_trainpass_time')
 		act 'Go to the platforms': gt 'pav_train_hall', 'platform'
 	else
 		act 'Go to the ticket office': gt 'pav_train_hall', 'ticket'
@@ -158,15 +158,11 @@ if $ARGS[0] = 'platform':
 
 	act 'Enter the station building': gt'pav_train_hall'
 
-	if Trainpass_day > daystart:
-
-		act 'Take the train to the village of Gadukino': gt 'pav_train_hall', 'village'
-
-		act 'Take the train to the communal village': gt 'pav_train_hall', 'communal'
-
-		act 'Take the train to city industrial area': gt 'pav_train_hall', 'ind'
-
-		act 'Take the train to city center': gt 'pav_train_hall', 'centre'
+	if transportVars['trainpass_day'] > daystart:
+		act 'Take the train to the village of Gadukino (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''village'')>>)':	gt 'train', 'pavlovsk_village'
+		act 'Take the train to the communal village (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''communal'')>>)':		gt 'train', 'pavlovsk_communal'
+		act 'Take the train to the city industrial area (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''ind'')>>)':		gt 'train', 'pavlovsk_ind'
+		act 'Take the train to the city center (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''center'')>>)':				gt 'train', 'pavlovsk_center'
 	end
 end
 
@@ -243,23 +239,7 @@ if $ARGS[0] = 'ticket':
 		end
 	end
 
-	if money >= 1500 and Trainpass_day <= daystart:
-		act 'Buy a weekly pass (7 days - 1500 <b>₽</b>) ':
-			cla
-			money -= 1500
-			Trainpass_day = daystart + 7
-			act 'Return': gt 'pav_train_hall'
-		end
-	end
-
-	if money >= 5500 and Trainpass_day <= daystart:
-		act 'Buy a monthly pass (30day - 5500 <b>₽</b>)':
-			cla
-			money -= 5500
-			Trainpass_day = daystart + 30
-			act 'Return': gt 'pav_train_hall'
-		end
-	end
+	gs 'transport_functions', 'buy_train_pass'
 end
 
 if $ARGS[0] = 'buy_ticket':
@@ -269,103 +249,10 @@ if $ARGS[0] = 'buy_ticket':
 
 	act 'Leave the ticket office':minut += 1 & gt 'pav_train_hall'
 
-	if money >= 75:
-		act 'Buy a ticket to the village of Gadukino (75 <b>₽</b>)':
-			money -= 75
-			gt 'pav_train_hall', 'village'
-		end
-	end
-
-	if money >= 100:
-		act 'Buy a ticket to the communal village (100 <b>₽</b>)':
-			money -= 100
-			gt 'pav_train_hall', 'communal'
-		end
-	end
-
-	if money >= 125:
-		act 'Buy a ticket to city industrial area (125 <b>₽</b>)':
-			money -= 125
-			gt 'pav_train_hall', 'ind'
-		end
-	end
-
-	if money >= 150:
-		act 'Buy a ticket to city center (150 <b>₽</b>)':
-			money -= 150
-			if rand(0,10) = 0: gt 'train', 'weed'
-			gt 'pav_train_hall', 'centre'
-		end
-	end
+	gs 'transport_functions', 'buy_train_ticket', 'pavlovsk', 'pc'
 end
 
-if $ARGS[0] = 'village':
-	$loc = 'train'
-	$loc_arg = 'village'
-	menu_off = 1
-	minut += 15
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) < 20: gt 'train', 'events'
-	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
-	'After 15 minutes, the train stops at the small station near the village of Gadukino.'
-	act 'Get off the train':
-		if rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'train', 'village'
-	end
-end
-
-if $ARGS[0] = 'communal':
-	$loc = 'train'
-	$loc_arg = 'communal'
-	menu_off = 1
-	minut += 25
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
-	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
-	'After 20 minutes you arrive at an old railway platform near the communal village.'
-	act 'Get off the train':
-		if rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'train', 'communal'
-	end
-end
 
-if $ARGS[0] = 'ind':
-	$loc = 'city_industrial_train'
-	$loc_arg = 'platform'
-	menu_off = 1
-	minut += 35
-	if rand(1, 100) < 15: gt 'train', 'private'
-	if rand(1, 100) < 30: gt 'train', 'Gopnik'
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
-	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
-	'After 35 minutes, the train stops at the St. Petersburg city industrial area station.'
-	act 'Get off the train':
-		if rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'city_industrial_train', 'inside'
-	end
-end
-
-if $ARGS[0] = 'centre':
-	$loc = 'city_train'
-	$loc_arg = 'start'
-	menu_off = 1
-	minut += 40
-	if rand(1, 100) < 15: gt 'train', 'private'
-	if rand(1, 100) < 30: gt 'train', 'Gopnik'
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
-	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
-	'After 40 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
-	act 'Get off the train':
-		if rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'city_train', 'start'
-	end
-end
 
 if $ARGS[0] = 'toilet':
 	$menu_loc = 'pav_train_hall'

+ 1 - 1
locations/pushkin_ballet_center.qsrc

@@ -1,6 +1,6 @@
 # pushkin_ballet_center
 
-!! This is where the dance school accomodation is located, just off the city centre.
+!! This is where the dance school accomodation is located, just off the city center.
 !mod event. remember to add a act to exit
 
 

+ 11 - 11
locations/pushkin_ballet_class.qsrc

@@ -105,7 +105,7 @@ if $ARGS[0] = 'pilates':
             minut += 50
             !! set Pain
             !! increase stats gain for endurance/strength.
-            gs 'exercise', 'tier1', 30, 'agil_exp', 'stren_exp'
+            gs 'exercise', 'tier1', 30, 'agil', 'stren'
             gs 'sweat', 'add', 20
             gs 'stat'
             gs 'core_library', 'stage_title'
@@ -132,7 +132,7 @@ if $ARGS[0] = 'pilates':
         minut += 60
         !! set Pain
         !! increase stats gain for endurance/strength.
-        gs 'exercise', 'tier1', 30, 'agil_exp', 'stren_exp'
+        gs 'exercise', 'tier1', 30, 'agil', 'stren'
         gs 'sweat', 'add', 20
         gs 'stat'
         gs 'core_library', 'stage_title'
@@ -159,7 +159,7 @@ if $ARGS[0] = 'first_lesson':
 
     if ballet_day = 1 :
         !! Set stats for modern dance
-        gs 'exercise', 'tier3', 90, 'agil_exp', 'stren_exp', 'danc_exp'
+        gs 'exercise', 'tier3', 90, 'agil', 'stren', 'danc'
         gs 'sweat', 'add', 30
         pcs_sleep -= rand(1,10)
         gs 'stat'
@@ -184,7 +184,7 @@ if $ARGS[0] = 'first_lesson':
 
     if ballet_day = 2:
         !! Set stats for modern dance
-        gs 'exercise', 'tier3', 90, 'agil_exp', 'stren_exp', 'danc_exp'
+        gs 'exercise', 'tier3', 90, 'agil', 'stren', 'danc'
         pcs_sleep -= rand(1,10)
         gs 'sweat', 'add', 30
         gs 'stat'
@@ -203,7 +203,7 @@ if $ARGS[0] = 'first_lesson':
 
     if ballet_day = 3:
         !! Set stats for modern dance
-        gs 'exercise', 'tier4', 90, 'agil_exp', 'stren_exp', 'danc_exp'
+        gs 'exercise', 'tier4', 90, 'agil', 'stren', 'danc'
         gs 'pain', 2, 'legL', 'stretch'
 	    gs 'pain', 2, 'legR', 'stretch'
 	    gs 'pain', 5, 'feet', 'stretch'
@@ -238,7 +238,7 @@ if $ARGS[0] = 'first_lesson':
     if ballet_day = 4:
         !! Set stats for modern dance
 
-        gs 'exercise', 'tier3', 90, 'agil_exp', 'stren_exp', 'danc_exp'
+        gs 'exercise', 'tier3', 90, 'agil', 'stren', 'danc'
         gs 'pain', 2, 'legL', 'stretch'
 	    gs 'pain', 2, 'legR', 'stretch'
 	    gs 'pain', 5, 'feet', 'stretch'
@@ -261,7 +261,7 @@ if $ARGS[0] = 'first_lesson':
 
     if ballet_day = 5:
         ! Set stats for modern dance
-        gs 'exercise', 'tier2', 90, 'agil_exp', 'stren_exp', 'danc_exp'
+        gs 'exercise', 'tier2', 90, 'agil', 'stren', 'danc'
         pcs_sleep -= rand(1,5)
         gs 'sweat', 'add', 30
         gs 'pushkin_ballet_init', 'daily_assessment'
@@ -431,7 +431,7 @@ if $ARGS[0] = 'second_lesson':
         minut = 0
     end 
     ! set stats for modern dance
-    gs 'exercise', 'tier2', 90, 'agil_exp', 'stren_exp', 'danc_exp'
+    gs 'exercise', 'tier2', 90, 'agil', 'stren', 'danc'
     pcs_sleep -= rand(1,5)
     gs 'sweat', 'add', 60   
     gs 'pushkin_ballet_init', 'daily_assessment'
@@ -448,9 +448,9 @@ if $ARGS[0] = 'second_lesson':
     if ballet_day = 1 :
         !!  32-count combination
 
-        '"Class, listen up," Biserka calls out. "You are going to team up with your dance partner to practice barre work and to do the pas de deux as your centres which will form your assessment."'
+        '"Class, listen up," Biserka calls out. "You are going to team up with your dance partner to practice barre work and to do the pas de deux as your centers which will form your assessment."'
         'You walk over to <<$npc_firstname[''A3501'']>>, "Hey, <<$pcs_nickname>>, are you ready?". Then, you work with <<$npc_firstname[''A3501'']>> to go through the various movements of Plié, Elevé, Battement Tendu and Rond de Jambe.'
-        'Once you finish the Barre exercises, Biserka switches on a projector. "Here are your movements for your pas de deux. Please continue to the centre, and I will observe your performances."'
+        'Once you finish the Barre exercises, Biserka switches on a projector. "Here are your movements for your pas de deux. Please continue to the center, and I will observe your performances."'
         'You and <<$npc_firstname[''A3501'']>> quickly study the chart and wait for Sofia to start playing on the piano. Then, with a count, you start to go through the movements, <<$npc_firstname[''A3501'']>> helping you call out the next position."'
         'This doesn''t go unnoticed by Biserka, and once the movement is finished, she calls <<$npc_firstname[''A3501'']>> over, "You seem to have memorised this the first time. Let''s see if you can perform this with me."'
         'She changes the image on the projector and lets <<$npc_firstname[''A3501'']>> study it for a few moments. "Ready?" she asks, and <<$npc_firstname[''A3501'']>> nods. "Let us begin. Sofia?"'
@@ -587,7 +587,7 @@ if $ARGS[0] = 'assessment':
 
     balletqw['school'] = 1
     pcs_sleep -= rand(10,20)
-    gs 'exercise', 'tier4', 180, 'agil_exp', 'stren_exp', 'danc_exp'
+    gs 'exercise', 'tier4', 180, 'agil', 'stren', 'danc'
     !! rank is the final assessment score to determine pass, fail or a potential fall into Randolph''s clutches.
     !!gs 'pushkin_ballet_init', 'famemodifier', 'rank'
     !! Maya friendship mechanics to be implemented after feedback on core game with how she reacts to you at the exams.

+ 9 - 3
locations/pushkin_sq.qsrc

@@ -30,10 +30,16 @@ if week < 7 and hour >= 9 and hour <= 17:
 	'The long standing alternative clothing shop <a href="exec:gt ''shop_tsar_bomba'',''start''">Tsar Bomba</a> is unmistakable amongst the tourist shops on the main square.'
 	'Clothing for younger women is catered for in <a href="exec:gt ''shop_flamingos'',''start''">Flamingos</a>.'
 	'Catering for the burlesque club here there is the <a href="exec:gt ''shop_fancy_pancy'',''start''">Fancy Pancy</a> boutique clothing store.'
+	else
+	'Tsar Bomba, Flamingos and Fansy Pansy,  are all current closed, they are open open Mon - Sat day 9:00 - 18:00'
+end
+if week < 7 and hour >= 9 and hour <= 17:
+	'<a href="exec:gt ''ballet_secrets'',''init''">Ballet Secrets</a> is located at the end of a well maintained alleyway with a flamboyant ballet shop display and despite it''s name the premises offers a wide range of services for dancers and athletes. '
+elseif 	week = 7 and (hour >= 10 and hour <=16):
+	'The dance shop is closed, but you can still access the <a href="exec:gt ''ballet_secrets'',''init''">Members Area</a> with your card.'
 else
-	'Tsar Bomba, Flamingos and Fansy Pansy are all current closed, they are open open Mon - Sat day 9:00 - 18:00'
+	'Ballet Secrets is currently closed. The shop opens 09:00-17:00 Monday to Saturday, and members only access for class is open on Sunday from 10:00 - 17:00.'
 end
-
 if exhibitionQW > 3:
 	if week < 7 and hour >= 8 and hour <= 17:
 		'<a href="exec:gt ''exhibitionistshop'',''start''">Simply Salacious</a> is just down a small side street from here.'
@@ -64,7 +70,7 @@ act 'Walk to the Town Center (0:05)':minut += 5 & gt 'pushkin'
 
 if hour >= 8 and hour <= 17 and exhibitionQW = 3: act 'Search for the shop on the card from Kseniya': gt 'exhibitionistshop', 'start'
 
-act 'wait':gs 'obj_din', 'wait'
+act 'Wait':gs 'obj_din', 'wait'
 
 if $home['current'] = 'old_town_apartment':
 	if vladimirday = daystart and vladimirQW = 30 and hour >= 16 and week = 6:'<a href="exec:gt ''qwmeet'',''2''">There''s an Audi parked in front of your apartment, and standing beside it, you notice Vladimir</a>.'

+ 5 - 0
locations/saveupdater.qsrc

@@ -2516,6 +2516,11 @@ if temp_current_save_version < 00090200:
 		killvar 'fashionista_b'
 		killvar 'fashionista_s'
 	end
+
+
+	! Transport update
+	if Trainpass_day ! 0:	transportVars['trainpass_day'] = Trainpass_day	& killvar 'Trainpass_day'
+	killvar 'train_event'
 end
 
 

+ 1 - 1
locations/soniahome.qsrc

@@ -373,7 +373,7 @@ if $ARGS[0] = 'sonia_room':
 	gs 'stat'
 	'<center><b><font color = maroon>Vitek''s bedroom</font></b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/sonia_room.jpg"></center>'
-	'The first thing you notice about her room is that it''s spotless and orderly. Nothing is out of place. There is a dresser against one wall with several things neatly placed on it, with pictures on the wall above it. The bed is near the centre of the room against one wall, and the bed is made with a body pillow leaning against the other pillows. Above the bed is a short string of lights, while a small makeup table with all the makeup lined up in a very orderly fashion sits against another wall.'
+	'The first thing you notice about her room is that it''s spotless and orderly. Nothing is out of place. There is a dresser against one wall with several things neatly placed on it, with pictures on the wall above it. The bed is near the center of the room against one wall, and the bed is made with a body pillow leaning against the other pillows. Above the bed is a short string of lights, while a small makeup table with all the makeup lined up in a very orderly fashion sits against another wall.'
 	'<a href="exec:gt ''soniahome'', ''sonia_chat''">Sonia</a> is lying on her bed relaxing.'
 	act 'Go to the hallway':gt 'soniahome','hallway'
 	if $clothingworntype = 'nude': act 'Dress yourself': gs 'shortgs' ,'dress' & gt 'soniahome', 'sonia_room'

+ 1 - 1
locations/talent_agency.qsrc

@@ -187,7 +187,7 @@ if $ARGS[0] = 'SMTV_intro':
 	act 'Shake his hand':
 		cla
 		'You shake his hand and smile. "I was told I was supposed to come here to prepare for the shoot today?"'
-		'"Yes, that''s right," he says. "Normally, we would use one of the film sets in the industrial area, but for this kind of thing, we need more of a crowd, so we''re doing it in the city centre."'
+		'"Yes, that''s right," he says. "Normally, we would use one of the film sets in the industrial area, but for this kind of thing, we need more of a crowd, so we''re doing it in the city center."'
 		'You nod understandingly.'
 		'"Alright, time for you to undress."'
 		gs 'willpower', 'misc', 'resist', 'hard'

+ 480 - 773
locations/train.qsrc

@@ -1,6 +1,13 @@
 # train
 !2021/05/06
 
+
+	!!============================================!!
+	!!                                            !!
+	!!               Train Stations               !!
+	!!                                            !!
+	!!============================================!!
+
 if $ARGS[0] = 'communal':
 	*clr & cla
 	$menu_loc = 'train'
@@ -12,8 +19,8 @@ if $ARGS[0] = 'communal':
 
 	act 'Return to the road':minut += 15 & nroad = 5 & gt 'road'
 	*nl
-	if Trainpass_day > daystart:
-		'You have <<Trainpass_day - daystart>> days left on your train pass.'
+	if transportVars['trainpass_day'] > daystart:
+		func('transport_functions', 'display_trainpass_time')
 		act 'Go to platforms': gt 'train', 'communal_trains'
 	else
 		act 'Buy a ticket': gt 'train', 'communal_tickets'
@@ -24,48 +31,10 @@ if $ARGS[0] = 'communal_tickets':
 	$menu_loc = 'train'
 	$menu_arg = 'communal_tickets'
 	menu_off = 0
-	
+
 	act 'Leave the ticket office': gt 'train', 'communal'
-	
-	act 'Buy a ticket to St. Petersburg city center (75 <b>₽</b>)':
-		if money >= 75:
-			money -= 75
-			menu_off = 1
-			gt 'train', 'communal_centre'
-		else
-			'You don''t have enough money for this ticket.'
-		end
-	end
-	
-	act 'Buy a ticket to St. Petersburg city industrial area (50 <b>₽</b>)':
-		if money >= 50:
-			money -= 50
-			menu_off = 1
-			gt 'train', 'communal_ind'
-		else
-			'You don''t have enough money for this ticket.'
-		end
-	end
-	
-	act 'Buy a ticket to the village of Gadukino (50 <b>₽</b>)':
-		if money >= 50:
-			money -= 50
-			menu_off = 1
-			gt 'train', 'communal_village'
-		else
-			'You don''t have enough money for this ticket.'
-		end
-	end
 
-	act 'Buy a ticket to Pavlovsk (100 <b>₽</b>)':
-		if money >= 100:
-			money -= 100
-			menu_off = 1
-			gt 'train', 'communal_pavlovsk'
-		else
-			'You don''t have enough money for this ticket.'
-		end
-	end
+	gs 'transport_functions', 'buy_train_ticket', 'communal'
 end
 
 if $ARGS[0] = 'communal_trains':
@@ -75,175 +44,409 @@ if $ARGS[0] = 'communal_trains':
 
 	act 'Leave the platform': gt 'train', 'communal'
 	
-	act 'Take a train to St. Petersburg city center': gt 'train', 'communal_centre'
-	
-	act 'Take a train to St. Petersburg city industrial area': gt 'train', 'communal_ind'
-	
-	act 'Take a train to the village of Gadukino': gt 'train', 'communal_village'
-	
-	act 'Take a train to Pavlovsk': gt 'train', 'communal_pavlovsk'
+	act 'Take a train to St. Petersburg city center (<<func(''transport_functions'', ''display_train_timecost'', ''communal'', ''center'')>>)': gt 'train', 'communal_center'
+	act 'Take a train to St. Petersburg city industrial area (<<func(''transport_functions'', ''display_train_timecost'', ''communal'', ''ind'')>>)': gt 'train', 'communal_ind'
+	act 'Take a train to the village of Gadukino (<<func(''transport_functions'', ''display_train_timecost'', ''communal'', ''village'')>>)': gt 'train', 'communal_village'
+	act 'Take a train to Pavlovsk (<<func(''transport_functions'', ''display_train_timecost'', ''communal'', ''pavlovsk'')>>)': gt 'train', 'communal_pavlovsk'
 end
 
-if $ARGS[0] = 'communal_centre':
-	minut += 15
-	$loc = 'city_train'
-	$loc_arg = 'start'
-	$menu_loc = 'city_train'
-	$menu_arg = 'communal_centre'
+
+
+if $ARGS[0] = 'village':
+	$loc = 'train'
+	$loc_arg = 'village'
+	$menu_loc = 'train'
+	$menu_arg = 'village'
+	display_bb = 0
 	menu_off = 0
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
+	
+	*clr & cla
 	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
-	'After 15 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
-	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'city_train', 'start'
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
+	'A fairly nondescript railway platform. The small village of Gadukino where your grandparents reside is not far from here.'
+
+	act 'Walk to the road (0:15)':minut += 15 & nroad = 10 & gt 'road'
+	*nl
+	if transportVars['trainpass_day'] > daystart:
+		func('transport_functions', 'display_trainpass_time')
+		act 'Go to platforms': gt 'train', 'village_trains'
+	else
+		act 'Buy a ticket': gt 'train', 'village_tickets'
 	end
 end
 
-if $ARGS[0] = 'communal_ind':
+if $ARGS[0] = 'village_tickets':
+	$menu_loc = 'train'
+	$menu_arg = 'village_tickets'
+	menu_off = 0
+	
+	act 'Leave the ticket office': gt 'train', 'village'
+
+	gs 'transport_functions', 'buy_train_ticket', 'village', 'pc'
+end
+
+if $ARGS[0] = 'village_trains':
+	$menu_loc = 'train'
+	$menu_arg = 'village_trains'
+	menu_off = 0
+
+	act 'Leave the platform': gt 'train', 'village'
+
+	act 'Take a train to Pavlovsk (<<func(''transport_functions'', ''display_train_timecost'', ''village'', ''pavlovsk'')>>)': gt 'train', 'village_pavlovsk'
+	act 'Take a train to the communal village (<<func(''transport_functions'', ''display_train_timecost'', ''village'', ''communal'')>>)': gt 'train', 'village_communal'
+	act 'Take a train to St. Petersburg city industrial area (<<func(''transport_functions'', ''display_train_timecost'', ''village'', ''ind'')>>)': gt 'train', 'village_ind'
+	act 'Take a train to St. Petersburg city center (<<func(''transport_functions'', ''display_train_timecost'', ''village'', ''center'')>>)': gt 'train', 'village_center'
+end
+
+
+
+
+	!!============================================!!
+	!!                                            !!
+	!!              Train Transport               !!
+	!!                                            !!
+	!!============================================!!
+
+
+		!!-----------------------!!
+		!!                       !!
+		!!        center         !!
+		!!                       !!
+		!!-----------------------!!
+
+if $ARGS[0] = 'center_ind':
 	$loc = 'city_industrial_train'
 	$loc_arg = 'platform'
-	minut += 10
 	menu_off = 1
-	if rand(1, 100) < 20: gt 'train', 'events'
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'center', 'ind')
+	minut += transportVars['timecost']
 	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 14:
+			gt 'train_events', 'private'
+		elseif transportVars['rand'] <= 23:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 39:
+			gt 'train_events', 'events'
+		end
+	end
+
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
-	'After 10 minutes, the train stops at the St. Petersburg city industrial area station.'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city industrial area station.'
 	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
-		gt 'city_industrial_train', 'inside'
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'city_industrial_train', 'platform'
 	end
 end
 
-if $ARGS[0] = 'communal_village':
+if $ARGS[0] = 'center_communal':
+	$loc = 'train'
+	$loc_arg = 'communal'
+	menu_off = 1
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'center', 'communal')
+	minut += transportVars['timecost']
+	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 10:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 28:
+			gt 'train_events', 'events'
+		end
+	end
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes you arrive at an old railway platform near the communal village.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'train', 'communal'
+	end
+end
+
+if $ARGS[0] = 'center_village':
 	$loc = 'train'
 	$loc_arg = 'village'
-	minut += 10
 	menu_off = 1
-	if rand(1, 100) <= 20: gt 'train', 'events'
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'center', 'village')
+	minut += transportVars['timecost']
 	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 10:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 28:
+			gt 'train_events', 'events'
+		end
+	end
+
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
-	'After 10 minutes, the train stops at the small station near the village of Gadukino.'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the small station near the village of Gadukino.'
 	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
 		gt 'train', 'village'
 	end
 end
 
-if $ARGS[0] = 'communal_pavlovsk':
+if $ARGS[0] = 'center_pavlovsk':
 	$loc = 'pav_train_hall'
-	$loc_arg = ''
-	minut += 25
+	$loc_arg = 'platform'
 	menu_off = 1
-	if rand(1, 100) <= 20: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'center', 'pavlovsk')
+	minut += transportVars['timecost']
 	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 14:
+			gt 'train_events', 'private'
+		elseif transportVars['rand'] <= 39:
+			gt 'train_events', 'Gopnik'
+		elseif transportVars['rand'] <= 45:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 56:
+			gt 'train_events', 'events'
+		end
+	end
+
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
-	'After 5 minutes, you see the town of Pavlovsk approaching. Pavlovsk Castle is an impressive sight, even from a long distance. The train stops at its final destination, a platform in Pavlovsk station.'
-	act 'Get off the train': gt 'pav_train_hall'
+	'After <<transportVars[''timecost'']>> minutes, you see the town of Pavlovsk approaching. Pavlovsk Castle is an impressive sight, even from a long distance. The train stops at its final destination, a platform in Pavlovsk station.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'pav_train_hall'
+	end
 end
 
-if $ARGS[0] = 'village':
-	$loc = 'train'
-	$loc_arg = 'village'
-	$menu_loc = 'train'
-	$menu_arg = 'village'
-	display_bb = 0
-	menu_off = 0
-	
+
+		!!-----------------------!!
+		!!                       !!
+		!!      industrial       !!
+		!!                       !!
+		!!-----------------------!!
+
+if $ARGS[0] = 'ind_center':
+	$loc = 'city_train'
+	$loc_arg = 'start'
+	menu_off = 1
 	*clr & cla
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'ind', 'center')
+	minut += transportVars['timecost']
 	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
-	'A fairly nondescript railway platform. The small village of Gadukino where your grandparents reside is not far from here.'
 
-	act 'Walk to the road (0:15)':minut += 15 & nroad = 10 & gt 'road'
-	*nl
-	if Trainpass_day > daystart:
-		'You have <<Trainpass_day - daystart>> days left on your train pass.'
-		act 'Go to platforms': gt 'train', 'village_trains'
-	else
-		act 'Buy a ticket': gt 'train', 'village_tickets'
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 14:
+			gt 'train_events', 'private'
+		elseif transportVars['rand'] <= 23:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 39:
+			gt 'train_events', 'events'
+		end
+	end
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/electri_' + rand(1,5) + '.jpg"></center>'
+	'You pay for the ticket and board the next train going to the city center.'
+	'After <<transportVars[''timecost'']>> minutes, you see the office blocks and shops at the heart of the city. The train stops at its final destination, the busy station in the city center.'
+
+	act 'Get off the train at this station':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'city_train', 'start'
 	end
 end
 
-if $ARGS[0] = 'village_tickets':
-	$menu_loc = 'train'
-	$menu_arg = 'village_tickets'
-	menu_off = 0
-	
-	act 'Leave the ticket office': gt 'train', 'village'
-	
-	act 'Buy a ticket to St. Petersburg city center (100 <b>₽</b>)':
-		if money >= 100:
-			money -= 100
-			menu_off = 1
-			gt 'train', 'village_centre'
-		else
-			'You don''t have enough money for this ticket.'
-		end
+if $ARGS[0] = 'ind_communal':
+	$loc = 'train'
+	$loc_arg = 'communal'
+	menu_off = 1
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'ind', 'communal')
+	minut += transportVars['timecost']
+	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart and rand(1, 100) < 20: gt 'train_events', 'events'
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes you arrive at an old railway platform near the communal village.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'train', 'communal'
 	end
-	
-	act 'Buy a ticket to St. Petersburg city industrial area (75 <b>₽</b>)':
-		if money >= 75:
-			money -= 75
-			menu_off = 1
-			gt 'train', 'village_ind'
-		else
-			'You don''t have enough money for this ticket.'	
+end
+
+if $ARGS[0] = 'ind_village':
+	$loc = 'train'
+	$loc_arg = 'village'
+	menu_off = 1
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'ind', 'village')
+	minut += transportVars['timecost']
+	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 10:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 27:
+			gt 'train_events', 'events'
 		end
 	end
-	
-	act 'Buy a ticket to the old platform by the communal village (50 <b>₽</b>)':
-		if money >= 50:
-			money -= 50
-			menu_off = 1
-			gt 'train', 'village_communal'
-		else
-			'You don''t have enough money for this ticket.'	
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the small station near the village of Gadukino.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'train', 'village'
+	end
+end
+
+if $ARGS[0] = 'ind_pavlovsk':
+	$loc = 'pav_train_hall'
+	$loc_arg = 'platform'
+	menu_off = 1
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'ind', 'pavlovsk')
+	minut += transportVars['timecost']
+	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 14:
+			gt 'train_events', 'private'
+		elseif transportVars['rand'] <= 39:
+			gt 'train_events', 'Gopnik'
+		elseif transportVars['rand'] <= 45:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 56:
+			gt 'train_events', 'events'
 		end
-	end	
-
-	act 'Buy a ticket to Pavlovsk (75 <b>₽</b>)':
-		if money >= 75:
-			money -= 75
-			menu_off = 1
-			gt 'train', 'village_pavlovsk'
-		else
-			'You don''t have enough money for this ticket.'	
+	end
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes, you see the town of Pavlovsk approaching. Pavlovsk Castle is an impressive sight, even from a long distance. The train stops at its final destination, a platform in Pavlovsk station.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'pav_train_hall'
+	end
+end
+
+
+		!!-----------------------!!
+		!!                       !!
+		!!       communal        !!
+		!!                       !!
+		!!-----------------------!!
+
+if $ARGS[0] = 'communal_center':
+	$loc = 'city_train'
+	$loc_arg = 'start'
+	menu_off = 1
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'communal', 'center')
+	minut += transportVars['timecost']
+	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 10:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 28:
+			gt 'train_events', 'events'
 		end
-	end	
+	end
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'city_train', 'start'
+	end
 end
 
-if $ARGS[0] = 'village_trains':
-	$menu_loc = 'train'
-	$menu_arg = 'village_trains'
-	menu_off = 0
+if $ARGS[0] = 'communal_ind':
+	$loc = 'city_industrial_train'
+	$loc_arg = 'platform'
+	menu_off = 1
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'communal', 'ind')
+	minut += transportVars['timecost']
+	gs 'stat'
 
-	act 'Leave the platform': gt 'train', 'village'
+	if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 19: gt 'train_events', 'events'
 
-	act 'Take a train to St. Petersburg city center': gt 'train', 'village_centre'
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city industrial area station.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'city_industrial_train', 'inside'
+	end
+end
 
-	act 'Take a train to St. Petersburg city industrial area': gt 'train', 'village_ind'
+if $ARGS[0] = 'communal_village':
+	$loc = 'train'
+	$loc_arg = 'village'
+	menu_off = 1
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'communal', 'village')
+	minut += transportVars['timecost']
+	gs 'stat'
 
-	act 'Take a train to the communal village': gt 'train', 'village_communal'
+	if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 20: gt 'train_events', 'events'
 
-	act 'Take a train to Pavlovsk': gt 'train', 'village_pavlovsk'
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the small station near the village of Gadukino.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'train', 'village'
+	end
 end
 
-if $ARGS[0] = 'village_centre':
+if $ARGS[0] = 'communal_pavlovsk':
+	$loc = 'pav_train_hall'
+	$loc_arg = ''
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'communal', 'pavlovsk')
+	minut += transportVars['timecost']
+	menu_off = 1
+	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 20:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 36:
+			gt 'train_events', 'events'
+		end
+	end
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes, you see the town of Pavlovsk approaching. Pavlovsk Castle is an impressive sight, even from a long distance. The train stops at its final destination, a platform in Pavlovsk station.'
+	act 'Get off the train': gt 'pav_train_hall'
+end
+
+
+		!!-----------------------!!
+		!!                       !!
+		!!        village        !!
+		!!                       !!
+		!!-----------------------!!
+
+if $ARGS[0] = 'village_center':
 	$loc = 'city_train'
 	$loc_arg = 'start'
 	menu_off = 1
-	minut += 25
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'village', 'center')
+	minut += transportVars['timecost']
 	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 10:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 38:
+			gt 'train_events', 'events'
+		end
+	end
+
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
-	'After 25 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
 	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
 		gt 'city_train', 'start'
 	end
 end
@@ -252,14 +455,23 @@ if $ARGS[0] = 'village_ind':
 	$loc = 'city_industrial_train'
 	$loc_arg = 'platform'
 	menu_off = 1
-	minut += 20
-	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'village', 'ind')
+	minut += transportVars['timecost']
 	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 10:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 38:
+			gt 'train_events', 'events'
+		end
+	end
+
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
-	'After 20 minutes, the train stops at the St. Petersburg city industrial area station.'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city industrial area station.'
 	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
 		gt 'city_industrial_train', 'inside'
 	end
 end
@@ -267,14 +479,17 @@ end
 if $ARGS[0] = 'village_communal':
 	$loc = 'train'
 	$loc_arg = 'communal'
-	minut += 10
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'village', 'communal')
+	minut += transportVars['timecost']
 	menu_off = 1
-	if rand(1, 100) <= 20: gt 'train', 'events'
 	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 20: gt 'train_events', 'events'
+
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
-	'After 10 minutes, you arrive at an old railway platform near the communal village.'
+	'After <<transportVars[''timecost'']>> minutes, you arrive at an old railway platform near the communal village.'
 	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
 		gt 'train', 'communal'
 	end
 end
@@ -282,655 +497,147 @@ end
 if $ARGS[0] = 'village_pavlovsk':
 	$loc = 'pav_train_hall'
 	$loc_arg = 'platform'
-	minut += 15
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'village', 'pavlovsk')
+	minut += transportVars['timecost']
 	menu_off = 1
-	if rand(1, 100) <= 20: gt 'train_incidental', 'events'
-	if rand(1, 100) <= 20: gt 'train', 'events'
 	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 20:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 36:
+			gt 'train_events', 'events'
+		end
+	end
+
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
-	'After 15 minutes, you see the town of Pavlovsk approaching. Pavlovsk Castle is an impressive sight, even from a long distance. The train stops at its final destination, a platform in Pavlovsk station.'
+	'After <<transportVars[''timecost'']>> minutes, you see the town of Pavlovsk approaching. Pavlovsk Castle is an impressive sight, even from a long distance. The train stops at its final destination, a platform in Pavlovsk station.'
 	act 'Get off the train':
-		if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
 		gt 'pav_train_hall'
 	end
 end
 
 
-if $ARGS[0] = 'events':
-	event_random = rand(15, 130)
-	if event_random < 25:
-		gt 'train', 'oldman'
-	elseif event_random < 45:
-		gt 'train', 'fit'
-	elseif event_random < 70:
-		gt 'train', 'young'
-	else
-		gt $loc, $loc_arg
-	end
-end
+		!!-----------------------!!
+		!!                       !!
+		!!       pavlovsk        !!
+		!!                       !!
+		!!-----------------------!!
 
-!!only triggered direct from Pav when going to the city center
-if $ARGS[0] = 'weed':
-	train_event = 1
+if $ARGS[0] = 'pavlovsk_village':
+	$loc = 'train'
+	$loc_arg = 'village'
 	menu_off = 1
-	$loc = 'city_train'
-	$loc_arg = 'start'
-	*clr & cla
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'village')
+	minut += transportVars['timecost']
 	gs 'stat'
-	'<center><h4>Pavlovsk Station</h4></center>'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
-	'After you buy your ticket, they tell you that you have just missed the train. A little miffed at this, you take a seat on one of the benches on the platform to wait for the next train to the city to arrive.'	
-	act 'A man approaches you with an offer':
-		*clr
-		cla
-		'<center><h4>Pavlovsk Station</h4></center>'
-		'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weed.jpg" ></center>'
-		'Only a few minutes have passed when you hear someone walk up behind you and stop. You know they must be mere inches away, so you turn to look. Standing there is a young man, smiling at you, holding up a self-rolled cigarette... that looks suspiciously like a joint. The guy doesn''t seem too concerned about somebody catching him with that in public though and focuses entirely on you.'
-		*nl		
-		'"Hey beautiful, I couldn''t help but notice you sitting here all by yourself. Guess you missed the train too, huh?" He looks around, as if he only just noticed that he is walking around a public place with a joint in his hand, then leans down and whispers conspiratorially, "How about we blaze one while we wait?"'
-		act 'Refuse':
-			*clr & cla
-			gs 'stat'
-			'<center><h4>Pavlovsk Station</h4></center>'
-			'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
-			'You have no idea what could be in it and have no intention of being caught out in the open with marijuana either, so you shake your head. "No, thanks."'
-			'He shrugs and steps away. "Alright, just trying to be friendly. It''s your loss."'
-			*nl
-			'He wanders around for a bit. Eventually, another young woman comes down to the platform. You watch him go over, and you are sure he''s making her the same offer, but unlike you, she nods, and they smoke the joint together.'
-			*nl
-			'You can see them talk a little, and even from where you''re sitting, you can tell that the woman is giving him wanton looks. Before long, the two of them sneak off across the tracks and disappear; just as the train arrives, they come rushing back, clothes out of place and hair disheveled.'
-			'It isn''t hard to guess what they were doing to kill time.'
-
-			act 'Board the train to the city':
-				*clr & cla
-				minut += 40
-				gs 'stat'
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
-				'After 40 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view. This is the train''s final destination.'
-				act 'Get off the train':
-					if rand(1, 100) <= 5: gt 'train_incidental', 'events'
-					gt 'city_train', 'start'
-				end
-			end
-		end
 
-		act 'Smoke with him':
-			*clr & cla
-			pcs_horny = 100
-			gs 'stat'
-			'<center><h4>Pavlovsk Station</h4></center>'
-			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weedsmoke.jpg" ></center>'
-			'You smile and nod, taking the joint from him - you only live once and it''s as good a pastime as any. He lights it as you take a long slow drag off it and hold it in, feeling it in your lungs... until you start coughing, causing him to chuckle. You feel the relaxing effect almost at once, your head feeling both lighter and heavier, your mind slowing down... but you notice a slightly odd taste to the smoke that you can''t place - maybe that''s just what this variety tastes like. You pass it back and forth with him, chatting idly as you smoke, and as you do, you start to feel aroused: Your nipples harden, your pussy gets soaking wet and you feel so wound up that you have to actively keep your hands in check to prevent yourself from masturbating out in the open.'
-			'One thing you know for sure even in your current state: Marijuana isn''t supposed to have this effect. You look at your smoking buddy. "What else was in this joint?"'
-			'"XTC," he responds with hesitation, a lazy smile on his face. "It feels great, right?" He grabs you by the hand and pulls you up along with him. "Come on, let''s go have some fun before the train arrives. I know you''re just as horny as I am."'
-			act 'Refuse':
-				*clr & cla
-				gs 'stat'
-				'<center><h4>Pavlovsk Station</h4></center>'
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
-				'You still have enough presence of mind to know this is a bad idea, so you shake your head. "No, thanks."'
-				'He shrugs and steps away. "Alright, just trying to be friendly. It''s your loss."'
-				*nl
-				'He wanders around for a bit. Eventually, another young woman comes down to the platform. You watch him go over, and you are sure he''s making her the same offer, and like you, she nods and they smoke the joint together. You briefly consider going to the bathrooms to masturbate but you don''t want to miss the train again.'
-				*nl
-				'You can see them talk a little, and even from where you''re sitting, you can tell that the woman is giving him wanton looks. Before long, the two of them sneak off across the tracks and disappear; just as the train arrives, they come rushing back, clothes out of place and hair disheveled.'
-				'It isn''t hard to guess what they were doing to kill time. A part of you wishes you had taken him up on the offer.'
-				act 'Board the train to the city':
-					*clr & cla
-					minut += 40
-					gs 'stat'
-					'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
-					'After 40 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view. This is the train''s final destination.'
-					act 'Get off the train':
-						if rand(1, 100) <= 5: gt 'train_incidental', 'events'
-						gt 'city_train', 'start'
-					end
-				end
-			end		
-			act 'Go with him':
-				*clr & cla
-				'<center><h4>Pavlovsk Station</h4></center>'
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weedhorny.jpg" ></center>'
-				'If you were simply horny, you might not have accompanied him, but the XTC has fully taken effect by now. Your mind is reeling, and you feel like you can trust the guy who just drugged you, so you go with him, looking forward to some ''fun''. He leads you across the tracks to the less-used side of the platform and takes you behind one of the roofed waiting areas. Once there, he starts kissing you and pulling your top aside enough to bare your breasts, squeezing and caressing them as you make out, and you groan into his mouth in response.'
-				*nl
-				'You are turned on beyond reason and badly want to fuck him, or anybody else, as long as you just get to have a cock inside you. The XTC tells you that he is a great guy, that you can feel safe with him, that nothing you do here will backfire. Your hands undo his pants. You pull out his cock and start stroking him with one hand while your other hand is rubbing your pussy through your clothes.'
-				gs 'npcgeneratec', 0, 'Stoner', rand(18,24)
-				gs 'boyStat', $npclastgenerated
-				gs 'arousal', 'foreplay', 5, 'unknown'
-				act 'Suck him':
-					*clr & cla
-					'<center><h4>Pavlovsk Station</h4></center>'
-					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weedbj.jpg" ></center>'
-					'He gently pushes down your shoulders, and that is all the encouragement you need. You squat down in front of him at once, taking his <<dick>>cm <<$dick_girth>> cock into your mouth, and start sucking him. Your tongue is giving every bit of his cock it can reach its attention, and you bob your head back and forth, your <<$pc_desc[''lips'']>> lips wrapped tightly around his shaft.' 
-					*nl
-					'You take him as deep into your mouth as you can, keeping him there until you start to gag and have to come up for air. After two heavy breaths to recover, you take him inside again, now rapidly moving your head, sucking and deepthroating him for all you''re worth.'
-					gs 'arousal', 'bj', 5, 'deepthroat', 'unknown'
-					act 'Fuck him':
-						*clr & cla
-						'<center><h4>Pavlovsk Station</h4></center>'
-						'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weedvag.jpg" ></center>'
-						'He is having the time of his life, but all your blowjob does is make you hornier, and you can''t take it any longer. You start removing your clothes bit by bit while you keep blowing him, until every item below your waist is removed. Once your pussy and ass are bare, you pull him down and get him to lie down on his back.'
-						*nl
-						'He has barely even touched the ground when you straddle him, facing his legs and lowering yourself down until you feel his <<dick>>cm <<$dick_girth>> cock stretch out your wet cunt. You moan out loud as you impale yourself on his shaft, going all the way down on the first stroke. You lift yourself up again and, again, take his entire length, faster this time. Then again, and again, riding him harder and faster with every stroke, his cock feeling as big as that of a prized stallion.'
-						gs 'arousal', 'vaginal', 5, 'dom', 'unknown'
-						act 'Take his cum':
-							*clr & cla
-							'<center><h4>Pavlovsk Station</h4></center>'
-							'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weedcum.jpg" ></center>'
-							'You give him the fuck of a lifetime, feeling your orgasm approaching fast, so close, so very close... but he lifts you off and quickly stands up. "I''m about to cum!"'
-							*nl
-							'You have half a mind to say the same but you are too turned on to speak. You squat down in front of him again and start jerking him off as you open your mouth and stick out your tongue. It only takes a few strokes before he shoots most of his load into your mouth, with a few stray squirts landing on your chin.'
-							*nl
-							'With your mouth still open, you show him his sperm on your tongue before you swallow it down, then start sucking his cock again. He was getting soft, but you feel him getting hard again in your mouth, and you are already looking forward to another go so you can have your own orgasm.' 
-							*nl
-							'That''s when you hear the train coming. "The train''s here; we have to stop," he states with a hint of regret as he pulls his cock out of your mouth. Without another look at you, he quickly pulls up his pants and rushes over to the train as it comes to a stop. You hurriedly get dressed as well and then rush after him to get on the train. You make it just in time - the doors close almost as soon as you are in.'
-							gs 'arousal', 'end'
-							gs 'cum_call', 'face', 'Stoner'
-							gs 'cum_call', 'mouth_swallow', 'Stoner'
-							gs 'stat'
-							act 'Board the train to the city':
-								*clr & cla
-								minut += 5
-								gs 'stat'
-								'<center><img <<$set_imgh>> src="images/locations/shared/train/ride.jpg"></center>'
-								'Once on the train, you look around but you don''t see the young man. Perhaps he got on a different car? You go looking for him, passing through a few different sections, hoping to continue what you started and deal with your overwhelming horniness, but after checking the entire train without seeing a hint of him, you give up and find a seat.'
-								'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
-								'After 40 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view. This is the train''s final destination.'
-								act 'Get off the train':
-									if rand(1, 100) <= 5: gt 'train_incidental', 'events'
-									gt 'city_train', 'start'
-								end
-							end
-						end
-					end
-				end
-			end
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 10:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 27:
+			gt 'train_events', 'events'
 		end
 	end
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the small station near the village of Gadukino.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'train', 'village'
+	end
 end
 
-!!events starting on the train. Only one act will show up depending which one triggered but they all start the same.
-if $ARGS[0] = 'private':
-	*clr & cla
-	minut -= 35
-	train_event = 1
+if $ARGS[0] = 'pavlovsk_communal':
+	$loc = 'train'
+	$loc_arg = 'communal'
 	menu_off = 1
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'communal')
+	minut += transportVars['timecost']
 	gs 'stat'
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride.jpg" ></center>'
-	'You board the train and walk past several of the private compartments on your way to the general seating on the car you are on.'
-	act 'You walk past the private compartments':
-		*clr & cla
-		'<center><img <<$set_imgh>> src="images/locations/shared/train/ride.jpg" ></center>'
-		'After the first stop as you are walking past the open door of one of the private compartments, you hear a man''s voice call out to you, "Hello there, young lady! Would you care to join me?"'
-		'You stop and look inside, finding a clean-shaven man sitting there with a select few wrinkles that accentuate his angular features; you estimate that he''s in his late thirties or early forties. The expensive suit he''s wearing and the hints of cologne tickling your nose speak volumes about his wealth, and his self-confident, even smug expression tells the rest of the story. He motions for you to sit with him. "It''s alright, there''s plenty of room in here. Why don''t you come in and close the door?"'
-		*nl
-		'You hesitate - he is undressing you with his eyes and not even trying to hide it, so you doubt that all he wants is a conversation partner, and sure enough when he notices your pause, he pulls 500 <b>₽</b> out of his wallet and puts it on the seat next to him. "If you come in and close the door, we can have a very enjoyable trip together... and you can get off with a little pocket money."'
-		act 'Refuse':
-			*clr & cla
-			gs 'stat'
-			minut += 35
-			'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
-			'You shake your head indignantly. "Fuck you, I''m no whore! Who do you think you are?!" You don''t give him time to respond but simply walk away and take a seat in the general seating area.' 
-			*nl
-			'You spend some time talking to some of your fellow passengers and share the story with a couple of them. They seem shocked that a man would make such an offer to a nice young lady like you right on this train and speculate that only a crook would be insolent enough to try something like that.'
-!!which of these acts show up depending on where Sveta was going when the act triggered obviously.
-			act 'Continue journey': gt $loc, $loc_arg
-		end
 
-		act 'Accept his offer':
-			*clr & cla
-			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/ridebj.jpg" ></center>'
-			gs 'npcgeneratec', 0, 'Guy on train', rand(34,45)
-			gs 'boyStat', $npclastgenerated
-			'Another stop goes by as you wait for some passengers to pass.'
-			*nl
-			'You bite your lower lip as you consider his offer. You could use the money... and the thought of having sex on the train is exciting in itself too. With your mind made-up, you step inside, close the door behind you and pull the privacy blinds down. When you turn back to him, you see that he already has his cock out and is looking at you with a strange, self-satisfied smile.' 
-			*nl
-			'Unfazed by his boldness, you kneel down in front of him and lick up and down his length a few times before you take his <<dick>>cm <<$dick_girth>> cock into your mouth, noticing that even it smells of that nice cologne. Your tongue moves around the head as you suck his cock, and you start bobbing your head up and down while your hands take turns playing with his shaved balls. It''s hard for you to decide whether you want to move slow and tease him or speed up to avoid getting caught, but what you are doing seems to be to his liking.'
-			*nl
-			'"Good girl," he whispers, "I knew you could suck cock as soon as I saw you." His praise causes you to smile a little around his cock, and you take him a little deeper in response.'
-			gs 'arousal', 'bj', 10, 'prostitution', 'sub', 'unknown'
-			gs 'dinSex', 'std_trigger_oral'
-
-			act 'First stop':
-				*clr & cla
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/ridevag.jpg" ></center>'
-				'He enjoys your blowing him until the train arrives at its first stop, even opening the window blinds a little to look outside while you continue sucking him off, expecting somebody to find you in this position at any moment.' 
-				*nl
-				'The train leaves the station without incident however, and at that point, the man motions for you to stop and get up with him. He turns you around and bends you over, pulling your clothes aside just enough to expose your pussy which, by this point, is dripping wet from the immense thrill of your risky actions. In one smooth stroke, his <<dick>>cm <<$dick_girth>> cock is inside you, the full length buried to the hilt, the feeling so intense that you have to keep yourself from moaning too loud; and the sensations multiply when he starts to move.' 
-				*nl
-				'He is not gentle with you by any means, but the truth is that you wouldn''t have wanted gentle "love-making" in this situation - you are having sex on a train for crying out loud! And all it would take would be one curious passenger brave enough to peek inside to expose you as the slut you are, but that is what makes it so wonderful, so depraved and exciting, and it is exactly why, at that moment, you want to be fucked hard, and he is more than happy to give you the pounding you crave.' 
-				*nl
-				'The man keeps going for a while until he starts breathing harder. You faintly notice that the train is slowing down and coming to a halt. People are getting off and on the train, surely somebody could discover you at any moment, and the blinds on the window aren''t fully closed either! But you cannot think straight and your lover chooses this particular moment of half-awareness to stop and lay you down on the seat.'
-				gs 'arousal', 'vaginal', 15, 'prostitution', 'sub', 'unknown'
-
-				act 'Second stop':
-					*clr & cla
-					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/rideanal.jpg" ></center>'
-					'Once he has you lying on your back, bedded on dusty seat cushions with your nether parts fully exposed to him and anybody who might enter, he moves up and slips his <<dick>>cm <<$dick_girth>> cock into your ass without warning. It enters surprisingly easily, and even though you are unprepared, you manage to relax enough to avoid any pain. It certainly helps that he is taking it slow, giving you plenty of time to adjust to his cock while your mind is racing, running hot as it tries to comprehend how a simple train ride ended up with you having anal sex, on the train, with a complete stranger!' 
-					*nl
-					'Honestly, it makes relaxing difficult because your muscles are twitching around him in excitement and you can barely contain your moans. He goes a little deeper and a little faster, but your ass is too much for him, and he can''t last much longer. You feel the first spurt of sperm deposited in your ass a second later, and as he continues to cum, he pulls out of you.'
-					gs 'arousal', 'anal', 5, 'prostitution', 'sub', 'unknown'
-					gs 'dinSex', 'std_trigger'
-
-					act 'Finished':
-						*clr & cla
-						money += 500
-						gs 'cum_call','anus',$boy, 0,'','',20
-						gs 'cum_call','butt',$boy, 0,'','',20
-						'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/ridecum.jpg" ></center>'
-						'As he does, several spurts shoot all over your ass, and you can feel more of his spunk leaking out of your gaping anus. With a final grunt and spurt, he sits down opposite you, giving you and the state he left you in an appreciative look before he puts his cock away and hands you the 500 <b>₽</b>... And then, he simply pulls out a newspaper and starts reading it. The switch from ravaging your asshole to perusal is so sudden that you are confused for a moment. You soon realize, however, that he is really no longer paying attention to you and you are lying around with cum dripping out of your backdoor, so you quickly get up and get yourself cleaned up.'
-						
-						act 'Your stop':
-							*clr & cla
-							'<center><video autoplay loop src="images/locations/shared/train/pantyup.mp4" ></video></center>'
-							'Once you are dressed again and have removed most of the sperm, you sit down and quietly study the man you had sex with who seems content to spend the rest of the ride in silence and feigned obliviousness to your presence. After a bit, you pull out your phone and amuse yourself with it until the train finally reaches your destination. "Well, this is my stop," you tell him.'
-							*nl
-							'He looks up from his newspaper for the first time since he came. "I wish you a safe trip. And thank you for making this ride a bit less dull," he adds with a wink before returning to the headlines. You leave the compartment, the strange and naughty events fresh on your mind, and make your way to the closest exit.'
-							gs 'arousal', 'end'
-							gs 'stat'
-
-							act 'Get off the train':gt $loc, $loc_arg
-						end
-					end
-				end
-			end
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 10:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 38:
+			gt 'train_events', 'events'
 		end
 	end
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes you arrive at an old railway platform near the communal village.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'train', 'communal'
+	end
 end
 
-if $ARGS[0] = 'oldman':
-	*clr & cla
+if $ARGS[0] = 'pavlovsk_ind':
+	$loc = 'city_industrial_train'
+	$loc_arg = 'platform'
 	menu_off = 1
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
-	'You choose an empty seat by the window and look outside, lost in thought, as others board the train. Shortly after the departure, an old man sits down next to you. He offers you some nuts from a bag he is carrying, and you politely take a few; you would have been content with spending the rest of the ride in silence, but the man then starts talking to you about how he has not been back to this area since his wife died a few years ago. Curious and feeling somewhat obligated to keep the conversation going, as awkward as it may be, you ask him about his wife and learn that, until recently, they had a happy, wonderful life together; alas, what they thought was just a bad cough that wouldn''t go away turned out to be lung cancer, and she died a very slow and agonizing death while he could do nothing but watch and care for her.'
-	*nl		
-	'He gets very emotional while telling you the story, even has to wipe away tears a few times, and thanks you for listening to him once he finishes it. "I don''t even know why I started telling you about her," he apologizes, "I guess it''s because you remind me my wife when she was young. You are just as beautiful as she was. If only you could-"'
-	*nl
-	'He seems to want to say more, but as the train pulls into the station you''re both headed for, he shakes his head as if saying no to himself. "Please, what is it?" you coax. He says he shouldn''t ask but wonders if you would be so kind as to go with him to a place he and his wife liked to go. He would love the company if you are not too busy.'
-
-	act 'Refuse his request (<<will_cost>> Willpower)':
-		*clr & cla
-		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
-		'You feel sorry for him, but you really don''t have time for this, especially since you think this won''t be just a quick walk - after all, accepting a handful of nuts from him turned into story time! You inform him, with audible regret, that you just don''t have the time to accompany him; he nods sadly but understandingly, and once you''ve disembarked the train, you both go your separate ways.'
-!!which of these acts show up depending on where Sveta was going when the act triggered obviously.
-		act 'Continue': gt $loc, $loc_arg
-	end
-
-	act 'Accept his request':
-		*clr & cla
-		'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/old.jpg" ></center>'
-		'Your heart goes out to the guy; after spending the entire train ride listening to him, you feel sorry for him and his loss. You decide that you can make time for him, and you agree to go with him and keep him company. He livens up and seems happier than you have seen him since he sat down next to you. Once off the train, he leads you down the tracks a bit to a small bridge over a gully, then down and along the end alongside the bridge. He points out a small old building, informing you that he and his wife used to come down here all the time, especially when they were younger.'
-		*nl
-		'Honestly, the place is one of the most rundown and shabby you''ve seen in a while, but maybe it looked a lot different when he was young, so you hold your tongue so as not to spoil his sentimental mood and walk with him. As you do, he wraps his arm around your waist and points out several other buildings and things, talking about what they were like years ago and the many picnics and such he and his wife had here. He leads you up a set of stairs to a concert platform... and sighs when he finds the door at the top barred. "Last time me and my wife were here, we were able to sneak inside and..." but you don''t listen to how this story ends because, right at that moment, you notice the raging hard-on in his pants.'
-		*nl
-		'He glances down when he sees what you''ve caught and quickly apologizes. He admits that he and his wife used to sneak down here and have sex. He says that you look so much like her and it has been years since he had sex... so maybe you could make an old, sad man feel young and happy again, even if only for a few short minutes?'
-
-		act '"No, that''s too much to ask"':
-			*clr & cla
-			gs 'stat'
-			'You tell him that you''re not going to have sex with him. It is more than a little creepy to have sex where he and his wife used to do it anyways. Feeling repelled by him and his request, you quickly pull free from him and make your way back to the platform, leaving the old guy to himself and his strange ideas.'
-			act 'Return to the station': gt $loc, $loc_arg
-		end
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'ind')
+	minut += transportVars['timecost']
+	gs 'stat'
 
-		act 'Fulfill his wish':
-			*clr & cla
-			gs 'npcgeneratec', 0, 'Old guy', rand(52,67)
-			gs 'boyStat', $npclastgenerated
-			gs 'pain', 3, 'vaginal', 'ache'
-			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/oldvag.jpg" ></center>'
-			'"Poor guy," you think to yourself. After all he''s been through, his request doesn''t seem like too tall an order; he really looks like he could use a little love, so you nod your head and are halfway down on your knees when he stops you. "I am very grateful you want to help me, Miss, but my wife didn''t believe in oral sex, and I think she rubbed off on me. Maybe you could just... take off your bottoms?" he asks in a pleading and hopeful tone. You raise an eyebrow - you actually kind of hoped that a quick blowjob would be the extent of this, and he must be the first man you''ve met who actually turned one down - but you agreed to "sex", after all. You wordlessly strip from the waist down and watch as he does the same, feeling a little uneasy now that you''re half-naked in this strange place. It doesn''t help that the old man''s look is a lot more lecherous now, but who would blame him in this situation?'
-			*nl
-			'He turns you around and has you put one foot up on the gate blocking the door, spreading your legs as you face the door. The elderly guy comes up behind you, and without warning, he shoves his <<dick>>cm <<$dick_girth>> cock into your vagina. He didn''t even check if you were wet, roughly boring through any resisting tissue. You grit your teeth to stifle a cry of pain, but it escapes you anyway when he begins to roughly fuck you, holding you by your hips and pulling your ass back against him. You endure, sure that he won''t last long, but he ends up fucking you for quite a while before he pulls out. By this point, you are somewhat lubricated and a little numb to the pain, but you are still glad it is over... except it isn''t.' 
-			*nl
-			'The old man simply pulls you down to the ground, laying you on your side in a spoon position with himself right behind you, and slips his cock back into you. A second later, he has resumed pounding your pussy as hard as he physically can.'
-			gs 'arousal', 'vaginal', 15, 'rough', 'unknown'
-
-			act 'Surprise buttsex':
-				*clr & cla
-				gs 'pain', 3, 'asshole', 'ache'
-				'<center><img <<$set_imgh>>  src="images/locations/shared/train/sex/oldanal.jpg" ></center>'
-				'He keeps this up for a while, and it is almost starting to feel okay when he pulls out and pauses. Again, you briefly think that he is done and only have a second to realize that, actually, he is rubbing the tip of his cock against your anus. Before you can even protest, his <<dick>>cm <<$dick_girth>> cock has already painfully penetrated your ass. You instinctively want to flinch away, but he grabs your hips with surprising strength and forces his cock as far into your ass as he can... before he starts hammering your ass. "My wife loved anal," he informs you between slaps of flesh against flesh, "I hope you don''t mind."'
-				*nl
-				'You can merely groan in response as he violates your little asshole. His wife must have really liked rough sex if this was the norm for them. He lifts your leg up and props your foot on the wall to keep your legs spread, which thankfully puts you at an angle where it hurts a little less. Still, you are really starting to regret that you wanted to help him out.'
-				gs 'arousal', 'anal', 10, 'rough', 'unknown'
-
-				act 'Take his cum':
-					*clr & cla
-					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/oldcum.jpg" ></center>'
-					'All of a sudden, he pulls out of your ass and, you feel his hot sperm splattering against your puckered hole, pussy lips and inner thighs. It''s not as much cum as you expected for somebody who didn''t have sex in years, but maybe he jerks off a lot? He gets up first, using your shoulder for support,  which holds you down until he is fully on his feet. Bearing it without clamor, you start wiping off the cum as he gets dressed; by the time you finally get off the ground yourself, he''s fully clothed, whistling and already walking off back the way you came with him.'
-					*nl
-					'You hurry up in getting yourself back in order, but by the time you have your bottoms back on and look up, he is almost out of the gully already, halfway back to the tracks! He seems <b>a lot</b> more spry than before, and you get the sneaking suspicion that you have been had in more ways than one.' 
-					'Cursing your gullibility and wincing at the ache in your pussy and ass, you finish dressing and head back to the platform - as unpleasant as this was, maybe you''ve learned your lesson at least.'
-					gs 'arousal', 'end'
-					gs 'cum_call', 'labia', 'Old guy'
-					gs 'cum_call', 'butt', 'Old guy'
-					gs 'cum_call', 'legs', 'Old guy'
-					gs 'stat'
-
-					act 'Return to the station': gt $loc, $loc_arg
-				end
-			end
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 14:
+			gt 'train_events', 'private'
+		elseif transportVars['rand'] <= 39:
+			gt 'train_events', 'Gopnik'
+		elseif transportVars['rand'] <= 45:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 56:
+			gt 'train_events', 'events'
 		end
 	end
-end
 
-if $ARGS[0] = 'fit':
-	*clr & cla
-	menu_off = 1
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride1.jpg" ></center>'
-	'You sit in an empty seat by the window and look outside, lost in thought, as others board the train. Shortly after the departure, a man in his thirties - or perhaps early forties - sits down next to you. You don''t give him more than a short glance as he takes the seat, but it doesn''t take more than that to notice that he is in <b>great</b> shape. You try not to stare, but you just can''t help yourself - the world outside the window is just too boring to hold your attention. Of course, your gaze does not go unnoticed, and the man, grinning, engages you in a conversation.'
-	*nl
-	'He asks you your name, where you''re going and a few other questions, and before you know it, you''re chatting and laughing about a movie both of you happen to have watched recently. He is pretty charming, and even a blind deaf woman would notice his flirting.'
-	*nl
-	'As you talk, you realize you are both getting off at the next stop, and he asks if you would like to go for a walk with him along the tracks after you disembark the train. As innocent as he tries to make it sound, you have no doubt what he would really like to do with you on that "walk", but he <i>is</i> attractive and his fitness and charm are sexy enough to make his offer tempting.'
-
-	act 'Refuse his offer':
-		*clr & cla
-		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
-		'You thank him but politely refuse his offer, claiming that, sadly, you don''t have time to go on a walk today and are already running late, really. He doesn''t seem too disappointed though. "I''m sure we will meet again on the train sometime," he augurs with a smile, "and then you will have time for that walk." You don''t know if his prophecy is going to come true or not or if he truly believes what he said but, regardless, he remains a pleasant dialog partner for the rest of the ride.'
-!!which of these acts show up depending on where Sveta was going when the act triggered obviously.
-		act 'Leave the train': gt $loc, $loc_arg
-	end
-
-	act 'Accept his offer':
-		*clr & cla
-		'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/fit.jpg" ></center>'
-		'You consider his offer. It doesn''t exactly sound like a smart idea to go on a walk along the train tracks with a complete stranger, but somewhere between his charming compliments and the hard abs he let you feel, you lose all sense of what is smart. You let him know you would love to go for that walk, throwing caution to the wind because it could be fun.' 
-		*nl
-		'Once you''ve reached your destination, you disembark the train together and wait for it to pull out of the station. He then takes you by the hand and leads you down the tracks, talking to you about how pretty you are, his flirting amped up to eleven.'
-		*nl
-		'The two of you end up walking further than you expected, well out of sight of the station, and when he finally stops and starts kissing you, it''s so abrupt that you are momentarily stunned. Your friend doesn''t lose any time however, and his hands are, piece by piece, removing your clothes as you passionately kiss him back. He has you half-naked in no time, right here out on the tracks, and you feel thrilled at the idea someone could very easily happen by and see you like this.'
-		*nl
-		'While you are making out, his fingers find your clit and... you don''t really know what he''s doing or how he''s touching you, but there is no doubt that he knows <b>exactly</b> what he has to do to please you. Every move feels like jolts of electricity are running through your body, waves of relish going up and down your spine. Half the town could be watching you right now for all you care, as long as he doesn''t stop.' 
-		*nl
-		'But, of course, he does once he has you good and wet, and he gently pushes you down by your shoulders so you can reciprocate.'
-		gs 'arousal', 'vaginal_finger', 15, 'unknown'
-
-		act 'Give him a blowjob':
-			*clr & cla
-			gs 'npcgeneratec', 0, 'Fit guy', rand(32,42)
-			gs 'boyStat', $npclastgenerated
-			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/fitbj.jpg" ></center>'
-			'As much as you would have liked to feel his heavenly fingers some more, you drop to your knees and waste no time in taking his <<dick>>cm <<$dick_girth>> cock deep into your mouth, immediately feeling his hand on back of your head. You wrap your lips tightly around the shaft of his cock and bob your head, sucking hard on him to give him an idea of the intense stimulation he gave you. Occasionally, he uses his hand to force you deeper down on him so you would gag a bit on his cock, but he seems mostly content with letting you pleasure him at your own pace.'
-			*nl
-			'You stay on your knees, blowing him, for quite a while - if the sore jaw muscles are anything to go by - and even with your discarded clothes to kneel on, you''re probably going to have sore knees after this.'
-			gs 'arousal', 'bj', 15, 'deepthroat', 'unknown'
-			gs 'pain', 1, 'legL', 'ache'
-			gs 'pain', 1, 'legR', 'ache'
-			gs 'stat'
-
-			act 'Let him fuck you':
-				*clr & cla
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/fitvag.jpg" ></center>'
-				'He pulls you up, back on your feet, and turns you around. You expect him to bend you over the next moment, but instead, he lifts one of your legs off the ground, and you feel him rubbing the head of his cock against your pussy lips, teasing you and himself and getting you all worked up again. Once his tip is nice and wet, he slides his <<dick>>cm cock into you, filling your pussy with his <<$dick_girth>> cock.'
-				*nl
-				'Holding one of your legs up with one hand, he wraps his other around your waist to help you keep your balance. You have to reach back, around his shoulders, as well to support yourself, but it is easy in the face of the pleasure you''re feeling. He strokes the length of his cock inside you, giving you a passionate fuck right there on the train tracks. Your moans come loud and unrestrained; you don''t care if anyone is nearby, if anybody can hear you or see you. He completely fills you, both physical and emotionally, and every rational thought is washed away by waves of pleasure.'
-				gs 'arousal', 'vaginal', 10, 'unknown'
-
-				act 'Take his cum':
-					*clr & cla
-					minut += 5
-					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/fitcum.jpg" ></center>'
-					'His hard breathing turns into groans, and the next moment, he pulls out of you, letting go of your leg and body. You squat down in front of him, rubbing your clit and opening your mouth. Before he can even get his cock back into your mouth, the first jet of cum spurts across your lips; the following ones end up shooting into your now fully-opened mouth.'
-					*nl
-					'He squeezes the last few drops of sperm into your mouth and then sticks his cock inside. You swallow his cum obediently and then suck his cock clean, licking every tasty inch of it you can reach. Once he goes soft in your mouth, he pulls back and the two of you start getting dressed.'
-					*nl
-					'Naturally, he is the first to be back in order, but he waits until you are cleaned up and presentable again and then walks you back to the station. The walk back is anything but awkward. He flirts with you just like he did at the very start, and you are getting the sense that he might be genuinely interested in you. Or, at the very least, he''s not the kind of ass who just wants to fuck you and forget you.'
-					gs 'arousal', 'end'
-					gs 'cum_call', 'mouth_swallow', 'Fit guy'
-					gs 'stat'
-
-					act 'Return to the station': gt $loc, $loc_arg
-				end
-			end
-		end
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city industrial area station.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'city_industrial_train', 'inside'
 	end
 end
 
-if $ARGS[0] = 'young':
-	*clr & cla
+if $ARGS[0] = 'pavlovsk_center':
+	$loc = 'city_train'
+	$loc_arg = 'start'
 	menu_off = 1
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride1.jpg" ></center>'
-	'You sit in an empty seat by the window, looking outside, lost in thought, as others board the train and it eventually departs. Most of the train ride passes as you silently daydream with the scenery outside blurring together. It''s not until someone heavily sits down next to you that you snap out of it. You turn to see a good looking young guy in his early to mid-twenties greeting you with a bright smile. "I''ve gotta say: I''ve walked from one end of this train to the other, and you are by far the most beautiful girl on it."' 
-	*nl
-	'You blush slightly at his compliment. "Thank you, you''re not so bad looking yourself," you reply as you look him over. He is well groomed, with a nice suit jacket over a button-up shirt. His pants are patched, but you suppose it is done intentionally for style - still, it clashes with the nice jacket and makes it look like he is trying to look his best but hasn''t quite figured out all the tricks yet.'
-	*nl
-	'"So where are you headed?" he asks.'
-	'"I get off at the next stop," you respond without thinking. His lips curl into a suggestive grin; it takes you a moment to realize how your words could be taken as a sexual innuendo and blush slightly - something about this guy makes you blush a lot more than usual.'
-	'"Well, I could help you with that, if you like," he offers, his eyes following your curves, "it''s always better to get off together."'
-	act 'Refuse':
-		*clr & cla
-		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
-		'He may be good-looking, but it''s time he learned that doesn''t have to mean anything. Shaking your head no, you tell him that "that''s not how I meant it." As you do, the train slows and comes to a stop.'
-		'"Oh, I get it!" he feigns realization at the ''misunderstanding'', "I didn''t mean that either. I just, you know, thought we could hang out and have fun." His effort to save the situation is valiant, but you shoot him down again with a "no, thank you" and disembark the train without looking at him again.'
-!!which of these acts show up depending on where Sveta was going when the act triggered obviously.
-		act 'Return to the station': gt $loc, $loc_arg
-	end
-
-	act 'Accept':
-		*clr & cla
-		'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/young.jpg" ></center>'
-		'You look him over and bite your lower lip as you consider his suggestion. You don''t even know his name, but somehow, that makes it an even bigger turn on. You know exactly what he wants, and to your own small surprise, you find yourself wanting it too.' 
-		*nl
-		'"Okay," is all you say to him, but really, that is all he needs to hear.' 
-		'"Great! I''ll get you off in no time, or your money back!" he says laughing.'
-		'When the train stops at the final station, he leads you off the car, and the two of you wait as people leave the platform and new passengers get on. When the train has left and there''s nobody around anymore, he motions for you to follow him and takes you on a walk along the tracks.'
-
-		act 'Follow him':
-			*clr & cla
-			gs 'npcgeneratec', 0, 'Well dress guy', rand(18,21)
-			gs 'boyStat', $npclastgenerated
-			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/youngvag.jpg" ></center>'
-			'You keep looking back towards the station as you walk, making sure that nobody sees where you''re headed. Your male companion on the other hand seems to be a lot more interested in your anatomy than potential observers. He puts his arm around your waist as you walk together and somehow manages to worm his way into your panties, rubbing your clit as you move. You somewhat lose interest in looking back after that, focusing entirely on the fingers playing with your pussy and dipping inside you. As soon as he has you good and soaking wet - and has put enough distance between you and the station that you''re no longer in plain sight - he pulls down his pants and sits on the tracks, his erect cock an unmistakable invitation.' 
-			*nl
-			'Your need seems to explode at the sight, and you urgently pull your clothes aside enough to reveal your pussy and tits, squat down on his <<dick>>cm <<$dick_girth>> cock and guide him inside. You can feel it filling you up as you impale yourself on his hard shaft.'
-			*nl
-			'You start riding him, completely controlling the action and taking him at the exact depth and speed you want. The power over the situation is intoxicating, but it pales in comparison to the knowledge that you are fucking a stranger out in the open where anybody could find you at any moment; unsurprisingly, your moans are getting louder and louder, and you feel yourself building up to a strong orgasm, every thrust getting you closer to the peek... but before you can reach it, he pulls you off and stands back up. You are confused and groan in protest, but he pulls you up with him. "Don''t come yet, not yet. That was just the warm up," he promises. You have half a mind to scream at him for yanking you back so close to the edge, but you are too horny to be angry. All you wanna do is fuck right now.'
-			gs 'arousal', 'vaginal', 10, 'exhibitionism', 'unknown'
-			gs 'stat'
-
-			act 'See what he has in mind':
-				*clr & cla
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/youngbj.jpg" ></center>'
-				'He takes your hand and walks you down the tracks a bit more. His cock is back in his pants, but you''re completely exposed - he insisted on it and, really, you don''t mind; it is thrilling, even with nobody around. As you pass two electricity sub-stations for the trains, he stops and pulls you between them, a mischievous grin on his face. "I saw a track worker, just a few hundred meters away," he whispers with a chuckle and pulls down his pants. "I wonder how he''d react if he found you, sucking my cock."' 
-				*nl
-				'You are not sure if he''s being serious about having seen somebody or not, but you are not thinking straight anymore; the notion that somebody might be close by who could catch you raises the stakes in an exciting way, so you don''t think twice before squatting down in front of him and taking his <<dick>>cm <<$dick_girth>> cock into your mouth. You can taste your own pussy juices on his cock as you suck him, a subtle reminder of your "warm-up". With your <<$pc_desc[''lips'']>> lips lips wrapped tightly around his shaft, you start bobbing your head while one of your hands fondles his balls. If somebody''s gonna find you, he''s gonna get an eyeful, that''s for sure!'
-				*nl
-				'After a few minutes, he pulls his cock out of your mouth and then lies down on his back again, his legs peeking out from between the sub-stations - either the track worker was imaginary or your friend is too horny to care anymore. His eyes are burning with desire, so both options are possible.' 
-				'"Lower yourself down on me again, baby... but this time, I want you to take my cock up your ass."'
-				gs 'arousal', 'bj', 10, 'exhibitionism', 'unknown'
-				gs 'stat'
-
-				act 'Do as he says':
-					*clr & cla
-					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/younganal.jpg" ></center>'
-					'You are too desperate for sex to say no even if you''d wanted to. Without hesitation, you spread a little bit of your secretions around your puckered hole, and you lower yourself onto him. You can feel the head of his cock rubbing against your asshole; the pressure builds, your sphincter resisting the penetration... until the head pops inside. You gasp softly, pain and pleasure both vying for your attention, and you slowly lower yourself further, taking more and more of his <<dick>>cm <<$dick_girth>> cock into your ass.'
-					*nl
-					'Once you have as much of his cock in your ass as you comfortably can on the first go, you start moving your hips, rising up and lowering yourself again, taking a tiny bit more of him into you each time. As you''re riding his cock with your ass, his hands come up to grab your waist - not to wrest control from you as you first thought, but to support your weight, allowing you to focus on getting into a rhythm and enjoying yourself as much as he audibly does, with a little help from your hand on your clit.'
-					$orgasm_or = 'custom'
-					$orgasm_txt = 'You are incredibly turned on, by him, by this situation, by having his cock in your ass, moaning loudly and riding him harder and faster. You barely even realize that you''re taking him balls deep into your ass with each thrust. Your body shudders and your moans come to a crescendo as you orgasm, falling back against him as wave after wave of ecstasy shakes you. Your moans turn into screams when he picks up the pace and thrusts up into you, fucking you hard from below and extending the climax.'
-					gs 'arousal', 'anal', 10, 'sub', 'unknown'
-					gs 'stat'
-
-					act 'Take his cum':
-						*clr & cla
-						'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/youngcum.jpg" ></center>'
-						'He lifts you off him and stands up beside you, jerking his cock. You know what he wants, and you don''t mind opening your mouth for him. Maybe two seconds later, the first jet of hot, sticky sperm flies into your mouth; most of those that follow hit their target too - only one or two miss and end up on your lips.' 
-						'When the torrent of semen has run dry, your lover pulls up his pants while you swallow his load, the salty reward for an incredible experience. He waits for you to get dressed and cleaned up, then he walks you back to the platform, flirting and chatting amicably with you along the way, right up until you''re inside the station and it''s time to part ways.'
-						'"I''m glad that we''ve met today, <<$pcs_nickname>>. This has been one of the best days of my life; I''m not exaggerating. You are an amazing girl... and I hope to see you again someday." Honestly, you are a bit overwhelmed by this, but in a good way... in a great way, actually.'
-						'"Yeah, I... I had a lot of fun with you," you say lamely and give him an awkward smile as you try to find the right words, "and I hope we run into each other again too. Who knows, maybe we''ll meet on the train again?"' 
-						'"I''d like that." He gives you a kiss on the cheek and a boyish grin that makes you feel weak in the knees, and walks away. You follow him with your eyes until he''s turned a corner, then sigh and, with a heavy heart, return to your day-to-day life.'
-						gs 'arousal', 'end'
-						gs 'cum_call', 'mouth_swallow', 'Well dress guy'
-						gs 'stat'
-
-						act 'Return to the station and catch the next train':
-							*clr
-							cla
-							gs 'stat'
-							'<center><img <<$set_imgh>> src="images/locations/shared/train/electri_' + rand(1,5) + '.jpg"></center>'
-							'The journey is uneventful, and you end up not paying attention for much of it. It doesn''t seem like long before you arrive at your destination.'
-							act 'Get off the train': gt $loc, $loc_arg
-						end
-					end
-				end
-			end
+	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'center')
+	minut += transportVars['timecost']
+	gs 'stat'
+
+	if transportVars['train_event_day'] ! daystart:
+		transportVars['rand'] = rand(1, 100)
+		if transportVars['rand'] <= 14:
+			gt 'train_events', 'private'
+		elseif transportVars['rand'] <= 39:
+			gt 'train_events', 'Gopnik'
+		elseif transportVars['rand'] <= 45:
+			gt 'train_incidental', 'events'
+		elseif transportVars['rand'] <= 56:
+			gt 'train_events', 'events'
+		elseif tranportVars['rand'] <= 64:
+			gt 'train_events', 'weed'
 		end
 	end
-end
 
-if $ARGS[0] = 'Gopnik':
-	*clr & cla
-	menu_off = 1
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride3.jpg" ></center>'
-	'You are sitting in an empty seat by the window, looking outside, lost in thought, as others board the train. A gopnik boy sits down next to you, but you try to ignore him and keep staring outside. Unfazed by that, he gives you a once-over, a lewd grin you only see from the corner of your eyes forming on his face, and leans in close, putting his arm around you. You turn your head to tell him off, but your mouth is immediately covered by his! And, not content with just kissing you, the gopnik''s hand starts roaming across your breasts.'
-	gs 'willpower', 'exhib', 'resist', 'medium'
-	act 'Stop him':
-		*clr & cla
-		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
-		'After the immediate shock has passed, you push him away, but that doesn''t deter him in the slightest. He immediately tries to kiss and grope you again. You push him off once more, then get up and move to another seat next to a woman who nods at you sympathetically and shoots the gopnik a nasty look. With nowhere to sit where he could harass you, the boy looks at you for a moment, then shrugs and looks out the window. The rest of the ride is fairly uneventful; you spend most of it chatting with your seatmate / savior about men who molest women on trains.'
-!!which of these acts show up depending on where Sveta was going when the act triggered obviously.
-		act 'Continue journey': gt $loc, $loc_arg
-	end
-
-	act 'Go with it':
-		*clr & cla
-		minut -= 30
-		gs 'fame', 'pav', 'sex', 5
-		gs 'npcgeneratec', 0, 'Gopnik', rand(18,25)
-		gs 'boyStat', $npclastgenerated
-		'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnik.jpg" ></center>'
-		'He is pretty cute, and you find yourself in the mood for a little tenderness, so you return his kiss and allow him to paw at your body. During the ride, you hear more than a few people comment on the two of you making out like this on the train; several seem to be of the opinion that this is not a proper place to show this level of affection. Instead of deterring you however, all that does is tickle your rebellious streak and make you feel even more brazen.'
-		*nl
-		'Once the train stops at your destination, you get off with him, but you barely make it off onto the platform before he pulls you into another kiss. He is actually a pretty good kisser, and while his pawing hands might drive most innocent girls away, he seems to mostly know where he has to grope too. Breaking the kiss and finding you breathing as heavily as him, he suggests, "Let''s go for a walk; you know, somewhere a little more private."'
-		gs 'arousal', 'foreplay', 5, 'unknown', 'exhibitionism'
-		gs 'stat'
-		gs 'willpower', 'sex', 'resist', 'medium'
-		if will_cost <= pcs_willpwr:
-			act 'Decline (<<will_cost>> Willpower)':
-				*clr & cla
-				gs 'willpower', 'pay', 'resist'
-				gs 'stat'
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnik.jpg" ></center>'
-				'You shake your head no - you don''t wanna take it that far with him. "Sorry, but I don''t have time. It was fun though. The trip was a lot more exciting than I expected." He looks a little disappointed, so you comfortingly pat his cheek. "Maybe I will see you again sometime, and we can pick up where we left off." You lean in and give him a long, slow kiss goodbye, then bounce away and head off the platform. You hear him mutter about not getting more action, but you don''t really care - all you care about right now is that the train ride just flew by.'
-				act 'Return to the station and catch the next train':
-					*clr & cla
-					minut += 30	
-					gs 'stat'
-					'<center><img <<$set_imgh>> src="images/locations/shared/train/electri_' + rand(1,5) + '.jpg"></center>'
-					'The journey is uneventful, and you end up not paying attention for much of it. It doesn''t seem like long before you arrive at your destination.'
-					act 'Get off the train': gt $loc, $loc_arg
-				end
-			end
-		else
-			act 'Decline (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-		end	
-		act 'Agree':
-			*clr & cla
-			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnikwalk.jpg" ></center>'
-			'He takes you to the skyway over the tracks, holding your hand and pointing out different buildings and things. You already know almost everything he is talking about, but you let him talk for one very simple reason: he is surprisingly charming and sweet now, compared to the pawing weirdo you met on the train. He throws a lot of compliments your way, telling you how "the sun pales in comparison to your beauty" and the like. You consider telling him he really doesn''t have to try this hard, but some funny exaggerations aside, you genuinely enjoy flirting with him and let him go on.'
-			*nl
-			'Once the train has left the station and all who disembarked with you are gone, he carefully inspects your surroundings to see if anybody else is around. When he doesn''t see anyone, he stops and turns towards you. Back to his train persona, your gopnik friend decides to take this to the next level or three, unbuttoning his pants and pulling them down to his knees. His cock springs free, already hard and proudly fluttering in the wind.'
-			act '"Um... No"':
-				*clr & cla
-				gs 'stat'
-				'Even as he''s pulling down his pants, you are already shaking your head and laughing. "Do you think I''m a slut or something? I''m not gonna do something with you after a couple of compliments, especially not out in the open like this!" You turn and walk off, calling over your shoulder, "I thought you were a nice guy, but I guess I was wrong."' 
-				*nl
-				'The gopnik seems anything but pleased by your response. He tries to pull his pants back up and yells, "You fucking tease! Get back here!" You don''t; on the contrary, you exploit his current struggle with his pants to run back down the stairs to the platform and into the station before he can follow.'
-				act 'Return to the station': gt $loc, $loc_arg
-			end
-
-			act 'Blow him':
-				*clr & cla
-				gs 'boy'
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnikbj.jpg" ></center>'
-				'The back and forth between him being nice and an ass is weird, the place is wide open, you barely know him - literally everything about this should discourage you from going near his crotch, and yet... yet, you find yourself squatting down in front of him and taking his <<dick>>cm <<$dick_girth>> cock into your mouth. Your hand strokes his hard shaft while you roll your tongue around the head of his cock; you jerk his cock in tune with the bobs of your head, back and forth along his length, your <<$pc_desc[''lips'']>> lips lips wrapped tightly around him.' 
-				*nl
-				'You know this is kind of slutty - a little more than just "kind of", actually - but the idea that you could get caught at any moment is making this a lot more arousing than it should be; so, here you are, sucking his cock right above the train platform. Plus, he is kinda cute, and you like his cock, so who care''s if it is slutty? The things the people said on the train got you riled up, and this makes you feel like you''re getting back at their stuffy selves. You''re having fun, and it''s your body to do with as you please, and that''s all that matters.'
-				'Well, that, and the hard cock you''re sucking with passion.'
-				gs 'arousal', 'bj', 10, 'exhibitionism', 'unknown'
-				gs 'stat'
-				act 'Let him fuck you':
-					*clr & cla
-					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnikvag.jpg" ></center>'
-					'You don''t know how many minutes pass as you suck him; somewhere along the way, you worm your fingers into your panties, rubbing your clit, feeling a lot more turned on by sucking his cock than you expected. You don''t know if he always planned on more than just a blow job or if he sensed that you were getting horny and influenceable, but he eventually has you stop and stand up and pulls your clothes aside enough to bare your ass and expose your glistening wet pussy.'
-					*nl
-					'He meets no resistance when he turns you around and bends you over up against the side of the walkway railings; by the time he has lined his cock up with your pussy, you are looking back at him with eager anticipation. Impatient as you expected him to be, he slips his <<dick>>cm <<$dick_girth>> cock into your sopping wet pussy. It slides in easily, and he has no trouble at all bottoming out on the first thrust. Hearing your moan and feeling how wet and turned on you are, he starts fucking you hard right away. His hips slap against your butt cheeks with every thrust, and he reaches up and grabs your shoulder with one hand to keep you from moving away, furiously fucking your pussy and putting you into a state of ecstatic bliss right there on the skywalk.'
-					gs 'arousal', 'vaginal', 10, 'exhibitionism', 'rough', 'unknown'
-					gs 'stat'
-
-					act 'Have anal sex with him':
-						*clr & cla
-						'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnikanal.jpg" ></center>'
-						'When another train rolls into the station, he curses, pulls out of you and hastily tucks his penis back into his pants. Without waiting until you could do something similar, he grabs your hand and pulls you along with him; you manage to cover yourself to some extent, but you know your ass is still partially showing.' 
-						*nl
-						'He rushes down one of the access ramps of the skywalk to an older platform of the station that now serves as a storage siding. As soon as you turn the corner and are no longer visible from the skywalk or other platforms anymore - so basically as soon as you turn the corner - he pushes you up against the graffiti-covered wall, pulls your clothes aside again and shoves his cock back into your pussy, fucking you like you hadn''t been interrupted. While you try to stifle your moans so passersby on the walkway won''t hear you, he leans forward and seductively whispers into your ear, "I''m going to fuck that tight little ass of yours."' 
-						*nl
-						'Without waiting for a response from you, the boy pulls his cock out once more and slides his <<dick>>cm <<$dick_girth>> cock up your ass. You gasp in pain, but it turns into a moan of pleasure along the way. You don''t have to consciously relax your asshole to enjoy this at this point; you are so turned on at the moment that you don''t really care where he sticks his cock as long as he just keeps fucking you.'
-						gs 'arousal', 'vaginal', 10, 'exhibitionism', 'unknown', 'rough'
-						$orgasm_txt = 'Your ass is getting pounded almost as hard as your pussy; he is just rough enough to make it hurt a little, but in this strange state you''re in, it seems to hurt in a <i>good</i> way, adding more fuel to the mounting climax inside of you. And then, just like that, the pressure is released explosively, shaking you like a leaf in the wind as you have an anal orgasm, maybe five meters away from a skywalk. You cannot contain your moans at this point, and it doesn''t help that your lover redoubles his efforts and fucks your tight little asshole even harder when he realizes that you''re cumming.'
-						$orgasm_or = 'yes'
-						gs 'arousal', 'anal', -10, 'exhibitionism', 'unknown', 'rough'
-						'Had anybody walked by and heard or seen you right now, you wouldn''t have even cared.'
-						gs 'stat'
-
-						act 'Take his cum':
-							*clr & cla
-							'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnikcum.jpg" ></center>'
-							'He suddenly groans; a first jet of sperm shoots into your bowels just as he pulls out, and you feel his hot sperm rain down all over your ass cheeks as he jerks himself off. When the stream dies down, he wipes off the last few drops at his tip on your butt before pulling his pants up; he then helpfully offers you a tissue.'
-							*nl
-							'As you clean yourself up, he breaks into a chuckle as he realizes something: "By the way, I''m <<$boydesc>>."'
-							'You can''t help but laugh at that; you just let him fuck you in every which way, and you didn''t even know his name! "<<$pcs_nickname>>, pleasure to meet you," you say in mock formality and even offer him your hand, "a real pleasure," you add with a suggestive smile. He feigns seriousness as he shakes the offered hand but cannot keep himself from grinning.'
-							'"It was nice meeting you as well, <<$pcs_nickname>>. Maybe I can call you sometime?", he asks hopefully.'
-							gs 'arousal', 'end'
-							gs 'cum_call', 'butt', 'Gopnik'
-							gs 'cum_call', 'anus', 'Gopnik'
-							gs 'stat'
-
-							act 'Give him your number':
-								*clr & cla
-								if rand(0,3) = 0:
-									gs 'boyfrend', 'start'
-									stopboy = 0
-								end
-								'"I''d like that," you tell him and give him your phone number. He waits until you''re more or less presentable again, then walks you back up to the skywalk where you two part ways.'
-
-								act 'Return to the station and catch the next train':
-									*clr & cla
-									minut += 30	
-									gs 'stat'
-									'<center><img <<$set_imgh>> src="images/locations/shared/train/electri_' + rand(1,5) + '.jpg"></center>'
-									'The journey is uneventful, and you end up not paying attention for much of it. It doesn''t seem like long before you arrive at your destination.'
-									act 'Get off the train': gt $loc, $loc_arg
-								end
-							end
-							act 'Don''t give him your number':
-								*clr
-								cla
-								'You shake your head. "Look, <<$boydesc>>, I had fun but I am not looking for anything more than a fuck right now. Maybe we will run into each other on the train again or something sometime?"'
-								'He shrugs like he doesn''t care either way, but the look he gives you tells you that he''s a little pissed. "Sure, whatever. See you around." With that, he turns and walks off, leaving you to finish getting your clothes back in order.'
-
-								act 'Return to the station and catch the next train':
-									*clr & cla
-									minut += 30	
-									gs 'stat'
-									'<center><img <<$set_imgh>> src="images/locations/shared/train/electri_' + rand(1,5) + '.jpg"></center>'
-									'The journey is uneventful, and you end up not paying attention for much of it. It doesn''t seem like long before you arrive at your destination.'
-									act 'Get off the train': gt $loc, $loc_arg
-								end
-							end
-						end
-					end
-				end
-			end
-		end
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
+	'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
+	act 'Get off the train':
+		if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
+		gt 'city_train', 'start'
 	end
 end
 
+
+
+
 --- train ---------------------------------
 

+ 880 - 0
locations/train_events.qsrc

@@ -0,0 +1,880 @@
+# train_events
+
+
+if $ARGS[0] = 'events':
+	transportVars['rand'] = rand(1, 115)
+	if transportVars['rand'] <= 9:
+		gt 'train_events', 'oldman'
+	elseif transportVars['rand'] <= 26:
+		gt 'train_events', 'fit'
+	elseif transportVars['rand'] <= 48:
+		gt 'train_events', 'young'
+	elseif transportVars['rand'] <= 62:
+		gt 'train_events', 'breastfeed'
+	else
+		gt $loc, $loc_arg
+	end
+end
+
+
+if $ARGS[0] = 'oldman':
+	*clr & cla
+	menu_off = 1
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
+	'You choose an empty seat by the window and look outside, lost in thought, as others board the train. Shortly after the departure, an old man sits down next to you. He offers you some nuts from a bag he is carrying, and you politely take a few; you would have been content with spending the rest of the ride in silence, but the man then starts talking to you about how he has not been back to this area since his wife died a few years ago. Curious and feeling somewhat obligated to keep the conversation going, as awkward as it may be, you ask him about his wife and learn that, until recently, they had a happy, wonderful life together; alas, what they thought was just a bad cough that wouldn''t go away turned out to be lung cancer, and she died a very slow and agonizing death while he could do nothing but watch and care for her.'
+	*nl		
+	'He gets very emotional while telling you the story, even has to wipe away tears a few times, and thanks you for listening to him once he finishes it. "I don''t even know why I started telling you about her," he apologizes, "I guess it''s because you remind me my wife when she was young. You are just as beautiful as she was. If only you could-"'
+	*nl
+	'He seems to want to say more, but as the train pulls into the station you''re both headed for, he shakes his head as if saying no to himself. "Please, what is it?" you coax. He says he shouldn''t ask but wonders if you would be so kind as to go with him to a place he and his wife liked to go. He would love the company if you are not too busy.'
+
+	act 'Refuse his request (<<will_cost>> Willpower)':
+		*clr & cla
+		gs 'stat'
+		'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
+		'You feel sorry for him, but you really don''t have time for this, especially since you think this won''t be just a quick walk - after all, accepting a handful of nuts from him turned into story time! You inform him, with audible regret, that you just don''t have the time to accompany him; he nods sadly but understandingly, and once you''ve disembarked the train, you both go your separate ways.'
+!!which of these acts show up depending on where Sveta was going when the act triggered obviously.
+		act 'Continue': gt $loc, $loc_arg
+	end
+
+	act 'Accept his request':
+		*clr & cla
+		'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/old.jpg" ></center>'
+		'Your heart goes out to the guy; after spending the entire train ride listening to him, you feel sorry for him and his loss. You decide that you can make time for him, and you agree to go with him and keep him company. He livens up and seems happier than you have seen him since he sat down next to you. Once off the train, he leads you down the tracks a bit to a small bridge over a gully, then down and along the end alongside the bridge. He points out a small old building, informing you that he and his wife used to come down here all the time, especially when they were younger.'
+		*nl
+		'Honestly, the place is one of the most rundown and shabby you''ve seen in a while, but maybe it looked a lot different when he was young, so you hold your tongue so as not to spoil his sentimental mood and walk with him. As you do, he wraps his arm around your waist and points out several other buildings and things, talking about what they were like years ago and the many picnics and such he and his wife had here. He leads you up a set of stairs to a concert platform... and sighs when he finds the door at the top barred. "Last time me and my wife were here, we were able to sneak inside and..." but you don''t listen to how this story ends because, right at that moment, you notice the raging hard-on in his pants.'
+		*nl
+		'He glances down when he sees what you''ve caught and quickly apologizes. He admits that he and his wife used to sneak down here and have sex. He says that you look so much like her and it has been years since he had sex... so maybe you could make an old, sad man feel young and happy again, even if only for a few short minutes?'
+
+		act '"No, that''s too much to ask"':
+			*clr & cla
+			gs 'stat'
+			'You tell him that you''re not going to have sex with him. It is more than a little creepy to have sex where he and his wife used to do it anyways. Feeling repelled by him and his request, you quickly pull free from him and make your way back to the platform, leaving the old guy to himself and his strange ideas.'
+			act 'Return to the station': gt $loc, $loc_arg
+		end
+
+		act 'Fulfill his wish':
+			*clr & cla
+			gs 'npcgeneratec', 0, 'Old guy', rand(52,67)
+			gs 'boyStat', $npclastgenerated
+			gs 'pain', 3, 'vaginal', 'ache'
+			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/oldvag.jpg" ></center>'
+			'"Poor guy," you think to yourself. After all he''s been through, his request doesn''t seem like too tall an order; he really looks like he could use a little love, so you nod your head and are halfway down on your knees when he stops you. "I am very grateful you want to help me, Miss, but my wife didn''t believe in oral sex, and I think she rubbed off on me. Maybe you could just... take off your bottoms?" he asks in a pleading and hopeful tone. You raise an eyebrow - you actually kind of hoped that a quick blowjob would be the extent of this, and he must be the first man you''ve met who actually turned one down - but you agreed to "sex", after all. You wordlessly strip from the waist down and watch as he does the same, feeling a little uneasy now that you''re half-naked in this strange place. It doesn''t help that the old man''s look is a lot more lecherous now, but who would blame him in this situation?'
+			*nl
+			'He turns you around and has you put one foot up on the gate blocking the door, spreading your legs as you face the door. The elderly guy comes up behind you, and without warning, he shoves his <<dick>>cm <<$dick_girth>> cock into your vagina. He didn''t even check if you were wet, roughly boring through any resisting tissue. You grit your teeth to stifle a cry of pain, but it escapes you anyway when he begins to roughly fuck you, holding you by your hips and pulling your ass back against him. You endure, sure that he won''t last long, but he ends up fucking you for quite a while before he pulls out. By this point, you are somewhat lubricated and a little numb to the pain, but you are still glad it is over... except it isn''t.' 
+			*nl
+			'The old man simply pulls you down to the ground, laying you on your side in a spoon position with himself right behind you, and slips his cock back into you. A second later, he has resumed pounding your pussy as hard as he physically can.'
+			gs 'arousal', 'vaginal', 15, 'rough', 'unknown'
+
+			act 'Surprise buttsex':
+				*clr & cla
+				gs 'pain', 3, 'asshole', 'ache'
+				'<center><img <<$set_imgh>>  src="images/locations/shared/train/sex/oldanal.jpg" ></center>'
+				'He keeps this up for a while, and it is almost starting to feel okay when he pulls out and pauses. Again, you briefly think that he is done and only have a second to realize that, actually, he is rubbing the tip of his cock against your anus. Before you can even protest, his <<dick>>cm <<$dick_girth>> cock has already painfully penetrated your ass. You instinctively want to flinch away, but he grabs your hips with surprising strength and forces his cock as far into your ass as he can... before he starts hammering your ass. "My wife loved anal," he informs you between slaps of flesh against flesh, "I hope you don''t mind."'
+				*nl
+				'You can merely groan in response as he violates your little asshole. His wife must have really liked rough sex if this was the norm for them. He lifts your leg up and props your foot on the wall to keep your legs spread, which thankfully puts you at an angle where it hurts a little less. Still, you are really starting to regret that you wanted to help him out.'
+				gs 'arousal', 'anal', 10, 'rough', 'unknown'
+
+				act 'Take his cum':
+					*clr & cla
+					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/oldcum.jpg" ></center>'
+					'All of a sudden, he pulls out of your ass and, you feel his hot sperm splattering against your puckered hole, pussy lips and inner thighs. It''s not as much cum as you expected for somebody who didn''t have sex in years, but maybe he jerks off a lot? He gets up first, using your shoulder for support,  which holds you down until he is fully on his feet. Bearing it without clamor, you start wiping off the cum as he gets dressed; by the time you finally get off the ground yourself, he''s fully clothed, whistling and already walking off back the way you came with him.'
+					*nl
+					'You hurry up in getting yourself back in order, but by the time you have your bottoms back on and look up, he is almost out of the gully already, halfway back to the tracks! He seems <b>a lot</b> more spry than before, and you get the sneaking suspicion that you have been had in more ways than one.' 
+					'Cursing your gullibility and wincing at the ache in your pussy and ass, you finish dressing and head back to the platform - as unpleasant as this was, maybe you''ve learned your lesson at least.'
+					gs 'arousal', 'end'
+					gs 'cum_call', 'labia', 'Old guy'
+					gs 'cum_call', 'butt', 'Old guy'
+					gs 'cum_call', 'legs', 'Old guy'
+					gs 'stat'
+
+					act 'Return to the station': gt $loc, $loc_arg
+				end
+			end
+		end
+	end
+end
+
+if $ARGS[0] = 'fit':
+	*clr & cla
+	menu_off = 1
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride1.jpg" ></center>'
+	'You sit in an empty seat by the window and look outside, lost in thought, as others board the train. Shortly after the departure, a man in his thirties - or perhaps early forties - sits down next to you. You don''t give him more than a short glance as he takes the seat, but it doesn''t take more than that to notice that he is in <b>great</b> shape. You try not to stare, but you just can''t help yourself - the world outside the window is just too boring to hold your attention. Of course, your gaze does not go unnoticed, and the man, grinning, engages you in a conversation.'
+	*nl
+	'He asks you your name, where you''re going and a few other questions, and before you know it, you''re chatting and laughing about a movie both of you happen to have watched recently. He is pretty charming, and even a blind deaf woman would notice his flirting.'
+	*nl
+	'As you talk, you realize you are both getting off at the next stop, and he asks if you would like to go for a walk with him along the tracks after you disembark the train. As innocent as he tries to make it sound, you have no doubt what he would really like to do with you on that "walk", but he <i>is</i> attractive and his fitness and charm are sexy enough to make his offer tempting.'
+
+	act 'Refuse his offer':
+		*clr & cla
+		gs 'stat'
+		'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
+		'You thank him but politely refuse his offer, claiming that, sadly, you don''t have time to go on a walk today and are already running late, really. He doesn''t seem too disappointed though. "I''m sure we will meet again on the train sometime," he augurs with a smile, "and then you will have time for that walk." You don''t know if his prophecy is going to come true or not or if he truly believes what he said but, regardless, he remains a pleasant dialog partner for the rest of the ride.'
+!!which of these acts show up depending on where Sveta was going when the act triggered obviously.
+		act 'Leave the train': gt $loc, $loc_arg
+	end
+
+	act 'Accept his offer':
+		*clr & cla
+		'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/fit.jpg" ></center>'
+		'You consider his offer. It doesn''t exactly sound like a smart idea to go on a walk along the train tracks with a complete stranger, but somewhere between his charming compliments and the hard abs he let you feel, you lose all sense of what is smart. You let him know you would love to go for that walk, throwing caution to the wind because it could be fun.' 
+		*nl
+		'Once you''ve reached your destination, you disembark the train together and wait for it to pull out of the station. He then takes you by the hand and leads you down the tracks, talking to you about how pretty you are, his flirting amped up to eleven.'
+		*nl
+		'The two of you end up walking further than you expected, well out of sight of the station, and when he finally stops and starts kissing you, it''s so abrupt that you are momentarily stunned. Your friend doesn''t lose any time however, and his hands are, piece by piece, removing your clothes as you passionately kiss him back. He has you half-naked in no time, right here out on the tracks, and you feel thrilled at the idea someone could very easily happen by and see you like this.'
+		*nl
+		'While you are making out, his fingers find your clit and... you don''t really know what he''s doing or how he''s touching you, but there is no doubt that he knows <b>exactly</b> what he has to do to please you. Every move feels like jolts of electricity are running through your body, waves of relish going up and down your spine. Half the town could be watching you right now for all you care, as long as he doesn''t stop.' 
+		*nl
+		'But, of course, he does once he has you good and wet, and he gently pushes you down by your shoulders so you can reciprocate.'
+		gs 'arousal', 'vaginal_finger', 15, 'unknown'
+
+		act 'Give him a blowjob':
+			*clr & cla
+			gs 'npcgeneratec', 0, 'Fit guy', rand(32,42)
+			gs 'boyStat', $npclastgenerated
+			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/fitbj.jpg" ></center>'
+			'As much as you would have liked to feel his heavenly fingers some more, you drop to your knees and waste no time in taking his <<dick>>cm <<$dick_girth>> cock deep into your mouth, immediately feeling his hand on back of your head. You wrap your lips tightly around the shaft of his cock and bob your head, sucking hard on him to give him an idea of the intense stimulation he gave you. Occasionally, he uses his hand to force you deeper down on him so you would gag a bit on his cock, but he seems mostly content with letting you pleasure him at your own pace.'
+			*nl
+			'You stay on your knees, blowing him, for quite a while - if the sore jaw muscles are anything to go by - and even with your discarded clothes to kneel on, you''re probably going to have sore knees after this.'
+			gs 'arousal', 'bj', 15, 'deepthroat', 'unknown'
+			gs 'pain', 1, 'legL', 'ache'
+			gs 'pain', 1, 'legR', 'ache'
+			gs 'stat'
+
+			act 'Let him fuck you':
+				*clr & cla
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/fitvag.jpg" ></center>'
+				'He pulls you up, back on your feet, and turns you around. You expect him to bend you over the next moment, but instead, he lifts one of your legs off the ground, and you feel him rubbing the head of his cock against your pussy lips, teasing you and himself and getting you all worked up again. Once his tip is nice and wet, he slides his <<dick>>cm cock into you, filling your pussy with his <<$dick_girth>> cock.'
+				*nl
+				'Holding one of your legs up with one hand, he wraps his other around your waist to help you keep your balance. You have to reach back, around his shoulders, as well to support yourself, but it is easy in the face of the pleasure you''re feeling. He strokes the length of his cock inside you, giving you a passionate fuck right there on the train tracks. Your moans come loud and unrestrained; you don''t care if anyone is nearby, if anybody can hear you or see you. He completely fills you, both physical and emotionally, and every rational thought is washed away by waves of pleasure.'
+				gs 'arousal', 'vaginal', 10, 'unknown'
+
+				act 'Take his cum':
+					*clr & cla
+					minut += 5
+					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/fitcum.jpg" ></center>'
+					'His hard breathing turns into groans, and the next moment, he pulls out of you, letting go of your leg and body. You squat down in front of him, rubbing your clit and opening your mouth. Before he can even get his cock back into your mouth, the first jet of cum spurts across your lips; the following ones end up shooting into your now fully-opened mouth.'
+					*nl
+					'He squeezes the last few drops of sperm into your mouth and then sticks his cock inside. You swallow his cum obediently and then suck his cock clean, licking every tasty inch of it you can reach. Once he goes soft in your mouth, he pulls back and the two of you start getting dressed.'
+					*nl
+					'Naturally, he is the first to be back in order, but he waits until you are cleaned up and presentable again and then walks you back to the station. The walk back is anything but awkward. He flirts with you just like he did at the very start, and you are getting the sense that he might be genuinely interested in you. Or, at the very least, he''s not the kind of ass who just wants to fuck you and forget you.'
+					gs 'arousal', 'end'
+					gs 'cum_call', 'mouth_swallow', 'Fit guy'
+					gs 'stat'
+
+					act 'Return to the station': gt $loc, $loc_arg
+				end
+			end
+		end
+	end
+end
+
+if $ARGS[0] = 'young':
+	*clr & cla
+	menu_off = 1
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride1.jpg" ></center>'
+	'You sit in an empty seat by the window, looking outside, lost in thought, as others board the train and it eventually departs. Most of the train ride passes as you silently daydream with the scenery outside blurring together. It''s not until someone heavily sits down next to you that you snap out of it. You turn to see a good looking young guy in his early to mid-twenties greeting you with a bright smile. "I''ve gotta say: I''ve walked from one end of this train to the other, and you are by far the most beautiful girl on it."' 
+	*nl
+	'You blush slightly at his compliment. "Thank you, you''re not so bad looking yourself," you reply as you look him over. He is well groomed, with a nice suit jacket over a button-up shirt. His pants are patched, but you suppose it is done intentionally for style - still, it clashes with the nice jacket and makes it look like he is trying to look his best but hasn''t quite figured out all the tricks yet.'
+	*nl
+	'"So where are you headed?" he asks.'
+	'"I get off at the next stop," you respond without thinking. His lips curl into a suggestive grin; it takes you a moment to realize how your words could be taken as a sexual innuendo and blush slightly - something about this guy makes you blush a lot more than usual.'
+	'"Well, I could help you with that, if you like," he offers, his eyes following your curves, "it''s always better to get off together."'
+	act 'Refuse':
+		*clr & cla
+		gs 'stat'
+		'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
+		'He may be good-looking, but it''s time he learned that doesn''t have to mean anything. Shaking your head no, you tell him that "that''s not how I meant it." As you do, the train slows and comes to a stop.'
+		'"Oh, I get it!" he feigns realization at the ''misunderstanding'', "I didn''t mean that either. I just, you know, thought we could hang out and have fun." His effort to save the situation is valiant, but you shoot him down again with a "no, thank you" and disembark the train without looking at him again.'
+!!which of these acts show up depending on where Sveta was going when the act triggered obviously.
+		act 'Return to the station': gt $loc, $loc_arg
+	end
+
+	act 'Accept':
+		*clr & cla
+		'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/young.jpg" ></center>'
+		'You look him over and bite your lower lip as you consider his suggestion. You don''t even know his name, but somehow, that makes it an even bigger turn on. You know exactly what he wants, and to your own small surprise, you find yourself wanting it too.' 
+		*nl
+		'"Okay," is all you say to him, but really, that is all he needs to hear.' 
+		'"Great! I''ll get you off in no time, or your money back!" he says laughing.'
+		'When the train stops at the final station, he leads you off the car, and the two of you wait as people leave the platform and new passengers get on. When the train has left and there''s nobody around anymore, he motions for you to follow him and takes you on a walk along the tracks.'
+
+		act 'Follow him':
+			*clr & cla
+			gs 'npcgeneratec', 0, 'Well dress guy', rand(18,21)
+			gs 'boyStat', $npclastgenerated
+			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/youngvag.jpg" ></center>'
+			'You keep looking back towards the station as you walk, making sure that nobody sees where you''re headed. Your male companion on the other hand seems to be a lot more interested in your anatomy than potential observers. He puts his arm around your waist as you walk together and somehow manages to worm his way into your panties, rubbing your clit as you move. You somewhat lose interest in looking back after that, focusing entirely on the fingers playing with your pussy and dipping inside you. As soon as he has you good and soaking wet - and has put enough distance between you and the station that you''re no longer in plain sight - he pulls down his pants and sits on the tracks, his erect cock an unmistakable invitation.' 
+			*nl
+			'Your need seems to explode at the sight, and you urgently pull your clothes aside enough to reveal your pussy and tits, squat down on his <<dick>>cm <<$dick_girth>> cock and guide him inside. You can feel it filling you up as you impale yourself on his hard shaft.'
+			*nl
+			'You start riding him, completely controlling the action and taking him at the exact depth and speed you want. The power over the situation is intoxicating, but it pales in comparison to the knowledge that you are fucking a stranger out in the open where anybody could find you at any moment; unsurprisingly, your moans are getting louder and louder, and you feel yourself building up to a strong orgasm, every thrust getting you closer to the peek... but before you can reach it, he pulls you off and stands back up. You are confused and groan in protest, but he pulls you up with him. "Don''t come yet, not yet. That was just the warm up," he promises. You have half a mind to scream at him for yanking you back so close to the edge, but you are too horny to be angry. All you wanna do is fuck right now.'
+			gs 'arousal', 'vaginal', 10, 'exhibitionism', 'unknown'
+			gs 'stat'
+
+			act 'See what he has in mind':
+				*clr & cla
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/youngbj.jpg" ></center>'
+				'He takes your hand and walks you down the tracks a bit more. His cock is back in his pants, but you''re completely exposed - he insisted on it and, really, you don''t mind; it is thrilling, even with nobody around. As you pass two electricity sub-stations for the trains, he stops and pulls you between them, a mischievous grin on his face. "I saw a track worker, just a few hundred meters away," he whispers with a chuckle and pulls down his pants. "I wonder how he''d react if he found you, sucking my cock."' 
+				*nl
+				'You are not sure if he''s being serious about having seen somebody or not, but you are not thinking straight anymore; the notion that somebody might be close by who could catch you raises the stakes in an exciting way, so you don''t think twice before squatting down in front of him and taking his <<dick>>cm <<$dick_girth>> cock into your mouth. You can taste your own pussy juices on his cock as you suck him, a subtle reminder of your "warm-up". With your <<$pc_desc[''lips'']>> lips lips wrapped tightly around his shaft, you start bobbing your head while one of your hands fondles his balls. If somebody''s gonna find you, he''s gonna get an eyeful, that''s for sure!'
+				*nl
+				'After a few minutes, he pulls his cock out of your mouth and then lies down on his back again, his legs peeking out from between the sub-stations - either the track worker was imaginary or your friend is too horny to care anymore. His eyes are burning with desire, so both options are possible.' 
+				'"Lower yourself down on me again, baby... but this time, I want you to take my cock up your ass."'
+				gs 'arousal', 'bj', 10, 'exhibitionism', 'unknown'
+				gs 'stat'
+
+				act 'Do as he says':
+					*clr & cla
+					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/younganal.jpg" ></center>'
+					'You are too desperate for sex to say no even if you''d wanted to. Without hesitation, you spread a little bit of your secretions around your puckered hole, and you lower yourself onto him. You can feel the head of his cock rubbing against your asshole; the pressure builds, your sphincter resisting the penetration... until the head pops inside. You gasp softly, pain and pleasure both vying for your attention, and you slowly lower yourself further, taking more and more of his <<dick>>cm <<$dick_girth>> cock into your ass.'
+					*nl
+					'Once you have as much of his cock in your ass as you comfortably can on the first go, you start moving your hips, rising up and lowering yourself again, taking a tiny bit more of him into you each time. As you''re riding his cock with your ass, his hands come up to grab your waist - not to wrest control from you as you first thought, but to support your weight, allowing you to focus on getting into a rhythm and enjoying yourself as much as he audibly does, with a little help from your hand on your clit.'
+					$orgasm_or = 'custom'
+					$orgasm_txt = 'You are incredibly turned on, by him, by this situation, by having his cock in your ass, moaning loudly and riding him harder and faster. You barely even realize that you''re taking him balls deep into your ass with each thrust. Your body shudders and your moans come to a crescendo as you orgasm, falling back against him as wave after wave of ecstasy shakes you. Your moans turn into screams when he picks up the pace and thrusts up into you, fucking you hard from below and extending the climax.'
+					gs 'arousal', 'anal', 10, 'sub', 'unknown'
+					gs 'stat'
+
+					act 'Take his cum':
+						*clr & cla
+						'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/youngcum.jpg" ></center>'
+						'He lifts you off him and stands up beside you, jerking his cock. You know what he wants, and you don''t mind opening your mouth for him. Maybe two seconds later, the first jet of hot, sticky sperm flies into your mouth; most of those that follow hit their target too - only one or two miss and end up on your lips.' 
+						'When the torrent of semen has run dry, your lover pulls up his pants while you swallow his load, the salty reward for an incredible experience. He waits for you to get dressed and cleaned up, then he walks you back to the platform, flirting and chatting amicably with you along the way, right up until you''re inside the station and it''s time to part ways.'
+						'"I''m glad that we''ve met today, <<$pcs_nickname>>. This has been one of the best days of my life; I''m not exaggerating. You are an amazing girl... and I hope to see you again someday." Honestly, you are a bit overwhelmed by this, but in a good way... in a great way, actually.'
+						'"Yeah, I... I had a lot of fun with you," you say lamely and give him an awkward smile as you try to find the right words, "and I hope we run into each other again too. Who knows, maybe we''ll meet on the train again?"' 
+						'"I''d like that." He gives you a kiss on the cheek and a boyish grin that makes you feel weak in the knees, and walks away. You follow him with your eyes until he''s turned a corner, then sigh and, with a heavy heart, return to your day-to-day life.'
+						gs 'arousal', 'end'
+						gs 'cum_call', 'mouth_swallow', 'Well dress guy'
+						gs 'stat'
+
+						act 'Return to the station and catch the next train':
+							*clr
+							cla
+							gs 'stat'
+							'<center><img <<$set_imgh>> src="images/locations/shared/train/electri_' + rand(1,5) + '.jpg"></center>'
+							'The journey is uneventful, and you end up not paying attention for much of it. It doesn''t seem like long before you arrive at your destination.'
+							act 'Get off the train': gt $loc, $loc_arg
+						end
+					end
+				end
+			end
+		end
+	end
+end
+
+
+if $ARGS[0] = 'breastfeed':
+	*clr & cla
+	temp_var = 0
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/breastfeeding/father_with_baby_train.jpg" ></center>'
+	'The car is really populated today. The only empty seat you can find is next to a sleeping man with his baby.'
+	'You sit down next to him. After a bit, the baby gets fussy. The man wakes up and responds by hastily searching around in his bag. He mumbles about a milk bottle but doesn''t seem to find what he is searching for.'
+	if lactation['active'] > 0 and pcs_inhib >= 30:
+		act 'Offer to help out':
+			*clr & cla
+			'<center><img <<$set_imgh>> src="images/locations/shared/train/breastfeeding/father_with_baby_train.jpg" ></center>'
+			'You turn your head to him and whisper, "Uhm, do you need help?"'
+			'He looks up at you. "Well, if you don''t happen to have a bottle of milk with you, you can''t help me much..."'
+			'You hem and haw a bit.'
+			act 'Offer to breast feed the baby':
+				*clr & cla
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/breastfeeding/father_with_baby_train.jpg" ></center>'
+				if tits <= 4:
+					'You put your right hand on your breasts. "I could breastfeed him."'
+				elseif tits > 4 and tits <= 7:
+					'You put your right hand on your large breasts. "I could breastfeed him."'
+				elseif tits > 7:
+					'You put your right hand on your unusually large breasts. "I could breastfeed him."'
+				end
+				if vidage <= 16:
+					'He raises an eyebrow and looks you up and down. "You look a bit too young for being able to do that."'
+					if tits > 4:'His eyes stop at your large breasts. "Even if your breasts look promising..."'
+					temp_var = 1
+				elseif vidage > 16 and vidage <= 19:
+					'He raises an eyebrow and looks at you. "You have breast milk already? Are you sure you can do that?"'
+					if tits > 4:'His eyes stop at your large breasts.'
+					temp_var = 1
+				elseif vidage > 19:
+					'He raises an eyebrow and looks at you. "Are you sure you can do that?"'
+					temp_var = 2
+				else
+					temp_var = 2
+				end
+				:breastfeedthebaby
+				if temp_var = 2:
+					gs 'train_incidental', 'breastfeedthebaby'
+				elseif temp_var <= 1:
+					if pcs_inhib >= 40:
+						act 'Prove it to him':
+							*clr & cla
+							'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/boob_out_leak.mp4" ></video></center>'
+							if vidage <= 16:
+								'You grab onto your top to pull out your breast. The man looks really nervously at you as you do this.'
+							else
+								'You grab onto your top to pull out your breast.'
+							end
+							'You give your breast some squeezes until milk drops start to develop on your nipple. The man watches you surprised and nods positively.'
+							gs 'train_incidental', 'breastfeedthebaby'
+						end
+					end
+					act 'Convince him that you can do it':
+						*clr & cla
+						'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/boob_out_leak.mp4" ></video></center>'
+						if vidage <= 16:
+							'You smile and nod. "I can assure you, even if I look young, I have breast milk."'
+						else
+							'You smile and nod. "I can assure you I have breast milk."'
+						end
+						'The man gives you a concerned expression but then nods. "Well, it couldn''t hurt to let you try."'
+						gs 'train_incidental', 'breastfeedthebaby'
+					end
+				end
+			end
+			act 'Withdraw your offer': gt $loc, $loc_arg
+		end
+		act 'Leave him alone': gt $loc, $loc_arg
+	else
+		if tits > 6:'During his search, he looks around to see if the bottle fell out somewhere nearby. Glancing at your large assets for a moment, he frowns a bit, then continues to search.'
+		'At the next stop, he leaves the car quickly with the baby.'
+		act 'Complete your journey': gt $loc, $loc_arg
+	end
+end
+
+if $ARGS[0] = 'breastfeedthebaby':
+	act 'Breastfeed the baby':
+		*clr & cla
+		'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/train_breastfeeding.mp4" ></video></center>'
+		'The man hands you his baby. You take it into your arms and pull your top up, revealing your breasts.'
+		if vidage <= 16:
+			if tits <=4:
+				'The man blushes a bit as you pull out your young breasts in front of him.'
+				'He doesn''t seem to be to comfortable with a girl breastfeeding his son like this, so he looks somewhere else.'
+			else
+				'The man blushes a bit as you pull out your young large breasts in front of him.'
+				'He doesn''t seem to be to comfortable with a girl breastfeeding his son like this, but can''t help but stare at your chest for a moment before he looks somewhere else.'
+			end
+		else
+			if tits <=4:
+				'The man blushes a bit as you pull out your breasts in front of him.'
+				'He looks at your every move.'
+			else
+				'The man blushes a bit as you pull out your large breasts in front of him.'
+				'He looks at your every move, unable to stop himself from staring at your chest.'
+			end
+		end
+		if pcs_firstbabybreastfeeding <=0:
+			'You look nervously at the baby as you lead the small head to your left breast. You have never breastfed a baby, so you are not sure if this will work out properly.'
+		else
+			'You lead the baby''s head to your left breast.'
+		end
+		'The small lips brush over your skin in search for your nipple. With your right hand, you adjust your breast a bit, pointing the nipple at the small mouth.'
+		if pcs_firstbabybreastfeeding <=0:
+			'The baby latches on. You can feel and see your nipple being sucked in eagerly by the small mouth. Your eyes widen, and you can''t help but smile a bit.'
+			'You let out a cute little moan, as you are surprised from the feeling of your tingling nipple.'
+			'The man asks if everything is okay, and you nod hastily, then lean your head back and close your eyes.'
+		else
+			'The baby latches on. You can feel and see your nipple being sucked in eagerly. You close your eyes, smile and hum in a relaxed tone. The tingling in your nipple tells you that your milk is coming out.'
+		end
+		act 'Continue':
+			*clr & cla
+			temp_var = func('lact_lib','$get_breastmilk_time', 2, 80)
+			'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/train_breastfeeding.mp4" ></video></center>'
+			if temp_var > 15:
+				milkedvolume = func('lact_lib','$get_breastmilk', 2, 15)
+				'As you open your eyes again, you see the baby suckle on your left breast, the small lips kneading your areola over and over. The tingling feeling fading away, the kneading of the small mouth intensifies for a bit before the baby latches off on its own, making an unsatisfied noise. You make the baby switch breasts, and you continue to breastfeed until the baby latches off again.'
+				'You speak up, "Sorry... I don''t think he got enough..."'
+				if milkedvolume >= 50000:
+					'The man nods, smiling a bit. "At least this will help for the rest of the train ride."'
+				else
+					'The man nods and seems disappointed. "Damn, he is still hungry. I''ll have to get out at the next stop to see if I can get something for him."'
+					pcs_mood -= 10
+				end
+				'You hand him his baby and cover yourself up.'
+				act 'Finish':gt $loc, $loc_arg
+			else
+				'As you open your eyes again, you see the baby suckle on your left breast, the small lips kneading your areola over and over. The tingling keeps on and the kneading of the small mouth is stable. The small baby''s hand grabs onto your breast firmly.'
+				if pcs_firstbabybreastfeeding <=0:'It feels really great to breastfeed. It is relaxing in a way you haven''t experienced before.'
+				'The baby drinks from you for at least <<temp_var>> minutes. You look up at the father.'
+				if vidage <= 19:
+					'The man looks at your breasts and the baby in amazement. "Wow... you really seem to have enough milk to feed him. How much do you make?"'
+				else
+					'The man looks at your breasts and the baby. "You really seem to have enough milk to feed him. How much do you make?"'
+				end
+				if temp_var >= 12:
+					'You think about it and nod your head while answering, "Well, I guess enough for at least one baby... or so."'
+					'The man smiles and nods. You feel the firm grip of the baby easing up, and the suckling slows down too. You look down and see that the eyes of the baby are closed now and his breathing is calm.'
+					'You whisper to the man, "He is done..."'
+					'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help.'
+					act 'Finish':gt $loc, $loc_arg
+				elseif temp_var < 12:
+					'You think about it and nod your head while answering, "Uhm... I think I produce a fair amount."'
+					if lactation['breastmm'] >= 500000:
+						'You then add, "I could fill up a beer glass when my breasts feel engorged, I think, haha."'
+					elseif lactation['breastmm'] >= 150000 and lactation['breastmm'] < 500000:
+						'You then add, "I could fill up a cup when my breasts feel engorged, I think, haha."'
+					else
+						'You then add, "Probably a bit more than the baby can eat..."'
+					end
+					'You smile cutely and giggle a bit. You notice how the man''s eyes widen from your answer and how he blushes.'
+					if vidage <= 16:
+						if tits <=4:
+							'He speaks up, "Wow - you look so young, and yet you make more milk than my wife. She is barely able to breastfeed him, and we need extra bottled milk."'
+						else
+							'He speaks up, "Wow - you look so young, and yet you make more milk than my wife... but it is no wonder you can with breasts like those."'
+							'Saying this, he makes you blush.'
+							'He continues, "My wife is barely able to breastfeed him, and we need extra bottled milk."'
+						end
+					else
+						'He speaks up, "Wow - you make more milk than my wife. She is barely able to breastfeed him, and we need extra bottled milk."'
+					end
+					'"I always wanted to try her milk," he admits, "but there is barely enough as it is."'
+					'It seems like he is interested in trying your breast milk but is too shy to ask. You feel the firm grip of the baby easing up and the suckling slowing down too. You look down and see that the eyes of the baby are closed now and his breathing is calm.'
+					milkedvolume = func('lact_lib','$get_breastmilk', 2, temp_var)
+					milkedvolume = 0
+					act 'Finish':
+						*clr & cla
+						'You whisper to the man, "I think he is done..."'
+						'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help.'
+						act 'Leave':gt $loc, $loc_arg
+					end
+					gs 'willpower', 'foreplay', 'force'
+					if will_cost <= pcs_willpwr:
+						act 'Have him try your breast milk (<<will_cost>> Willpower)':
+							*clr & cla
+							gs 'willpower', 'pay', 'force'
+							gs 'stat'
+							'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/adult_breastfeeding.mp4" ></video></center>'
+							'You smile at him. "Would you like to try?"'
+							'The man asks, "Try what?"'
+							'You grab your right breast with your right hand and pull it out of your top, slightly weighting it in your hand.'
+							'You whisper, "My breast milk..."'
+							if vidage <=16:
+								'The man looks nervously at you. Shaking his head, he stammers "No, no... you are too young for that..."'
+								'You lean in. "But not too young to breastfeed your son?"'
+								'Offering your breast to him again, you prod, "Come on, it is no big deal..."'
+							end
+							'The man stands up and looks over the seats left and right, then around the car. He then sits down in his seat again, leaning over to you and moving his hands up, then hesitating. He looks in your eyes as if he wants approval. You nod, and he grabs around your breast with both hands, holding it firmly. You move your right hand onto his neck. Then he moves his mouth towards your nipple and latches on too. He is producing way more suction force than the baby, making you moan. Your nipple pulses, and you feel your breast milk gushing out into his mouth. He closes his eyes and nuzzles your breast, drinking your milk. After about 5 minutes, he is done and latches off.'
+							'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/adult_breastfeeding.mp4" ></video></center>'
+							milkedvolume = func('lact_lib','$get_breastmilk', 0, 5)
+							if milkedvolume >= 80000:
+								if tits <=4:
+									'He wipes his mouth off and looks at you. "They don''t look like it, but there is a lot of milk inside your breasts..."'
+								else
+									'He wipes his mouth off and looks at you. "There is really a lot of milk inside your breasts..."'
+								end
+								'"I should ask my wife to hire you as a wet nurse or something..." he adds.'
+							elseif milkedvolume >= 50000 and milkedvolume < 80000:
+								if tits <=4:
+									'He wipes his mouth off and looks at you. "They don''t look like it, but there is quite the amount of milk inside your breasts..."'
+								else
+									'He wipes his mouth off and looks at you. "There is quite the amount of milk inside your breasts..."'
+								end
+							else
+								if tits <=4:
+									'He wipes his mouth off and looks at you. "As I expected, there wasn''t much milk inside your breasts..."'
+								else
+									'He wipes his mouth off and looks at you. "Huh, I didn''t expect so little milk inside those magnificent breasts..."'
+								end
+							end
+							act 'Continue':
+								*clr & cla
+								'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/train_breastfeeding.mp4" ></video></center>'
+								'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help and for the delicious snack.'
+								milkedvolume = 0
+								act 'Leave':gt $loc, $loc_arg
+							end
+						end
+					else
+						act 'Have him try your breast milk (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+					end
+				end
+			end
+		end
+		pcs_firstbabybreastfeeding = 1
+	end
+end
+
+
+!! This currently never triggers!!
+!!only triggered direct from Pav when going to the city center
+if $ARGS[0] = 'weed':
+	transportVars['train_event_day'] = daystart
+	menu_off = 1
+	$loc = 'city_train'
+	$loc_arg = 'start'
+	*clr & cla
+	gs 'stat'
+	'<center><h4>Pavlovsk Station</h4></center>'
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
+	'After you buy your ticket, they tell you that you have just missed the train. A little miffed at this, you take a seat on one of the benches on the platform to wait for the next train to the city to arrive.'	
+	act 'A man approaches you with an offer':
+		*clr & cla
+		'<center><h4>Pavlovsk Station</h4></center>'
+		'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weed.jpg" ></center>'
+		'Only a few minutes have passed when you hear someone walk up behind you and stop. You know they must be mere inches away, so you turn to look. Standing there is a young man, smiling at you, holding up a self-rolled cigarette... that looks suspiciously like a joint. The guy doesn''t seem too concerned about somebody catching him with that in public though and focuses entirely on you.'
+		*nl		
+		'"Hey beautiful, I couldn''t help but notice you sitting here all by yourself. Guess you missed the train too, huh?" He looks around, as if he only just noticed that he is walking around a public place with a joint in his hand, then leans down and whispers conspiratorially, "How about we blaze one while we wait?"'
+		act 'Refuse':
+			*clr & cla
+			gs 'stat'
+			'<center><h4>Pavlovsk Station</h4></center>'
+			'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
+			'You have no idea what could be in it and have no intention of being caught out in the open with marijuana either, so you shake your head. "No, thanks."'
+			'He shrugs and steps away. "Alright, just trying to be friendly. It''s your loss."'
+			*nl
+			'He wanders around for a bit. Eventually, another young woman comes down to the platform. You watch him go over, and you are sure he''s making her the same offer, but unlike you, she nods, and they smoke the joint together.'
+			*nl
+			'You can see them talk a little, and even from where you''re sitting, you can tell that the woman is giving him wanton looks. Before long, the two of them sneak off across the tracks and disappear; just as the train arrives, they come rushing back, clothes out of place and hair disheveled.'
+			'It isn''t hard to guess what they were doing to kill time.'
+
+			act 'Board the train to the city':
+				*clr & cla
+				transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'center')
+				minut += transportVars['timecost']
+				gs 'stat'
+
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
+				'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view. This is the train''s final destination.'
+				act 'Get off the train':
+					if rand(1, 100) <= 5: gt 'train_incidental', 'events'
+					gt 'city_train', 'start'
+				end
+			end
+		end
+
+		act 'Smoke with him':
+			*clr & cla
+			pcs_horny = 100
+			gs 'stat'
+			'<center><h4>Pavlovsk Station</h4></center>'
+			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weedsmoke.jpg" ></center>'
+			'You smile and nod, taking the joint from him - you only live once and it''s as good a pastime as any. He lights it as you take a long slow drag off it and hold it in, feeling it in your lungs... until you start coughing, causing him to chuckle. You feel the relaxing effect almost at once, your head feeling both lighter and heavier, your mind slowing down... but you notice a slightly odd taste to the smoke that you can''t place - maybe that''s just what this variety tastes like. You pass it back and forth with him, chatting idly as you smoke, and as you do, you start to feel aroused: Your nipples harden, your pussy gets soaking wet and you feel so wound up that you have to actively keep your hands in check to prevent yourself from masturbating out in the open.'
+			'One thing you know for sure even in your current state: Marijuana isn''t supposed to have this effect. You look at your smoking buddy. "What else was in this joint?"'
+			'"XTC," he responds with hesitation, a lazy smile on his face. "It feels great, right?" He grabs you by the hand and pulls you up along with him. "Come on, let''s go have some fun before the train arrives. I know you''re just as horny as I am."'
+			act 'Refuse':
+				*clr & cla
+				gs 'stat'
+				'<center><h4>Pavlovsk Station</h4></center>'
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg" ></center>'
+				'You still have enough presence of mind to know this is a bad idea, so you shake your head. "No, thanks."'
+				'He shrugs and steps away. "Alright, just trying to be friendly. It''s your loss."'
+				*nl
+				'He wanders around for a bit. Eventually, another young woman comes down to the platform. You watch him go over, and you are sure he''s making her the same offer, and like you, she nods and they smoke the joint together. You briefly consider going to the bathrooms to masturbate but you don''t want to miss the train again.'
+				*nl
+				'You can see them talk a little, and even from where you''re sitting, you can tell that the woman is giving him wanton looks. Before long, the two of them sneak off across the tracks and disappear; just as the train arrives, they come rushing back, clothes out of place and hair disheveled.'
+				'It isn''t hard to guess what they were doing to kill time. A part of you wishes you had taken him up on the offer.'
+				act 'Board the train to the city':
+					*clr & cla
+					transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'center')
+					minut += transportVars['timecost']
+					gs 'stat'
+					'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
+					'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view. This is the train''s final destination.'
+					act 'Get off the train':
+						if rand(1, 100) <= 5: gt 'train_incidental', 'events'
+						gt 'city_train', 'start'
+					end
+				end
+			end		
+			act 'Go with him':
+				*clr & cla
+				'<center><h4>Pavlovsk Station</h4></center>'
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weedhorny.jpg" ></center>'
+				'If you were simply horny, you might not have accompanied him, but the XTC has fully taken effect by now. Your mind is reeling, and you feel like you can trust the guy who just drugged you, so you go with him, looking forward to some ''fun''. He leads you across the tracks to the less-used side of the platform and takes you behind one of the roofed waiting areas. Once there, he starts kissing you and pulling your top aside enough to bare your breasts, squeezing and caressing them as you make out, and you groan into his mouth in response.'
+				*nl
+				'You are turned on beyond reason and badly want to fuck him, or anybody else, as long as you just get to have a cock inside you. The XTC tells you that he is a great guy, that you can feel safe with him, that nothing you do here will backfire. Your hands undo his pants. You pull out his cock and start stroking him with one hand while your other hand is rubbing your pussy through your clothes.'
+				gs 'npcgeneratec', 0, 'Stoner', rand(18,24)
+				gs 'boyStat', $npclastgenerated
+				gs 'arousal', 'foreplay', 5, 'unknown'
+				act 'Suck him':
+					*clr & cla
+					'<center><h4>Pavlovsk Station</h4></center>'
+					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weedbj.jpg" ></center>'
+					'He gently pushes down your shoulders, and that is all the encouragement you need. You squat down in front of him at once, taking his <<dick>>cm <<$dick_girth>> cock into your mouth, and start sucking him. Your tongue is giving every bit of his cock it can reach its attention, and you bob your head back and forth, your <<$pc_desc[''lips'']>> lips wrapped tightly around his shaft.' 
+					*nl
+					'You take him as deep into your mouth as you can, keeping him there until you start to gag and have to come up for air. After two heavy breaths to recover, you take him inside again, now rapidly moving your head, sucking and deepthroating him for all you''re worth.'
+					gs 'arousal', 'bj', 5, 'deepthroat', 'unknown'
+					act 'Fuck him':
+						*clr & cla
+						'<center><h4>Pavlovsk Station</h4></center>'
+						'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weedvag.jpg" ></center>'
+						'He is having the time of his life, but all your blowjob does is make you hornier, and you can''t take it any longer. You start removing your clothes bit by bit while you keep blowing him, until every item below your waist is removed. Once your pussy and ass are bare, you pull him down and get him to lie down on his back.'
+						*nl
+						'He has barely even touched the ground when you straddle him, facing his legs and lowering yourself down until you feel his <<dick>>cm <<$dick_girth>> cock stretch out your wet cunt. You moan out loud as you impale yourself on his shaft, going all the way down on the first stroke. You lift yourself up again and, again, take his entire length, faster this time. Then again, and again, riding him harder and faster with every stroke, his cock feeling as big as that of a prized stallion.'
+						gs 'arousal', 'vaginal', 5, 'dom', 'unknown'
+						act 'Take his cum':
+							*clr & cla
+							'<center><h4>Pavlovsk Station</h4></center>'
+							'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/weedcum.jpg" ></center>'
+							'You give him the fuck of a lifetime, feeling your orgasm approaching fast, so close, so very close... but he lifts you off and quickly stands up. "I''m about to cum!"'
+							*nl
+							'You have half a mind to say the same but you are too turned on to speak. You squat down in front of him again and start jerking him off as you open your mouth and stick out your tongue. It only takes a few strokes before he shoots most of his load into your mouth, with a few stray squirts landing on your chin.'
+							*nl
+							'With your mouth still open, you show him his sperm on your tongue before you swallow it down, then start sucking his cock again. He was getting soft, but you feel him getting hard again in your mouth, and you are already looking forward to another go so you can have your own orgasm.' 
+							*nl
+							'That''s when you hear the train coming. "The train''s here; we have to stop," he states with a hint of regret as he pulls his cock out of your mouth. Without another look at you, he quickly pulls up his pants and rushes over to the train as it comes to a stop. You hurriedly get dressed as well and then rush after him to get on the train. You make it just in time - the doors close almost as soon as you are in.'
+							gs 'arousal', 'end'
+							gs 'cum_call', 'face', 'Stoner'
+							gs 'cum_call', 'mouth_swallow', 'Stoner'
+							gs 'stat'
+							act 'Board the train to the city':
+								*clr & cla
+								transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'center')
+								minut += transportVars['timecost']
+								gs 'stat'
+								'<center><img <<$set_imgh>> src="images/locations/shared/train/ride.jpg"></center>'
+								'Once on the train, you look around but you don''t see the young man. Perhaps he got on a different car? You go looking for him, passing through a few different sections, hoping to continue what you started and deal with your overwhelming horniness, but after checking the entire train without seeing a hint of him, you give up and find a seat.'
+								'<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
+								'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view. This is the train''s final destination.'
+								act 'Get off the train':
+									if rand(1, 100) <= 5: gt 'train_incidental', 'events'
+									gt 'city_train', 'start'
+								end
+							end
+						end
+					end
+				end
+			end
+		end
+	end
+end
+
+!!events starting on the train. Only one act will show up depending which one triggered but they all start the same.
+if $ARGS[0] = 'private':
+	*clr & cla
+	minut -= 35
+	transportVars['train_event_day'] = daystart
+	menu_off = 1
+	gs 'stat'
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride.jpg" ></center>'
+	'You board the train and walk past several of the private compartments on your way to the general seating on the car you are on.'
+	act 'You walk past the private compartments':
+		*clr & cla
+		'<center><img <<$set_imgh>> src="images/locations/shared/train/ride.jpg" ></center>'
+		'After the first stop as you are walking past the open door of one of the private compartments, you hear a man''s voice call out to you, "Hello there, young lady! Would you care to join me?"'
+		'You stop and look inside, finding a clean-shaven man sitting there with a select few wrinkles that accentuate his angular features; you estimate that he''s in his late thirties or early forties. The expensive suit he''s wearing and the hints of cologne tickling your nose speak volumes about his wealth, and his self-confident, even smug expression tells the rest of the story. He motions for you to sit with him. "It''s alright, there''s plenty of room in here. Why don''t you come in and close the door?"'
+		*nl
+		'You hesitate - he is undressing you with his eyes and not even trying to hide it, so you doubt that all he wants is a conversation partner, and sure enough when he notices your pause, he pulls 500 <b>₽</b> out of his wallet and puts it on the seat next to him. "If you come in and close the door, we can have a very enjoyable trip together... and you can get off with a little pocket money."'
+		act 'Refuse':
+			*clr & cla
+			gs 'stat'
+			minut += 35
+			'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
+			'You shake your head indignantly. "Fuck you, I''m no whore! Who do you think you are?!" You don''t give him time to respond but simply walk away and take a seat in the general seating area.' 
+			*nl
+			'You spend some time talking to some of your fellow passengers and share the story with a couple of them. They seem shocked that a man would make such an offer to a nice young lady like you right on this train and speculate that only a crook would be insolent enough to try something like that.'
+!!which of these acts show up depending on where Sveta was going when the act triggered obviously.
+			act 'Continue journey': gt $loc, $loc_arg
+		end
+
+		act 'Accept his offer':
+			*clr & cla
+			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/ridebj.jpg" ></center>'
+			gs 'npcgeneratec', 0, 'Guy on train', rand(34,45)
+			gs 'boyStat', $npclastgenerated
+			'Another stop goes by as you wait for some passengers to pass.'
+			*nl
+			'You bite your lower lip as you consider his offer. You could use the money... and the thought of having sex on the train is exciting in itself too. With your mind made-up, you step inside, close the door behind you and pull the privacy blinds down. When you turn back to him, you see that he already has his cock out and is looking at you with a strange, self-satisfied smile.' 
+			*nl
+			'Unfazed by his boldness, you kneel down in front of him and lick up and down his length a few times before you take his <<dick>>cm <<$dick_girth>> cock into your mouth, noticing that even it smells of that nice cologne. Your tongue moves around the head as you suck his cock, and you start bobbing your head up and down while your hands take turns playing with his shaved balls. It''s hard for you to decide whether you want to move slow and tease him or speed up to avoid getting caught, but what you are doing seems to be to his liking.'
+			*nl
+			'"Good girl," he whispers, "I knew you could suck cock as soon as I saw you." His praise causes you to smile a little around his cock, and you take him a little deeper in response.'
+			gs 'arousal', 'bj', 10, 'prostitution', 'sub', 'unknown'
+			gs 'dinSex', 'std_trigger_oral'
+
+			act 'First stop':
+				*clr & cla
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/ridevag.jpg" ></center>'
+				'He enjoys your blowing him until the train arrives at its first stop, even opening the window blinds a little to look outside while you continue sucking him off, expecting somebody to find you in this position at any moment.' 
+				*nl
+				'The train leaves the station without incident however, and at that point, the man motions for you to stop and get up with him. He turns you around and bends you over, pulling your clothes aside just enough to expose your pussy which, by this point, is dripping wet from the immense thrill of your risky actions. In one smooth stroke, his <<dick>>cm <<$dick_girth>> cock is inside you, the full length buried to the hilt, the feeling so intense that you have to keep yourself from moaning too loud; and the sensations multiply when he starts to move.' 
+				*nl
+				'He is not gentle with you by any means, but the truth is that you wouldn''t have wanted gentle "love-making" in this situation - you are having sex on a train for crying out loud! And all it would take would be one curious passenger brave enough to peek inside to expose you as the slut you are, but that is what makes it so wonderful, so depraved and exciting, and it is exactly why, at that moment, you want to be fucked hard, and he is more than happy to give you the pounding you crave.' 
+				*nl
+				'The man keeps going for a while until he starts breathing harder. You faintly notice that the train is slowing down and coming to a halt. People are getting off and on the train, surely somebody could discover you at any moment, and the blinds on the window aren''t fully closed either! But you cannot think straight and your lover chooses this particular moment of half-awareness to stop and lay you down on the seat.'
+				gs 'arousal', 'vaginal', 15, 'prostitution', 'sub', 'unknown'
+
+				act 'Second stop':
+					*clr & cla
+					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/rideanal.jpg" ></center>'
+					'Once he has you lying on your back, bedded on dusty seat cushions with your nether parts fully exposed to him and anybody who might enter, he moves up and slips his <<dick>>cm <<$dick_girth>> cock into your ass without warning. It enters surprisingly easily, and even though you are unprepared, you manage to relax enough to avoid any pain. It certainly helps that he is taking it slow, giving you plenty of time to adjust to his cock while your mind is racing, running hot as it tries to comprehend how a simple train ride ended up with you having anal sex, on the train, with a complete stranger!' 
+					*nl
+					'Honestly, it makes relaxing difficult because your muscles are twitching around him in excitement and you can barely contain your moans. He goes a little deeper and a little faster, but your ass is too much for him, and he can''t last much longer. You feel the first spurt of sperm deposited in your ass a second later, and as he continues to cum, he pulls out of you.'
+					gs 'arousal', 'anal', 5, 'prostitution', 'sub', 'unknown'
+					gs 'dinSex', 'std_trigger'
+
+					act 'Finished':
+						*clr & cla
+						money += 500
+						gs 'cum_call','anus',$boy, 0,'','',20
+						gs 'cum_call','butt',$boy, 0,'','',20
+						'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/ridecum.jpg" ></center>'
+						'As he does, several spurts shoot all over your ass, and you can feel more of his spunk leaking out of your gaping anus. With a final grunt and spurt, he sits down opposite you, giving you and the state he left you in an appreciative look before he puts his cock away and hands you the 500 <b>₽</b>... And then, he simply pulls out a newspaper and starts reading it. The switch from ravaging your asshole to perusal is so sudden that you are confused for a moment. You soon realize, however, that he is really no longer paying attention to you and you are lying around with cum dripping out of your backdoor, so you quickly get up and get yourself cleaned up.'
+						
+						act 'Your stop':
+							*clr & cla
+							'<center><video autoplay loop src="images/locations/shared/train/pantyup.mp4" ></video></center>'
+							'Once you are dressed again and have removed most of the sperm, you sit down and quietly study the man you had sex with who seems content to spend the rest of the ride in silence and feigned obliviousness to your presence. After a bit, you pull out your phone and amuse yourself with it until the train finally reaches your destination. "Well, this is my stop," you tell him.'
+							*nl
+							'He looks up from his newspaper for the first time since he came. "I wish you a safe trip. And thank you for making this ride a bit less dull," he adds with a wink before returning to the headlines. You leave the compartment, the strange and naughty events fresh on your mind, and make your way to the closest exit.'
+							gs 'arousal', 'end'
+							gs 'stat'
+
+							act 'Get off the train':gt $loc, $loc_arg
+						end
+					end
+				end
+			end
+		end
+	end
+end
+
+if $ARGS[0] = 'Gopnik':
+	*clr & cla
+	menu_off = 1
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride3.jpg" ></center>'
+	'You are sitting in an empty seat by the window, looking outside, lost in thought, as others board the train. A gopnik boy sits down next to you, but you try to ignore him and keep staring outside. Unfazed by that, he gives you a once-over, a lewd grin you only see from the corner of your eyes forming on his face, and leans in close, putting his arm around you. You turn your head to tell him off, but your mouth is immediately covered by his! And, not content with just kissing you, the gopnik''s hand starts roaming across your breasts.'
+	gs 'willpower', 'exhib', 'resist', 'medium'
+	act 'Stop him':
+		*clr & cla
+		gs 'stat'
+		'<center><img <<$set_imgh>> src="images/locations/shared/train/ride2.jpg" ></center>'
+		'After the immediate shock has passed, you push him away, but that doesn''t deter him in the slightest. He immediately tries to kiss and grope you again. You push him off once more, then get up and move to another seat next to a woman who nods at you sympathetically and shoots the gopnik a nasty look. With nowhere to sit where he could harass you, the boy looks at you for a moment, then shrugs and looks out the window. The rest of the ride is fairly uneventful; you spend most of it chatting with your seatmate / savior about men who molest women on trains.'
+!!which of these acts show up depending on where Sveta was going when the act triggered obviously.
+		act 'Continue journey': gt $loc, $loc_arg
+	end
+
+	act 'Go with it':
+		*clr & cla
+		minut -= 30
+		gs 'fame', 'pav', 'sex', 5
+		gs 'npcgeneratec', 0, 'Gopnik', rand(18,25)
+		gs 'boyStat', $npclastgenerated
+		'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnik.jpg" ></center>'
+		'He is pretty cute, and you find yourself in the mood for a little tenderness, so you return his kiss and allow him to paw at your body. During the ride, you hear more than a few people comment on the two of you making out like this on the train; several seem to be of the opinion that this is not a proper place to show this level of affection. Instead of deterring you however, all that does is tickle your rebellious streak and make you feel even more brazen.'
+		*nl
+		'Once the train stops at your destination, you get off with him, but you barely make it off onto the platform before he pulls you into another kiss. He is actually a pretty good kisser, and while his pawing hands might drive most innocent girls away, he seems to mostly know where he has to grope too. Breaking the kiss and finding you breathing as heavily as him, he suggests, "Let''s go for a walk; you know, somewhere a little more private."'
+		gs 'arousal', 'foreplay', 5, 'unknown', 'exhibitionism'
+		gs 'stat'
+		gs 'willpower', 'sex', 'resist', 'medium'
+		if will_cost <= pcs_willpwr:
+			act 'Decline (<<will_cost>> Willpower)':
+				*clr & cla
+				gs 'willpower', 'pay', 'resist'
+				gs 'stat'
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnik.jpg" ></center>'
+				'You shake your head no - you don''t wanna take it that far with him. "Sorry, but I don''t have time. It was fun though. The trip was a lot more exciting than I expected." He looks a little disappointed, so you comfortingly pat his cheek. "Maybe I will see you again sometime, and we can pick up where we left off." You lean in and give him a long, slow kiss goodbye, then bounce away and head off the platform. You hear him mutter about not getting more action, but you don''t really care - all you care about right now is that the train ride just flew by.'
+				act 'Return to the station and catch the next train':
+					*clr & cla
+					minut += 30	
+					gs 'stat'
+					'<center><img <<$set_imgh>> src="images/locations/shared/train/electri_' + rand(1,5) + '.jpg"></center>'
+					'The journey is uneventful, and you end up not paying attention for much of it. It doesn''t seem like long before you arrive at your destination.'
+					act 'Get off the train': gt $loc, $loc_arg
+				end
+			end
+		else
+			act 'Decline (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+		end	
+		act 'Agree':
+			*clr & cla
+			'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnikwalk.jpg" ></center>'
+			'He takes you to the skyway over the tracks, holding your hand and pointing out different buildings and things. You already know almost everything he is talking about, but you let him talk for one very simple reason: he is surprisingly charming and sweet now, compared to the pawing weirdo you met on the train. He throws a lot of compliments your way, telling you how "the sun pales in comparison to your beauty" and the like. You consider telling him he really doesn''t have to try this hard, but some funny exaggerations aside, you genuinely enjoy flirting with him and let him go on.'
+			*nl
+			'Once the train has left the station and all who disembarked with you are gone, he carefully inspects your surroundings to see if anybody else is around. When he doesn''t see anyone, he stops and turns towards you. Back to his train persona, your gopnik friend decides to take this to the next level or three, unbuttoning his pants and pulling them down to his knees. His cock springs free, already hard and proudly fluttering in the wind.'
+			act '"Um... No"':
+				*clr & cla
+				gs 'stat'
+				'Even as he''s pulling down his pants, you are already shaking your head and laughing. "Do you think I''m a slut or something? I''m not gonna do something with you after a couple of compliments, especially not out in the open like this!" You turn and walk off, calling over your shoulder, "I thought you were a nice guy, but I guess I was wrong."' 
+				*nl
+				'The gopnik seems anything but pleased by your response. He tries to pull his pants back up and yells, "You fucking tease! Get back here!" You don''t; on the contrary, you exploit his current struggle with his pants to run back down the stairs to the platform and into the station before he can follow.'
+				act 'Return to the station': gt $loc, $loc_arg
+			end
+
+			act 'Blow him':
+				*clr & cla
+				gs 'boy'
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnikbj.jpg" ></center>'
+				'The back and forth between him being nice and an ass is weird, the place is wide open, you barely know him - literally everything about this should discourage you from going near his crotch, and yet... yet, you find yourself squatting down in front of him and taking his <<dick>>cm <<$dick_girth>> cock into your mouth. Your hand strokes his hard shaft while you roll your tongue around the head of his cock; you jerk his cock in tune with the bobs of your head, back and forth along his length, your <<$pc_desc[''lips'']>> lips lips wrapped tightly around him.' 
+				*nl
+				'You know this is kind of slutty - a little more than just "kind of", actually - but the idea that you could get caught at any moment is making this a lot more arousing than it should be; so, here you are, sucking his cock right above the train platform. Plus, he is kinda cute, and you like his cock, so who care''s if it is slutty? The things the people said on the train got you riled up, and this makes you feel like you''re getting back at their stuffy selves. You''re having fun, and it''s your body to do with as you please, and that''s all that matters.'
+				'Well, that, and the hard cock you''re sucking with passion.'
+				gs 'arousal', 'bj', 10, 'exhibitionism', 'unknown'
+				gs 'stat'
+				act 'Let him fuck you':
+					*clr & cla
+					'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnikvag.jpg" ></center>'
+					'You don''t know how many minutes pass as you suck him; somewhere along the way, you worm your fingers into your panties, rubbing your clit, feeling a lot more turned on by sucking his cock than you expected. You don''t know if he always planned on more than just a blow job or if he sensed that you were getting horny and influenceable, but he eventually has you stop and stand up and pulls your clothes aside enough to bare your ass and expose your glistening wet pussy.'
+					*nl
+					'He meets no resistance when he turns you around and bends you over up against the side of the walkway railings; by the time he has lined his cock up with your pussy, you are looking back at him with eager anticipation. Impatient as you expected him to be, he slips his <<dick>>cm <<$dick_girth>> cock into your sopping wet pussy. It slides in easily, and he has no trouble at all bottoming out on the first thrust. Hearing your moan and feeling how wet and turned on you are, he starts fucking you hard right away. His hips slap against your butt cheeks with every thrust, and he reaches up and grabs your shoulder with one hand to keep you from moving away, furiously fucking your pussy and putting you into a state of ecstatic bliss right there on the skywalk.'
+					gs 'arousal', 'vaginal', 10, 'exhibitionism', 'rough', 'unknown'
+					gs 'stat'
+
+					act 'Have anal sex with him':
+						*clr & cla
+						'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnikanal.jpg" ></center>'
+						'When another train rolls into the station, he curses, pulls out of you and hastily tucks his penis back into his pants. Without waiting until you could do something similar, he grabs your hand and pulls you along with him; you manage to cover yourself to some extent, but you know your ass is still partially showing.' 
+						*nl
+						'He rushes down one of the access ramps of the skywalk to an older platform of the station that now serves as a storage siding. As soon as you turn the corner and are no longer visible from the skywalk or other platforms anymore - so basically as soon as you turn the corner - he pushes you up against the graffiti-covered wall, pulls your clothes aside again and shoves his cock back into your pussy, fucking you like you hadn''t been interrupted. While you try to stifle your moans so passersby on the walkway won''t hear you, he leans forward and seductively whispers into your ear, "I''m going to fuck that tight little ass of yours."' 
+						*nl
+						'Without waiting for a response from you, the boy pulls his cock out once more and slides his <<dick>>cm <<$dick_girth>> cock up your ass. You gasp in pain, but it turns into a moan of pleasure along the way. You don''t have to consciously relax your asshole to enjoy this at this point; you are so turned on at the moment that you don''t really care where he sticks his cock as long as he just keeps fucking you.'
+						gs 'arousal', 'vaginal', 10, 'exhibitionism', 'unknown', 'rough'
+						$orgasm_txt = 'Your ass is getting pounded almost as hard as your pussy; he is just rough enough to make it hurt a little, but in this strange state you''re in, it seems to hurt in a <i>good</i> way, adding more fuel to the mounting climax inside of you. And then, just like that, the pressure is released explosively, shaking you like a leaf in the wind as you have an anal orgasm, maybe five meters away from a skywalk. You cannot contain your moans at this point, and it doesn''t help that your lover redoubles his efforts and fucks your tight little asshole even harder when he realizes that you''re cumming.'
+						$orgasm_or = 'yes'
+						gs 'arousal', 'anal', -10, 'exhibitionism', 'unknown', 'rough'
+						'Had anybody walked by and heard or seen you right now, you wouldn''t have even cared.'
+						gs 'stat'
+
+						act 'Take his cum':
+							*clr & cla
+							'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/gopnikcum.jpg" ></center>'
+							'He suddenly groans; a first jet of sperm shoots into your bowels just as he pulls out, and you feel his hot sperm rain down all over your ass cheeks as he jerks himself off. When the stream dies down, he wipes off the last few drops at his tip on your butt before pulling his pants up; he then helpfully offers you a tissue.'
+							*nl
+							'As you clean yourself up, he breaks into a chuckle as he realizes something: "By the way, I''m <<$boydesc>>."'
+							'You can''t help but laugh at that; you just let him fuck you in every which way, and you didn''t even know his name! "<<$pcs_nickname>>, pleasure to meet you," you say in mock formality and even offer him your hand, "a real pleasure," you add with a suggestive smile. He feigns seriousness as he shakes the offered hand but cannot keep himself from grinning.'
+							'"It was nice meeting you as well, <<$pcs_nickname>>. Maybe I can call you sometime?", he asks hopefully.'
+							gs 'arousal', 'end'
+							gs 'cum_call', 'butt', 'Gopnik'
+							gs 'cum_call', 'anus', 'Gopnik'
+							gs 'stat'
+
+							act 'Give him your number':
+								*clr & cla
+								if rand(0,3) = 0:
+									gs 'boyfrend', 'start'
+									stopboy = 0
+								end
+								'"I''d like that," you tell him and give him your phone number. He waits until you''re more or less presentable again, then walks you back up to the skywalk where you two part ways.'
+
+								act 'Return to the station and catch the next train':
+									*clr & cla
+									minut += 30	
+									gs 'stat'
+									'<center><img <<$set_imgh>> src="images/locations/shared/train/electri_' + rand(1,5) + '.jpg"></center>'
+									'The journey is uneventful, and you end up not paying attention for much of it. It doesn''t seem like long before you arrive at your destination.'
+									act 'Get off the train': gt $loc, $loc_arg
+								end
+							end
+							act 'Don''t give him your number':
+								*clr
+								cla
+								'You shake your head. "Look, <<$boydesc>>, I had fun but I am not looking for anything more than a fuck right now. Maybe we will run into each other on the train again or something sometime?"'
+								'He shrugs like he doesn''t care either way, but the look he gives you tells you that he''s a little pissed. "Sure, whatever. See you around." With that, he turns and walks off, leaving you to finish getting your clothes back in order.'
+
+								act 'Return to the station and catch the next train':
+									*clr & cla
+									minut += 30	
+									gs 'stat'
+									'<center><img <<$set_imgh>> src="images/locations/shared/train/electri_' + rand(1,5) + '.jpg"></center>'
+									'The journey is uneventful, and you end up not paying attention for much of it. It doesn''t seem like long before you arrive at your destination.'
+									act 'Get off the train': gt $loc, $loc_arg
+								end
+							end
+						end
+					end
+				end
+			end
+		end
+	end
+end
+
+--- train_events ---------------------------------

+ 34 - 285
locations/train_incidental.qsrc

@@ -5,143 +5,121 @@
 if $ARGS[0] = 'events':
 	*clr & cla
 	menu_off = 1
-	train_event = 1
-	gt 'train_incidental', '<<rand(1, 28)>>'
+	transportVars['train_event_day'] = daystart
+	gt 'train_incidental', 'event<<rand(1, 27)>>'
 end
 
-if $ARGS[0] = '1':
+if $ARGS[0] = 'event1':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/fat.jpg" ></center>'
 	'A large sweaty man sits down next to you. He reeks like he hasn''t bathed in days. You look around, but there is no other place to sit. You have no choice but to sit and endure. About halfway through the ride to the next stop, he turns to you and starts asking you questions. You thought his body reeked, but his breath is even worse. You lean back as far as you can and do you best to discourage him from talking to you. Even barely replying doesn''t work. He continues to talk to you the whole trip. When you finally arrive, you rush out of the train car to the fresh air outside.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '2':
+elseif $ARGS[0] = 'event2':
 	'<center><video autoplay loop src="images/locations/shared/train/sex/finger'+ rand(1,2) +'.mp4" ></video></center>'
 	'There are few people in this car. At the last stop, a young couple sits down a little way away. The boy keeps trying to feel the girl up, and she keeps pushing his hands away and glancing nervously around the car, but eventually she gives into his persistence, and they are soon kissing passionately. One of his hands slides up her skirt and you can hear her moaning from here. You try your best to give them privacy, but her moans are very distracting. By the next stop, her moans have reached a crescendo, followed by her shuddering in his arms and growing quiet. When she notices your eyes on them, she blushes fiery red and pushes his hands away, whispering to him. He looks over at you with a huge grin and leans back, obviously proud of his actions, while she does everything she can to hide.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '3':
+elseif $ARGS[0] = 'event3':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/nursing.jpg" ></center>'
 	'The car seems sparsely populated today. You sit across from a young woman holding a baby. After a bit, the baby gets fussy. The young woman responds by beginning to breast feed. As you watch her, you can''t help but wonder what it would feel like. A man to your right notices you staring at the young woman and her baby. He jokingly tells you he could help you out if you want one of your own. You blush bright red and lower your head while he gets a good laugh.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '4':
+elseif $ARGS[0] = 'event4':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/crowded.jpg" ></center>'
 	'The car is absolutely packed today. No seats are available, so you are left standing, feeling much like a canned sardine. At one of the stops, you stumble forward a bit. After regaining your footing, you feel something hard lodged between your legs. It seems the man in front of you is carrying a thin briefcase and you managed to stumble onto it. He doesn''t seem to notice, and the car is too packed for you to move away. Every time the train starts or stops, the briefcase brushes against your vagina. You spend the rest of the ride hoping nobody notices while stifling any unintentional moans.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '5':
+elseif $ARGS[0] = 'event5':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/glare.jpg" ></center>'
 	'The car is mostly empty. You enjoy having so much space to yourself. There is a woman a few rows ahead of you, dressed in office clothes and make up. She glares at you when you check out her dress. She stands up and walks towards you, stopping right in front of you and asking what the hell you''re looking at. It takes you a while, but you manage to deescalate the situation. The woman is still upset as she''s walking away from you. Luckily, she gets off the train at the next station.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '6':
+elseif $ARGS[0] = 'event6':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/sleep.jpg" ></center>'
 	'The train is full of commuters today. You marvel at how all the office workers look so similar. One catches your eye however. He is wearing what could be a very nice suit - if it weren''t so faded and worn. He simply looks outside, not reading like the others. He seems so exhausted. You wonder what turns his life has taken to reach this point.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '7':
+elseif $ARGS[0] = 'event7':
 	minut += 20
 	'You get a window seat today and enjoy watching the countryside go by. As some time passes by, the train stops, and the conductor announces that there are some technical difficulties with the train. You get very bored staring at the same farm for twenty minutes, wishing you had a magazine. Finally, the train starts moving again.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '8':
+elseif $ARGS[0] = 'event8':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/invest.jpg" ></center>'
 	'A man in a suit sits opposite you and starts looking through things on his laptop. Every so often, his phone rings, and he lists company names and prices with instructions to buy and sell. You briefly wonder if you should be paying attention, maybe it would be a good thing to invest too, but you doubt you have the money to invest even if you wanted to.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '9':
+elseif $ARGS[0] = 'event9':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride.jpg" ></center>'
 	'A fly gets stuck in the carriage. It''s surprisingly noisy, and you spend 5 minutes trying to shoo it out of the little vent window. Finally, you get it out, and the 5 other people in the carriage jokingly applaud, obviously having watched the whole thing. Your face turn red as you return to your seat.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '10':
+elseif $ARGS[0] = 'event10':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride.jpg" ></center>'
 	'Some foreign tourists get on the train with you. They have several suitcases and stow them in the overhead racks. A small case is on top of the others and slides about as the train starts and stops. You can''t help but watch it thinking it will slide off and fall on someone, but thankfully it never does.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '11':
+elseif $ARGS[0] = 'event11':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride.jpg" ></center>'
 	'A local city newspaper has been left on your seat. You flick through it to pass the time, idly turning through the pages looking for articles of interest. You don''t manage to find any, but it still beats just sitting there daydreaming.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '12':
+elseif $ARGS[0] = 'event12':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/ride.jpg" ></center>'
 	'After you''ve settled down, a woman enters with three children and a push-chair looking for a seat. One of the few remaining ones is next to you, so now you have the pleasure of an energetic small child sitting next to you, one that jumps up and down on the seat, shouts to his brother, and occasionally throws things at his brother. Sometimes those things are thrown back. Sometimes they hit you, by accident or perhaps deliberately given how amusing they find it.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '13':
+elseif $ARGS[0] = 'event13':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/animalr.jpg" ></center>'
 	'As you board the train, you notice there is no one else in the car with you. However as you take your seat, you look over and see some sort of dog like animal curled up in one of the chair. It looks like a wild animal, but it is not bothering you, so you ignore it and get off at your stop.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '14':
+elseif $ARGS[0] = 'event14':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/boobflash'+ rand(1,2) +'.jpg" ></center>'
 	'As you are riding the train, about halfway through the journey you hear some whistles and clapping. You look up and see another young girl, not much older than you are. She''s flashing her tits to everyone on the train, which is most appreciated by most of the passengers, though a few of the women and elders seem to disapprove. Either way, she sure looks like she is loving the attention.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '15':
+elseif $ARGS[0] = 'event15':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/buttflash1.jpg" ></center>'
 	'As you are riding the train, about halfway through the journey you hear some whistles and clapping. You look up and see another young girl, not much older than you are. She''s flashing her naked butt to everyone on the train, which is most appreciated by most of the passengers, though a few of the women and elders seem to disapprove. Either way, she sure looks like she is loving the attention.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '16':
+elseif $ARGS[0] = 'event16':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/dickslip.jpg" ></center>'
 	'While sitting in your seat on the train, you glance up at the guy across from you. He is texting on his phone, leaned back with his legs spread. He isn''t half bad looking. As you check him out, that''s when you notice the head of his dick hanging out the leg of his shorts. You can''t help but look for a bit, then you glance around and see an older woman watching you. By the smile she gives, you know she noticed as well and noticed where you''re looking. You start blushing as you''ve been caught, and you try looking away, trying to find anything else to look at for the rest of the trip.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '17':
+elseif $ARGS[0] = 'event17':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/gflashtrain.jpg" ></center>'
 	'While riding the train, you spend most of your time looking out the windows. As you pass by a field, you can''t help but notice a young women standing in it completely naked, arms behind her back and legs apart, putting all she has on display for the passengers on the train. She smiles and waves as the train races by.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '18':
+elseif $ARGS[0] = 'event18':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/hot.jpg" ></center>'
 	'As you ride the train, you can''t help but notice the attractive young women sitting across the row from you. Dressed in a short tight leather dress and stockings, you try to avoid checking her out, but you catch her watching you a few times. When your eyes meet, she smiles at you and then turns her attention to her phone. She doesn''t look back over at you the rest of the trip. Unsure if she was flirting or not, you don''t know what to do.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '19':
+elseif $ARGS[0] = 'event19':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/nakedb'+ rand(1,2) +'.jpg" ></center>'
 	'As you take your seat, you glance up to see a naked boy standing in the car. Many of the other passengers are staring at him, but he seems completely unconcerned. He never takes a seat and rides the train while standing as if there is nothing wrong. Before you can figure out why he is naked, he gets off at the next stop.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '20':
+elseif $ARGS[0] = 'event20':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/nakedg'+ rand(1,6) +'.jpg" ></center>'
 	'As you take your seat, you glance up to see a naked girl standing in the car. Many of the other passengers are staring at her, but she seems completely unconcerned. She is smiling and seeming to enjoy the attention she is getting. She makes no attempt to ever cover herself and just rides the train like any other passenger. She gets off at her stop and heads into the train station.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '21':
+elseif $ARGS[0] = 'event21':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/nipslip'+ rand(1,2) +'.jpg" ></center>'
 	'The ride has been fairly boring so far. You start looking around at your fellow passengers, and that''s when you notice it. A woman is distracted and seems to be completely unaware her shirt has ridden down and left her boob and nipple exposed for all to see. You are about to say something to her when another woman gets her attention. She blushes and quickly tucks her breast back in.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '22':
+elseif $ARGS[0] = 'event22':
 	'<center><video autoplay loop src="images/locations/shared/train/pantyflash.mp4" ></video></center>'
 	'As you are riding the train, about halfway through the journey you look up and notice a girl about your age looking back at you. You politely smile to her and go about your business. She manages to catch your attention again, as she flashes her panties at you, smiling.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '23':
+elseif $ARGS[0] = 'event23':
 	if rand(0,2) ! 0:
 		'<center><img <<$set_imgh>> src="images/locations/shared/train/pussyflash'+ rand(1,2) +'.jpg" ></center>'
 	else
@@ -149,269 +127,40 @@ if $ARGS[0] = '23':
 	end
 	'As you are riding the train, about halfway through the journey you look up and notice a girl about your age looking back at you. You politely smile to her and go about your business. She manages to catch your attention again, as she flashes her bare pussy at you, smiling.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '24':
+elseif $ARGS[0] = 'event24':
 	'<center><video autoplay loop src="images/locations/shared/train/toprip.mp4" ></video></center>'
 	'Just as you are getting near your destination, you see a man reach over and grab the top of a woman sitting across the row from you. Once he has a firm grip on her top, he rips it off, leaving her completely topless. At first she just seems surprised. Then she covers herself up and starts screaming at the man, finally yanking her top back from him. He only laughs as she screams at him while trying to fix her top.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '25':
+elseif $ARGS[0] = 'event25':
 	'<center><video autoplay loop src="images/locations/shared/train/sex/bj'+ rand(1,2) +'.mp4" ></video></center>'
 	'There are a few people in the car, a couple sits across from you and an old man is sitting down at the far end of the car. A few minutes pass by and all of the sudden the man pulls his cock out of his pants grabbing the woman''s head. He shoves her face down towards his crotch, while she obediently opens up her mouth and begins sucking on his cock. He looks over at you and grins as his female companion keeps sucking his cock. As time passes, he grabs her hair and starts forcing her head down, while thrusting his hips up. He roughly fucks her mouth until he finally groans loudly. Pulling her head off his cock, he puts it away, as she uses her fingers to clean up the cum at the corner of her lips.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '26':
+elseif $ARGS[0] = 'event26':
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/sex/dblgmas.jpg" ></center>'
 	'There are a few people in the car, a couple young girls sitting across from you and a couple of businessmen at the far end of the train. You hear the girls giggling as they whisper back and forth. Blushing slightly, they look around. Noticing only you nearby, they start goading each other. You are about to ask what they are up to when both of them pull up their skirts, spread their legs and begin to masturbate. They don''t pay any attention to you at all as they do this. Some time later, one of them cries out in pleasure, flipping off her friend immediately after. Apparently, they were racing to see who could get off first.'
 	act 'Complete your journey': gt $loc, $loc_arg
-end
 
-if $ARGS[0] = '27':
+elseif $ARGS[0] = 'event27':
 	'<center><video autoplay loop src="images/locations/shared/train/sex/gmast.mp4" ></video></center>'
 	'The train car is completely empty other than one other woman who spends a lot of time texting on her phone for most of the trip. All of a sudden, she pulls up her shirt, exposing her breasts, and unbuttons her pants. She reaches down into her pants with one hand and begins masturbating right there on the train, while keeping the other hand occupied with her breasts. Unsure what to do, you attempt to ignore her, but her moans of pleasure make it very hard to do so. Luckily, she seems adept at getting herself off, as she doesn''t take too long before she climaxes. Once she does, she goes back to using her phone as if nothing happened.'
 	act 'Complete your journey': gt $loc, $loc_arg
 end
 
-if $ARGS[0] = '28':
-	*clr & cla
-	temp_var = 0
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/breastfeeding/father_with_baby_train.jpg" ></center>'
-	'The car is really populated today. The only empty seat you can find is next to a sleeping man with his baby.'
-	'You sit down next to him. After a bit, the baby gets fussy. The man wakes up and responds by hastily searching around in his bag. He mumbles about a milk bottle but doesn''t seem to find what he is searching for.'
-	if lactation['active'] > 0 and pcs_inhib >= 30:
-		act 'Offer to help out':
-			*clr & cla
-			'<center><img <<$set_imgh>> src="images/locations/shared/train/breastfeeding/father_with_baby_train.jpg" ></center>'
-			'You turn your head to him and whisper, "Uhm, do you need help?"'
-			'He looks up at you. "Well, if you don''t happen to have a bottle of milk with you, you can''t help me much..."'
-			'You hem and haw a bit.'
-			act 'Offer to breast feed the baby':
-				*clr & cla
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/breastfeeding/father_with_baby_train.jpg" ></center>'
-				if tits <= 4:
-					'You put your right hand on your breasts. "I could breastfeed him."'
-				elseif tits > 4 and tits <= 7:
-					'You put your right hand on your large breasts. "I could breastfeed him."'
-				elseif tits > 7:
-					'You put your right hand on your unusually large breasts. "I could breastfeed him."'
-				end
-				if vidage <= 16:
-					'He raises an eyebrow and looks you up and down. "You look a bit too young for being able to do that."'
-					if tits > 4:'His eyes stop at your large breasts. "Even if your breasts look promising..."'
-					temp_var = 1
-				elseif vidage > 16 and vidage <= 19:
-					'He raises an eyebrow and looks at you. "You have breast milk already? Are you sure you can do that?"'
-					if tits > 4:'His eyes stop at your large breasts.'
-					temp_var = 1
-				elseif vidage > 19:
-					'He raises an eyebrow and looks at you. "Are you sure you can do that?"'
-					temp_var = 2
-				else
-					temp_var = 2
-				end
-				:breastfeedthebaby
-				if temp_var = 2:
-					gs 'train_incidental', 'breastfeedthebaby'
-				elseif temp_var <= 1:
-					if pcs_inhib >= 40:
-						act 'Prove it to him':
-							*clr & cla
-							'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/boob_out_leak.mp4" ></video></center>'
-							if vidage <= 16:
-								'You grab onto your top to pull out your breast. The man looks really nervously at you as you do this.'
-							else
-								'You grab onto your top to pull out your breast.'
-							end
-							'You give your breast some squeezes until milk drops start to develop on your nipple. The man watches you surprised and nods positively.'
-							gs 'train_incidental', 'breastfeedthebaby'
-						end
-					end
-					act 'Convince him that you can do it':
-						*clr & cla
-						'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/boob_out_leak.mp4" ></video></center>'
-						if vidage <= 16:
-							'You smile and nod. "I can assure you, even if I look young, I have breast milk."'
-						else
-							'You smile and nod. "I can assure you I have breast milk."'
-						end
-						'The man gives you a concerned expression but then nods. "Well, it couldn''t hurt to let you try."'
-						gs 'train_incidental', 'breastfeedthebaby'
-					end
-				end
-			end
-			act 'Withdraw your offer': gt $loc, $loc_arg
-		end
-		act 'Leave him alone': gt $loc, $loc_arg
-	else
-		if tits > 6:'During his search, he looks around to see if the bottle fell out somewhere nearby. Glancing at your large assets for a moment, he frowns a bit, then continues to search.'
-		'At the next stop, he leaves the car quickly with the baby.'
-		act 'Complete your journey': gt $loc, $loc_arg
-	end
-end
 
-if $ARGS[0] = 'breastfeedthebaby':
-	act 'Breastfeed the baby':
-		*clr & cla
-		'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/train_breastfeeding.mp4" ></video></center>'
-		'The man hands you his baby. You take it into your arms and pull your top up, revealing your breasts.'
-		if vidage <= 16:
-			if tits <=4:
-				'The man blushes a bit as you pull out your young breasts in front of him.'
-				'He doesn''t seem to be to comfortable with a girl breastfeeding his son like this, so he looks somewhere else.'
-			else
-				'The man blushes a bit as you pull out your young large breasts in front of him.'
-				'He doesn''t seem to be to comfortable with a girl breastfeeding his son like this, but can''t help but stare at your chest for a moment before he looks somewhere else.'
-			end
-		else
-			if tits <=4:
-				'The man blushes a bit as you pull out your breasts in front of him.'
-				'He looks at your every move.'
-			else
-				'The man blushes a bit as you pull out your large breasts in front of him.'
-				'He looks at your every move, unable to stop himself from staring at your chest.'
-			end
-		end
-		if pcs_firstbabybreastfeeding <=0:
-			'You look nervously at the baby as you lead the small head to your left breast. You have never breastfed a baby, so you are not sure if this will work out properly.'
-		else
-			'You lead the baby''s head to your left breast.'
-		end
-		'The small lips brush over your skin in search for your nipple. With your right hand, you adjust your breast a bit, pointing the nipple at the small mouth.'
-		if pcs_firstbabybreastfeeding <=0:
-			'The baby latches on. You can feel and see your nipple being sucked in eagerly by the small mouth. Your eyes widen, and you can''t help but smile a bit.'
-			'You let out a cute little moan, as you are surprised from the feeling of your tingling nipple.'
-			'The man asks if everything is okay, and you nod hastily, then lean your head back and close your eyes.'
-		else
-			'The baby latches on. You can feel and see your nipple being sucked in eagerly. You close your eyes, smile and hum in a relaxed tone. The tingling in your nipple tells you that your milk is coming out.'
-		end
-		act 'Continue':
-			*clr & cla
-			temp_var = func('lact_lib','$get_breastmilk_time', 2, 80)
-			'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/train_breastfeeding.mp4" ></video></center>'
-			if temp_var > 15:
-				milkedvolume = func('lact_lib','$get_breastmilk', 2, 15)
-				'As you open your eyes again, you see the baby suckle on your left breast, the small lips kneading your areola over and over. The tingling feeling fading away, the kneading of the small mouth intensifies for a bit before the baby latches off on its own, making an unsatisfied noise. You make the baby switch breasts, and you continue to breastfeed until the baby latches off again.'
-				'You speak up, "Sorry... I don''t think he got enough..."'
-				if milkedvolume >= 50000:
-					'The man nods, smiling a bit. "At least this will help for the rest of the train ride."'
-				else
-					'The man nods and seems disappointed. "Damn, he is still hungry. I''ll have to get out at the next stop to see if I can get something for him."'
-					pcs_mood -= 10
-				end
-				'You hand him his baby and cover yourself up.'
-				act 'Finish':gt $loc, $loc_arg
-			else
-				'As you open your eyes again, you see the baby suckle on your left breast, the small lips kneading your areola over and over. The tingling keeps on and the kneading of the small mouth is stable. The small baby''s hand grabs onto your breast firmly.'
-				if pcs_firstbabybreastfeeding <=0:'It feels really great to breastfeed. It is relaxing in a way you haven''t experienced before.'
-				'The baby drinks from you for at least <<temp_var>> minutes. You look up at the father.'
-				if vidage <= 19:
-					'The man looks at your breasts and the baby in amazement. "Wow... you really seem to have enough milk to feed him. How much do you make?"'
-				else
-					'The man looks at your breasts and the baby. "You really seem to have enough milk to feed him. How much do you make?"'
-				end
-				if temp_var >= 12:
-					'You think about it and nod your head while answering, "Well, I guess enough for at least one baby... or so."'
-					'The man smiles and nods. You feel the firm grip of the baby easing up, and the suckling slows down too. You look down and see that the eyes of the baby are closed now and his breathing is calm.'
-					'You whisper to the man, "He is done..."'
-					'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help.'
-					act 'Finish':gt $loc, $loc_arg
-				elseif temp_var < 12:
-					'You think about it and nod your head while answering, "Uhm... I think I produce a fair amount."'
-					if lactation['breastmm'] >= 500000:
-						'You then add, "I could fill up a beer glass when my breasts feel engorged, I think, haha."'
-					elseif lactation['breastmm'] >= 150000 and lactation['breastmm'] < 500000:
-						'You then add, "I could fill up a cup when my breasts feel engorged, I think, haha."'
-					else
-						'You then add, "Probably a bit more than the baby can eat..."'
-					end
-					'You smile cutely and giggle a bit. You notice how the man''s eyes widen from your answer and how he blushes.'
-					if vidage <= 16:
-						if tits <=4:
-							'He speaks up, "Wow - you look so young, and yet you make more milk than my wife. She is barely able to breastfeed him, and we need extra bottled milk."'
-						else
-							'He speaks up, "Wow - you look so young, and yet you make more milk than my wife... but it is no wonder you can with breasts like those."'
-							'Saying this, he makes you blush.'
-							'He continues, "My wife is barely able to breastfeed him, and we need extra bottled milk."'
-						end
-					else
-						'He speaks up, "Wow - you make more milk than my wife. She is barely able to breastfeed him, and we need extra bottled milk."'
-					end
-					'"I always wanted to try her milk," he admits, "but there is barely enough as it is."'
-					'It seems like he is interested in trying your breast milk but is too shy to ask. You feel the firm grip of the baby easing up and the suckling slowing down too. You look down and see that the eyes of the baby are closed now and his breathing is calm.'
-					milkedvolume = func('lact_lib','$get_breastmilk', 2, temp_var)
-					milkedvolume = 0
-					act 'Finish':
-						*clr & cla
-						'You whisper to the man, "I think he is done..."'
-						'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help.'
-						act 'Leave':gt $loc, $loc_arg
-					end
-					gs 'willpower', 'foreplay', 'force'
-					if will_cost <= pcs_willpwr:
-						act 'Have him try your breast milk (<<will_cost>> Willpower)':
-							*clr & cla
-							gs 'willpower', 'pay', 'force'
-							gs 'stat'
-							'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/adult_breastfeeding.mp4" ></video></center>'
-							'You smile at him. "Would you like to try?"'
-							'The man asks, "Try what?"'
-							'You grab your right breast with your right hand and pull it out of your top, slightly weighting it in your hand.'
-							'You whisper, "My breast milk..."'
-							if vidage <=16:
-								'The man looks nervously at you. Shaking his head, he stammers "No, no... you are too young for that..."'
-								'You lean in. "But not too young to breastfeed your son?"'
-								'Offering your breast to him again, you prod, "Come on, it is no big deal..."'
-							end
-							'The man stands up and looks over the seats left and right, then around the car. He then sits down in his seat again, leaning over to you and moving his hands up, then hesitating. He looks in your eyes as if he wants approval. You nod, and he grabs around your breast with both hands, holding it firmly. You move your right hand onto his neck. Then he moves his mouth towards your nipple and latches on too. He is producing way more suction force than the baby, making you moan. Your nipple pulses, and you feel your breast milk gushing out into his mouth. He closes his eyes and nuzzles your breast, drinking your milk. After about 5 minutes, he is done and latches off.'
-							'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/adult_breastfeeding.mp4" ></video></center>'
-							milkedvolume = func('lact_lib','$get_breastmilk', 0, 5)
-							if milkedvolume >= 80000:
-								if tits <=4:
-									'He wipes his mouth off and looks at you. "They don''t look like it, but there is a lot of milk inside your breasts..."'
-								else
-									'He wipes his mouth off and looks at you. "There is really a lot of milk inside your breasts..."'
-								end
-								'"I should ask my wife to hire you as a wet nurse or something..." he adds.'
-							elseif milkedvolume >= 50000 and milkedvolume < 80000:
-								if tits <=4:
-									'He wipes his mouth off and looks at you. "They don''t look like it, but there is quite the amount of milk inside your breasts..."'
-								else
-									'He wipes his mouth off and looks at you. "There is quite the amount of milk inside your breasts..."'
-								end
-							else
-								if tits <=4:
-									'He wipes his mouth off and looks at you. "As I expected, there wasn''t much milk inside your breasts..."'
-								else
-									'He wipes his mouth off and looks at you. "Huh, I didn''t expect so little milk inside those magnificent breasts..."'
-								end
-							end
-							act 'Continue':
-								*clr & cla
-								'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/train_breastfeeding.mp4" ></video></center>'
-								'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help and for the delicious snack.'
-								milkedvolume = 0
-								act 'Leave':gt $loc, $loc_arg
-							end
-						end
-					else
-						act 'Have him try your breast milk (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-					end
-				end
-			end
-		end
-		pcs_firstbabybreastfeeding = 1
-	end
-end
 
 if $ARGS[0] = 'end':
 	*clr & cla
+	menu_off = 1
+	gt 'train_incidental', 'end<<rand(1, 1)>>'
+end
+
+if $ARGS[0] = 'end1':
 	'<center><video autoplay loop src="images/locations/shared/train/sex/leskuni.mp4" ></video></center>'
 	'As you get off the train and walk into the train station, you are greeted by a very unusual sight. One girl is sitting on a bench with her legs spread wide while another girl is kneeling down on the floor with her face buried in her crotch. A few people are watching the two girls, but most are just ignoring them. You watch the two of them, feeling yourself getting aroused. As you make your way towards the exit, you sadly can no longer see them, but you can still hear them in the distance.'
 	act 'Continue': gt $loc, $loc_arg
 end
 
 --- train_incidental ---------------------------------
-

+ 165 - 0
locations/transport_functions.qsrc

@@ -0,0 +1,165 @@
+# transport_functions
+
+
+	!!=======================================!!
+	!!                                       !!
+	!!                Trains                 !!
+	!!                                       !!
+	!!=======================================!!
+
+
+if $ARGS[0] = 'buy_train_pass':
+	if transportVars['trainpass_day'] <= daystart:
+		if money >= 250:
+			dynamic 'act ''Buy a daily pass (1 day - 250 <b>₽</b>)'':
+				cla
+				money -= 250
+				transportVars[''trainpass_day''] = daystart + 1
+				act ''Return'': gt ''<<$loc>>'', ''<<$loc_arg>>''
+			end'
+		end
+
+		if money >= 1500:
+			dynamic 'act ''Buy a weekly pass (7 days - 1500 <b>₽</b>)'':
+				cla
+				money -= 1500
+				transportVars[''trainpass_day''] = daystart + 7
+				act ''Return'': gt ''<<$loc>>'', ''<<$loc_arg>>''
+			end'
+		end
+
+		if money >= 5500:
+			dynamic 'act ''Buy a monthly pass (30 days - 5500 <b>₽</b>)'':
+				cla
+				money -= 5500
+				transportVars[''trainpass_day''] = daystart + 30
+				act ''Return'': gt ''<<$loc>>'', ''<<$loc_arg>>''
+			end'
+		end
+
+		if money >= 75000:
+			dynamic 'act ''Buy a yearly pass (365 days - 75000 <b>₽</b>)'':
+				cla
+				money -= 75000
+				transportVars[''trainpass_day''] = daystart + 365
+				act ''Return'': gt ''<<$loc>>'', ''<<$loc_arg>>''
+			end'
+		end
+	end
+end
+
+
+if $ARGS[0] = 'buy_train_ticket':
+	if $ARGS[2] = 'pc':
+		if $ARGS[1] ! 'pavlovsk':	gs 'transport_functions', 'set_train_ticket', $ARGS[1],	'pavlovsk',	'Pavlovsk'
+		if $ARGS[1] ! 'village':	gs 'transport_functions', 'set_train_ticket', $ARGS[1],	'village',	'the village of Gadukino'
+		if $ARGS[1] ! 'communal':	gs 'transport_functions', 'set_train_ticket', $ARGS[1],	'communal',	'the communal village'
+		if $ARGS[1] ! 'ind':		gs 'transport_functions', 'set_train_ticket', $ARGS[1],	'ind',		'St. Petersburg city industrial area'
+		if $ARGS[1] ! 'center':		gs 'transport_functions', 'set_train_ticket', $ARGS[1],	'center',	'St. Petersburg city center'
+	else
+		if $ARGS[1] ! 'center':		gs 'transport_functions', 'set_train_ticket', $ARGS[1],	'center',	'St. Petersburg city center'
+		if $ARGS[1] ! 'ind':		gs 'transport_functions', 'set_train_ticket', $ARGS[1],	'ind',		'St. Petersburg city industrial area'
+		if $ARGS[1] ! 'communal':	gs 'transport_functions', 'set_train_ticket', $ARGS[1],	'communal',	'the communal village'
+		if $ARGS[1] ! 'village':	gs 'transport_functions', 'set_train_ticket', $ARGS[1],	'village',	'the village of Gadukino'
+		if $ARGS[1] ! 'pavlovsk':	gs 'transport_functions', 'set_train_ticket', $ARGS[1],	'pavlovsk',	'Pavlovsk'
+	end
+end
+
+! $ARGS[1] = origin loc_arg
+! $ARGS[2] = destination loc_arg
+! $ARGS[3] = destination name
+if $ARGS[0] = 'set_train_ticket':
+	temp_price = func('transport_functions', 'get_train_price', $ARGS[1], $ARGS[2])
+	$temp_time = func('transport_functions', 'display_train_timecost', $ARGS[1], $ARGS[2])
+
+	if money < ARGS[1]:
+		dynamic 'act ''Buy a ticket to <<$ARGS[3]>> (<font color="red"><<$temp_time>> - <<temp_price>> <b>₽</b></font>)'': ''<br><font color="red">You don''t have enough money for a ticket to <<$ARGS[3]>>'' '
+	else
+		dynamic 'act ''Buy a ticket to <<$ARGS[3]>> (<<$temp_time>> - <<temp_price>> <b>₽</b>)'':
+				money -= <<temp_price>>
+				menu_off = 1
+				gt ''train'', ''<<$ARGS[1]>>_<<$ARGS[2]>>''
+			end'
+	end
+	killvar 'temp_price'
+end
+
+if $ARGS[0] = 'get_train_price':
+	result = func('transport_functions', '_private_train_price', $ARGS[2]) - func('transport_functions', '_private_train_price', $ARGS[1])
+	if result < 0: result = -result
+	result += 25
+end
+
+if $ARGS[0] = '_private_train_price':
+	if $ARGS[1] = 'pavlovsk':
+		result = 0
+	elseif $ARGS[1] = 'village':
+		result = 50
+	elseif $ARGS[1] = 'communal':
+		result = 75
+	elseif $ARGS[1] = 'ind':
+		result = 100
+	elseif $ARGS[1] = 'center':
+		result = 125
+	end
+end
+
+
+if $ARGS[0] = 'get_train_timecost':
+	result = func('transport_functions', '_private_train_time', $ARGS[2]) - func('transport_functions', '_private_train_time', $ARGS[1])
+	if result < 0: result = -result
+end
+
+if $ARGS[0] = '_private_train_time':
+	if $ARGS[1] = 'pavlovsk':
+		result = 0
+	elseif $ARGS[1] = 'village':
+		result = 15
+	elseif $ARGS[1] = 'communal':
+		result = 25
+	elseif $ARGS[1] = 'ind':
+		result = 35
+	elseif $ARGS[1] = 'center':
+		result = 40
+	end
+end
+
+
+if $ARGS[0] = 'display_trainpass_time':
+	$result = 'You have <<transportVars[''trainpass_day''] - daystart>> days left on your train pass.'
+end
+
+if $ARGS[0] = 'display_train_timecost':
+	$result = '00:' + $mid(100 + func('transport_functions', 'get_train_timecost', $ARGS[1], $ARGS[2]), 2, 2)
+end
+
+
+
+	!!=======================================!!
+	!!                                       !!
+	!!                Busses                 !!
+	!!                                       !!
+	!!=======================================!!
+
+
+
+
+
+
+
+	!!=======================================!!
+	!!                                       !!
+	!!                 Metro                 !!
+	!!                                       !!
+	!!=======================================!!
+
+
+if $ARGS[0] = 'get_metro_price':
+	result = 16
+end
+
+if $ARGS[0] = 'get_metro_timecost':
+	result = 10
+end
+
+--- transport_functions ---------------------------------

+ 5 - 5
locations/version.qsrc

@@ -255,7 +255,7 @@ act 'Return': gt 'start'
 '- Hookups tied into nightclub by ADCSux'
 '- Cheat menu list for changing inventory items and bank balance by ADCSux'
 '-  New school break chats for Katja which includes some rearranging of her special chat options and fixing of no panty quest variables by Vengeance11'
-'- Gloryhole at community centre and nightclub merged to a central file for better consistency and move actions by ADCSux'
+'- Gloryhole at community center and nightclub merged to a central file for better consistency and move actions by ADCSux'
 '- Changes and additions to the Katja events from bgkjdgbizgblzdgbr'
 '- Intros reworked to give 8 start options including 2 new university start options and changes to starting stories so that all Sveta''s are in fact the same person by KS with text from Anya'
 '- Vicky given full schedule by bgkjdgbizgblzdgbr'
@@ -264,7 +264,7 @@ act 'Return': gt 'start'
 '- Stripping now requires you to start in clothing, added more structure to it and re-balanced the tips by KS'
 '- Body description code rewritten, skin care added and appearance calculation changed to require more skin care by ADCSux'
 '- hookup sms system added by rachels (not in use yet)'
-'- City centre hotel rooms now available thanks to ADCSux'
+'- City center hotel rooms now available thanks to ADCSux'
 '- New cars and some replacements of cars by Black Onix'
 '- New Katja chat at the disco, including a threesome with her and Marcus by bgkjdgbizgblzdgbr'
 '- Katja and Ivan sex scene at school made anal only by bgkjdgbizgblzdgbr, text by nutluck'
@@ -386,7 +386,7 @@ act 'Return': gt 'start'
 '- Nutluck''s continuation of Anushka''s story and her brothers quest.'
 '- New option post rape to go straight to the police and option to cry in shower due to trauma from Hornguy6'
 '- Maternity store from MontyGibbons'' Added Flavour mod'
-'- Noticeboard added to Pav community centre by rachels'
+'- Noticeboard added to Pav community center by rachels'
 '- Some new text options for and less demands from the generic lovers from Hornguy6'
 '- City apartment block now has floors like th ePav ones thanks to Nutluck'
 '- Tatiana magic lessons from THX with help from Key, proofreading from Vengeance11 and code from Kevin Smarts'
@@ -467,11 +467,11 @@ act 'Return': gt 'start'
 '- Added new shop for lingerie, moved the boutique underwear to it by KS'
 '- Music Life by netuttki added to main game and various fixes/updates by them.'
 '- A bit more to the Niko story line plus fixes by Violet Kitten'
-'- Rework of gloryhole in women''s bathroom of the community centre by Iron Jack'
+'- Rework of gloryhole in women''s bathroom of the community center by Iron Jack'
 '- Bella and Albina swapped cliques to more accurate ones thanks to Violet Kitten'
 '- File renaming to use English and more logical names to some hubs and common locations by netuttki and KS'
 '- Journal update for nerd game night and social changes from philo'
-'- Changes to women''s restroom in community centre and inner thought default style set by Iron Jack'
+'- Changes to women''s restroom in community center and inner thought default style set by Iron Jack'
 '- Rework of the Kendra scenes by nutluck with code from Violet Kitten'
 '- Reworked Africans in uni dorm scenes by nutluck with code from Violet Kitten'
 '- Anushka photo modelling scenes from nutluck'

+ 5 - 5
locations/volleyball.qsrc

@@ -1,6 +1,6 @@
 # volleyball
 
-!! ------------------------------------------ Community Centre Practice ---------------------------------------------------
+!! ------------------------------------------ Community Center Practice ---------------------------------------------------
 
 if $ARGS[0] = 'level_up':
 	if vball_block_lvl = pcs_vball['blocking_practice']:
@@ -192,7 +192,7 @@ if $ARGS[0] = 'block_practice':
 		vball['defense_exp'] += 1
 		'You spend your free time practicing blocking spikes with the team.'
 	else
-		'You practice blocking spikes with some of the other girls around the community centre.'
+		'You practice blocking spikes with some of the other girls around the community center.'
 	end
 	*nl
 	if vball['level_up_message'] = 1: vball['level_up_message'] = 0 & 'It was a good session, you feel like you might have figured out some stuff about blocking.'
@@ -224,7 +224,7 @@ if $ARGS[0] = 'receive_practice':
 		vball['attack_exp'] += 1
 		'You spend your free time practicing receiving spikes and serves from your teammates.'
 	else
-		'You practice receiving with some of the other girls around the community centre, asking them to spike and serve balls at you so you can try to bump them into the air.'
+		'You practice receiving with some of the other girls around the community center, asking them to spike and serve balls at you so you can try to bump them into the air.'
 	end
 	*nl
 	if vball['level_up_message'] = 1: vball['level_up_message'] = 0 & 'It was a good session, you feel like you might have figured out how to be more efficient with your receives.'
@@ -477,7 +477,7 @@ if $ARGS[0] = 'victory':
 	'The match is over, the scoreboard reading 25 to <<vball_match[''opp_points''] * 5 + rand(1,5)>>. You won!'
 	*nl
 	'"We did it!" you cheer, the whole team gathering together for a team hug.'
-	'"Alright, good job girls!" Coach Mikhail says, congratulating you. "Let''s pack up now. Make sure we leave nothing behind. You can all shower back at the community centre."'
+	'"Alright, good job girls!" Coach Mikhail says, congratulating you. "Let''s pack up now. Make sure we leave nothing behind. You can all shower back at the community center."'
 	'"Yes coach!" the team replies in unison before quickly dispersing to carry out his orders.'
 	act'Pack up and drive back':gt'volleyball','drive_back'
 end
@@ -490,7 +490,7 @@ if $ARGS[0] = 'defeat':
 	'The match is over, the scoreboard reading <<vball_match[''team_points''] * 5 + rand(1,5)>> to 25. Your team... lost.'
 	*nl
 	'Soft sniffles come from the team as you walk off the court, some girls wiping tears from their eyes even as others try to hold back sobs.'
-	'"It was a good hussle out there girls," Coach Mikhail says. "We''ll talk about what went wrong and what can improve later. We''ll get ''em next time. But right now, we need to pack up. Make sure we leave nothing behind. You can all shower back at the community centre."'
+	'"It was a good hussle out there girls," Coach Mikhail says. "We''ll talk about what went wrong and what can improve later. We''ll get ''em next time. But right now, we need to pack up. Make sure we leave nothing behind. You can all shower back at the community center."'
 	'"Yes coach," the team dejectedly, sluggishly dispersing to carry out his orders.'
 	act'Pack up and drive back':gt'volleyball','drive_back'
 end