pav_factory.qsrc 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. # pav_factory
  2. !2021/05/08
  3. CLOSE ALL
  4. $location_type = 'public_indoors'
  5. if $ARGS[0] = 'tailor':
  6. *clr & cla
  7. $loc_arg = 'tailor'
  8. $loc = 'pav_factory'
  9. $menu_loc = 'pav_factory'
  10. $menu_arg = 'tailor'
  11. menu_off = 0
  12. gs'stat'
  13. 'There is a small wooden counter and above that a sign that says "If you can''t wear it we''ll adjust it"'
  14. 'Behind the counter an elderly man is inspecting some repaired clothes, he stops and smiles gently, greeting you.'
  15. '"Hello there young lady, do you want to adjust some of your clothing? It''ll cost you 500 <b>₽</b> per item."'
  16. act 'Leave': gt 'pav_industrial'
  17. if money >= 500:
  18. act 'Resize the clothes you''re wearing (500 <b>₽</b>)':
  19. *clr & cla
  20. minut += 15
  21. if CloStyle = 5 or $clothingworntype = 'danilovich':
  22. '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..."'
  23. else
  24. money -= 500
  25. dynamic '<<$clothingworntype>>_b[<<clothingwornnumber>>] = pcs_hips'
  26. '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.'
  27. 'You are handed your clothes back and quickly get dressed. You''re pleased with the job that the tailor has done.'
  28. end
  29. act 'Leave': minut += 5 & gt 'pav_industrial'
  30. end
  31. act 'Resize your other clothes':gt 'clothing', 'view_clothing_list', 'resize'
  32. act 'Resize all your clothes':gt 'portnoi2'
  33. end
  34. end
  35. if $ARGS[0] = 'enter':
  36. *clr & cla
  37. $loc_arg = 'tailor'
  38. $loc = 'pav_factory'
  39. $menu_loc = 'pav_factory'
  40. $menu_arg = 'enter'
  41. menu_off = 0
  42. gs'stat'
  43. '<center><B>TEXTILE FACTORY, PARIS COMMUNE</B></center>'
  44. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/factory/pav_factory.jpg" ></center>'
  45. 'You''re standing inside the building that is accommodating the biggest employer in Pavlovsk, the local textile factory.'
  46. 'There is a work schedule hanging on the wall:'
  47. 'First shift - 08:00 to 16:00.'
  48. 'Second shift - 16:00 to 20:00.'
  49. *nl
  50. if workFabrika = 0 and age < 18:'You can apply for a <a href="exec:minut += 15 & gt ''pav_factory'', ''job_start''">part-time job</a> here.'
  51. if work = 0 and workFabrika = 0 and age >= 18:'You can apply for a <a href="exec:minut += 15 & gt ''pav_factory'', ''job_start''">full-time job</a> here.'
  52. act 'Leave': minut += 5 & gt 'pav_industrial'
  53. if workFabrika = 1 and week >= 1 and week <= 5 and hour >= 8 and hour < 9 and age >= 18:
  54. 'Your shift is starting now.'
  55. act 'Start shift': gt'pav_factory','job'
  56. end
  57. if workFabrika = 1 and week >= 1 and week <= 5 and hour >= 16 and hour < 17 and age < 18:
  58. 'Your shift is starting now.'
  59. act 'Start shift': gt'pav_factory','job'
  60. end
  61. if workFabrika = 1:
  62. 'You can quit your job, but quitting will lead to a deducted wage.'
  63. act 'Quit job':
  64. menu_off = 1
  65. if age < 18:
  66. smenaFabrika -= 1
  67. elseif age >= 18:
  68. smenaFabrika -= 2
  69. end
  70. if smenaFabrika < 0:
  71. smenaFabrika = 0
  72. end
  73. pay = smenaFabrika * 600
  74. karta += pay
  75. smenaFabrika = 0
  76. workFabrika = 0
  77. work = 0
  78. minut += 5
  79. gt 'pav_factory','enter'
  80. end
  81. end
  82. end
  83. if $ARGS[0] = 'job_start':
  84. *clr & cla
  85. $loc_arg = 'tailor'
  86. $loc = 'pav_factory'
  87. $menu_loc = 'pav_factory'
  88. $menu_arg = 'job_start'
  89. menu_off = 0
  90. gs'stat'
  91. '<center><B>FOREMAN''S OFFICE</B></center>'
  92. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/stepan/nachalnik.jpg" ></center>'
  93. 'You head into the factory foreman, Stepan Sergeyevich office, and ask him if there''s an available job.'
  94. act 'Leave': gt'pav_factory', 'enter'
  95. if age < 18 and workFabrika = 0:
  96. '"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 150 <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.'
  97. '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?"'
  98. act 'Accept the job':
  99. cla
  100. menu_off = 1
  101. minut += 10
  102. work = 1
  103. workFabrika = 1
  104. smenaFabrika = 0
  105. FabrikaProgul = 0
  106. 'You hand him over your documents, which he takes and then reminds you to come in on every weekday, at 16:00.'
  107. act 'Leave': gt'pav_factory', 'enter'
  108. end
  109. elseif age >= 18 and workFabrika = 0:
  110. '"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.'
  111. '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?"'
  112. act 'Accept the job':
  113. cla
  114. menu_off = 1
  115. minut += 10
  116. work = 1
  117. workFabrika = 1
  118. smenaFabrika = 0
  119. FabrikaProgul = 0
  120. 'You hand him your documents, which he takes and then reminds you to come in on every weekday, at 08:00.'
  121. act 'Leave': gt'pav_factory', 'enter'
  122. end
  123. end
  124. end
  125. if $ARGS[0] = 'job':
  126. *clr & cla
  127. menu_off = 1
  128. FabrikaProgul -= 1
  129. if FabrikaProgul < 0: FabrikaProgul = 0
  130. if age < 18:
  131. minut += 240
  132. smenaFabrika += 1
  133. end
  134. if age >= 18:
  135. minut += 480
  136. smenaFabrika += 2
  137. end
  138. gs'stat'
  139. '<center><B>TEXTILE FACTORY, PARIS COMMUNE</B></center>'
  140. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/factory/pav_factory.jpg" ></center>'
  141. '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.'
  142. act 'Leave': minut += 5 & gt 'pav_industrial'
  143. end
  144. --- pav_factory ---------------------------------