post_master.qsrc 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. # post_master
  2. !!variables used:
  3. !!postjobQW (1 = trial offered but declined, 2 = trial accepted, 3 = job offered, 4 = job accepted, 5 = not working until accepted again, 999 = no longer available)
  4. !!postamountrand = (0-2, whether there is a little, medium or lots of mail to deliver. Affects how much time you have to do other things)
  5. !!postlate = (0-15), how often you come back to the post office after 15:15. You get fired if this counter hits 15)
  6. !!postburn = (0-1, whether hoodlums tampered with your mail. Gets you fired if yes)
  7. if $ARGS[0] = 'start':
  8. menu_off = 1
  9. gs 'stat'
  10. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  11. 'The manager of the post office, also known as the postmaster, just finished helping a customer and is about to walk back to his office when he spots you.'
  12. '"You look like you want to ask something... if it''s about our regular services, you should get in line. I don''t have time to help more customers," he says.'
  13. act 'Leave': gt 'post_office', 'start'
  14. if postjobQW = 0:
  15. act 'Ask for work':
  16. *clr & cla
  17. minut += 2
  18. gs 'stat'
  19. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  20. '"A job? Haven''t got any jobs," the postmaster shrugs.'
  21. 'Just when you were about to turn around to leave, he ponders: "Actually, Aleksiy has been mentioning he wants to spend more time with his sick daughter on weekends. Maybe... come back here, girl."'
  22. 'He takes another good look at you and seems to be in deep thought for a moment, before humming contently.'
  23. '"Alright, I''ll give you a chance to prove yourself. You can deliver some urgent letters and packages on Saturday afternoon. You''ll get the same pay Aleksiy gets, assuming you do a good job. 500 <b>₽</b> total, for about three hours of work - from 12:00 to roughly 15:00. If you do well, you can do it every week," he offers.'
  24. *nl
  25. act 'Decline':
  26. cla
  27. postjobQW = 1
  28. '"Sorry... but I don''t know. That''s not what I''m looking for," you tell him.'
  29. 'The postmaster looks at you a bit confused, wondering what other job you expected to get here. Nevertheless, he sighs: "Suit yourself. Tough luck for Aleksiy, then. Well, let me know if you change your mind."'
  30. 'He then nods you off, before returning to his work.'
  31. act 'Leave him alone':gt 'post_office', 'start'
  32. end
  33. act 'Accept the job':
  34. cla
  35. postjobQW = 2
  36. '"That sounds great, thank you!" you smile at him. That''s good money!'
  37. '"<b>Meet me here on Saturday, between 11:00 and 12:00.</b> I''ll talk you through the details then," he grunts. "By the way: any complaints from people not receiving their mail in good shape and you''re out. Our post office has a damn near perfect record for deliveries, and I intend to keep it that way."'
  38. 'He quickly records your personal information and then nods you off, before returning to his work.'
  39. act 'Leave him alone': gt 'post_office', 'start'
  40. end
  41. end
  42. elseif postjobQW = 1:
  43. !!intermediate if you refused the job initially
  44. *clr & cla
  45. minut += 2
  46. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  47. '"Wait... weren''t you here before?" the postmaster asks when he sees your face. "Right, you were here about that Saturday job! It''s still available if you want it?"'
  48. 'When you ask him about the details, he reminds you: "You can deliver some urgent letters and packages on Saturday afternoon. You''ll get the same pay Aleksiy gets, assuming you do a good job. 500 <b>₽</b> total, for about three hours of work - from 12:00 to roughly 15:00. If you do well, you can do it every week."'
  49. *nl
  50. act 'Decline':
  51. cla
  52. '"Sorry... but I don''t know..." you tell him.'
  53. 'The postmaster looks at you a bit confused, wondering what other job you expected to get. He shrugs: "Still? Well, okay. If you''re not interested in this job, there''s no point in visiting me again... I won''t have anything else. Let me know if you change your mind. Until then, stop wasting my time."'
  54. 'He then nods you off, before returning to his work.'
  55. act 'Leave him alone':gt 'post_office', 'start'
  56. end
  57. act 'Accept the job':
  58. cla
  59. postjobQW = 2
  60. '"That sounds great, thank you!" you smile at him. That''s good money!'
  61. '"<b>Meet me here on Saturday, between 11:00 and 12:00.</b> I''ll talk you through the details then," he grunts. "By the way: any complaints from people not receiving their mail in good shape and you''re out! Our post office has a damn near perfect record for deliveries, and I intend to keep it that way."'
  62. 'He then nods you off, before returning to his work.'
  63. act 'Leave him alone':gt 'post_office', 'start'
  64. end
  65. elseif postjobQW = 2 and postworkday ! daystart:
  66. !!when you go to work on Saturday, first time
  67. if week = 6 and hour = 11:
  68. minut += 60 - minut
  69. *clr & cla
  70. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  71. '"Ah good, you''re here!" the postmaster smiles when you enter the post office. "And right on time, too. Please, follow me."'
  72. 'He guides you to the back room where a number of small packages and letters are packed into a bag.'
  73. '"The addresses are all fairly nearby. It might look like a lot, but you should be done by 15:00," he reassures you. "It''s simple: bring the mail to where it needs to be, have them sign on this sheet, and bring back the mail you couldn''t deliver for whatever reason."'
  74. 'He continues on for a while longer about the rules, but they seem rather self-explanatory and you don''t pay close attention to what he''s saying.'
  75. '"Oh, before I forget: you might want to avoid certain streets," he warns you. "I''ve marked them on this map. You wouldn''t be the first to get robbed by hoodlums hoping to find something valuable in the packages. And you wouldn''t be the first to get a beating, when they get angry there was nothing of value in your bag. Anyway, avoid these areas and you should be fine."'
  76. 'He hands you an area map, with a bunch of streets and plazas marked. He has drawn out the best route to take today, too.'
  77. act 'Begin with the deliveries':
  78. *clr & cla
  79. minut += 60
  80. postworkday = daystart
  81. gs'stat'
  82. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postgirl.jpg"></center>'
  83. 'The first hour goes by fairly fast. The postmaster was right, this is fairly easy. You notice you''re losing a lot of time by avoiding the streets he told you to, though. You could easily save half an hour, if not more, by just cutting through them when you need to.'
  84. 'Then again... he wouldn''t warn you and go through the trouble of drawing out a map, if it wasn''t important!'
  85. *nl
  86. act 'Stick to the ''safe'' streets':
  87. *clr & cla
  88. minut += 115
  89. money += 500
  90. gs'stat'
  91. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  92. 'He probably warned you for a reason, better play it safe! Especially on your first day!'
  93. 'You stick to the route he suggested, and have a fairly uneventful day delivering the rest. You return to the post office a bit before 15:00.'
  94. '"You managed to deliver all of them? That''s great!" the postmaster beams as you put the empty bag back where it belongs. He seems very relieved this experiment worked out well.'
  95. 'He hands you your pay right away, with another 50 <b>₽</b> extra. "From Aleksiy, he says thanks for his first Saturday off in months! He and his little girl dropped by earlier, he looked so happy!" he explains. "So... as far as I''m concerned, you got the job for every weekend. What do you say, same time next Saturday?"'
  96. 'You can do this work every Saturday from now on, from 12:00 to roughly 15:00.'
  97. act 'You''re not sure':
  98. cla
  99. postjobQW = 3
  100. '"I don''t know how next week will look yet, can I think about it?" you ask the postmaster.'
  101. '"I guess, but I''m telling Aleksiy he has to come in next Saturday then. I can''t work with maybes," he shrugs. "If you want the job, let me know before Saturday so I can make the arrangements. If I haven''t heard from you by closing time on Friday, I will assume you''re not coming."'
  102. 'You nod understandingly: "That sounds fair. I will come tell you once I''ve made my decision."'
  103. act 'Leave the postmaster''s office':gt 'post_office', 'start'
  104. end
  105. act 'Accept the job':
  106. cla
  107. postjobQW = 4
  108. 'You tell him you want to work again next Saturday.'
  109. '"That''s great! I''ll let Aleksiy know he no longer has to come in on weekends, in that case. See you next week!" he says, shaking your hand. "And thank you for a job well done!"'
  110. act 'Leave the postmaster''s office':gt 'post_office', 'start'
  111. end
  112. end
  113. gs 'willpower', 'misc', 'self'
  114. if will_cost <= pcs_willpwr:
  115. act 'Use the more dangerous shortcuts to be done faster (<<will_cost>> Willpower)':
  116. *clr & cla
  117. gs 'willpower', 'pay', 'self'
  118. minut += 70
  119. gs'stat'
  120. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  121. 'You walk by yet another empty street, looking at your map again. You think to yourself: "This is stupid, these supposedly dangerous streets are empty! What''s the worst that could happen?"'
  122. 'You sometimes feel a bit uncomfortable when small groups of rowdy looking guys are checking you out, but fortunately they leave you alone and your bag is empty in no time at all.'
  123. 'You''re done almost an hour faster than planned, and it''s only 14:10 when you return to the postmaster.'
  124. 'He gives you a suspecting look and shakes his head, saying: "There''s no way you''d be back already if you listened to what I said. You ignored my warning, didn''t you?"'
  125. act 'Be honest and admit that you did':
  126. *clr & cla
  127. money += 500
  128. gs'stat'
  129. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  130. '"I looked carefully, those streets seemed mostly deserted... but yes," you admit. You quickly add: "I can take care of myself, though!"'
  131. 'He lets out an exasperated sigh but nods: "I drew out that map for your safety, girl... but fine. As long as you do a good job and everyone gets their mail on time, I won''t ask how you do it. Just be careful, okay?"'
  132. 'He hands you the pay for your work, the full amount despite you being done quicker. You even find 50 <b>₽</b> extra. "From Aleksiy, he says thanks for his first Saturday off in months! He and his little girl dropped by earlier, he looked so happy!" he explains. "Anyway... as far as I''m concerned, you got the job for every weekend. What do you say, same time next Saturday?"'
  133. 'You can do this work every Saturday from now on, from 12:00 to roughly 15:00.'
  134. *nl
  135. act 'You''re not sure':
  136. cla
  137. postjobQW = 3
  138. minut += 2
  139. gs'stat'
  140. '"I don''t know how next week will look yet, can I think about it?" you ask the postmaster.'
  141. '"I guess, but I''m telling Aleksiy he has to come in next Saturday then. I can''t work with maybes," he shrugs. "If you want the job, let me know before Saturday so I can make the arrangements. If I haven''t heard from you by Friday 18:00, I will assume you''re not coming."'
  142. 'You nod understandingly: "That sounds fair. I will come tell you once I''ve made my decision."'
  143. act 'Leave the postmaster''s office':gt 'post_office', 'start'
  144. end
  145. act 'Accept the job':
  146. cla
  147. postjobQW = 4
  148. minut += 2
  149. gs'stat'
  150. 'You tell him you want to work again next Saturday.'
  151. '"That''s great! I''ll let Aleksiy know he no longer has to come in on weekends, in that case. See you next week!" he says, shaking your hand. "And thank you for a job well done!"'
  152. act 'Leave the postmaster''s office':gt 'post_office', 'start'
  153. end
  154. end
  155. act 'Lie, saying you''re just a fast worker':
  156. *clr & cla
  157. money += 500
  158. gs'stat'
  159. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  160. 'The postmaster sees right through your lie, but can''t help but laugh: "You kids and your youthful hubris! I drew out that map for your safety... but fine. As long as you do a good job and everyone gets their mail on time, I won''t ask how you do it. Just be careful, okay?"'
  161. 'He hands you the pay for your work, the full amount despite you being done quicker. You even find 50 <b>₽</b> extra. "From Aleksiy, he says thanks for his first Saturday off in months! He and his little girl dropped by earlier, he looked so happy!" he explains. "Anyway... as far as I''m concerned, you got the job for every weekend. What do you say, same time next Saturday?"'
  162. 'You can do this work every Saturday from now on, from 12:00 to roughly 15:00.'
  163. *nl
  164. act 'You''re not sure':
  165. cla
  166. postjobQW = 3
  167. minut += 2
  168. gs'stat'
  169. '"I don''t know how next week will look yet, can I think about it?" you ask the postmaster.'
  170. '"I guess, but I''m telling Aleksiy he has to come in next Saturday then. I can''t work with maybes," he shrugs. "If you want the job, let me know before Saturday so I can make the arrangements. If I haven''t heard from you by closing time on Friday, I will assume you''re passing up on the offer."'
  171. 'You nod understandingly: "That sounds fair. I will come tell you once I''ve made my decision."'
  172. act 'Leave the postmaster''s office':gt 'post_office', 'start'
  173. end
  174. act 'Accept the job':
  175. cla
  176. postjobQW = 4
  177. minut += 2
  178. gs'stat'
  179. 'You tell him you want to work again next Saturday.'
  180. '"That''s great! I''ll let Aleksiy know he no longer has to come in on weekends, in that case. See you next week!" he says, shaking your hand. "And thank you for a job well done!"'
  181. act 'Leave the postmaster''s office':gt 'post_office', 'start'
  182. end
  183. end
  184. end
  185. else
  186. act 'Use the more dangerous shortcuts to be done faster (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  187. end
  188. end
  189. !!if you''re at the post office when it''s not working time
  190. else
  191. *clr & cla
  192. minut += 2
  193. gs'stat'
  194. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  195. 'The postmaster looks at you a bit confused, wondering why you''re here. "Yes? More questions? You look like you want to ask something..." he suggests.'
  196. '"Uhh... could you tell me about the job again?" you ask him.'
  197. 'He nods and says: "Of course. As you probably know, Russian Post doesn''t deliver regular mail on Saturdays, only priority mail. That''s what you will be delivering. Not a lot of mail, but if people choose to have it delivered on Saturdays, it must be important! It''s a big responsibility, but I trust you to get the job done. It''ll take you roughly three hours, going on past experience. Some days we have more, some days we have less. <b>Make sure you''re here between 11:00 and 12:00 on Saturday, so I can talk you through what exactly it is you have to do.</b>"'
  198. 'He watches you for a second while you try to memorize it all, and says somewhat impatiently: "Was that all? I really need to get back to work..."'
  199. act 'Leave him alone':gt 'post_office', 'start'
  200. end
  201. elseif postjobQW = 3:
  202. !!if you said you''re not sure about taking the regular job and refuse it the first time
  203. *clr & cla
  204. minut += 2
  205. gs'stat'
  206. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  207. 'The postmaster looks at you expectantly when he sees you come back in, and asks: "Hi <<$pcs_firstname>>! We could really use you on Saturdays... I hope you''re here with good news?"'
  208. 'You can deliver priority mail and packages every Saturday from now on, from 12:00 to roughly 15:00.'
  209. *nl
  210. act 'Decline the job':
  211. cla
  212. postjobQW = 5
  213. '"I''ve given it some thought, but no. Sorry, you''ll have to find someone else," you tell the postmaster.'
  214. '"That''s too bad, <<$pcs_firstname>>, you could''ve been a great post girl! Well... thanks for letting me know," he mutters, clearly disappointed. "My door is always open for you, if you change your mind."'
  215. act 'Leave the postmaster''s office':gt 'post_office', 'start'
  216. end
  217. act 'Accept the job':
  218. cla
  219. postjobQW = 4
  220. 'You tell him you''ll take the job.'
  221. '"That''s great! I''ll let Aleksiy know he no longer has to come in on weekends, in that case. See you on Saturday!" he says, shaking your hand.'
  222. act 'Leave the postmaster''s office':gt 'post_office', 'start'
  223. end
  224. elseif postjobQW = 4:
  225. if week ! 6:
  226. !!if you don''t want to work next Saturday
  227. act 'Tell him you can''t work this coming Saturday':
  228. *clr & cla
  229. postjobQW = 5
  230. minut += 2
  231. gs'stat'
  232. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  233. 'The postmaster looks like he''s swamped with work right now, his desk is completely covered with mail.'
  234. '"Excuse me?" you say, trying to get the postmaster''s attention. "I won''t be able to make it next Saturday, after all."'
  235. 'The postmaster looks up at you somewhat disappointedly. Nevertheless, he says: "Oh, okay. No problem. I''ll let Aleksiy know he has to come in on Saturday. Thanks for letting me know, I guess."'
  236. 'He scribbles something down on a piece of paper and focuses on his work again.'
  237. act 'Leave him alone':gt 'post_office', 'start'
  238. end
  239. elseif hour < 11:
  240. !!if it''s Saturday but you''re early
  241. *clr & cla
  242. minut += 2
  243. gs'stat'
  244. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  245. '"You''re a bit early, <<$pcs_firstname>>!" the postmaster says when he sees you enter his office. "I don''t have your mail yet, but I like the enthusiasm. Come see me <b>between 11:00 and 12:00</b>, I should have it ready then."'
  246. act 'Leave him alone':gt 'post_office', 'start'
  247. elseif hour > 11 and postworkday ! daystart:
  248. !!if it''s Saturday but you''re late
  249. *clr & cla
  250. minut += 2
  251. postworkday = daystart
  252. gs'stat'
  253. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  254. '"You''re late, <<$pcs_firstname>>!" the postmaster scoffs when he sees you enter his office. "I already called Aleksiy in to cover your shift. He was not happy, and neither am I. Don''t make this a habit..."'
  255. 'You try to apologize for being late, but the postmaster is not interested and tells you to leave him alone.'
  256. act 'Leave his office':gt 'post_office', 'start'
  257. elseif hour = 11 and postworkday ! daystart:
  258. !!if it''s Saturday and you''re ready to work
  259. *clr & cla
  260. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  261. '"Hi there, <<$pcs_firstname>>!" the postmaster smiles when you enter the post office. "Right on time. Please, follow me."'
  262. act 'Follow him':gt 'post_deliveries', 'start'
  263. end
  264. elseif postjobQW = 5:
  265. !!if you want to work after all next Saturday
  266. act 'Tell him you can work this coming Saturday after all':
  267. *clr & cla
  268. postjobQW = 4
  269. minut += 2
  270. gs'stat'
  271. '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/postmaster.jpg"></center>'
  272. 'You enter the postmaster''s office at an opportune time, he looks like he''s not doing anything right now.'
  273. '"<<$pcs_firstname>>, can I help you?" he asks, as soon as he sees you come in.'
  274. '"Actually, I came to say that I can make it after all this Saturday!" you tell him.'
  275. '"Ah! Excellent news. Thanks, I''ll tell Aleksiy he can stay at home with his daughter," he says, quickly making a note. "Is there anything else I can do for you?"'
  276. '"Nope, that was it!" you tell him. "See you on Saturday!"'
  277. act 'Leave him alone':gt 'post_office', 'start'
  278. end
  279. elseif postjobQW = 999:
  280. !!you were fired, the postmaster won''t see you again
  281. *clr & cla
  282. '"You! Get out of here!" the postmaster shouts angrily when you enter his office. "There''s no job for you! Not now, not ever! That screw-up of yours ruined our perfect record..."'
  283. 'You try to talk to the postmaster and explain what happened, but he''s simply not interested in whatever it is you have to say. It seems very unlikely that he''d consider hiring you again.'
  284. act 'Leave him alone':gt 'post_office', 'start'
  285. end
  286. end
  287. --- post_master ---------------------------------