Gshveyfab.qsrc 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. # Gshveyfab
  2. $metka = $ARGS[0]
  3. $loc = $CURLOC
  4. $location_type = 'public_outdoors'
  5. if $ARGS[0] = 'start':
  6. cla
  7. *clr
  8. $menu_loc = 'Gshveyfab'
  9. $menu_arg = 'start'
  10. menu_off = 0
  11. gs'stat'
  12. '<center><B>TEXTILE FACTORY, PARIS COMMUNE</B></center>'
  13. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/factory/gshveyfab.jpg"></center>'
  14. '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.'
  15. 'Opening hours are Monday to Friday, between 08:00 to 20:00.'
  16. if hour >= 8 and hour < 20 and week >= 1 and week <= 5:
  17. 'Behind the security checkpoint you can see the <a href="exec:minut += 5 & GT ''Gshveyfab'', ''enter''">entrance</a> that every employee passes through.'
  18. elseif hour < 8 or hour > 20 or week > 5:
  19. 'The factory is currently closed.'
  20. 'Opening hours are Monday through Friday:'
  21. 'First shift - 08:00 to 16:00'
  22. 'Second shift - 16:00 to 20:00'
  23. end
  24. if week < 6 and hour >= 8 and hour < 20:
  25. *pl 'The local <a href="exec:torg = 0 & GT ''budgetclothes'',''start''">G&M Store</a> is currently open.'
  26. else
  27. *pl 'The local G&M Store is currently closed. Opening hours are Monday to Friday, between 08:00 to 20:00.'
  28. end
  29. if week < 7 and hour >= 8 and hour < 15:
  30. '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.'
  31. act 'Visit the tailor':
  32. cla
  33. *clr
  34. menu_off = 1
  35. minut += 5
  36. gs'stat'
  37. 'An elderly man is inspecting some repaired clothes, as you walk in, he stops and smiles gently, greeting you.'
  38. '"Hello there young lady, do you want to adjust some of your clothing? It''ll cost you 500 <b>₽</b> per item."'
  39. if money >= 500:
  40. act 'Resize the clothes you''re wearing (500 <b>₽</b>)':
  41. cla
  42. *clr
  43. minut += 15
  44. if CloStyle = 5 or $clothingworntype = 'exercise':
  45. '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..."'
  46. else
  47. money -= 500
  48. dynamic '<<$clothingworntype>>B[<<clothingwornnumber>>] = pcs_hips'
  49. '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.'
  50. 'You are handed your clothes back and quickly get dressed. You''re pleased with the job that the tailor has done.'
  51. end
  52. act 'Leave': minut += 5 & gt 'Gshveyfab', 'start'
  53. end
  54. act 'Resize your other clothes':gt 'clothing', 'view_clothing_list', 'resize'
  55. act 'Resize all your clothes':gt 'portnoi2'
  56. end
  57. act 'Leave': minut += 5 & gt 'Gshveyfab', 'start'
  58. end
  59. end
  60. act 'Head to the residential area': minut += 15 & gt 'pavResidential'
  61. act 'Head to the high street': minut += 15 & gt 'pavCommercial'
  62. end
  63. if $ARGS[0] = 'enter':
  64. CLOSE ALL
  65. cla
  66. *clr
  67. $menu_loc = 'Gshveyfab'
  68. $menu_arg = 'enter'
  69. menu_off = 0
  70. gs'stat'
  71. '<center><B>TEXTILE FACTORY, PARIS COMMUNE</B></center>'
  72. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/factory/gshveyfab.jpg" ></center>'
  73. 'You''re standing inside the building that is accommodating the biggest employer in Pavlovsk, the local textile factory.'
  74. 'There is a work schedule hanging on the wall:'
  75. 'First shift - 08:00 to 16:00.'
  76. 'Second shift - 16:00 to 20:00.'
  77. *nl
  78. 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.'
  79. 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.'
  80. if workFabrika = 1 and week >= 1 and week <= 5 and hour >= 8 and hour < 9 and age >= 18:
  81. 'Your shift is starting now.'
  82. act 'Start shift': gt'Gshveyfab','job'
  83. end
  84. if workFabrika = 1 and week >= 1 and week <= 5 and hour >= 16 and hour < 17 and age >= 16 and age < 18:
  85. 'Your shift is starting now.'
  86. act 'Start shift': gt'Gshveyfab','job'
  87. end
  88. if workFabrika = 1:
  89. 'You can quit your job, but quitting will lead to a deducted wage.'
  90. act 'Quit job':
  91. menu_off = 1
  92. if age >= 16 and age < 18:
  93. smenaFabrika -= 1
  94. elseif age >= 18:
  95. smenaFabrika -= 2
  96. end
  97. if smenaFabrika < 0:
  98. smenaFabrika = 0
  99. end
  100. pay = smenaFabrika * 420
  101. karta += pay
  102. smenaFabrika = 0
  103. workFabrika = 0
  104. work = 0
  105. minut += 5
  106. gt 'Gshveyfab','enter'
  107. end
  108. end
  109. act 'Leave': minut += 5 & gt 'Gshveyfab', 'start'
  110. end
  111. if $ARGS[0] = 'job_start':
  112. cla
  113. *clr
  114. $menu_loc = 'Gshveyfab'
  115. $menu_arg = 'job_start'
  116. menu_off = 0
  117. gs'stat'
  118. '<center><B>FOREMAN''S OFFICE</B></center>'
  119. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/stepan/nachalnik.jpg" ></center>'
  120. 'You head into the factory foreman, Stepan Sergeyevich office, and ask him if there''s an available job.'
  121. if age >= 16 and age < 18 and workFabrika = 0:
  122. '"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.'
  123. '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?"'
  124. act 'Accept the job':
  125. cla
  126. menu_off = 1
  127. minut += 10
  128. work = 1
  129. workFabrika = 1
  130. smenaFabrika = 0
  131. FabrikaProgul = 0
  132. 'You hand him over your documents, which he takes and then reminds you to come in on every weekday, at 16:00.'
  133. act 'Leave':gt'Gshveyfab', 'enter'
  134. end
  135. elseif age >= 18 and workFabrika = 0:
  136. '"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.'
  137. '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?"'
  138. act 'Accept the job':
  139. cla
  140. menu_off = 1
  141. minut += 10
  142. work = 1
  143. workFabrika = 1
  144. smenaFabrika = 0
  145. FabrikaProgul = 0
  146. 'You hand him your documents, which he takes and then reminds you to come in on every weekday, at 08:00.'
  147. act 'Leave':gt'Gshveyfab', 'enter'
  148. end
  149. end
  150. act 'Leave':gt'Gshveyfab', 'enter'
  151. end
  152. if $ARGS[0] = 'job':
  153. cla
  154. *clr
  155. menu_off = 1
  156. FabrikaProgul -= 1
  157. if FabrikaProgul < 0: FabrikaProgul = 0
  158. if age >= 16 and age < 18:
  159. minut += 240
  160. smenaFabrika += 1
  161. end
  162. if age >= 18:
  163. minut += 480
  164. smenaFabrika += 2
  165. end
  166. gs'stat'
  167. '<center><B>TEXTILE FACTORY, PARIS COMMUNE</B></center>'
  168. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/factory/gshveyfab.jpg" ></center>'
  169. '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.'
  170. act 'Leave': minut += 5 & gt 'Gshveyfab', 'start'
  171. end
  172. --- Gshveyfab ---------------------------------