1
0

pav_library_nerdstudy.qsrc 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. # pav_library_nerdstudy
  2. !2021/10/05
  3. if $ARGS[0] = 'nerd_study_night':
  4. *clr & cla
  5. gs 'stat'
  6. nerdstudynight['start_time'] = totminut
  7. nerdstudynight['day'] = daystart
  8. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/library/nerdsstudy/nerds_study' + rand(1,5) + '.jpg"></center>'
  9. if grupTipe = 3:
  10. 'You arrive at the library and see all of your fellow nerds have already gathered around one of the tables. Some are grabbing some books or looking up things on their laptop, while others are sitting and chatting before the study session begins. You sit down with your fellow students and start studying.'
  11. elseif grupTipe = 5:
  12. 'You arrive at the library and see the nerds have already gathered around one of the tables. Some are grabbing some books or looking up things on their laptop, while others are sitting and chatting before the study session begins. When they see you, they all go quiet, they look back and forth a bit and finally Feofan speaks up. "Do you need something?"'
  13. 'You smile to him and the rest. "My grades are not as good as I would like, so I thought I would come study with the smartest kids in school."'
  14. 'They exchange looks again and this time Artem speaks up. "Yeah ok, but we are here to study." Then they go back to studying among each other.'
  15. elseif fame['pav_slut'] >= 250:
  16. 'You arrive at the library and see the nerds have already gathered around one of the tables. Some are grabbing some books or looking up things on their laptop, while others are sitting and chatting before the study session begins. When they see you, they all go quiet, they look back and forth a bit and finally Feofan speaks up. "Do you need something?"'
  17. 'You smile to him and the rest. "My grades are not as good as I would like, so I thought I would come study with the smartest kids in school."'
  18. 'They exchange looks again and this time they huddle up a bit and start whispering back and forth it seems like they are arguing but finally Artem looks up at you and says. "Yeah ok, we know your reputation and we want no part of it, we are here to study and thats it, so no funny business." Then they go back to studying among each other.'
  19. else
  20. 'You arrive at the library and see the nerds have already gathered around one of the tables. Some are grabbing some books or looking up things on their laptop, while others are sitting and chatting before the study session begins. When they see you, they all go quiet, they look back and forth a bit and finally Feofan speaks up. "Do you need something?"'
  21. 'You smile to him and the rest. "My grades are not as good as I would like, so I thought I would come study with the smartest kids in school."'
  22. 'They exchange looks again and this time Artem speaks up. "We don''t want any trouble."'
  23. 'You give them a reassuring smile. "I promise I am not here to cause problems, I just need help with my school work."'
  24. 'They exchange looks and a few of them nod before Feofan speaks up again. "Ok sure you can study with us."'
  25. end
  26. act 'Leave': gt 'pav_library'
  27. act 'Study': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  28. act 'Chat': gt 'pav_library_nerdstudy', 'nerd_study_night2'
  29. end
  30. if $ARGS[0] = 'nerd_study_night1':
  31. *clr & cla
  32. menu_off = 1
  33. grupvalue[3] += 3
  34. gs 'stat'
  35. if totminut < nerdstudynight['start_time'] + 25:
  36. lern += rand(4, 8)
  37. gs 'exp_gain', 'intel', rand(1, 2)
  38. gs 'exp_gain', 'prcptn', rand(0,1)
  39. if lernHome > 1:
  40. gs 'grades', 'homework', 'school', 'yes', 2, 3, 100
  41. elseif lernHome = 1:
  42. gs 'grades', 'homework', 'school', 'yes', 1, 3, 100
  43. end
  44. elseif totminut < nerdstudynight['start_time'] + 45:
  45. lern += rand(2, 4)
  46. gs 'exp_gain', 'intel', rand(0, 1)
  47. gs 'exp_gain', 'prcptn', rand(0,1)
  48. if lernHome >= 1:
  49. gs 'grades', 'homework', 'school', 'yes', 1, 3, 100
  50. end
  51. else
  52. lern += rand(1, 2)
  53. gs 'exp_gain', 'intel', rand(0, 1)
  54. end
  55. if (totminut - nerdstudynight['start_time']) < 60: minut += (60 -totminut + nerdstudynight['start_time'])
  56. gs 'stat'
  57. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/library/nerdsstudy/nerds_study' + rand(1,5) + '.jpg"></center>'
  58. 'You help each other out, debate topics and discuss answers. You have a very enjoyable time and feel like you''ve learned a fair bit about your subject.'
  59. act 'Pack up': gt 'pav_library_nerdstudy', 'nerd_study_night_over'
  60. end
  61. if $ARGS[0] = 'nerd_study_night2':
  62. *clr & cla
  63. $loc_arg = 'nerd_study_night2'
  64. $loc = 'pav_library_nerdstudy'
  65. $location_type = 'public_indoors'
  66. $menu_loc = 'pav_library_nerdstudy'
  67. $menu_arg = 'nerd_study_night2'
  68. menu_off = 0
  69. gs 'stat'
  70. if totminut >= nerdstudynight['start_time'] +60: gt 'pav_library_nerdstudy', 'nerd_study_night_over'
  71. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/library/nerdsstudy/nerds_study' + rand(1,5) + '.jpg"></center>'
  72. 'You can''t help but be a little distracted. You''re not sure why, but you''re just not feeling the desire to study. Maybe one of your fellow nerds would like to chat instead?'
  73. act 'Study': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  74. if nerdstudynight['Feofan'] = 0:
  75. act 'Chat to Feofan':
  76. *clr & cla
  77. minut += 5
  78. nerdstudynight['Feofan'] = 1
  79. gs 'npc_relationship', 'modify', 'A152', 'like'
  80. gs 'stat'
  81. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big152.jpg"></center>'
  82. if npc_rel['A152'] >= 60 and grupTipe = 3:
  83. 'You talk to Feofan about a variety of topics but soon it turns into talking about the game night and him teasing you with some of the stuff he has planned. After a while, he talks about an upcoming convention he wants to go to and cosplay at. The conversation soon comes to an end as he returns to his studies.'
  84. elseif npc_rel['A152'] <= 20 or fame['pav_slut'] >= 250:
  85. 'Feofan isn''t really interested in talking to you, but you insist and try to keep up a conversation until he finally stops you. "Hey, I''ve gotta finish this homework." he says awkwardly and focuses on studying while ignoring you.'
  86. else
  87. 'You strike up a conversation with Feofan. He seems a bit hesitant at first, but quickly engages you in some idle chatter about school.'
  88. end
  89. act 'Start studying': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  90. act 'Chat to someone else': gt 'pav_library_nerdstudy', 'nerd_study_night2'
  91. end
  92. end
  93. if nerdstudynight['Artem'] = 0:
  94. act 'Chat to Artem':
  95. *clr & cla
  96. minut += 5
  97. nerdstudynight['Artem'] = 1
  98. gs 'npc_relationship', 'modify', 'A2', 'like'
  99. gs 'stat'
  100. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big2.jpg"></center>'
  101. if artemQW['bf'] = 1:
  102. 'Artem scoots his chair over closer to you. "I was worried you wouldn''t show up today." he jokes, but you can tell there''s a part of him that was being sincere. Artem isn''t one for public affection, but he still can''t go without some kind of physical contact with you, which leaves him sitting close enough to you that your legs bump and rub against each other under the table as you talk.'
  103. elseif npc_rel['A2'] >= 60 and grupTipe = 3:
  104. '"There you are <<$pcs_nickname>>. How''s it going?" Artem greets you. "I figure we can get a head-start on Yenotin''s lesson while we talk." he says, moving the textbook towards you so you can look at it. While you work, Artem keeps up a lively conversation, talking about a range of different topics.'
  105. elseif npc_rel['A2'] <= 20 or fame['pav_slut'] >= 250:
  106. 'You try to chat with Artem, but he doesn''t seem all that interested in the conversation. His answers are short and he doesn''t even bother to stop writing in his notebook as you talk.'
  107. else
  108. 'You strike up a conversation with Artem. He seems a bit hesitant at first, but quickly engages you in some idle chatter about school.'
  109. end
  110. act 'Start studying': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  111. act 'Chat to someone else': gt 'pav_library_nerdstudy', 'nerd_study_night2'
  112. end
  113. end
  114. if nerdstudynight['Zinaida'] = 0:
  115. act 'Chat to Zinaida':
  116. *clr & cla
  117. minut += 5
  118. nerdstudynight['Zinaida'] = 1
  119. gs 'npc_relationship', 'modify', 'A142', 'like'
  120. gs 'stat'
  121. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big142.jpg"></center>'
  122. if npc_rel['A142'] >= 60 and grupTipe = 3:
  123. 'You chat about the latest video games with Zinaida. "Hey, look at this. I got into the top ten with my last score." With a small smile, Zinaida shows you her phone, and sure enough she''s number five on the leaderboard. You congratulate her, which causes her cheeks to flush slightly as she tries to downplay it. The two of you go back to some idle chatter about video games.'
  124. elseif npc_rel['A142'] <= 20 or fame['pav_slut'] >= 250:
  125. 'Zinaida is focused on studying the book in front of her and taking notes, so she rarely says anything back as you try and talk to her. "I''d like to talk, but I''m busy trying to study. I need to finish this." she says quietly while looking up at you through her messy hair that hangs down onto her face. She resumes her studying while ignoring you.'
  126. else
  127. 'You strike up a conversation with Zinaida. She seems a bit hesitant at first, but quickly engages you in some idle chatter about school.'
  128. end
  129. act 'Start studying': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  130. act 'Chat to someone else': gt 'pav_library_nerdstudy', 'nerd_study_night2'
  131. end
  132. end
  133. if nerdstudynight['Gerasim'] = 0:
  134. act 'Chat to Gerasim':
  135. *clr & cla
  136. minut += 5
  137. nerdstudynight['Gerasim'] = 1
  138. gs 'npc_relationship', 'modify', 'A153', 'like'
  139. gs 'stat'
  140. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big153.jpg"></center>'
  141. if npc_rel['A153'] >= 60 and grupTipe = 3:
  142. 'You greet Gerasim with a smile and make a point to ask him how his day is going, subtly hinting to the fact that you know other students like to make him do their school work. With a shy smile, Gerasim shrugs his shoulders. "I''m fine." he says, his smile growing. "Thanks for worrying about me though <<$pcs_nickname>>." You engage in some idle banter for a while.'
  143. elseif npc_rel['A153'] <= 20 or fame['pav_slut'] >= 250:
  144. 'Gerasim isn''t really interested in talking to you, but you insist and try to keep up a conversation until he finally stops you. "Hey, I really need to study. Maybe we can talk some other time?" he says halfheartedly with an awkward laugh, then focuses on studying.'
  145. else
  146. 'You strike up a conversation with Gerasim. He seems a bit hesitant at first, but quickly engages you in some idle chatter about school.'
  147. end
  148. act 'Start studying': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  149. act 'Chat to someone else': gt 'pav_library_nerdstudy', 'nerd_study_night2'
  150. end
  151. end
  152. if nerdstudynight['Julia'] = 0:
  153. act 'Chat to Julia':
  154. *clr & cla
  155. minut += 5
  156. nerdstudynight['Julia'] = 1
  157. gs 'npc_relationship', 'modify', 'A12', 'like'
  158. gs 'stat'
  159. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big12.jpg"></center>'
  160. if npc_rel['A12'] >= 60 and grupTipe = 3:
  161. 'Usually, Julia is quiet and lets others do most of the talking, but with you, she participates more in the conversation with some friendly banter.'
  162. elseif npc_rel['A12'] <= 20 or fame['pav_slut'] >= 250:
  163. 'You try to talk to Julia, but the conversation becomes completely one-sided, with you doing all the talking while Julia busies herself with schoolwork.'
  164. else
  165. 'You strike up a conversation with Julia. She seems a bit hesitant at first, but quickly engages you in some idle chatter about school.'
  166. end
  167. act 'Start studying': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  168. act 'Chat to someone else': gt 'pav_library_nerdstudy', 'nerd_study_night2'
  169. end
  170. end
  171. if nerdstudynight['Petka'] = 0:
  172. act 'Chat to Petka':
  173. *clr & cla
  174. minut += 5
  175. nerdstudynight['Petka'] = 1
  176. gs 'npc_relationship', 'modify', 'A6', 'like'
  177. gs 'stat'
  178. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big6.jpg"></center>'
  179. if npc_rel['A6'] >= 60 and grupTipe = 3:
  180. '"You really have to read this book <<$pcs_nickname>>! I''m pretty sure it''s one you''d enjoy." Petka says excitedly. He starts to tell you about an interesting part he just read, but stops himself with a laugh. "Don''t worry, I won''t spoil it for you." The two of you chat about some recent books you have read.'
  181. elseif npc_rel['A6'] <= 20 or fame['pav_slut'] >= 250:
  182. '"Can we talk later? I really want to finish studying this chapter before we call it a night." Petka says, only briefly looking up from his book to address you before burying his nose right back into it.'
  183. else
  184. 'You strike up a conversation with Petka. He seems a bit hesitant at first, but quickly engages you in some idle chatter about school.'
  185. end
  186. act 'Start studying': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  187. act 'Chat to someone else': gt 'pav_library_nerdstudy', 'nerd_study_night2'
  188. end
  189. end
  190. if nerdstudynight['Natasha'] = 0:
  191. act 'Chat to Natasha':
  192. *clr & cla
  193. minut += 5
  194. nerdstudynight['Natasha'] = 1
  195. gs 'npc_relationship', 'modify', 'A16', 'like'
  196. gs 'stat'
  197. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big16.jpg"></center>'
  198. if npc_rel['A16'] >= 60 and grupTipe = 3:
  199. if natbelQW['chrispaid'] < 3:
  200. '"Hey <<$pcs_nickname>>! Have you seen this new makeup line coming out? It''s expensive but I looove the colors!" Natasha says as she holds up the magazine ad for said makeup. She talks about how she can''t afford nice things like this and this ends up bringing her down. You quickly change the subject and start complimenting her on her sense of style and grades and reminding her she''s a top student in school, which brings a smile to her face.'
  201. else
  202. '"Hey <<$pcs_nickname>>! Have you seen this new makeup line coming out? It''s expensive but I looove the colors!" Natasha says as she holds up the magazine ad for said makeup. She talks about how she still finds it difficult to afford nice things like this and this ends up bringing her down until you remind her that she''s got rid of all her debts and now has some money and you''re happy to help her out. She smiles at this but you know that she doesn''t want to keep relying on you so you change the subject and start complimenting her on her sense of style and grades and reminding her she''s a top student in school, which brings a smile to her face.'
  203. end
  204. elseif npc_rel['A16'] <= 20 or fame['pav_slut'] >= 250:
  205. 'Natasha isn''t really interested in talking to you, but you persist in trying to keep up a conversation for a while before she says. "Hey, I''ve got to... study. Maybe we can talk later?" she says halfheartedly and goes back to studying.'
  206. else
  207. 'You strike up a conversation with Natasha. She seems a bit hesitant at first, but quickly engages you in some idle chatter about school.'
  208. end
  209. act 'Start studying': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  210. act 'Chat to someone else': gt 'pav_library_nerdstudy', 'nerd_study_night2'
  211. end
  212. end
  213. if nerdstudynight['Evgeny'] = 0:
  214. act 'Chat to Evgeny':
  215. *clr & cla
  216. minut += 5
  217. nerdstudynight['Evgeny'] = 1
  218. gs 'npc_relationship', 'modify', 'A151', 'like'
  219. gs 'stat'
  220. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big151.jpg"></center>'
  221. if npc_rel['A151'] >= 60 and grupTipe = 3:
  222. 'You strike up a conversation with Evgeny, mostly about school work at first as he is focused on it, but eventually it drifts over to talking about chess before he abruptly stops talking and focuses on studying again.'
  223. elseif npc_rel['A151'] <= 20 or fame['pav_slut'] >= 250:
  224. 'You try talking to Evgeny, but it''s very one-sided with you doing all of the talking until he finally speaks up. "I don''t want to sound rude, but we''re not really friends so I''m not sure why you''d want to talk to me." he says quietly. "Anyways, I''ve got to finish studying, so if you don''t mind..." He goes back to studying while ignoring you.'
  225. else
  226. 'You strike up a conversation with Evgeny. He seems a bit hesitant at first, but quickly engages you in some idle chatter about school.'
  227. end
  228. act 'Start studying': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  229. act 'Chat to someone else': gt 'pav_library_nerdstudy', 'nerd_study_night2'
  230. end
  231. end
  232. if nerdstudynight['Natalia'] = 0:
  233. act 'Chat to Natalia':
  234. *clr & cla
  235. minut += 5
  236. nerdstudynight['Natalia'] = 1
  237. gs 'npc_relationship', 'modify', 'A240', 'like'
  238. gs 'stat'
  239. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big240.jpg"></center>'
  240. if npc_rel['A240'] >= 60 and grupTipe = 3:
  241. 'As you approach Natalia, she closes her notebook and waves at you. "Hey <<$pcs_nickname>>, come and have a seat." You sit next to Natalia and discuss current events while occasionally gossiping about your classmates.'
  242. elseif npc_rel['A240'] <= 20 or fame['pav_slut'] >= 250:
  243. 'You try to talk to Natalia, but the conversation becomes completely one-sided, with you doing all the talking while Natalia busies herself with her notebook, keeping others and esspecially you, from seeing what she is doing.'
  244. else
  245. 'You strike up a conversation with Natalia. She seems a bit hesitant at first, but quickly engages you in some idle chatter about school.'
  246. end
  247. act 'Start studying': gt 'pav_library_nerdstudy', 'nerd_study_night1'
  248. act 'Chat to someone else': gt 'pav_library_nerdstudy', 'nerd_study_night2'
  249. end
  250. end
  251. end
  252. if $ARGS[0] = 'nerd_study_night_over':
  253. *clr & cla
  254. menu_off = 1
  255. nerdstudynight['Feofan'] = 0
  256. nerdstudynight['Artem'] = 0
  257. nerdstudynight['Zinaida'] = 0
  258. nerdstudynight['Gerasim'] = 0
  259. nerdstudynight['Julia'] = 0
  260. nerdstudynight['Petka'] = 0
  261. nerdstudynight['Natasha'] = 0
  262. nerdstudynight['Evgeny'] = 0
  263. nerdstudynight['Natalia'] = 0
  264. gs 'stat'
  265. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/library/nerdsstudy/nerds_study' + rand(1,5) + '.jpg"></center>'
  266. 'After an hour, everyone starts packing up and talking about heading home. A few text their parents to let them know they''re leaving the library. You gather up your stuff and leave with the group.'
  267. act 'Leave': gt 'pav_library'
  268. end
  269. --- pav_library_nerdstudy ---------------------------------