Gshveyfab.qsrc 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. # Gshveyfab
  2. $metka = $ARGS[0]
  3. $loc = $CURLOC
  4. $location_type = 'public_outdoors'
  5. if $ARGS[0] = 'start':
  6. cla
  7. *clr
  8. gs'stat'
  9. '<center><B>TEXTILE FACTORY, PARIS COMMUNE</B></center>'
  10. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/factory/gshveyfab.jpg"></center>'
  11. 'You''re standing in front one biggest employers in Pavlovsk, the local textile factory. It''s mostly known for making clothing for the G&M Store, which also opened up a store within the compound.'
  12. 'Opening hours are Monday to Friday, between 08:00 to 20:00.'
  13. if hour >= 8 and hour < 20 and week >= 1 and week <= 5:
  14. 'Behind the security checkpoint you can see the <a href="exec:minut += 5 & GT ''Gshveyfab'', ''enter''">entrance</a> that every employee passes through.'
  15. elseif hour < 8 or hour > 20 or week > 5:
  16. 'The factory is currently closed.'
  17. 'Opening hours are Monday through Friday:'
  18. 'First shift - 08:00 to 16:00'
  19. 'Second shift - 16:00 to 20:00'
  20. end
  21. if week < 6 and hour >= 8 and hour < 20:
  22. *pl 'The local <a href="exec:torg = 0 & GT ''budgetclothes'',''start''">G&M Store</a> is currently open.'
  23. else
  24. *pl 'The local G&M Store is currently closed. Opening hours are Monday to Friday, between 08:00 to 20:00.'
  25. end
  26. if week < 7 and hour >= 8 and hour < 15:
  27. 'In a smaller building right next to the factory is the local tailor shop, a service offered by the factory. Opening hours are Monday to Saturday, between 08:00 to 15:00.'
  28. act 'Visit the tailor':
  29. cla
  30. *clr
  31. minut += 5
  32. gs'stat'
  33. 'An elderly man is inspecting some repaired clothes, as you walk in, he stops and smiles gently, greeting you.'
  34. '"Hello there young lady, do you want to adjust some of your clothing? It''ll cost you 500 <b>₽</b> per item."'
  35. if money >= 500:
  36. act 'Leave the clothes you''re wearing (500 <b>₽</b>)':
  37. cla
  38. *clr
  39. minut += 15
  40. if CloStyle = 5 or $clothingworntype = 'exercise':
  41. 'The tailor is looking irritatingly at you, "Why are you wasting my time with exercise clothing? That type of clothing does not need to be resized..."'
  42. else
  43. money -= 500
  44. dynamic '<<$clothingworntype>>B[<<clothingwornnumber>>] = pcs_hips'
  45. 'You are handed a t-shirt and shorts as you undress and give the clothes to the tailor for adjustment. The tailor is fast and only takes fifteen minutes until your clothes are ready.'
  46. 'You are handed your clothes back and quickly get dressed. You''re pleased with the job that the tailor has done.'
  47. end
  48. act 'Leave': minut += 5 & gt 'Gshveyfab', 'start'
  49. end
  50. act 'Leave your other clothes':gt 'clothing', 'view_clothing_list', 'resize'
  51. act 'Leave in all your clothes':gt 'portnoi2'
  52. end
  53. act 'Leave': minut += 5 & gt 'Gshveyfab', 'start'
  54. end
  55. end
  56. act 'Head to the residential area': minut += 15 & gt 'pavResidential'
  57. act 'Head to the high street': minut += 15 & gt 'pavCommercial'
  58. end
  59. if $ARGS[0] = 'enter':
  60. CLOSE ALL
  61. cla
  62. *clr
  63. gs'stat'
  64. '<center><B>TEXTILE FACTORY, PARIS COMMUNE</B></center>'
  65. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/factory/gshveyfab.jpg" ></center>'
  66. 'You''re standing inside the building that is accommodating the biggest employer in Pavlovsk, the local textile factory.'
  67. 'There is a work schedule hanging on the wall:'
  68. 'First shift - 08:00 to 16:00.'
  69. 'Second shift - 16:00 to 20:00.'
  70. *nl
  71. if workFabrika = 0 and age >= 16 and age < 18:'You can apply for a <a href="exec:minut += 15 & GT ''Gshveyfab'', ''job_start''">part-time job</a> here.'
  72. if work = 0 and workFabrika = 0 and age >= 18:'You can apply for a <a href="exec:minut += 15 & GT ''Gshveyfab'', ''job_start''">full-time job</a> here.'
  73. if workFabrika = 1 and week >= 1 and week <= 5 and hour >= 8 and hour < 9 and age >= 18:
  74. 'Your shift is starting now.'
  75. act 'Start shift': gt'Gshveyfab','job'
  76. end
  77. if workFabrika = 1 and week >= 1 and week <= 5 and hour >= 16 and hour < 17 and age >= 16 and age < 18:
  78. 'Your shift is starting now.'
  79. act 'Start shift': gt'Gshveyfab','job'
  80. end
  81. if workFabrika = 1:
  82. 'You can quit your job, but quitting will lead to a deducted wage.'
  83. act 'Quit job':
  84. if age >= 16 and age < 18:
  85. smenaFabrika -= 1
  86. elseif age >= 18:
  87. smenaFabrika -= 2
  88. end
  89. if smenaFabrika < 0:
  90. smenaFabrika = 0
  91. end
  92. pay = smenaFabrika * 420
  93. karta += pay
  94. smenaFabrika = 0
  95. workFabrika = 0
  96. work = 0
  97. minut += 5
  98. gt 'Gshveyfab','enter'
  99. end
  100. end
  101. act 'Leave': minut += 5 & gt 'Gshveyfab', 'start'
  102. end
  103. if $ARGS[0] = 'job_start':
  104. cla
  105. *clr
  106. gs'stat'
  107. '<center><B>FOREMAN''S OFFICE</B></center>'
  108. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/stepan/nachalnik.jpg" ></center>'
  109. 'You head into the factory foreman, Stepan Sergeyevich office, and ask him if there''s an available job.'
  110. if age >= 16 and age < 18 and workFabrika = 0:
  111. '"Sure, have a seat," he says. "Now, the work is difficult and meticulous, but doesn''t require any special knowledge. You should catch on pretty quick. Since you are not an adult yet, you can only work half-time, and the pay is 105 <b>₽</b> per hour. Once you become an adult, we can transfer you to full-time. Naturally, as this is a state-recognized company, we do require all the appropriate documentation. The main shift is on weekdays from 08:00 to 16:00, but you will be working the second shift, from 16:00 to 20:00.'
  112. 'But beware, if you miss more than three days of work in a single month, you will be fired. You will be paid at the end of the month and getting fired before then will forfeit any pay not yet received. So, is that okay?"'
  113. act 'Accept the job':
  114. cla
  115. minut += 10
  116. work = 1
  117. workFabrika = 1
  118. smenaFabrika = 0
  119. FabrikaProgul = 0
  120. 'You hand him over your documents, which he takes and then reminds you to come in on every weekday, at 16:00.'
  121. act 'Leave':gt'Gshveyfab', 'enter'
  122. end
  123. elseif age >= 18 and workFabrika = 0:
  124. '"Sure, have a seat," he says. "Now, the work is difficult and meticulous, but doesn''t require any special knowledge. You should catch on pretty quick. Naturally, as this is a state-recognized company, we do require all the appropriate documentation. The main shift is on weekdays from 08:00 to 16:00, and the pay is 105 <b>₽</b> per hour.'
  125. 'But beware, if you miss more than three days of work in a single month, you will be fired. You will be paid at the end of the month, and getting fired before then will forfeit any pay not yet received. So, is that okay?"'
  126. act 'Accept the job':
  127. cla
  128. minut += 10
  129. work = 1
  130. workFabrika = 1
  131. smenaFabrika = 0
  132. FabrikaProgul = 0
  133. 'You hand him your documents, which he takes and then reminds you to come in on every weekday, at 08:00.'
  134. act 'Leave':gt'Gshveyfab', 'enter'
  135. end
  136. end
  137. act 'Leave':gt'Gshveyfab', 'enter'
  138. end
  139. if $ARGS[0] = 'job':
  140. cla
  141. *clr
  142. FabrikaProgul -= 1
  143. if FabrikaProgul < 0: FabrikaProgul = 0
  144. if age >= 16 and age < 18:
  145. minut += 240
  146. smenaFabrika += 1
  147. end
  148. if age >= 18:
  149. minut += 480
  150. smenaFabrika += 2
  151. end
  152. gs'stat'
  153. '<center><B>TEXTILE FACTORY, PARIS COMMUNE</B></center>'
  154. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/factory/gshveyfab.jpg" ></center>'
  155. 'You work hard throughout your shift at the factory. The foreman has you running all over the factory performing all type of tasks. You barely even have time to rest during the shift.'
  156. act 'Leave': minut += 5 & gt 'Gshveyfab', 'start'
  157. end
  158. --- Gshveyfab ---------------------------------