journal.qsrc 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647
  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. if $start_type[1] ! 'nomagic':
  36. $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></tr>'
  37. else
  38. $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></tr>'
  39. ! menu
  40. end
  41. !display the table here.
  42. '<center><table width="90%" align="center" width="90%" cellspacing="0" cellpadding="0" valign="top"><tr><<$tablebody>></tr></table></center>'
  43. if $jumploc = '' or jclose = 1:
  44. if $start_type[1] ! 'nomagic':
  45. menutrack = 0
  46. jclose = 0
  47. gt 'journal', 'magictab'
  48. else
  49. menutrack = 1
  50. jclose = 0
  51. gt 'journal', 'housingtab'
  52. end
  53. end
  54. gs 'journal', 'leaveactions'
  55. ! Journal Menu
  56. end
  57. if $ARGS[0] = 'magictab':
  58. $jumploc = 'magictab'
  59. gs 'journal', 'journalmenu'
  60. '<center><h2>Spells</h2></center><br>'
  61. '<center><h2>Spells to Cast</h2></center><br>'
  62. func('spellBook','cast','$nonComSpells', 'gt ''journal'', ''magictab''', 'jclose = 1')
  63. !!''''
  64. '<br><center><h2>Spell Learning</h2></center><br>'
  65. '<br><center><h3>Combat</h3></center><br>'
  66. func('spellBook','learn','$combatSpells')
  67. '<br><center><h3>Non-Combat</h3></center><br>'
  68. func('spellBook','learn','$nonComSpells')
  69. delact 'Never mind'
  70. ! magic
  71. end
  72. if $ARGS[0] = 'housingtab':
  73. $jumploc = 'housingtab'
  74. gs 'journal', 'journalmenu'
  75. '<center><h2>Housing</h2></center>'
  76. *nl
  77. 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'
  78. 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'
  79. 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.'
  80. if accessible_property['city_apartment'] = 3:'You own a two room apartment in the city residential area. It''s currently occupied by your tenants.'
  81. if accessible_property['parents_home'] = 4:'You live with your parents and siblings in a two room apartment in Pavlovsk.'
  82. if accessible_property['village_cottage']= 2 :'You own a small holiday cottage with an adjacent allotment in the communal village.'
  83. 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'
  84. if accessible_property['matryona_mansion'] = 2 and constructionstatus = 0:'You own a vacant block in the city suburbs.'
  85. 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.', '')
  86. 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.', '')
  87. 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.'
  88. 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.'
  89. *nl
  90. if car > 0:
  91. '<center><h2>Car</h2></center>'
  92. *nl
  93. if cardrive = 1: 'Your car is parked in St. Petersburg''s residential area.'
  94. if cardrive = 2: 'Your car is parked in St. Petersburg''s city center.'
  95. if cardrive = 3: 'Your car is parked in St. Petersburg''s industrial region.'
  96. if cardrive = 4: 'Your car is parked at St. Petersburg''s Lake.'
  97. if cardrive = 5: 'Your car is parked at St. Petersburg''s Park.'
  98. if cardrive = 6: 'Your car is parked at the gas station in St. Petersburg''s industrial region.'
  99. if cardrive = 7: 'Your car is parked at the Car Repair Shop in St. Petersburg.'
  100. if cardrive = 8: 'Your car is parked at your house in St. Petersburg''s residential area.'
  101. if cardrive = 9: 'Your car is parked at the Car Dealership in St. Petersburg.'
  102. if cardrive = 10: 'Your car is parked at St. Petersburg''s Park.'
  103. if cardrive = 11: 'Your car is parked at St. Petersburg''s Sauna.'
  104. if cardrive = 12: 'Your car is parked at the construction site.'
  105. if cardrive = 13: 'Your car is parked in the Suburban Cooperative.'
  106. if cardrive = 14: 'Your car is parked in Old Town district of Pavlovsk.'
  107. if cardrive = 18: 'Your car is parked at Matryona Mansion.'
  108. if cardrive = 19: 'Your car is parked at St. Petersburg''s industrial train station.'
  109. if cardrive = 20: 'Your car is parked in Pavlovsk''s residential area.'
  110. if cardrive = 21: 'Your car is parked at the gas station near Pavlovsk.'
  111. if cardrive = 22: 'Your car is parked on the highway.'
  112. if cardrive = 23: 'Your car is parked in Gadukino.'
  113. if cardrive = 24: 'Your car is parked in Pavlovsk''s commercial region.'
  114. if cardrive = 25: 'Your car is parked in Vasilyevsky Island'
  115. if cardrive = 26: 'Your car is parked in Pavlovsk''s industrial region.'
  116. if cardrive = 27: 'Your car is parked in St. Petersburg''s red light district.'
  117. if cardrive = 28: 'Your car is parked in St. Petersburg''s suburbs.'
  118. end
  119. ! housing
  120. end
  121. if $ARGS[0] = 'relationstab':
  122. $jumploc = 'relationstab'
  123. gs 'journal', 'journalmenu'
  124. '<center><h2>Relationships</h2></center>'
  125. '<h2>Family</h2>'
  126. 'Mother:'
  127. gs 'journal', 'relindex', 'A29'
  128. 'Stepfather:'
  129. gs 'journal', 'relindex', 'A28'
  130. 'Sister:'
  131. gs 'journal', 'relindex', 'A33'
  132. 'Brother:'
  133. gs 'journal', 'relindex', 'A34'
  134. if mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and SchoolBlock = 0:
  135. '<center><h2>Standings by Social Group</h2></center>'
  136. if grupTipe < 5 and grupvalue[grupTipe] > 700:
  137. $journal_school_standing = ' You are well respected and liked within your clique.'
  138. elseif grupTipe < 5 and grupvalue[grupTipe] > 300:
  139. $journal_school_standing = ' You are in good standing with your clique.'
  140. elseif grupTipe < 5:
  141. $journal_school_standing = '<font color="red"> You have to work on your clique standing. You''re in danger of being cast out.</font>'
  142. end
  143. if grupTipe = 0:
  144. 'You are not a member of any particular school social group.'+$journal_school_standing
  145. elseif grupTipe = 1:
  146. 'Your school social group consists of the popular, cool and beautiful.'+$journal_school_standing
  147. elseif grupTipe = 2:
  148. 'Your school social group consists of jocks and natural athletes.'+$journal_school_standing
  149. elseif grupTipe = 3:
  150. 'Your school social group consists of nerds, geeks and good students.'+$journal_school_standing
  151. 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.'
  152. if nerd_game['game_day'] = daystart: 'You have been invited to a games night tonight at 20:00 in the community center library.'
  153. elseif grupTipe = 4:
  154. 'Your school social group consists of gopniks, rebels, punks or troublemakers.'+$journal_school_standing
  155. elseif grupTipe = 5:
  156. 'Your school social group consists of losers, teacher''s pets, sluts and the ugly.'
  157. end
  158. *nl
  159. 'Cool Kids'
  160. gs 'indik', '4', grupvalue[1]/10, grupvalue[1], 1 & '<<$ind>>'
  161. 'Jocks'
  162. gs 'indik', '4', grupvalue[2]/10, grupvalue[2], 2 & '<<$ind>>'
  163. 'Nerds'
  164. gs 'indik', '4', grupvalue[3]/10, grupvalue[3], 3 & '<<$ind>>'
  165. 'Gopnik'
  166. gs 'indik', '4', grupvalue[4]/10, grupvalue[4], 4 & '<<$ind>>'
  167. '<center><h2>Popular Kids Relations</h2></center>'
  168. if npc_rel['A1'] > 0: 'Friendship with Dimka:' & gs 'journal', 'relindex', 'A1'
  169. if npc_rel['A4'] > 0: 'Friendship with Igor:' & gs 'journal', 'relindex', 'A4'
  170. if npc_rel['A14'] > 0: 'Friendship with Katja:' & gs 'journal', 'relindex', 'A14'
  171. if npc_rel['A15'] > 0: 'Friendship with Vicky:' & gs 'journal', 'relindex', 'A15'
  172. if npc_rel['A17'] > 0: 'Friendship with Irina:' & gs 'journal', 'relindex', 'A17'
  173. if npc_rel['A22'] > 0: 'Friendship with Bella:' & gs 'journal', 'relindex', 'A22'
  174. if npc_rel['A146'] > 0: 'Friendship with Marcus:' & gs 'journal', 'relindex', 'A146'
  175. if npc_rel['A147'] > 0: 'Friendship with Andrey:' & gs 'journal', 'relindex', 'A147'
  176. if npc_rel['A148'] > 0: 'Friendship with Mefodiy:' & gs 'journal', 'relindex', 'A148'
  177. if soniaPS = 0 and npc_rel['A25'] > 0: 'Friendship with Sonia:' & gs 'journal', 'relindex', 'A25'
  178. if npc_rel['A139'] > 0: 'Friendship with Stasya:' & gs 'journal', 'relindex', 'A139'
  179. if npc_rel['A140'] > 0: 'Friendship with Lizaveta:' & gs 'journal', 'relindex', 'A140'
  180. '<center><h2>Jocks Relations</h2></center>'
  181. if npc_rel['A3'] > 0: 'Friendship with Ivan:' & gs 'journal', 'relindex', 'A3'
  182. if fedormasha = 0 and npc_rel['A5'] > 0: 'Friendship with Fedor:' & gs 'journal', 'relindex', 'A5'
  183. if npc_rel['A8'] > 0: 'Friendship with Svyatoslav:' & gs 'journal', 'relindex', 'A8'
  184. if npc_rel['A13'] > 0: 'Friendship with Lariska:' & gs 'journal', 'relindex', 'A13'
  185. if npc_rel['A18'] > 0: 'Friendship with Christina:' & gs 'journal', 'relindex', 'A18'
  186. if npc_rel['A19'] > 0: 'Friendship with Lina:' & gs 'journal', 'relindex', 'A19'
  187. if npc_rel['A23'] > 0: 'Friendship with Albina:' & gs 'journal', 'relindex', 'A23'
  188. if npc_rel['A149'] > 0: 'Friendship with Lazar:' & gs 'journal', 'relindex', 'A149'
  189. if npc_rel['A150'] > 0: 'Friendship with Erast:' & gs 'journal', 'relindex', 'A150'
  190. if npc_rel['A141'] > 0: 'Friendship with Veronika:' & gs 'journal', 'relindex', 'A141'
  191. if npc_rel['A165'] > 0: 'Friendship with Vanya:' & gs 'journal', 'relindex', 'A165'
  192. '<center><h2>Nerds Relations</h2></center>'
  193. if npc_rel['A2'] > 0: 'Friendship with Artem:' & gs 'journal', 'relindex', 'A2'
  194. if npc_rel['A6'] > 0: 'Friendship with Petka:' & gs 'journal', 'relindex', 'A6'
  195. if npc_rel['A12'] > 0: 'Friendship with Julia:' & gs 'journal', 'relindex', 'A12'
  196. if npc_rel['A16'] > 0: 'Friendship with Natasha:' & gs 'journal', 'relindex', 'A16'
  197. if npc_rel['A151'] > 0: 'Friendship with Evgeny:' & gs 'journal', 'relindex', 'A151'
  198. if npc_rel['A152'] > 0: 'Friendship with Feofan:' & gs 'journal', 'relindex', 'A152'
  199. if npc_rel['A153'] > 0: 'Friendship with Gerasim:' & gs 'journal', 'relindex', 'A153'
  200. if npc_rel['A142'] > 0: 'Friendship with Zinaida:' & gs 'journal', 'relindex', 'A142'
  201. if npc_rel['A240'] > 0: 'Friendship with Natalia:' & gs 'journal', 'relindex', 'A240'
  202. '<center><h2>Gopnik Relations</h2></center>'
  203. if npc_rel['A9'] > 0: 'Friendship with Vitek:' & gs 'journal', 'relindex', 'A9'
  204. if npc_rel['A10'] > 0: 'Friendship with Dan:' & gs 'journal', 'relindex', 'A10'
  205. if npc_rel['A11'] > 0: 'Friendship with Vasily:' & gs 'journal', 'relindex', 'A11'
  206. if npc_rel['A20'] > 0: 'Friendship with Lena:' & gs 'journal', 'relindex', 'A20'
  207. if npc_rel['A21'] > 0: 'Friendship with Lera:' & gs 'journal', 'relindex', 'A21'
  208. if npc_rel['A24'] > 0: 'Friendship with Pauline:' & gs 'journal', 'relindex', 'A24'
  209. if npc_rel['A154'] > 0: 'Friendship with Radomir:' & gs 'journal', 'relindex', 'A154'
  210. if npc_rel['A155'] > 0: 'Friendship with Lavrenti:' & gs 'journal', 'relindex', 'A155'
  211. if npc_rel['A156'] > 0: 'Friendship with Arkadi:' & gs 'journal', 'relindex', 'A156'
  212. if npc_rel['A157'] > 0: 'Friendship with Roman:' & gs 'journal', 'relindex', 'A157'
  213. if npc_rel['A158'] > 0: 'Friendship with Valentin:' & gs 'journal', 'relindex', 'A158'
  214. if npc_rel['A143'] > 0: 'Friendship with Alyona:' & gs 'journal', 'relindex', 'A143'
  215. if npc_rel['A144'] > 0: 'Friendship with Anushka:' & gs 'journal', 'relindex', 'A144'
  216. if npc_rel['A145'] > 0: 'Friendship with Ekaterina:' & gs 'journal', 'relindex', 'A145'
  217. if npc_rel['A189'] > 0: 'Friendship with Niko:' & gs 'journal', 'relindex', 'A189'
  218. '<center><h2>Outcast/Loner Relations</h2></center>'
  219. if npc_rel['A7'] > 0: 'Friendship with Lesco:' & gs 'journal', 'relindex', 'A7'
  220. if npc_rel['A159'] > 0: 'Friendship with Petia:' & gs 'journal', 'relindex', 'A159'
  221. if soniaPS > 0 and npc_rel['A25'] > 0: 'Friendship with Sonia:' & gs 'journal', 'relindex', 'A25'
  222. if fedormasha = 1 and npc_rel['A5'] > 0: 'Friendship with Fedor:' & gs 'journal', 'relindex', 'A5'
  223. '<center><h2>Teachers/Coaches/School Staff Relations</h2></center>'
  224. if npc_rel['A26'] > 0: 'Friendship with Anatoly Tsarev (Math Teacher):' & gs 'journal', 'relindex', 'A26'
  225. if npc_rel['A69'] > 0: 'Friendship with Mikhail Nikolaevich (Volleyball Coach):' & gs 'journal', 'relindex', 'A69'
  226. if npc_rel['A128'] > 0: 'Friendship with Makar Vasilyev (Art Teacher):' & gs 'journal', 'relindex', 'A128'
  227. if npc_rel['A129'] > 0: 'Friendship with Serafim Ivanov (Computer Science Teacher):' & gs 'journal', 'relindex', 'A129'
  228. if npc_rel['A130'] > 0: 'Friendship with Ilya Yenotin (Literature Teacher):' & gs 'journal', 'relindex', 'A130'
  229. if npc_rel['A131'] > 0: 'Friendship with Viktor Pavlovich (P.E. Teacher):' & gs 'journal', 'relindex', 'A131'
  230. if npc_rel['A132'] > 0: 'Friendship with Ruslan Kuznetsov (Shop Teacher):' & gs 'journal', 'relindex', 'A132'
  231. if npc_rel['A133'] > 0: 'Friendship with Rolan Metveev (Janitor):' & gs 'journal', 'relindex', 'A133'
  232. if npc_rel['A134'] > 0: 'Friendship with Aleksandrina Volkov (Headmistress):' & gs 'journal', 'relindex', 'A134'
  233. if npc_rel['A135'] > 0: 'Friendship with Yeva Sokoloff (Geography Teacher):' & gs 'journal', 'relindex', 'A135'
  234. if npc_rel['A136'] > 0: 'Friendship with Olga Aleksandrov (School Nurse):' & gs 'journal', 'relindex', 'A136'
  235. if npc_rel['A137'] > 0: 'Friendship with Raven Braakman (English Teacher):' & gs 'journal', 'relindex', 'A137'
  236. if npc_rel['A138'] > 0: 'Friendship with Arina Orlov (Biology Teacher):' & gs 'journal', 'relindex', 'A138'
  237. !!!WD: Formatting
  238. 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
  239. *nl
  240. end
  241. '<center><h2>Pavlovsk Relations</h2></center>'
  242. if npc_rel['A54'] > 0: 'Friendship with Uncle Misha:' & gs 'journal', 'relindex', 'A54'
  243. if npc_rel['A57'] > 0: 'Friendship with Rex:' & gs 'journal', 'relindex', 'A57'
  244. if npc_rel['A217'] > 0: 'Friendship with Pavlin:' & gs 'journal', 'relindex', 'A217'
  245. if npc_rel['A112'] > 0: 'Friendship with Sergey Shulgin:' & gs 'journal', 'relindex', 'A112'
  246. if npc_rel['A119'] > 0: 'Friendship with Borislav:' & gs 'journal', 'relindex', 'A119'
  247. '<center><h2>Gadukino Relations</h2></center>'
  248. if npc_rel['A31'] > 0: 'Friendship with Elena (your great-grandmother):' & gs 'journal', 'relindex', 'A31'
  249. if npc_rel['A32'] > 0: 'Friendship with Zlatek (your great-grandfather):' & gs 'journal', 'relindex', 'A32'
  250. if npc_rel['A60'] > 0: 'Friendship with Mira:' & gs 'journal', 'relindex', 'A60'
  251. if npc_rel['A61'] > 0: 'Friendship with Kolyamba:' & gs 'journal', 'relindex', 'A61'
  252. if npc_rel['A62'] > 0: 'Friendship with Vasyan:' & gs 'journal', 'relindex', 'A62'
  253. if npc_rel['A63'] > 0: 'Friendship with Mitka:' & gs 'journal', 'relindex', 'A63'
  254. if npc_rel['A64'] > 0: 'Friendship with Afanasiy:' & gs 'journal', 'relindex', 'A64'
  255. if npc_rel['A65'] > 0: 'Friendship with Vtialiy:' & gs 'journal', 'relindex', 'A65'
  256. if npc_rel['A221'] > 0: 'Friendship with Grigory:' & gs 'journal', 'relindex', 'A221'
  257. if npc_rel['A172'] > 0: 'Friendship with Andrei (hunter):' & gs 'journal', 'relindex', 'A172'
  258. if npc_rel['A173'] > 0: 'Friendship with Igor (hunter):' & gs 'journal', 'relindex', 'A173'
  259. if npc_rel['A174'] > 0: 'Friendship with Sergei (hunter):' & gs 'journal', 'relindex', 'A174'
  260. '<center><h2>Saint Petersburg Relations</h2></center>'
  261. if npc_QW['A192'] > 0: 'Friendship with Nastya:' & gs 'journal', 'relindex', 'A192'
  262. if npc_rel['A218'] > 0: 'Friendship with Tanya:' & gs 'journal', 'relindex', 'A218'
  263. if npc_rel['A219'] > 0: 'Friendship with Kat:' & gs 'journal', 'relindex', 'A219'
  264. if npc_rel['A220'] > 0: 'Friendship with Vika:' & gs 'journal', 'relindex', 'A220'
  265. if npc_rel['A93'] > 0: 'Friendship with Ira:' & gs 'journal', 'relindex', 'A93'
  266. if npc_rel['A43'] > 0: 'Friendship with Tamara:' & gs 'journal', 'relindex', 'A43'
  267. if npc_rel['A35'] > 0: 'Friendship with Mikhail Kuznetsov (your biological father):' & gs 'journal', 'relindex', 'A35'
  268. if npc_rel['A169']> 0: 'Friendship with Dima:' & gs 'journal', 'relindex', 'A169'
  269. if npc_rel['A89']> 0: 'Friendship with Eugene:' & gs 'journal', 'relindex', 'A89'
  270. if npc_rel['A216']> 0: 'Friendship with Martin:' & gs 'journal', 'relindex', 'A216'
  271. ! '<center><h2>Other Relations</h2></center>'
  272. ! Uncomment if re-introduced into the game ensure you use NPC ID to update them
  273. ! if alla > 0: 'Friendship with Alla <<alla>>'
  274. ! if masha > 0: 'Friendship with Masha <<masha>>'
  275. ! if npc_rel['A41'] > 0: 'Friendship with Givi K. <<npc_rel[''A41'']>>'
  276. ! if npc_rel['A42'] > 0: 'Friendship with Ashot <<npc_rel[''A42'']>>'
  277. if husband > 0:'You have been married for <<husbanday>> days. Your husband <<$husName>> <<$husBody>> <<$husFat>> <<$husHair>>. Member <<husDick>> Relationship <<husband>>.'
  278. if kid > 0:
  279. i = 0
  280. if kid = 1:
  281. 'You have a child, a <<$polreb[0]>> named <<$kidname[0]>>. Born <<daykid[0]>>-<<monthkid[0]>>-<<yearkid[0]>>. Aged <<kidage[0]>>.'
  282. else
  283. 'You have children:'
  284. :LoopKidCounter
  285. if i < kid:
  286. '<br> a <<$polreb[i]>> named <<$kidname[i]>>. Born <<daykid[i]>>-<<monthkid[i]>>-<<yearkid[i]>>. Aged <<kidage[i]>>.'
  287. i += 1
  288. jump 'LoopKidCounter'
  289. end
  290. end
  291. *nl
  292. end
  293. *nl
  294. !! 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
  295. !! if $bfsex > 0:'<<$bfsex>>'
  296. *nl
  297. if loverGender[0] = 0:
  298. $obj_loverintro = 'Your boyfriend'
  299. $obj_loverpron = 'He'
  300. else
  301. $obj_loverintro = 'Your girlfriend'
  302. $obj_loverpron = 'She'
  303. end
  304. 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.'
  305. if haraklover[0] = 0 and loverrelation[0] > 1:'<<$obj_loverpron>>''s timid and lacks confidence.'
  306. if haraklover[0] = 1 and loverrelation[0] > 1:'<<$obj_loverpron>> has a cheerful and sociable personality.'
  307. if haraklover[0] = 2 and loverrelation[0] > 1:'<<$obj_loverpron>>''s short-tempered and strict.'
  308. if loverGender[1] = 0:
  309. $obj_loverintro = 'Your boyfriend'
  310. $obj_loverpron = 'He'
  311. else
  312. $obj_loverintro = 'Your girlfriend'
  313. $obj_loverpron = 'She'
  314. end
  315. 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.'
  316. if haraklover[1] = 0 and loverrelation[1] > 1:'<<$obj_loverpron>>''s timid and lacks confidence.'
  317. if haraklover[1] = 1 and loverrelation[1] > 1:'<<$obj_loverpron>> has a cheerful and sociable personality.'
  318. if haraklover[1] = 2 and loverrelation[1] > 1:'<<$obj_loverpron>>''s short-tempered and strict.'
  319. if loverGender[2] = 0:
  320. $obj_loverintro = 'Your boyfriend'
  321. $obj_loverpron = 'He'
  322. else
  323. $obj_loverintro = 'Your girlfriend'
  324. $obj_loverpron = 'She'
  325. end
  326. 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.'
  327. if haraklover[2] = 0 and loverrelation[2] > 1:'<<$obj_loverpron>>''s timid and lacks confidence.'
  328. if haraklover[2] = 1 and loverrelation[2] > 1:'<<$obj_loverpron>> has a cheerful and sociable personality.'
  329. if haraklover[2] = 2 and loverrelation[2] > 1:'<<$obj_loverpron>>''s short-tempered and strict.'
  330. *nl
  331. ! relations
  332. end
  333. if $ARGS[0] = 'generaltab':
  334. $jumploc = 'generaltab'
  335. gs 'journal', 'journalmenu'
  336. ! generaltab
  337. '<center><h2>General Information</h2></center>'
  338. if ARRSIZE('$portfolio_locations') > 0 or ARRSIZE('$portfolio_people') > 0:
  339. act 'View your photography portfolio': gt 'journal_portfolio'
  340. end
  341. '<br><center><a href="exec: gs ''journal'', ''locations''">Locations</a></center>'
  342. '<br><center><a href="exec: gs ''journal'', ''friends_family''">Friends & Family</a></center>'
  343. if SchoolAtestat = 0 and mid($start_type,1,2) = 'sg' and SchoolBlock = 0: '<br><center><a href="exec: gs ''journal_school'', ''school''">School</a></center><br><center><a href="exec: gs ''journal_school'', ''coursesinfo''">School Courses and Grades</a></center>'
  344. if university['student'] = 1: '<br><center><a href="exec: gs ''journal'', ''uni''">University</a></center>'
  345. '<br><center><a href="exec: gs ''journal'', ''clothing''">Clothing information</a></center>'
  346. end
  347. if $ARGS[0] = 'notestab':
  348. $jumploc = 'notestab'
  349. gs 'journal', 'journalmenu'
  350. '<center><h2>Notes</h2></center>'
  351. 'Create notes to keep track of any information you need.'
  352. *nl
  353. '<a href="exec: $zapis[] = input(''What do you want to record?'') & gt ''journal'',''notestab'' ">Make a note</a>'
  354. jur_temp = 0
  355. :jur_loop
  356. if jur_temp < arrsize('$zapis'):
  357. '<<$zapis[jur_temp]>> <a href="exec: dynamic ''killvar''''$zapis'''',<<jur_temp>> & gt ''''journal'''', ''''notestab'''''' ">Delete</a>'
  358. jur_temp += 1
  359. jump 'jur_loop'
  360. end
  361. killvar 'jur_temp'
  362. ! notes
  363. end
  364. ! ---- Other Sections ----
  365. if $ARGS[0] = 'clothing':
  366. $jumploc = 'generalsub'
  367. gs 'journal', 'journalmenu'
  368. '<center>Clothing information</center>'
  369. *nl
  370. '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.'
  371. '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.'
  372. *nl
  373. 'Quality of clothing is ranked in this order:'
  374. ' Crappy quality outfit'
  375. ' Very low quality outfit'
  376. ' Low quality outfit'
  377. ' Average quality outfit'
  378. ' Reasonable quality outfit'
  379. ' Good quality outfit'
  380. ' Outstanding quality outfit'
  381. gs 'journal', 'leaveactions'
  382. end
  383. if $ARGS[0] = 'uni':
  384. $jumploc = 'generalsub'
  385. gs 'journal', 'journalmenu'
  386. '<center><h2>University</h2></center>'
  387. if university['diploma'] > 0:
  388. 'You have graduated from the University of St. Petersburg with a degree in '+func('uni_programs', 'program_name')+'.'
  389. else
  390. '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.'
  391. end
  392. if $university['elective1'] ! '' or $university['elective2'] ! '' or $university['elective3'] ! '':
  393. *nl
  394. 'This semester, you are taking the following elective classes: <<$university[''elective1'']>>, <<$university[''elective2'']>>, <<$university[''elective1'']>>.'
  395. end
  396. j = 1
  397. :semester_loop
  398. if university['semester_passed'] >= j:
  399. gs 'grades', 'assing_grade_description', 'uni_<<$university[''enrolled_in'']>>_semester_<<j>>'
  400. *nl
  401. 'You passed the'+trim(MID('first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth', j*8-7,7))+' semester with the following grades:'
  402. k = 0
  403. :class_loop
  404. if $class_list_institution[k] = 'uni_<<$university[''enrolled_in'']>>_semester_<<j>>':
  405. '<<$class_list_name[k]>>: <<$class[''<<$class_list_institution[k]>>_<<$class_list_name[k]>>_grade'']>>'
  406. end
  407. k += 1
  408. if ARRSIZE('class_list_institution') >= k: jump 'class_loop'
  409. killvar 'k'
  410. end
  411. j += 1
  412. if j < 8: jump 'semester_loop'
  413. killvar 'j'
  414. if university['semester_passed'] = university['enrolled_in_semester'] and university['diploma'] = 0:
  415. *nl
  416. 'You need to register for your next semester at the university administration'
  417. elseif university['semester_week'] <= 0 and university['exam_week'] = 0:
  418. *nl
  419. 'You currently have a break between semesters.'
  420. if university['semester_week'] = -1:
  421. 'The next semester will start next week'
  422. end
  423. '<center><h2>Class schedule for Next Semester</h2></center>'
  424. 'Monday: '+func('uni_programs', 'uni_period_first', 'monday')+' '+func('uni_programs', 'uni_period_second', 'monday')+' '+func('uni_programs', 'uni_period_third', 'monday')
  425. 'Tuesday: '+func('uni_programs', 'uni_period_first', 'tuesday')+' '+func('uni_programs', 'uni_period_second', 'tuesday')+' '+func('uni_programs', 'uni_period_third', 'tuesday')
  426. 'Wednesday: '+func('uni_programs', 'uni_period_first', 'wednesday')+' '+func('uni_programs', 'uni_period_second', 'wednesday')+' '+func('uni_programs', 'uni_period_third', 'wednesday')
  427. 'Thursday: '+func('uni_programs', 'uni_period_first', 'thursday')+' '+func('uni_programs', 'uni_period_second', 'thursday')+' '+func('uni_programs', 'uni_period_third', 'thursday')
  428. elseif university['semester_week'] > 0:
  429. if university['semester_week'] < 11:
  430. *nl
  431. '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.'
  432. else
  433. *nl
  434. 'You are in the '+str(university['semester_week'])+'th week of the semester which last 15 weeks.'
  435. end
  436. '<center><h2>Class schedule</h2></center>'
  437. 'Monday: '+func('uni_programs', 'uni_period_first', 'monday')+' '+func('uni_programs', 'uni_period_second', 'monday')+' '+func('uni_programs', 'uni_period_third', 'monday')
  438. 'Tuesday: '+func('uni_programs', 'uni_period_first', 'tuesday')+' '+func('uni_programs', 'uni_period_second', 'tuesday')+' '+func('uni_programs', 'uni_period_third', 'tuesday')
  439. 'Wednesday: '+func('uni_programs', 'uni_period_first', 'wednesday')+' '+func('uni_programs', 'uni_period_second', 'wednesday')+' '+func('uni_programs', 'uni_period_third', 'wednesday')
  440. 'Thursday: '+func('uni_programs', 'uni_period_first', 'thursday')+' '+func('uni_programs', 'uni_period_second', 'thursday')+' '+func('uni_programs', 'uni_period_third', 'thursday')
  441. '<center><h2>Grades</h2></center>'
  442. gs 'grades', 'assing_grade_description', 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>'
  443. j = 0
  444. :grade_loop
  445. if $class_list_institution[j] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>':
  446. If dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= dyneval( 'RESULT = (4*<<university[''semester_week'']>> + 32)'):
  447. 'You think you are doing great in <<$class_list_name[j]>> and will probably pass with a top grade if you keep this up.'
  448. elseIf dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') > dyneval( 'RESULT = (2*<<university[''semester_week'']>> + 32)'):
  449. '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.'
  450. elseIf dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= dyneval( 'RESULT = (1*<<university[''semester_week'']>> + 32)'):
  451. '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.'
  452. elseIf dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') < 40:
  453. '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.'
  454. else
  455. '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.'
  456. end
  457. end
  458. j += 1
  459. if ARRSIZE('class_list_institution') >= j: jump 'grade_loop'
  460. killvar 'j'
  461. elseif university['exam_week'] > 0:
  462. *nl
  463. 'You are in the '+iif(university['exam_week'] = 1,'first','second')+' of the two weeks of exams. '+func('uni_programs', 'exam', 'schedule')
  464. *nl
  465. gs 'grades', 'assing_grade_description', 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>'
  466. j = 0
  467. :exam_loop
  468. if $class_list_institution[j] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>':
  469. if dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_exam_done'']') = 1:
  470. 'You did your <<$class_list_name[j]>> exam and think you will get an <<$class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']>>.'
  471. elseif func('uni_programs', 'exam', 'is_over', $class_list_name[j]) = 1:
  472. '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.'
  473. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= 100:
  474. 'You think you are well prepared in your <<$class_list_name[j]>> exam and will probably pass with the highest mark possible.'
  475. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= 90:
  476. '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.'
  477. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= 70:
  478. '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.'
  479. elseif dyneval( 'RESULT = class[''<<$class_list_institution[j]>>_<<$class_list_name[j]>>_grade'']') >= 40:
  480. '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.'
  481. else
  482. '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.'
  483. end
  484. end
  485. j += 1
  486. if ARRSIZE('class_list_institution') >= j: jump 'exam_loop'
  487. killvar 'j'
  488. end
  489. act 'Go back': gt 'journal', 'generaltab'
  490. gs 'journal', 'leaveactions'
  491. end
  492. if $ARGS[0] = 'locations':
  493. $jumploc = 'generalsub'
  494. gs 'journal', 'journalmenu'
  495. '<center><h2>Pavlovsk</h2></center>'
  496. '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.'
  497. *nl
  498. '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.'
  499. '<center><h2>Gadukino</h2></center>'
  500. '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.'
  501. '<center><h2>St. Petersburg</h2></center>'
  502. '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.'
  503. act 'Go back': gt 'journal', 'generaltab'
  504. gs 'journal', 'leaveactions'
  505. end
  506. if $ARGS[0] = 'friends_family':
  507. $jumploc = 'generalsub'
  508. gs 'journal', 'journalmenu'
  509. '<center><img src="images/characters/shared/headshots_main/29.jpg"></center>'
  510. 'Natasha (Mother) - Your mother was born in Gadukino. She is still quite young and attractive, but you have done the math and know she had Anya when she was only sixteen years old. Your grandmother died in child birth with your mother and your grandfather was killed a few years later in the Afghanistan war. She works at the cafe near the train station.'
  511. *nl
  512. '<center><img src="images/characters/shared/headshots_main/35.jpg"></center>'
  513. 'Mikhail Kuznetsov (Father) - You''ve never seen your biological father since your parents divorced, so you have no real memory of him.'
  514. *nl
  515. '<center><img src="images/characters/shared/headshots_main/28.jpg"></center>'
  516. 'Vladimir (Stepfather) - Your stepfather is a greying, slightly flabby man who works as a truck driver. Your mother divorced your biological father and married Vladimir when you were less than a year old. One year after being married, your parents welcomed your little brother Kolka, Vladimir''s first born child. Kolka is his only child that you know of. When not working, your stepfather can often be found working on his cars in the garage. He gets some time alone to watch TV on Monday evenings.'
  517. *nl
  518. '<center><img src="images/characters/shared/headshots_main/33.jpg"></center>'
  519. 'Anya (Sister) - Anya is your older sister, two years your senior, but she still lives at home and shares a bedroom with you. She chose to work at the local supermarket instead of going to university like your mother wanted and spends most of her free time either partying, hanging out with her friends or with her boyfriend Roma.'
  520. *nl
  521. '<center><img src="images/characters/shared/headshots_main/34.jpg"></center>'
  522. 'Kolka (Brother) - Kolka is your younger brother, born about a year after you. While you share the same mother, Kolka''s father is your stepfather. He is a student at the same school as you and enjoys football. When he is not playing football or doing homework, he spends much of his free time hanging out with his friends.'
  523. *nl
  524. '<center><img src="images/characters/shared/headshots_main/30.jpg"></center>'
  525. 'Lyudmila Knavs (Aunt) - Your mother''s older sister, who works at the local pharmacy and has a live in boyfriend called Olu whom she met while traveling. He is an African man, which has caused more than a few rumors and sour looks at your aunt. Your aunt doesn''t seem to care though, and if anything, seems to enjoy flaunting her boyfriend in front of others.'
  526. *nl
  527. '<center><img src="images/characters/shared/headshots_main/55.jpg"></center>'
  528. 'Oluuosegun "Olu" Maina - You don''t know much about your aunt''s live-in boyfriend, only that he is from Africa and doesn''t speak Russian very well. He''s a very large and muscular man and you know many people in the area that find it disgraceful that your aunt lives with him.'
  529. *nl
  530. '<center><img src="images/characters/shared/headshots_main/31.jpg"></center>'
  531. 'Zlatek Knavs (Great Grandfather) - Your great grandfather is a grumpy old man who is always complaining about the village elders and how they have neglected the village to the point where it is now barely fit to live in. He can walk, but requires a cane, so doesn''t leave the house unless he has to. Your mother and aunt were raised by your great grandparents.'
  532. *nl
  533. '<center><img src="images/characters/shared/headshots_main/32.jpg"></center>'
  534. 'Elena Knavs (Great Grandmother) - Your great grandma is extremely old and almost never leaves the house. Most of the time, she just sits on her bed watching TV or slowly cleans the house. Having raised your mother and aunt Luda, she is like a grandmother to you and a mother to your mother. She has raised two generations of children and is now content with the peace and quiet of the village.'
  535. *nl
  536. '<center><img src="images/characters/shared/headshots_main/54.jpg"></center>'
  537. 'Mikhail "Misha" - Your neighbor''s name is Mikhail, but everyone calls him "Uncle Misha". He lives in the apartment across the hall from you, but your mother always forbade you from talking to him by warning you that he used to be a local crime lord and that you shouldn''t get involved with him. However, he has always been polite and nice to you. He is close friends with your stepfather, but both have been evasive about how they met and became friends.'
  538. *nl
  539. '<center><img src="images/characters/shared/headshots_main/112.jpg"></center>'
  540. 'Sergey Shulgin - Sergey lives in the same building as you with his son, your childhood friend Vasily. He has gray hair and a small beer belly, but is still hearty looking. His wife, Vasily''s mother, left when Vasily was young. He has been close friends with your stepfather and mother for as long as you can remember. Oddly enough, he never re-married after being abandoned by his ex-wife.'
  541. act 'Go back': gt 'journal', 'generaltab'
  542. gs 'journal', 'leaveactions'
  543. end
  544. ! Helper functions
  545. if $ARGS[0] = 'relindex':
  546. gs 'indik', '1', npc_rel['<<$ARGS[1]>>'], npc_rel['<<$ARGS[1]>>'], 100 & '<<$ind>>'
  547. *nl
  548. end
  549. if $ARGS[0] = 'leaveactions':
  550. act 'Put your notebook down':
  551. killvar 'jumploc'
  552. jclose = 1
  553. gt $loc, $loc_arg
  554. end
  555. end
  556. --- journal ---------------------------------