1
0

vokzalGin 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. # vokzalGin
  2. if $ARGS[0] = '':
  3. $metka = ''
  4. $loc = 'vokzalGin'
  5. $location_type = 'public_indoors'
  6. CLOSE ALL
  7. if sound = 0:PLAY 'sound/vokzal2.mp3',30
  8. clr
  9. frost = 0
  10. poezddalsled = 0
  11. gs 'vokdin'
  12. gs 'stat'
  13. if night_mode = 1:
  14. fcolor = rgb(255, 255, 255)
  15. bcolor = rgb(0, 0, 0)
  16. lcolor = rgb(106, 90, 205)
  17. else
  18. fcolor = rgb(0, 0, 0)
  19. bcolor = rgb(255, 255, 255)
  20. lcolor = rgb(106, 90, 205)
  21. end
  22. '<center><h4>Pavlovsk train station interior</h4></center>'
  23. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  24. 'The center of the station building is a large waiting room, where passengers can wait until their train arrives. Opposite to that you can find the <a href="exec:dynamic $din_vokzalg_kabinet">station manager''s office</a>, and the <a href="exec:minut += 1 & gt ''vokmantoiev'', ''start''">toilets</a> on the other end of the building.'
  25. 'The long-distance trains are at the station platforms between 11:00-11:30 and 18:00-18:30.'
  26. *nl
  27. if katalkinSexOnce = 1:'There is a small <a href="exec:minut += 5 & gt ''katalkin''">police station</a> inside the station building.'
  28. *nl
  29. if StoryLine = 1 and SchoolAtestat = 0:
  30. if (sunWeather = 0 or temper <= 0) and hour >= 18 and hour < 20 and week < 6:
  31. 'You see your classmates <a href="exec:minut += 3 & gt ''gopskver''">Vitek, Dan and Vasily</a> hanging around here.'
  32. end
  33. end
  34. if podbros = 0:
  35. podrand = rand(0, 1)
  36. if money >= 1000 and hour >= 8 and hour <= 20 and podrand = 0:'As you walk through the station building, you notice a man''s thick <a href="exec:dynamic $din_vokzalg_podbros">wallet</a> dropping from his pocket, not far away from you.'
  37. *nl
  38. end
  39. act 'Leave the station building':minut += 3 & gt 'vokzalG'
  40. if Trainpass_day > daystart:
  41. 'You have <<Trainpass_day - daystart>> days left on your train pass.'
  42. act 'Go to the platforms': gt 'vokzalperG', 'start'
  43. else
  44. act 'Go to the ticket office': gt 'vokzalGin', 'ticket'
  45. end
  46. if vokzalVork >= 1:
  47. if cleZalDay ! daystart or cleMTDay ! daystart or cleWTDay ! daystart:
  48. act 'Work':
  49. cla
  50. if cleZalDay ! daystart:
  51. act 'Mop the waiting room floor (1:00)':
  52. cls
  53. cleZalDay = daystart
  54. gs 'exercise', 'tier1', 60, 'stren_exp', 'vital_exp'
  55. pcs_mood -= 6
  56. gs 'stat'
  57. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  58. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and wash the floor in the waiting room.'
  59. act 'Continue':minut += 1 & gt 'vokzalGin'
  60. end
  61. end
  62. if cleMTDay ! daystart:
  63. act 'Clean the men''s restroom (0:30)':
  64. cls
  65. cleMTDay = daystart
  66. gs 'exercise', 'tier1', 30, 'stren_exp', 'vital_exp'
  67. pcs_mood -= 6
  68. gs 'stat'
  69. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  70. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and go to the men''s room.'
  71. gs 'vokmantoiev', 'toilet_event'
  72. !!'You began to wash the floor in the men''s room, and then began to scrub toilets.'
  73. act 'Leave':minut += 1 & gt 'vokzalGin'
  74. end
  75. end
  76. if cleWTDay ! daystart:
  77. act 'Clean the women''s restroom (0:30)':
  78. cls
  79. cleWTDay = daystart
  80. gs 'exercise', 'tier1', 30, 'stren_exp', 'vital_exp'
  81. pcs_mood -= 6
  82. gs 'stat'
  83. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  84. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and scrub the toilets in the ladies'' room before mopping the floor.'
  85. gs 'vokdinvera'
  86. act 'Leave':minut += 1 & gt 'vokzalGin'
  87. end
  88. end
  89. act 'Return': gt 'vokzalGin'
  90. end
  91. elseif cleZarplatDay ! daystart:
  92. act 'Collect your salary':
  93. cls
  94. cleZarplatDay = daystart
  95. vokzalVork += 1
  96. money += 250
  97. minut += 3
  98. gs 'stat'
  99. 'When you are done cleaning all the places you were told to clean, you go to the cashier and collect your well-earned salary.'
  100. act 'Continue':minut += 1 & gt 'vokzalGin'
  101. end
  102. end
  103. end
  104. *nl
  105. if hour = 11 and minut = 0:
  106. poezddalsled = 1
  107. 'The 11:30 long-distance train is currently approaching the platform.'
  108. elseif hour = 11 and minut > 0 and minut < 30:
  109. poezddalsled = 1
  110. 'The 11:30 long-distance train is currently waiting at the platform.'
  111. elseif hour = 11 and minut = 30:
  112. poezddalsled = 1
  113. 'The 11:30 long-distance train is currently leaving the station.'
  114. elseif hour = 18 and minut = 0:
  115. poezddalsled = 1
  116. 'The 18:30 long-distance train is currently approaching the platform.'
  117. elseif hour = 18 and minut > 0 and minut < 30:
  118. poezddalsled = 1
  119. 'The 18:30 long-distance train is currently waiting at the platform.'
  120. elseif hour = 18 and minut = 30:
  121. poezddalsled = 1
  122. 'The 18:30 long-distance train is currently leaving the station.'
  123. end
  124. if poezddalsled = 1:
  125. 'The platform is bustling with passengers that are entering or leaving the currently waiting train, carrying their heavy bags with them. Several police officers are patrolling the platforms while the train is here, keeping an eye out for any unruly activities.'
  126. if tovarL > 0:
  127. act 'Sell your goods to passengers':gt 'vokzaltorg'
  128. end
  129. end
  130. act 'Wait':
  131. cla
  132. waiting = input ("How long would you like to wait? (Not more than 120 minutes)")
  133. if waiting <= 0 or waiting > 120:
  134. minut += 15
  135. elseif waiting > 0 and waiting <= 120:
  136. minut += waiting
  137. end
  138. act 'Take a look at the clock':gt 'vokzalGin'
  139. end
  140. end
  141. if $ARGS[0] = 'ticket':
  142. cls
  143. gs 'stat'
  144. '<center><h4>Ticket office</h4></center>'
  145. '<center><img <<$set_imgh>> src="images/locations/shared/train/kassa.jpg"></center>'
  146. if money >= 50:
  147. act 'Buy a ticket':
  148. cla
  149. gs 'vokzalGin', 'buy_ticket'
  150. end
  151. end
  152. if money >= 1500 and Trainpass_day <= daystart:
  153. act 'Buy a weekly pass (7 days - 1500 <b>₽</b>) ':
  154. cla
  155. money -= 1500
  156. Trainpass_day = daystart + 7
  157. act 'Return': gt 'vokzalGin'
  158. end
  159. end
  160. if money >= 5500 and Trainpass_day <= daystart:
  161. act 'Buy a monthly pass (30day - 5500 <b>₽</b>)':
  162. cla
  163. money -= 5500
  164. Trainpass_day = daystart + 30
  165. act 'Return': gt 'vokzalGin'
  166. end
  167. end
  168. act 'Leave the ticket office':minut += 1 & gt 'vokzalGin'
  169. end
  170. if $ARGS[0] = 'buy_ticket':
  171. if money >= 50:
  172. act 'Buy a ticket to the old town (50 <b>₽</b>)':
  173. money -= 50
  174. gt 'vokzalGin', 'oldtown'
  175. end
  176. end
  177. if money >= 75:
  178. act 'Buy a ticket to the village of Gadyukino (75 <b>₽</b>)':
  179. money -= 75
  180. gt 'vokzalGin', 'village'
  181. end
  182. end
  183. if money >= 100:
  184. act 'Buy a ticket to the the communal village (100 <b>₽</b>)':
  185. money -= 100
  186. gt 'vokzalGin', 'communal'
  187. end
  188. end
  189. if money >= 125:
  190. act 'Buy a ticket to city industrial area (125 <b>₽</b>)':
  191. money -= 125
  192. gt 'vokzalGin', 'ind'
  193. end
  194. end
  195. if money >= 150:
  196. act 'Buy a ticket to city center (150 <b>₽</b>)':
  197. money -= 150
  198. gt 'vokzalGin', 'centre'
  199. end
  200. end
  201. act 'Leave the ticket office':minut += 1 & gt 'vokzalGin'
  202. end
  203. if $ARGS[0] = 'oldtown':
  204. $loc = 'train'
  205. $metka = 'oldtown'
  206. minut += 5
  207. if rand(1, 100) < 20: gt 'train', 'events'
  208. gs 'stat'
  209. '<center><img <<$set_imgh>> src="images/locations/shared/train/pushplat.jpg" ></center>'
  210. 'After 5 minutes, the train stops at old platform by the old town of Pushkin. Famous for its extensive park and old historic buildings, the locals are known to be eccentric but that adds to the charm.'
  211. act 'Get off the train':
  212. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  213. gt 'train', 'oldtown'
  214. end
  215. end
  216. if $ARGS[0] = 'village':
  217. $loc = 'train'
  218. $metka = 'village'
  219. minut += 15
  220. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  221. if rand(1, 100) < 20: gt 'train', 'events'
  222. gs 'stat'
  223. '<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
  224. 'After 15 minutes, the train stops at the small station near the village of Gadyukino.'
  225. act 'Get off the train':
  226. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  227. gt 'train', 'village'
  228. end
  229. end
  230. if $ARGS[0] = 'communal':
  231. $loc = 'train'
  232. $metka = 'communal'
  233. minut += 25
  234. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  235. if rand(1, 100) <= 20: gt 'train', 'events'
  236. gs 'stat'
  237. '<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
  238. 'After 20 minutes you arrive at an old railway platform near the communal village.'
  239. act 'Get off the train':
  240. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  241. gt 'train', 'communal'
  242. end
  243. end
  244. if $ARGS[0] = 'ind':
  245. $loc = 'vokzalholle'
  246. $metka = ''
  247. minut += 35
  248. if rand(1, 100) < 15: gt 'train', 'private'
  249. if rand(1, 100) < 30: gt 'train', 'Gopnik'
  250. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  251. if rand(1, 100) <= 20: gt 'train', 'events'
  252. gs 'stat'
  253. '<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
  254. 'After 35 minutes, the train stops at the St. Petersburg city industrial area station.'
  255. act 'Get off the train':
  256. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  257. gt 'vokzalholle'
  258. end
  259. end
  260. if $ARGS[0] = 'centre':
  261. $loc = 'cityTrain'
  262. $metka = 'inside'
  263. minut += 40
  264. if rand(1, 100) < 15: gt 'train', 'private'
  265. if rand(1, 100) < 30: gt 'train', 'Gopnik'
  266. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  267. if rand(1, 100) <= 20: gt 'train', 'events'
  268. gs 'stat'
  269. '<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
  270. 'After 40 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
  271. act 'Get off the train':
  272. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  273. gt 'cityTrain', 'inside'
  274. end
  275. end
  276. --- vokzalGin ---------------------------------