vokzalGin 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. # vokzalGin
  2. $metka = $ARGS[0]
  3. $loc = $CURLOC
  4. CLOSE ALL
  5. if sound = 0:PLAY 'sound/vokzal2.mp3',30
  6. clr
  7. frost = 0
  8. poezddalsled = 0
  9. gs 'vokdin'
  10. gs 'vokdinvera'
  11. gs 'stat'
  12. fcolor = rgb(0, 0, 0)
  13. bcolor = rgb(255, 255, 255)
  14. lcolor = rgb(106, 90, 205)
  15. '<center><h4>Pavlovsk train station interior</h4></center>'
  16. '<center><img src="images/qwest/alter/vokzal.jpg"></center>'
  17. 'The center of the station building is a large waiting room, where passengers can wait until their train arrives. Off to one side, the <a href="exec:dynamic $din_vokzalg_kassi">ticket office</a> is situated next to the departures board. 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.'
  18. 'You can go to the train <a href="exec:GT ''vokzalperG'',''start''">platforms</a> through the station building.'
  19. if katalkinSexOnce = 1:'There is a small <a href="exec:minut += 5 & gt ''katalkin''">police station</a> inside the station building.'
  20. if podbros = 0:
  21. podrand = rand(0, 1)
  22. 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.'
  23. end
  24. act 'Leave the station building':minut += 3 & gt 'vokzalG'
  25. if vokzalVork >= 1:
  26. if cleZalDay ! daystart:
  27. act 'Mop the waiting room floor (1:00)':
  28. cls
  29. cleZalDay = daystart
  30. minut += 60
  31. sweat += 1
  32. if vital < 15:vital += rand(0, 1)
  33. if stren < 15:stren += rand(0, 1)
  34. gs 'stat'
  35. '<center><img src="images/etogame/clener1.jpg"></center>'
  36. '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.'
  37. act 'Continue':minut += 1 & gt 'vokzalGin'
  38. end
  39. end
  40. if cleMTDay ! daystart:
  41. act 'Clean the men''s restroom (0:30)':
  42. cls
  43. cleMTDay = daystart
  44. minut += 30
  45. sweat += 1
  46. if vital < 15:vital += rand(0, 1)
  47. if stren < 15:stren += rand(0, 1)
  48. gs 'stat'
  49. '<center><img src="images/etogame/clener1.jpg"></center>'
  50. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and go to the men''s room.'
  51. gs 'vokmantoiev', 'toilet_event'
  52. !!'You began to wash the floor in the men''s room, and then began to scrub toilets.'
  53. act 'Leave':minut += 1 & gt 'vokzalGin'
  54. end
  55. end
  56. if cleWTDay ! daystart:
  57. act 'Clean the women''s restroom (0:30)':
  58. cls
  59. cleWTDay = daystart
  60. minut += 30
  61. sweat += 1
  62. if vital < 15:vital += rand(0, 1)
  63. if stren < 15:stren += rand(0, 1)
  64. gs 'stat'
  65. '<center><img src="images/etogame/clener1.jpg"></center>'
  66. '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.'
  67. dynamic $d_vokzal_vera_talk
  68. act 'Leave':minut += 1 & gt 'vokzalGin'
  69. end
  70. end
  71. if cleMTDay = daystart and cleWTDay = daystart and cleZalDay = daystart and cleZarplatDay ! daystart:
  72. act 'Collect your salary':
  73. cls
  74. cleZarplatDay = daystart
  75. vokzalVork += 1
  76. money += 250
  77. minut += 3
  78. gs 'stat'
  79. 'When you are done cleaning all the places you were told to clean, you go to the cashier and collect your well-earned salary.'
  80. act 'Continue':minut += 1 & gt 'vokzalGin'
  81. end
  82. end
  83. end
  84. if hour = 11 and minut = 0:
  85. poezddalsled = 1
  86. 'The 11:30 long-distance train is currently approaching the platform.'
  87. elseif hour = 11 and minut > 0 and minut < 30:
  88. poezddalsled = 1
  89. 'The 11:30 long-distance train is currently waiting at the platform.'
  90. elseif hour = 11 and minut = 30:
  91. poezddalsled = 1
  92. 'The 11:30 long-distance train is currently leaving the station.'
  93. elseif hour = 18 and minut = 0:
  94. poezddalsled = 1
  95. 'The 18:30 long-distance train is currently approaching the platform.'
  96. elseif hour = 18 and minut > 0 and minut < 30:
  97. poezddalsled = 1
  98. 'The 18:30 long-distance train is currently waiting at the platform.'
  99. elseif hour = 18 and minut = 30:
  100. poezddalsled = 1
  101. 'The 18:30 long-distance train is currently leaving the station.'
  102. end
  103. if poezddalsled = 1:
  104. '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.'
  105. if tovarL > 0:
  106. act 'Sell your goods to passengers':gt 'vokzaltorg'
  107. end
  108. end
  109. --- vokzalGin ---------------------------------