journal.qsrc 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912
  1. # journal
  2. !! 2021/05/02 Initial code
  3. !! Refactored 24 Aug 22
  4. !! Amended by Hooded Silence
  5. !! Game Character Journal - central core game data area for players.
  6. !! V .01 Refactored to enable menu bar navigation for UI consistency.
  7. !! V .02 Redesign and integration of content areas.
  8. !! V .03 Bug fixes.
  9. !!
  10. !! Sections:
  11. !! 0 Magic (if enabled)
  12. !! 1 Housing
  13. !! 2 Work - calls in journal_work
  14. !! 3 Quests - calls in journal_quest section
  15. !! 4 Relations / Current Group - pulls in various elements refactored from other areas to make tracking relationships easier. To be expanded on.
  16. !! 5 General Information
  17. !! 6 User Notes - custom function
  18. !!
  19. !! Menu Variables
  20. !! menutrack = tracks current menu position
  21. !! jumploc = call in the active menu section
  22. !! $tablebody = Container to create the menu body to work around QSP deadspace display issues.
  23. !! Section Variables
  24. !! employed[qw] = Work tracker if employed. To be set on starting or leaving a job.
  25. !! Header section start
  26. if $ARGS[0] = 'records':
  27. *clr & cla
  28. gs 'housing', 'rent'
  29. gs 'journal', 'journalmenu'
  30. ! records
  31. end
  32. if $ARGS[0]='journalmenu':
  33. *clr & cla
  34. gs 'stat'
  35. *nl
  36. if $start_type[1] ! 'nomagic':
  37. $tablebody = '<tr><th><a href="exec:menutrack = 0 & gs ''journal'', ''magictab''">Magic</a></th><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th><th><a href="exec:menutrack = 7 & gs ''journal'', ''notification_log''">Notifications</a></th></tr>'
  38. else
  39. $tablebody ='<tr><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th><th><a href="exec:menutrack = 7 & gs ''journal'', ''notification_log''">Notifications</a></th></tr>'
  40. ! menu
  41. end
  42. !display the table here.
  43. '<center><table width="90%" align="center" width="90%" cellspacing="0" cellpadding="0" valign="top"><tr><<$tablebody>></tr></table></center>'
  44. if $jumploc = '' or jclose = 1:
  45. if $start_type[1] ! 'nomagic':
  46. menutrack = 0
  47. jclose = 0
  48. gt 'journal', 'magictab'
  49. else
  50. menutrack = 1
  51. jclose = 0
  52. gt 'journal', 'housingtab'
  53. end
  54. end
  55. gs 'journal', 'leaveactions'
  56. ! Journal Menu
  57. end
  58. !!-------------------------!1
  59. !! Magic !!
  60. !!-------------------------!!
  61. if $ARGS[0] = 'magictab':
  62. $jumploc = 'magictab'
  63. gs 'journal', 'journalmenu'
  64. '<center><h2>Spells</h2></center><br>'
  65. '<center><h2>Spells to Cast</h2></center><br>'
  66. func('spellBook','cast','$nonComSpells', 'gt ''journal'', ''magictab''', 'jclose = 1')
  67. !!''''
  68. '<br><center><h2>Spell Learning</h2></center><br>'
  69. '<br><center><h3>Combat</h3></center><br>'
  70. func('spellBook','learn','$combatSpells')
  71. '<br><center><h3>Non-Combat</h3></center><br>'
  72. func('spellBook','learn','$nonComSpells')
  73. delact 'Never mind'
  74. ! magic
  75. end
  76. !!-------------------------!!
  77. !! Housing !!
  78. !!-------------------------!!
  79. if $ARGS[0] = 'housingtab':
  80. $jumploc = 'housingtab'
  81. gs 'journal', 'journalmenu'
  82. '<center><h2>Housing</h2></center>'
  83. *nl
  84. if accessible_property['shared_apartment'] = 4:'You share an apartment with three others in Pavlovsk. Your bills are paid by the other tenants in exchange for your house services'
  85. if accessible_property['city_apartment'] = 1:'You rent a two room apartment in the city residential area. Your rent for the apartment is subtracted automatically in sum of <<accessible_property[''city_apartment-rent'']>> <b>₽</b> us electric bill on 25th of each month. You are currently paid up for <b><<accessible_property[''city_apartment-days-left'']>></b> days'
  86. if accessible_property['city_apartment'] = 2:'You own a two room apartment in the city residential area. Your utility bills are due on the 25th of each month.'
  87. if accessible_property['city_apartment'] = 3:'You own a two room apartment in the city residential area. It''s currently occupied by your tenants.'
  88. if accessible_property['parents_home'] = 4:'You live with your parents and siblings in a two room apartment in Pavlovsk.'
  89. if accessible_property['village_cottage']= 2 :'You own a small holiday cottage with an adjacent allotment in the communal village.'
  90. if accessible_property['old_town_apartment'] = 1:'You rent a two room apartment in Pushkin. Your rent for the apartment is subtracted automatically in the sum of <<accessible_property[''old_town_apartment-rent'']>> <b>₽</b> us electric bill on the 25th of each month. You are currently paid up for <b><<accessible_property[''old_town_apartment-days-left'']>></b> days'
  91. if accessible_property['matryona_mansion'] = 2 and constructionstatus = 0:'You own a vacant block in the city suburbs.'
  92. if accessible_property['matryona_mansion'] = 2 and constructionstatus = 1:'You own a plot of land in the city suburbs upon which you are building a house.' + iif(banaMansion = 1, 'Your utility bills are due on the 25th of each month.', '')
  93. if accessible_property['matryona_mansion'] = 2 and constructionstatus = 2:'You own an impressive mansion in the city suburbs. ' + iif(banaMansion = 1, 'Your utility bills are due on the 25th of each month.', '')
  94. if accessible_property['city_house'] = 2:'You own a nice house on the edge of the city residential district. Your utility bills are due on the 25th of each month.'
  95. if accessible_property['meynold_household'] = 4:'You live with Vicky, Katja and Tamara Meynold. You have your own room and get an allowance based on helping out around the house and/or studying with Tamara.'
  96. *nl
  97. if car > 0:
  98. '<center><h2>Car</h2></center>'
  99. *nl
  100. if cardrive = 1: 'Your car is parked in St. Petersburg''s residential area.'
  101. if cardrive = 2: 'Your car is parked in St. Petersburg''s city center.'
  102. if cardrive = 3: 'Your car is parked in St. Petersburg''s industrial region.'
  103. if cardrive = 4: 'Your car is parked at St. Petersburg''s Lake.'
  104. if cardrive = 5: 'Your car is parked at St. Petersburg''s Park.'
  105. if cardrive = 6: 'Your car is parked at the gas station in St. Petersburg''s industrial region.'
  106. if cardrive = 7: 'Your car is parked at the Car Repair Shop in St. Petersburg.'
  107. if cardrive = 8: 'Your car is parked at your house in St. Petersburg''s residential area.'
  108. if cardrive = 9: 'Your car is parked at the Car Dealership in St. Petersburg.'
  109. if cardrive = 10: 'Your car is parked at St. Petersburg''s Park.'
  110. if cardrive = 11: 'Your car is parked at St. Petersburg''s Sauna.'
  111. if cardrive = 12: 'Your car is parked at the construction site.'
  112. if cardrive = 13: 'Your car is parked in the Suburban Cooperative.'
  113. if cardrive = 14: 'Your car is parked in Old Town district of Pavlovsk.'
  114. if cardrive = 18: 'Your car is parked at Matryona Mansion.'
  115. if cardrive = 19: 'Your car is parked at St. Petersburg''s industrial train station.'
  116. if cardrive = 20: 'Your car is parked in Pavlovsk''s residential area.'
  117. if cardrive = 21: 'Your car is parked at the gas station near Pavlovsk.'
  118. if cardrive = 22: 'Your car is parked on the highway.'
  119. if cardrive = 23: 'Your car is parked in Gadukino.'
  120. if cardrive = 24: 'Your car is parked in Pavlovsk''s commercial region.'
  121. if cardrive = 25: 'Your car is parked in Vasilyevsky Island'
  122. if cardrive = 26: 'Your car is parked in Pavlovsk''s industrial region.'
  123. if cardrive = 27: 'Your car is parked in St. Petersburg''s red light district.'
  124. if cardrive = 28: 'Your car is parked in St. Petersburg''s suburbs.'
  125. end
  126. !! housing
  127. end
  128. !!-------------------------!!
  129. !! Relationships !!
  130. !!-------------------------!!
  131. if $ARGS[0] = 'relationstab':
  132. $jumploc = 'relationstab'
  133. gs 'journal', 'journalmenu'
  134. '<center><h2>Relationships</h2></center>'
  135. '<h2>Family</h2>'
  136. 'Mother:'
  137. gs 'journal', 'relindex', 'A29'
  138. 'Stepfather:'
  139. gs 'journal', 'relindex', 'A28'
  140. 'Sister:'
  141. gs 'journal', 'relindex', 'A33'
  142. 'Brother:'
  143. gs 'journal', 'relindex', 'A34'
  144. if mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and SchoolBlock = 0:
  145. '<center><h2>Standings by Social Group</h2></center>'
  146. if grupTipe < 5 and grupvalue[grupTipe] > 700:
  147. $journal_school_standing = ' You are well respected and liked within your clique.'
  148. elseif grupTipe < 5 and grupvalue[grupTipe] > 300:
  149. $journal_school_standing = ' You are in good standing with your clique.'
  150. elseif grupTipe < 5:
  151. $journal_school_standing = '<font color="red"> You have to work on your clique standing. You''re in danger of being cast out.</font>'
  152. end
  153. if grupTipe = 0:
  154. 'You are not a member of any particular school social group.' + $journal_school_standing
  155. elseif grupTipe = 1:
  156. 'Your school social group consists of the popular, cool and beautiful.' + $journal_school_standing
  157. elseif grupTipe = 2:
  158. 'Your school social group consists of jocks and natural athletes.' + $journal_school_standing
  159. elseif grupTipe = 3:
  160. 'Your school social group consists of nerds, geeks and good students.' + $journal_school_standing
  161. if nerd_game['game_day'] > daystart: 'You have been invited to a games night on <<$week[(week + (nerd_game[''game_day''] - daystart))]>> at 20:00 in the community center library.'
  162. if nerd_game['game_day'] = daystart: 'You have been invited to a games night tonight at 20:00 in the community center library.'
  163. elseif grupTipe = 4:
  164. 'Your school social group consists of gopniks, rebels, punks or troublemakers.' + $journal_school_standing
  165. elseif grupTipe = 5:
  166. 'Your school social group consists of losers, teacher''s pets, sluts and the ugly.'
  167. end
  168. *nl
  169. 'Cool Kids'
  170. gs 'indik', '4', grupvalue[1]/10, grupvalue[1], 1 & '<<$ind>>'
  171. 'Jocks'
  172. gs 'indik', '4', grupvalue[2]/10, grupvalue[2], 2 & '<<$ind>>'
  173. 'Nerds'
  174. gs 'indik', '4', grupvalue[3]/10, grupvalue[3], 3 & '<<$ind>>'
  175. 'Gopnik'
  176. gs 'indik', '4', grupvalue[4]/10, grupvalue[4], 4 & '<<$ind>>'
  177. '<center><h2>Popular Kids Relations</h2></center>'
  178. if npc_rel['A1'] > 0: 'Friendship with Dimka:' & gs 'journal', 'relindex', 'A1'
  179. if npc_rel['A4'] > 0: 'Friendship with Igor:' & gs 'journal', 'relindex', 'A4'
  180. if npc_rel['A14'] > 0: 'Friendship with Katja:' & gs 'journal', 'relindex', 'A14'
  181. if npc_rel['A15'] > 0: 'Friendship with Vicky:' & gs 'journal', 'relindex', 'A15'
  182. if npc_rel['A17'] > 0: 'Friendship with Irina:' & gs 'journal', 'relindex', 'A17'
  183. if npc_rel['A22'] > 0: 'Friendship with Bella:' & gs 'journal', 'relindex', 'A22'
  184. if npc_rel['A146'] > 0: 'Friendship with Marcus:' & gs 'journal', 'relindex', 'A146'
  185. if npc_rel['A147'] > 0: 'Friendship with Andrey:' & gs 'journal', 'relindex', 'A147'
  186. if npc_rel['A148'] > 0: 'Friendship with Mefodiy:' & gs 'journal', 'relindex', 'A148'
  187. if soniaPS = 0 and npc_rel['A25'] > 0: 'Friendship with Sonia:' & gs 'journal', 'relindex', 'A25'
  188. if npc_rel['A139'] > 0: 'Friendship with Stasya:' & gs 'journal', 'relindex', 'A139'
  189. if npc_rel['A140'] > 0: 'Friendship with Lizaveta:' & gs 'journal', 'relindex', 'A140'
  190. '<center><h2>Jocks Relations</h2></center>'
  191. if npc_rel['A3'] > 0: 'Friendship with Ivan:' & gs 'journal', 'relindex', 'A3'
  192. if fedormasha = 0 and npc_rel['A5'] > 0: 'Friendship with Fedor:' & gs 'journal', 'relindex', 'A5'
  193. if npc_rel['A8'] > 0: 'Friendship with Svyatoslav:' & gs 'journal', 'relindex', 'A8'
  194. if npc_rel['A13'] > 0: 'Friendship with Lariska:' & gs 'journal', 'relindex', 'A13'
  195. if npc_rel['A18'] > 0: 'Friendship with Christina:' & gs 'journal', 'relindex', 'A18'
  196. if npc_rel['A19'] > 0: 'Friendship with Lina:' & gs 'journal', 'relindex', 'A19'
  197. if npc_rel['A23'] > 0: 'Friendship with Albina:' & gs 'journal', 'relindex', 'A23'
  198. if npc_rel['A149'] > 0: 'Friendship with Lazar:' & gs 'journal', 'relindex', 'A149'
  199. if npc_rel['A150'] > 0: 'Friendship with Erast:' & gs 'journal', 'relindex', 'A150'
  200. if npc_rel['A141'] > 0: 'Friendship with Veronika:' & gs 'journal', 'relindex', 'A141'
  201. if npc_rel['A165'] > 0: 'Friendship with Vanya:' & gs 'journal', 'relindex', 'A165'
  202. '<center><h2>Nerds Relations</h2></center>'
  203. if npc_rel['A2'] > 0: 'Friendship with Artem:' & gs 'journal', 'relindex', 'A2'
  204. if npc_rel['A6'] > 0: 'Friendship with Petka:' & gs 'journal', 'relindex', 'A6'
  205. if npc_rel['A12'] > 0: 'Friendship with Julia:' & gs 'journal', 'relindex', 'A12'
  206. if npc_rel['A16'] > 0: 'Friendship with Natasha:' & gs 'journal', 'relindex', 'A16'
  207. if npc_rel['A151'] > 0: 'Friendship with Evgeny:' & gs 'journal', 'relindex', 'A151'
  208. if npc_rel['A152'] > 0: 'Friendship with Feofan:' & gs 'journal', 'relindex', 'A152'
  209. if npc_rel['A153'] > 0: 'Friendship with Gerasim:' & gs 'journal', 'relindex', 'A153'
  210. if npc_rel['A142'] > 0: 'Friendship with Zinaida:' & gs 'journal', 'relindex', 'A142'
  211. if npc_rel['A240'] > 0: 'Friendship with Natalia:' & gs 'journal', 'relindex', 'A240'
  212. '<center><h2>Gopnik Relations</h2></center>'
  213. if npc_rel['A9'] > 0: 'Friendship with Vitek:' & gs 'journal', 'relindex', 'A9'
  214. if npc_rel['A10'] > 0: 'Friendship with Dan:' & gs 'journal', 'relindex', 'A10'
  215. if npc_rel['A11'] > 0: 'Friendship with Vasily:' & gs 'journal', 'relindex', 'A11'
  216. if npc_rel['A20'] > 0: 'Friendship with Lena:' & gs 'journal', 'relindex', 'A20'
  217. if npc_rel['A21'] > 0: 'Friendship with Lera:' & gs 'journal', 'relindex', 'A21'
  218. if npc_rel['A24'] > 0: 'Friendship with Pauline:' & gs 'journal', 'relindex', 'A24'
  219. if npc_rel['A154'] > 0: 'Friendship with Radomir:' & gs 'journal', 'relindex', 'A154'
  220. if npc_rel['A155'] > 0: 'Friendship with Lavrenti:' & gs 'journal', 'relindex', 'A155'
  221. if npc_rel['A156'] > 0: 'Friendship with Arkadi:' & gs 'journal', 'relindex', 'A156'
  222. if npc_rel['A157'] > 0: 'Friendship with Roman:' & gs 'journal', 'relindex', 'A157'
  223. if npc_rel['A158'] > 0: 'Friendship with Valentin:' & gs 'journal', 'relindex', 'A158'
  224. if npc_rel['A143'] > 0: 'Friendship with Alyona:' & gs 'journal', 'relindex', 'A143'
  225. if npc_rel['A144'] > 0: 'Friendship with Anushka:' & gs 'journal', 'relindex', 'A144'
  226. if npc_rel['A145'] > 0: 'Friendship with Ekaterina:' & gs 'journal', 'relindex', 'A145'
  227. if npc_rel['A189'] > 0: 'Friendship with Niko:' & gs 'journal', 'relindex', 'A189'
  228. '<center><h2>Outcast/Loner Relations</h2></center>'
  229. if npc_rel['A7'] > 0: 'Friendship with Lesco:' & gs 'journal', 'relindex', 'A7'
  230. if npc_rel['A159'] > 0: 'Friendship with Petia:' & gs 'journal', 'relindex', 'A159'
  231. if soniaPS > 0 and npc_rel['A25'] > 0: 'Friendship with Sonia:' & gs 'journal', 'relindex', 'A25'
  232. if fedormasha = 1 and npc_rel['A5'] > 0: 'Friendship with Fedor:' & gs 'journal', 'relindex', 'A5'
  233. '<center><h2>Teachers/Coaches/School Staff Relations</h2></center>'
  234. if npc_rel['A26'] > 0: 'Friendship with Anatoly Tsarev (Math Teacher):' & gs 'journal', 'relindex', 'A26'
  235. if npc_rel['A69'] > 0: 'Friendship with Mikhail Nikolaevich (Volleyball Coach):' & gs 'journal', 'relindex', 'A69'
  236. if npc_rel['A128'] > 0: 'Friendship with Makar Vasilyev (Art Teacher):' & gs 'journal', 'relindex', 'A128'
  237. if npc_rel['A129'] > 0: 'Friendship with Serafim Ivanov (Computer Science Teacher):' & gs 'journal', 'relindex', 'A129'
  238. if npc_rel['A130'] > 0: 'Friendship with Ilya Yenotin (Literature Teacher):' & gs 'journal', 'relindex', 'A130'
  239. if npc_rel['A131'] > 0: 'Friendship with Viktor Pavlovich (P.E. Teacher):' & gs 'journal', 'relindex', 'A131'
  240. if npc_rel['A132'] > 0: 'Friendship with Ruslan Kuznetsov (Shop Teacher):' & gs 'journal', 'relindex', 'A132'
  241. if npc_rel['A133'] > 0: 'Friendship with Rolan Metveev (Janitor):' & gs 'journal', 'relindex', 'A133'
  242. if npc_rel['A134'] > 0: 'Friendship with Aleksandrina Volkov (Headmistress):' & gs 'journal', 'relindex', 'A134'
  243. if npc_rel['A135'] > 0: 'Friendship with Yeva Sokoloff (Geography Teacher):' & gs 'journal', 'relindex', 'A135'
  244. if npc_rel['A136'] > 0: 'Friendship with Olga Aleksandrov (School Nurse):' & gs 'journal', 'relindex', 'A136'
  245. if npc_rel['A137'] > 0: 'Friendship with Raven Braakman (English Teacher):' & gs 'journal', 'relindex', 'A137'
  246. if npc_rel['A138'] > 0: 'Friendship with Arina Orlov (Biology Teacher):' & gs 'journal', 'relindex', 'A138'
  247. !!!WD: Formatting
  248. if (npc_rel['A93'] + npc_rel['A41'] + npc_rel['A42'] + npc_rel['A43'] + gosh + npc_rel['A220'] + npc_rel['A219'] + npc_QW['A192'] + npc_rel['A218']) > 0:*nl
  249. *nl
  250. end
  251. '<center><h2>Pavlovsk Relations</h2></center>'
  252. if npc_rel['A54'] > 0: 'Friendship with Uncle Misha:' & gs 'journal', 'relindex', 'A54'
  253. if npc_rel['A57'] > 0: 'Friendship with Rex:' & gs 'journal', 'relindex', 'A57'
  254. if npc_rel['A217'] > 0: 'Friendship with Pavlin:' & gs 'journal', 'relindex', 'A217'
  255. if npc_rel['A112'] > 0: 'Friendship with Sergey Shulgin:' & gs 'journal', 'relindex', 'A112'
  256. if npc_rel['A119'] > 0: 'Friendship with Borislav:' & gs 'journal', 'relindex', 'A119'
  257. '<center><h2>Gadukino Relations</h2></center>'
  258. if npc_rel['A31'] > 0: 'Friendship with Elena (your great-grandmother):' & gs 'journal', 'relindex', 'A31'
  259. if npc_rel['A32'] > 0: 'Friendship with Zlatek (your great-grandfather):' & gs 'journal', 'relindex', 'A32'
  260. if npc_rel['A60'] > 0: 'Friendship with Mira:' & gs 'journal', 'relindex', 'A60'
  261. if npc_rel['A61'] > 0: 'Friendship with Kolyamba:' & gs 'journal', 'relindex', 'A61'
  262. if npc_rel['A62'] > 0: 'Friendship with Vasyan:' & gs 'journal', 'relindex', 'A62'
  263. if npc_rel['A63'] > 0: 'Friendship with Mitka:' & gs 'journal', 'relindex', 'A63'
  264. if npc_rel['A64'] > 0: 'Friendship with Afanasiy:' & gs 'journal', 'relindex', 'A64'
  265. if npc_rel['A65'] > 0: 'Friendship with Vtialiy:' & gs 'journal', 'relindex', 'A65'
  266. if npc_rel['A221'] > 0: 'Friendship with Grigory:' & gs 'journal', 'relindex', 'A221'
  267. if npc_rel['A172'] > 0: 'Friendship with Andrei (hunter):' & gs 'journal', 'relindex', 'A172'
  268. if npc_rel['A173'] > 0: 'Friendship with Igor (hunter):' & gs 'journal', 'relindex', 'A173'
  269. if npc_rel['A174'] > 0: 'Friendship with Sergei (hunter):' & gs 'journal', 'relindex', 'A174'
  270. '<center><h2>Saint Petersburg Relations</h2></center>'
  271. if npc_QW['A192'] > 0: 'Friendship with Nastya:' & gs 'journal', 'relindex', 'A192'
  272. if npc_rel['A218'] > 0: 'Friendship with Tanya:' & gs 'journal', 'relindex', 'A218'
  273. if npc_rel['A219'] > 0: 'Friendship with Kat:' & gs 'journal', 'relindex', 'A219'
  274. if npc_rel['A220'] > 0: 'Friendship with Vika:' & gs 'journal', 'relindex', 'A220'
  275. if npc_rel['A93'] > 0: 'Friendship with Ira:' & gs 'journal', 'relindex', 'A93'
  276. if npc_rel['A43'] > 0: 'Friendship with Tamara:' & gs 'journal', 'relindex', 'A43'
  277. if npc_rel['A35'] > 0: 'Friendship with Mikhail Kuznetsov (your biological father):' & gs 'journal', 'relindex', 'A35'
  278. if npc_rel['A169'] > 0: 'Friendship with Dima:' & gs 'journal', 'relindex', 'A169'
  279. if npc_rel['A89'] > 0: 'Friendship with Eugene:' & gs 'journal', 'relindex', 'A89'
  280. if npc_rel['A216'] > 0: 'Friendship with Martin:' & gs 'journal', 'relindex', 'A216'
  281. ! '<center><h2>Other Relations</h2></center>'
  282. ! Uncomment if re-introduced into the game ensure you use NPC ID to update them
  283. ! if alla > 0: 'Friendship with Alla <<alla>>'
  284. ! if masha > 0: 'Friendship with Masha <<masha>>'
  285. ! if npc_rel['A41'] > 0: 'Friendship with Givi K. <<npc_rel[''A41'']>>'
  286. ! if npc_rel['A42'] > 0: 'Friendship with Ashot <<npc_rel[''A42'']>>'
  287. if husband > 0:'You have been married for <<husbanday>> days. Your husband <<$husName>> <<$husBody>> <<$husFat>> <<$husHair>>. Member <<husDick>> Relationship <<husband>>.'
  288. if kid > 0:
  289. i = 0
  290. if kid = 1:
  291. 'You have a child, a <<$polreb[0]>> named <<$kidname[0]>>. Born <<daykid[0]>>-<<monthkid[0]>>-<<yearkid[0]>>. Aged <<kidage[0]>>.'
  292. else
  293. 'You have children:'
  294. :LoopKidCounter
  295. if i < kid:
  296. '<br> a <<$polreb[i]>> named <<$kidname[i]>>. Born <<daykid[i]>>-<<monthkid[i]>>-<<yearkid[i]>>. Aged <<kidage[i]>>.'
  297. i += 1
  298. jump 'LoopKidCounter'
  299. end
  300. end
  301. *nl
  302. end
  303. *nl
  304. !! This has some sex info but also weirdness like npc number and smilie face is dick the right length. Its about first time with a random lover
  305. !! if $bfsex > 0:'<<$bfsex>>'
  306. *nl
  307. if loverGender[0] = 0:
  308. $obj_loverintro = 'Your boyfriend'
  309. $obj_loverpron = 'He'
  310. else
  311. $obj_loverintro = 'Your girlfriend'
  312. $obj_loverpron = 'She'
  313. end
  314. if pcs_lovers[0] = 1:'<<$obj_loverintro>> <<$loverdesc[0]>> is <<$loverbody[0]>> height and <<$loverbod[0]>> build with <<$loverface[0]>> hair. <<$loverdesc[0]>> is <<$loverClo[0]>>. Your relationship is <<loverrelation[0]>> after <<loverdays[0]>> days dating.'
  315. if haraklover[0] = 0 and loverrelation[0] > 1:'<<$obj_loverpron>>''s timid and lacks confidence.'
  316. if haraklover[0] = 1 and loverrelation[0] > 1:'<<$obj_loverpron>> has a cheerful and sociable personality.'
  317. if haraklover[0] = 2 and loverrelation[0] > 1:'<<$obj_loverpron>>''s short-tempered and strict.'
  318. if loverGender[1] = 0:
  319. $obj_loverintro = 'Your boyfriend'
  320. $obj_loverpron = 'He'
  321. else
  322. $obj_loverintro = 'Your girlfriend'
  323. $obj_loverpron = 'She'
  324. end
  325. if pcs_lovers[1] = 1:'<<$obj_loverintro>> <<$loverdesc[1]>> is <<$loverbody[1]>> height and <<$loverbod[1]>> build with <<$loverface[1]>> hair. <<$loverdesc[1]>> is <<$loverClo[1]>>. Your relationship is <<loverrelation[1]>> after <<loverdays[1]>> days dating.'
  326. if haraklover[1] = 0 and loverrelation[1] > 1:'<<$obj_loverpron>>''s timid and lacks confidence.'
  327. if haraklover[1] = 1 and loverrelation[1] > 1:'<<$obj_loverpron>> has a cheerful and sociable personality.'
  328. if haraklover[1] = 2 and loverrelation[1] > 1:'<<$obj_loverpron>>''s short-tempered and strict.'
  329. if loverGender[2] = 0:
  330. $obj_loverintro = 'Your boyfriend'
  331. $obj_loverpron = 'He'
  332. else
  333. $obj_loverintro = 'Your girlfriend'
  334. $obj_loverpron = 'She'
  335. end
  336. if pcs_lovers[2] = 1:'<<$obj_loverintro>> <<$loverdesc[2]>> is <<$loverbody[2]>> height and <<$loverbod[2]>> build with <<$loverface[2]>> hair. <<$loverdesc[2]>> is <<$loverClo[2]>>. Your relationship is <<loverrelation[2]>> after <<loverdays[2]>> days dating.'
  337. if haraklover[2] = 0 and loverrelation[2] > 1:'<<$obj_loverpron>>''s timid and lacks confidence.'
  338. if haraklover[2] = 1 and loverrelation[2] > 1:'<<$obj_loverpron>> has a cheerful and sociable personality.'
  339. if haraklover[2] = 2 and loverrelation[2] > 1:'<<$obj_loverpron>>''s short-tempered and strict.'
  340. *nl
  341. !! relations
  342. end
  343. !!-------------------------!!
  344. !! General Information !!
  345. !!-------------------------!!
  346. if $ARGS[0] = 'generaltab':
  347. $jumploc = 'generaltab'
  348. gs 'journal', 'journalmenu'
  349. !! generaltab
  350. '<center><h2>General Information</h2></center>'
  351. if ARRSIZE('$portfolio_locations') > 0 or ARRSIZE('$portfolio_people') > 0:
  352. act 'View your photography portfolio': gt 'journal_portfolio'
  353. end
  354. '<br><center><a href="exec: gs ''journal'', ''locations''">Locations</a></center>'
  355. '<br><center><a href="exec: gs ''journal'', ''family''">Family</a></center>'
  356. '<br><center><a href="exec: gs ''journal'', ''pav_res''">Pavlovsk Residents</a></center>'
  357. '<br><center><a href="exec: gs ''journal'', ''gad_res''">Gadukino Residents</a></center>'
  358. '<br><center><a href="exec: gs ''journal'', ''city_res''">City Residents</a></center>'
  359. if SchoolAtestat = 0 and mid($start_type, 1, 2) = 'sg' and SchoolBlock = 0:
  360. '<br><center><a href="exec: gs ''journal_school'', ''school''">School</a></center>
  361. <br><center><a href="exec: gs ''journal_school'', ''coursesinfo''">School Courses and Grades</a></center>'
  362. end
  363. !!Make this an elseif, add a third option to see where our friends end up in city-life??
  364. if university['student'] = 1:
  365. '<br><center><a href="exec: gs ''journal'', ''uni''">University</a></center>'
  366. end
  367. '<br><center><a href="exec: gs ''journal'', ''clothing''">Clothing information</a></center>'
  368. end
  369. !!-------------------------!!
  370. !! Notes !!
  371. !!-------------------------!!
  372. if $ARGS[0] = 'notestab':
  373. $jumploc = 'notestab'
  374. gs 'journal', 'journalmenu'
  375. '<center><h2>Notes</h2></center>'
  376. 'Create notes to keep track of any information you need.'
  377. *nl
  378. '<a href="exec: $zapis[] = input(''What do you want to record?'') & gt ''journal'',''notestab'' ">Make a note</a>'
  379. jur_temp = 0
  380. :jur_loop
  381. if jur_temp < arrsize('$zapis'):
  382. '<<$zapis[jur_temp]>> <a href="exec: dynamic ''killvar''''$zapis'''',<<jur_temp>> & gt ''''journal'''', ''''notestab'''''' ">Delete</a>'
  383. jur_temp += 1
  384. jump 'jur_loop'
  385. end
  386. killvar 'jur_temp'
  387. !! notes
  388. end
  389. !!---------------------------------!!
  390. !! notifications !!
  391. !!---------------------------------!!
  392. if $ARGS[0] = 'notification_log':
  393. $jumploc = 'notification_log'
  394. gs 'journal', 'journalmenu'
  395. '<center><h2>Notifications</h2></center>'
  396. *nl
  397. !! DEBUG
  398. !!'<a href="exec: notif_debug_counter += 1 & gs ''notification'', ''add'', ''test message <<notif_debug_counter>>'' & gt ''journal'',''notification_log''">DEBUG</a>'
  399. if $notification_log[0] ! '':
  400. notification_log_loop_index = arrsize('$notification_log') - 1
  401. :notification_log_loop
  402. *pl $notification_log[notification_log_loop_index]
  403. *nl
  404. if notification_log_loop_index > 0: notification_log_loop_index -= 1 & jump 'notification_log_loop'
  405. else
  406. 'Notification log is empty.'
  407. end
  408. end
  409. !! ---- Other Sections ----
  410. !! --- General Information -- Clothing
  411. if $ARGS[0] = 'clothing':
  412. $jumploc = 'generalsub'
  413. gs 'journal', 'journalmenu'
  414. '<center>Clothing information</center>'
  415. *nl
  416. 'Clothing has a strength value, which decreases by 1 for every day you wear that outfit. At 0 it is ruined and you will have to throw it away.'
  417. 'You can attempt to fix outfits when their strength is very low and you have a high enough sewing skill. Clothes you throw away will appear back in the shop.'
  418. *nl
  419. 'Quality of clothing is ranked in this order:'
  420. ' Crappy quality outfit'
  421. ' Very low quality outfit'
  422. ' Low quality outfit'
  423. ' Average quality outfit'
  424. ' Reasonable quality outfit'
  425. ' Good quality outfit'
  426. ' Outstanding quality outfit'
  427. gs 'journal', 'leaveactions'
  428. end
  429. !! --- General Information -- University
  430. if $ARGS[0] = 'uni':
  431. $jumploc = 'generalsub'
  432. gs 'journal', 'journalmenu'
  433. '<center><h2>University</h2></center>'
  434. if university['diploma'] > 0:
  435. 'You have graduated from the University of St. Petersburg with a degree in '+func('uni_programs', 'program_name')+'.'
  436. else
  437. 'You have are enrolled in the '+trim(MID(' first, second, third, fourth, fifth, sixth,seventh, eighth, ninth, tenth', university['enrolled_in_semester']*8-7,7))+' semester of the '+func('uni_programs', 'program_name')+' at the University of St. Petersburg.'
  438. end
  439. if $university['elective1'] ! '' or $university['elective2'] ! '' or $university['elective3'] ! '':
  440. *nl
  441. 'This semester, you are taking the following elective classes: <<$university[''elective1'']>>, <<$university[''elective2'']>>, <<$university[''elective1'']>>.'
  442. end
  443. j = 1
  444. :semester_loop
  445. if university['semester_passed'] >= j:
  446. gs 'grades', 'assing_grade_description', 'uni_<<$university[''enrolled_in'']>>_semester_<<j>>'
  447. *nl
  448. 'You passed the' + trim(MID(' first, second, third, fourth, fifth, sixth,seventh, eighth, ninth, tenth', j*8 - 7, 7)) + ' semester with the following grades:'
  449. k = 0
  450. :class_loop
  451. if $class_list_institution[k] = 'uni_<<$university[''enrolled_in'']>>_semester_<<j>>':
  452. '<<$class_list_name[k]>>: <<$class[''<<$class_list_institution[k]>>_<<$class_list_name[k]>>_grade'']>>'
  453. end
  454. k += 1
  455. if ARRSIZE('class_list_institution') >= k: jump 'class_loop'
  456. killvar 'k'
  457. end
  458. j += 1
  459. if j < 8: jump 'semester_loop'
  460. killvar 'j'
  461. if university['semester_passed'] = university['enrolled_in_semester'] and university['diploma'] = 0:
  462. *nl
  463. 'You need to register for your next semester at the university administration'
  464. elseif university['semester_week'] <= 0 and university['exam_week'] = 0:
  465. *nl
  466. 'You currently have a break between semesters.'
  467. if university['semester_week'] = -1:
  468. 'The next semester will start next week'
  469. end
  470. '<center><h2>Class schedule for Next Semester</h2></center>'
  471. 'Monday: ' + func('uni_programs', 'uni_period_first', 'monday' ) + ' ' + func('uni_programs', 'uni_period_second', 'monday' ) + ' ' + func('uni_programs', 'uni_period_third', 'monday' )
  472. 'Tuesday: ' + func('uni_programs', 'uni_period_first', 'tuesday' ) + ' ' + func('uni_programs', 'uni_period_second', 'tuesday' ) + ' ' + func('uni_programs', 'uni_period_third', 'tuesday' )
  473. 'Wednesday: ' + func('uni_programs', 'uni_period_first', 'wednesday') + ' ' + func('uni_programs', 'uni_period_second', 'wednesday') + ' ' + func('uni_programs', 'uni_period_third', 'wednesday')
  474. 'Thursday: ' + func('uni_programs', 'uni_period_first', 'thursday' ) + ' ' + func('uni_programs', 'uni_period_second', 'thursday' ) + ' ' + func('uni_programs', 'uni_period_third', 'thursday' )
  475. elseif university['semester_week'] > 0:
  476. *nl
  477. if university['semester_week'] < 11:
  478. 'You are in the '+trim(MID(' first, second, third, fourth, fifth, sixth,seventh, eighth, ninth, tenth', university['semester_week']*8-7,7))+' week of the semester, which last 15 weeks.'
  479. else
  480. 'You are in the '+str(university['semester_week']) + 'th week of the semester which last 15 weeks.'
  481. end
  482. '<center><h2>Class schedule</h2></center>'
  483. 'Monday: ' + func('uni_programs', 'uni_period_first', 'monday' ) + ' ' + func('uni_programs', 'uni_period_second', 'monday' ) + ' ' + func('uni_programs', 'uni_period_third', 'monday' )
  484. 'Tuesday: ' + func('uni_programs', 'uni_period_first', 'tuesday' ) + ' ' + func('uni_programs', 'uni_period_second', 'tuesday' ) + ' ' + func('uni_programs', 'uni_period_third', 'tuesday' )
  485. 'Wednesday: ' + func('uni_programs', 'uni_period_first', 'wednesday') + ' ' + func('uni_programs', 'uni_period_second', 'wednesday') + ' ' + func('uni_programs', 'uni_period_third', 'wednesday')
  486. 'Thursday: ' + func('uni_programs', 'uni_period_first', 'thursday' ) + ' ' + func('uni_programs', 'uni_period_second', 'thursday' ) + ' ' + func('uni_programs', 'uni_period_third', 'thursday' )
  487. '<center><h2>Grades</h2></center>'
  488. gs 'grades', 'assing_grade_description', 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>'
  489. j = 0
  490. :grade_loop
  491. if $class_list_institution[j] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>':
  492. if dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= dyneval( 'RESULT = (4*<<university[''semester_week'']>> + 32)'):
  493. 'You think you are doing great in <<$class_list_name[j]>> and will probably pass with a top grade if you keep this up.'
  494. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') > dyneval( 'RESULT = (2*<<university[''semester_week'']>> + 32)'):
  495. 'You are following the <<$class_list_name[j]>> class well and will probably pass with a good grade if you keep this up, but to get the top mark you need to put in some more effort.'
  496. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= dyneval( 'RESULT = (1*<<university[''semester_week'']>> + 32)'):
  497. 'You have trouble following the <<$class_list_name[j]>> class, but will probably still pass. If you want a good grade, then you''ll really need to do something about it.'
  498. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') < 40:
  499. 'You will fail your <<$class_list_name[j]>> class unless you do something about it right now. It might even be too late to catch up.'
  500. else
  501. 'You are hopelessly behind in your <<$class_list_name[j]>> class, but can probably still pass. Any hope of getting a good grade will require that you start doing something about it right now.'
  502. end
  503. end
  504. j += 1
  505. if ARRSIZE('class_list_institution') >= j: jump 'grade_loop'
  506. killvar 'j'
  507. elseif university['exam_week'] > 0:
  508. *nl
  509. 'You are in the ' + iif(university['exam_week'] = 1, 'first', 'second') + ' of the two weeks of exams. ' + func('uni_programs', 'exam', 'schedule')
  510. *nl
  511. gs 'grades', 'assing_grade_description', 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>'
  512. j = 0
  513. :exam_loop
  514. if $class_list_institution[j] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>':
  515. if dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_exam_done'']') = 1:
  516. 'You did your <<$class_list_name[j]>> exam and think you will get an <<$class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']>>.'
  517. elseif func('uni_programs', 'exam', 'is_over', $class_list_name[j]) = 1:
  518. 'Your exam <<$class_list_name[j]>> is over and you did not go. This means you will fail the class and thefore also the semester.'
  519. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= 100:
  520. 'You think you are well prepared in your <<$class_list_name[j]>> exam and will probably pass with the highest mark possible.'
  521. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= 90:
  522. 'You think you are well prepared in your <<$class_list_name[j]>> exam and will probably pass with a 5, but a little more studying never hurts.'
  523. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= 70:
  524. 'You think that you are prepared pretty well for your <<$class_list_name[j]>> exam and will probably get a 4. With some more studying, you might get a 5.'
  525. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= 40:
  526. 'You think you are prepared enough to pass your <<$class_list_name[j]>> exam, but if you want a good grade, then you need to do some serious studying.'
  527. else
  528. 'If your <<$class_list_name[j]>> exam was today, then you would fail. Time to hit the books if you don''t want to fail the semester.'
  529. end
  530. end
  531. j += 1
  532. if ARRSIZE('class_list_institution') >= j: jump 'exam_loop'
  533. killvar 'j'
  534. end
  535. *nl
  536. !!Added a link to the various Character Journal entries for location: journal_uni.
  537. !!Should probably be put somewhere else. Blame Anjuna and Nutluck
  538. '<center><h2>Students and Teachers</h2></center>'
  539. '<br><center><a href="exec: gs ''journal_uni'', ''professors''">Professors</a></center>'
  540. '<br><center><a href="exec: gs ''journal_uni'', ''pavlovsk_university_students''">University Students from Pavlovsk</a></center>'
  541. '<br><center><a href="exec: gs ''journal_uni'', ''university_students''">Other University Students</a></center>'
  542. *nl
  543. '<br><center><a href="exec: gs ''journal_uni'', ''former_pavlovsk_students''">Former Pavlovsk Students</a></center>'
  544. act 'Go back': gt 'journal', 'generaltab'
  545. gs 'journal', 'leaveactions'
  546. end
  547. !! --- General Information -- Locations
  548. if $ARGS[0] = 'locations':
  549. $jumploc = 'generalsub'
  550. gs 'journal', 'journalmenu'
  551. '<center><h2>Pavlovsk</h2></center>'
  552. 'Pavlovsk is a small town. It is somewhat of a tourist trap thanks to the Catharina Palace and the former palace grounds, which have been converted into a large park centered around the train station. There is an open air market near the train station that is open year round where many bargains can be found. The cafe where your mother works can also be found near the train station. It caters to the visitors coming in by train. The downtown area contains businesses and some middle class housing, while the residential area is a mixture of houses and old Soviet era apartment blocks.'
  553. *nl
  554. 'The wealthier families live in large houses near the park on the outskirts of town, while the poorest homes are found near the old industrial area where several factories have long since been abandoned. The only factory still open is the G&M clothing factory, which also has a local store front and a tailor that can adjust your clothing. The industrial area is now mostly home to prostitutes and drug dealers and is not considered a safe area to walk around at night. Despite being a tourist destination, the area is seen as fairly poor and without many jobs.'
  555. '<center><h2>Gadukino</h2></center>'
  556. 'You''ve spent several summers at your grandparents'' village. It''s a small village where everyone is very tightly knit together. You remember spending your days playing with the local children at the river or visiting the little shop that had everything a kid needed. When your great grandparents were younger, they used to take you out into the woods where you picked mushrooms and berries. Your great grandfather also showed you around the hunting grounds and told you all kind of stories about the hunters that visit the area.'
  557. '<center><h2>St. Petersburg</h2></center>'
  558. 'You''ve heard many rumors about the city from both family members and school friends. They all say it''s both a great and bad place. The few memories you have are connected to the big park that you and your family visited once, which had a large amusement park with lots of rides. You also know about the University because you''ve overheard Anya and your mother argue about it. Sometimes, your mother would drag you and Anya along to the city mall while she was visiting the beauty salon. You remember running through the stores asking your mother to buy you clothes.'
  559. act 'Go back': gt 'journal', 'generaltab'
  560. gs 'journal', 'leaveactions'
  561. end
  562. !! -- General Information -- Family
  563. if $ARGS[0] = 'family':
  564. $jumploc = 'generalsub'
  565. gs 'journal', 'journalmenu'
  566. '<center><h2>Family</h2></center>'
  567. !!Mother
  568. gs 'journal_NPC_information', 'A29'
  569. *nl
  570. !!Bio-father
  571. gs 'journal_NPC_information', 'A35'
  572. *nl
  573. !!Step-Father
  574. gs 'journal_NPC_information', 'A28'
  575. *nl
  576. !!Anya
  577. gs 'journal_NPC_information', 'A33'
  578. *nl
  579. !!Kolka
  580. gs 'journal_NPC_information', 'A34'
  581. *nl
  582. !!Aunt
  583. gs 'journal_NPC_information', 'A30'
  584. *nl
  585. !!Olu
  586. gs 'journal_NPC_information', 'A55'
  587. *nl
  588. !!Grandpa
  589. gs 'journal_NPC_information', 'A31'
  590. *nl
  591. !!Grandmum
  592. gs 'journal_NPC_information', 'A32'
  593. *nl
  594. !!Misha
  595. gs 'journal_NPC_information', 'A54'
  596. act 'Go back': gt 'journal', 'generaltab'
  597. gs 'journal', 'leaveactions'
  598. elseif $ARGS[0] = 'pav_res':
  599. $jumploc = 'generalsub'
  600. gs 'journal', 'journalmenu'
  601. '<center><h2>Pavlovsk Residents</h2></center>'
  602. !! Post Secondary school !!
  603. if yearstart > 1:
  604. !!Mefodiy
  605. gs 'journal_NPC_information', 'A148', 'uni'
  606. *nl
  607. !!Ivan
  608. gs 'journal_NPC_information', 'A3', 'uni'
  609. *nl
  610. !!Fedor
  611. gs 'journal_NPC_information', 'A5', 'uni'
  612. *nl
  613. !!Erast Vagin
  614. gs 'journal_NPC_information', 'A150', 'uni'
  615. *nl
  616. !!Veronika
  617. gs 'journal_NPC_information', 'A141', 'uni'
  618. *nl
  619. !!Evgany
  620. gs 'journal_NPC_information', 'A151', 'uni'
  621. *nl
  622. !!Natalia
  623. gs 'journal_NPC_information', 'A240', 'uni'
  624. *nl
  625. !!Vitek
  626. gs 'journal_NPC_information', 'A9', 'uni'
  627. *nl
  628. !!Dan
  629. gs 'journal_NPC_information', 'A10', 'uni'
  630. *nl
  631. !!Vasily
  632. gs 'journal_NPC_information', 'A11', 'uni'
  633. *nl
  634. !!Roman
  635. gs 'journal_NPC_information', 'A157', 'uni'
  636. *nl
  637. !!Kayuska Maksimov
  638. gs 'journal_NPC_information', 'A145', 'uni'
  639. *nl
  640. !!Pauline
  641. gs 'journal_NPC_information', 'A24', 'uni'
  642. *nl
  643. !!Kikolai
  644. gs 'journal_NPC_information', 'A189', 'uni'
  645. *nl
  646. !!Lena
  647. gs 'journal_NPC_information', 'A20', 'uni'
  648. *nl
  649. !!Lera
  650. gs 'journal_NPC_information', 'A21', 'uni'
  651. *nl
  652. !!Alyona
  653. gs 'journal_NPC_information', 'A143', 'uni'
  654. *nl
  655. end
  656. !!Sergey
  657. gs 'journal_NPC_information', 'A112'
  658. act 'Go back': gt 'journal', 'generaltab'
  659. gs 'journal', 'leaveactions'
  660. elseif $ARGS[0] = 'gad_res':
  661. $jumploc = 'generalsub'
  662. gs 'journal', 'journalmenu'
  663. '<center><h2>Gadukino Residents</h2></center>'
  664. !!Grandpa
  665. gs 'journal_NPC_information', 'A31'
  666. *nl
  667. !!Grandma
  668. gs 'journal_NPC_information', 'A32'
  669. *nl
  670. !!Mira
  671. if npc_known['A60'] = 1:
  672. gs 'journal_NPC_information', 'A60'
  673. *nl
  674. end
  675. !!Mitka
  676. gs 'journal_NPC_information', 'A63'
  677. *nl
  678. !!Kolyamba
  679. if mitka_first_drink > 1:
  680. gs 'journal_NPC_information', 'A61'
  681. *nl
  682. end
  683. !!Vasyan
  684. if mitka_first_drink > 1:
  685. gs 'journal_NPC_information', 'A62'
  686. *nl
  687. end
  688. !!Afanasiy (Mira''s father)
  689. if npc_known['A60'] = 1:
  690. gs 'journal_NPC_information', 'A64'
  691. *nl
  692. end
  693. !!Vtialiy (Mira''s brother)
  694. if npc_known['A60'] = 1:
  695. gs 'journal_NPC_information', 'A64'
  696. *nl
  697. end
  698. !!Grigory
  699. if npc_qw['A221'] > 0:
  700. gs 'journal_NPC_information', 'A221'
  701. *nl
  702. end
  703. !!Hunters
  704. if hunters_were_met > 0:
  705. gs 'journal_NPC_information', 'A172'
  706. *nl
  707. gs 'journal_NPC_information', 'A173'
  708. *nl
  709. gs 'journal_NPC_information', 'A174'
  710. *nl
  711. end
  712. act 'Go back': gt 'journal', 'generaltab'
  713. gs 'journal', 'leaveactions'
  714. elseif $ARGS[0] = 'city_res':
  715. $jumploc = 'generalsub'
  716. gs 'journal', 'journalmenu'
  717. '<center><h2>City Residents</h2></center>'
  718. !! Post Secondary school !!
  719. if yearstart > 1:
  720. !!Radomir
  721. gs 'journal_NPC_information', 'A154', 'uni'
  722. *nl
  723. !!Arkadi
  724. gs 'journal_NPC_information', 'A154', 'uni'
  725. *nl
  726. !!Valentin
  727. gs 'journal_NPC_information', 'A154', 'uni'
  728. end
  729. act 'Go back': gt 'journal', 'generaltab'
  730. gs 'journal', 'leaveactions'
  731. end
  732. !! Helper functions
  733. if $ARGS[0] = 'relindex':
  734. gs 'indik', '1', npc_rel['<<$ARGS[1]>>'], npc_rel['<<$ARGS[1]>>'], 100 & '<<$ind>>'
  735. *nl
  736. elseif $ARGS[0] = 'leaveactions':
  737. act 'Put your notebook down':
  738. killvar 'jumploc'
  739. jclose = 1
  740. gt $loc, $loc_arg
  741. end
  742. end
  743. --- journal ---------------------------------