1
0

preSYS2.qsrc 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  1. # preSYS2
  2. if $ARGS[0] = 'start':
  3. if genbsize = '': genbsize = 22
  4. if $soc_grup = '':gs 'preSYS2', 'none'
  5. act 'Pick a social group': gt 'preSYS2','modgrup'
  6. act 'Set attributes': gt 'preSYS2','modatt'
  7. act 'Set skills': gt 'preSYS2','modskl'
  8. act 'Set appearance':gt 'preSYS2','modapp'
  9. act 'Set relationships': gt 'preSYS2','modrel'
  10. act 'Set purse': gt 'preSYS2','modpur'
  11. act 'Set items': gt 'preSYS2','modite'
  12. act 'Set money (<<money>>₽)': money = input 'Set Cash Amount' & gt'preSYS2','start'
  13. if custom_csb ! 1: act 'Return to preset character menu': gt 'preSYS', 'charselect'
  14. act 'Confirm these options':
  15. if $soc_grup = 'nerd':
  16. traits['nerd_points'] = 60
  17. traits['nerd_status'] = 2
  18. traits['nerd_lernHome'] = 5
  19. elseif $soc_grup = 'gopnik':
  20. traits['nerd_points'] = -20
  21. end
  22. if pcs_inhib < 10: pcs_inhib = 10
  23. !!This line should get sveta to wear school uniform because she has no other clothing with > 50
  24. if pcs_inhib > 50: gs 'clothing', 'wear', 'school', 6
  25. if bag = 1:
  26. !!using current combination should prevent having more than 1 bag at the start of game.
  27. dynamic $currentpursetype + '_purses[<<currentpursenumber>>] = 1'
  28. gs 'obj_din', 'old'
  29. end
  30. if custom_csb = 1:
  31. killvar 'custom_csb'
  32. gt 'preCSB', 'intro_7'
  33. else
  34. gt 'preCUST', 'SGStart'
  35. end
  36. end
  37. end
  38. if $ARGS[0] = 'modapp':
  39. cla & *clr
  40. if genbsize = 0:genbsize = 12
  41. 'Choose base genetic breast size:'
  42. nl
  43. if genbsize = 2:
  44. 'Very small - Currently set'
  45. else
  46. '<a href="exec:genbsize = 2 & gt ''preSYS2'',''modapp''">Very small</a>'
  47. end
  48. if genbsize = 7:
  49. 'Below average - Currently set'
  50. else
  51. '<a href="exec:genbsize = 7 & gt ''preSYS2'',''modapp''">Below average</a>'
  52. end
  53. if genbsize = 12:
  54. 'Average - Currently set'
  55. else
  56. '<a href="exec:genbsize = 12 & gt ''preSYS2'',''modapp''">Average</a>'
  57. end
  58. if genbsize = 17:
  59. 'Above average - Currently set'
  60. else
  61. '<a href="exec:genbsize = 17 & gt ''preSYS2'',''modapp''">Above average</a>'
  62. end
  63. if genbsize = 22:
  64. 'Large - Currently set'
  65. else
  66. '<a href="exec:genbsize = 22 & gt ''preSYS2'',''modapp''">Large</a>'
  67. end
  68. if genbsize = 27:
  69. 'Extra large - Currently set'
  70. else
  71. '<a href="exec:genbsize = 27 & gt ''preSYS2'',''modapp''">Extra large</a>'
  72. end
  73. if genbsize = 32:
  74. 'Really big - Currently set'
  75. else
  76. '<a href="exec:genbsize = 32 & gt ''preSYS2'',''modapp''">Really big</a>'
  77. end
  78. if genbsize = 37:
  79. 'Massive - Currently set'
  80. else
  81. '<a href="exec:genbsize = 37 & gt ''preSYS2'',''modapp''">Massive</a>'
  82. end
  83. if genbsize = 42:
  84. 'Getting silly - Currently set'
  85. else
  86. '<a href="exec:genbsize = 42 & gt ''preSYS2'',''modapp''">Getting silly</a>'
  87. end
  88. if genbsize = 47:
  89. 'Crazy big - Currently set'
  90. else
  91. '<a href="exec:genbsize = 47 & gt ''preSYS2'',''modapp''">Crazy big</a>'
  92. end
  93. if genbsize = 57:
  94. 'Freakishly big - Currently set'
  95. else
  96. '<a href="exec:genbsize = 57 & gt ''preSYS2'',''modapp''">Freakishly big</a>'
  97. end
  98. if genbsize = 67:
  99. 'Will struggle to open doors or see the ground big - Currently set'
  100. else
  101. '<a href="exec:genbsize = 67 & gt ''preSYS2'',''modapp''">Will struggle to open doors or see the ground big</a>'
  102. end
  103. if genbsize = 87:
  104. 'You''ve been eclipsed by 2 small moons - Currently set'
  105. else
  106. '<a href="exec:genbsize = 87 & gt ''preSYS2'',''modapp''">You''ve been eclipsed by 2 small moons</a>'
  107. end
  108. act 'Body fat (<<salo>>/200)': gs 'preSYS2','setsalo' & salo = nstat & gt 'preSYS2','modapp'
  109. act 'Return': gt'preSYS2','start'
  110. end
  111. if $ARGS[0] = 'setgenbsize':
  112. nstat = genbsize
  113. nstat = input 'Enter value that ends in a 2 or a 7. For example, 2, 7, 12 etc.'
  114. if nstat > 97:
  115. msg 'Please enter a value less than or equal to 97'
  116. gs 'preSYS2', 'setval2'
  117. elseif nstat < 2:
  118. msg 'Please enter a value greater than or equal to 2'
  119. gs 'preSYS2', 'setval2'
  120. elseif nstat mod 5 ! 2:
  121. msg 'Please enter a value that ends in 2, or a 7'
  122. gs 'preSYS2', 'setval2'
  123. else
  124. exit
  125. end
  126. end
  127. if $ARGS[0] = 'modite':
  128. act 'Fake passport (<<fakepassport>>/1)':
  129. if fakepassport = 0:
  130. fakepassport = 1
  131. else
  132. fakepassport = 0
  133. end
  134. gt 'preSYS2','modite'
  135. end
  136. act 'Laptop (<<komp>>/1)':
  137. if komp = 0:
  138. komp = 1
  139. else
  140. komp = 0
  141. end
  142. gt 'preSYS2','modite'
  143. end
  144. act 'Cosmetic items':gt 'preSYS2','modite_cos'
  145. act 'Pharmacy items':gt 'preSYS2','modite_pha'
  146. act 'Miscellaneous items':gt 'preSYS2','modite_mis'
  147. act 'Return': gt 'preSYS2','start'
  148. end
  149. if $ARGS[0] = 'modrel_setup2':
  150. dynamic 'if <<$ARGS[1]>> < 0: <<$ARGS[1]>> = 0'
  151. dynamic 'if <<$ARGS[1]>> > 100: <<$ARGS[1]>> = 100'
  152. dynamic 'x = <<$ARGS[1]>>'
  153. '<TR bgcolor=#ffffff><TD><<$ARGS[2]>> (<<x>>/100)</TD><TD><a href="exec:<<$ARGS[1]>> = 0 & gt ''preSYS2'', $metka">zero</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>> -= 10 & gt ''preSYS2'', $metka">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>> -= 5 & gt ''preSYS2'', $metka">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>> += 5 & gt ''preSYS2'', $metka">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>> += 10 & gt ''preSYS2'', $metka">plus 10</a></TD><TD><a href="exec:<<$ARGS[1]>> = 100 & gt ''preSYS2'', $metka">100</a></TD>'
  154. end
  155. if $ARGS[0] = 'modrel_setup3':
  156. dynamic 'if <<$ARGS[1]>> < 50: <<$ARGS[1]>> = 50'
  157. dynamic 'if <<$ARGS[1]>> > 200: <<$ARGS[1]>> = 200'
  158. dynamic 'x = <<$ARGS[1]>>'
  159. '<TR bgcolor=#ffffff><TD><<$ARGS[2]>> (<<x>>/200)</TD><TD><a href="exec:<<$ARGS[1]>> = 0 & gt ''preSYS2'', $metka">zero</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>> -= 10 & gt ''preSYS2'', $metka">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>> -= 5 & gt ''preSYS2'', $metka">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>> += 5 & gt ''preSYS2'', $metka">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>> += 10 & gt ''preSYS2'', $metka">plus 10</a></TD><TD><a href="exec:<<$ARGS[1]>> = 200 & gt ''preSYS2'', $metka">200</a></TD>'
  160. end
  161. !!Values reversed just for inhib use
  162. if $ARGS[0] = 'modrel_setup4':
  163. dynamic 'if <<$ARGS[1]>> < 0: <<$ARGS[1]>> = 0'
  164. dynamic 'if <<$ARGS[1]>> > 100: <<$ARGS[1]>> = 100'
  165. dynamic 'x = 100-<<$ARGS[1]>>'
  166. '<TR bgcolor=#ffffff><TD><<$ARGS[2]>> (<<x>>/100)</TD><TD><a href="exec:<<$ARGS[1]>> = 100 & gt ''preSYS2'', $metka">zero</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>> += 10 & gt ''preSYS2'', $metka">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>> += 5 & gt ''preSYS2'', $metka">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>> -= 5 & gt ''preSYS2'', $metka">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>> -= 10 & gt ''preSYS2'', $metka">plus 10</a></TD><TD><a href="exec:<<$ARGS[1]>> = 0 & gt ''preSYS2'', $metka">100</a></TD>'
  167. end
  168. if $ARGS[0] = 'modite_cos':
  169. $metka = 'modite_cos'
  170. '<center><b>Cosmetic items</b></center>'
  171. *nl
  172. *nl
  173. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  174. gs 'preSYS2', 'modrel_setup2', 'kosmetica', 'Cosmetics'
  175. gs 'preSYS2', 'modrel_setup2', 'stanok', 'Razors (number of shaves)'
  176. gs 'preSYS2', 'modrel_setup2', 'krem', 'Sunblock'
  177. gs 'preSYS2', 'modrel_setup2', 'hscrunch', 'Hair scrunchies'
  178. gs 'preSYS2', 'modrel_setup2', 'hpingrip', 'Hair pins'
  179. '</table></center>'
  180. !act 'Shampoo (<<shampoo>>/100)': gs 'preSYS2','setval3' & shampoo = nstat & gt 'preSYS2','modite_cos'
  181. act 'Return': gt'preSYS2','modite'
  182. end
  183. if $ARGS[0] = 'modite_pha':
  184. $metka = 'modite_pha'
  185. '<center><b>Pharmaceutical items</b></center>'
  186. *nl
  187. *nl
  188. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  189. gs 'preSYS2', 'modrel_setup2', 'prezik', 'Condoms'
  190. gs 'preSYS2', 'modrel_setup2', 'pregtest', 'Pregnancy tests'
  191. gs 'preSYS2', 'modrel_setup2', 'tabletki', 'Birth control pills'
  192. gs 'preSYS2', 'modrel_setup2', 'lekarstvo', 'Antibiotics'
  193. gs 'preSYS2', 'modrel_setup2', 'vitamin', 'Vitamins'
  194. gs 'preSYS2', 'modrel_setup2', 'painkiller', 'Painkillers'
  195. gs 'preSYS2', 'modrel_setup2', 'mosolmaz', 'Ointment for chafing'
  196. gs 'preSYS2', 'modrel_setup2', 'lubri', 'Lubricants'
  197. gs 'preSYS2', 'modrel_setup2', 'lipbalm', 'Lip balms'
  198. gs 'preSYS2', 'modrel_setup2', 'fatdel', 'Weight loss pills'
  199. gs 'preSYS2', 'modrel_setup2', 'tampon', 'Tampons'
  200. gs 'preSYS2', 'modrel_setup2', 'sanpad', 'Sanitary napkins'
  201. '</table></center>'
  202. act 'Return': gt'preSYS2','modite'
  203. end
  204. if $ARGS[0] = 'modite_mis':
  205. $metka = 'modite_mis'
  206. '<center><b>Misc items</b></center>'
  207. *nl
  208. *nl
  209. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  210. gs 'preSYS2', 'modrel_setup2', 'siga', 'Cigarettes'
  211. gs 'preSYS2', 'modrel_setup2', 'dur', 'Cocaine'
  212. gs 'preSYS2', 'modrel_setup2', 'pranik', 'Tea Biscuits'
  213. '</table></center>'
  214. act 'Return': gt 'preSYS2','modite'
  215. end
  216. if $ARGS[0] = 'modpur':
  217. *clr & cla
  218. if $ARGS[1] ! '':
  219. $currentpursetype = $ARGS[1]
  220. currentpursenumber = ARGS[2]
  221. end
  222. *clr & cla
  223. if $currentpursetype = '':
  224. 'You do not own a purse.'
  225. else
  226. if $currentpursetype ! 'boutique':
  227. '<center><img <<$set_imgh>> src="images/pc/purses/<<$currentpursetype>>/<<currentpursenumber>>.jpg"></center>'
  228. else
  229. '<center><img <<$set_imgh>> src="images/pc/purses/moncheri/<<currentpursenumber>>.jpg"></center>'
  230. end
  231. 'Your current purse is <<$currentpursetype>>_<<currentpursenumber>>.'
  232. end
  233. act 'Return': gt'preSYS2','start'
  234. act 'Get cheap':
  235. *clr & cla
  236. '<center><img src="images/locations/city/citycenter/mall/gm.png"></center>'
  237. i = 1
  238. :loopcheappurses
  239. *p '<a href="exec:gt ''preSYS2'', ''modpur'', ''cheap'', <<i>>"><img src="images/pc/purses/cheap/<<i>>.jpg" height="300" /></a>'
  240. i += 1
  241. if i <= 14:jump 'loopcheappurses'
  242. end
  243. act 'Get dolls':
  244. *clr & cla
  245. '<center><img src="images/locations/city/island/dolls.png"></center>'
  246. i = 1
  247. :loopdollspurses
  248. *p '<a href="exec:gt ''preSYS2'', ''modpur'', ''dolls'', <<i>>"><img src="images/pc/purses/cheap/<<i>>.jpg" height="300" /></a>'
  249. i += 1
  250. if i <= 22:jump 'loopdollspurses'
  251. end
  252. act 'Get fashionista':
  253. *clr & cla
  254. '<center><img src="images/locations/city/citycenter/mall/fashionistat.png"></center>'
  255. i = 1
  256. :loopfashionistapurses
  257. *p '<a href="exec:gt ''preSYS2'', ''modpur'', ''fashionista'', <<i>>"><img src="images/pc/purses/fashionista/<<i>>.jpg" height="300" /></a>'
  258. i += 1
  259. if i <= 15:jump 'loopfashionistapurses'
  260. end
  261. act 'Get kats':
  262. *clr & cla
  263. '<center><img src="images/locations/city/citycenter/mall/pussycat.png"></center>'
  264. i = 1
  265. :loopkatspurses
  266. *p '<a href="exec:gt ''preSYS2'', ''modpur'', ''kats'', <<i>>"><img src="images/pc/purses/kats/<<i>>.jpg" height="300" /></a>'
  267. i += 1
  268. if i <= 14:jump 'loopkatspurses'
  269. end
  270. act 'Get moncheri':
  271. *clr & cla
  272. '<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
  273. i = 1
  274. :loopboutiquepurses
  275. *p '<a href="exec:gt ''preSYS2'', ''modpur'', ''boutique'', <<i>>"><img src="images/pc/purses/moncheri/<<i>>.jpg" height="300" /></a>'
  276. i += 1
  277. if i <= 17:jump 'loopboutiquepurses'
  278. end
  279. act 'I do not want a purse':
  280. bag = 0
  281. $currentpursetype = ''
  282. currentpursenumber = ''
  283. gt 'preSYS2','modpur'
  284. end
  285. end
  286. !!This is used to set value, is used to avoid any values that go below 5.
  287. if $ARGS[0] = 'setval':
  288. nstat = 0
  289. nstat = input 'Enter value in multiples of 5. For example, 5, 10, 15 etc.'
  290. if nstat > 100:
  291. msg 'Please enter a value less than or equal to 100'
  292. gs 'preSYS2', 'setval'
  293. elseif nstat < 5:
  294. msg 'Please enter a value greater than or equal to 5'
  295. gs 'preSYS2', 'setval'
  296. elseif nstat mod 5 ! 0:
  297. msg 'Please enter a value in multiples of 5'
  298. gs 'preSYS2', 'setval'
  299. else
  300. gs 'stat'
  301. exit
  302. end
  303. end
  304. !!This is used to set values, that can go below 5 and ranges from 100 to -100.
  305. if $ARGS[0] = 'setval2':
  306. nstat = 0
  307. nstat = input 'Enter value in multiples of 5. For example, 5, 0, -5 etc.'
  308. if nstat > 100:
  309. msg 'Please enter a value less than or equal to 100'
  310. gs 'preSYS2', 'setval2'
  311. elseif nstat < -100:
  312. msg 'Please enter a value greater than or equal to -100'
  313. gs 'preSYS2', 'setval2'
  314. elseif nstat mod 5 ! 0:
  315. msg 'Please enter a value in multiples of 5'
  316. gs 'preSYS2', 'setval2'
  317. else
  318. exit
  319. end
  320. end
  321. !!This is used to set values, that can go to 0 and ranges from 0 to 100.
  322. if $ARGS[0] = 'setval3':
  323. nstat = 0
  324. nstat = input 'Enter value in multiples of 5. For example, 0, 5, 10 etc.'
  325. if nstat > 100:
  326. msg 'Please enter a value less than or equal to 100'
  327. gs 'preSYS2', 'setval3'
  328. elseif nstat < 0:
  329. msg 'Please enter a value greater than or equal to 0'
  330. gs 'preSYS2', 'setval3'
  331. elseif nstat mod 5 ! 0:
  332. msg 'Please enter a value in multiples of 5'
  333. gs 'preSYS2', 'setval3'
  334. else
  335. exit
  336. end
  337. end
  338. if $ARGS[0] = 'setsalo':
  339. *clr & cla
  340. '20 = underweight, slight, wiry'
  341. '40 = slender, skinny, lean'
  342. '60 = healthy, toned, ripped'
  343. '80 = cute, muscular'
  344. '100 = chubby, curvy, herculean'
  345. '120 = overweight, stocky'
  346. '140 = fat, heavy set'
  347. nstat = salo
  348. nstat = input 'Enter value in multiples of 20. For example, 20, 40, 60 etc.'
  349. if nstat > 200:
  350. msg 'Please enter a value less than 200'
  351. gs 'preSYS2', 'setval'
  352. elseif nstat < 20:
  353. msg 'Please enter a value greater than 20'
  354. gs 'preSYS2', 'setval'
  355. elseif nstat mod 20 ! 0:
  356. msg 'Please enter a value in multiples of 20'
  357. gs 'preSYS2', 'setval'
  358. else
  359. exit
  360. end
  361. end
  362. if $ARGS[0] = 'modgrup':
  363. *clr & cla
  364. 'Your current social group is <<$soc_grup>>.'
  365. act 'Nerd, Geek, Student': $soc_grup = 'nerd'& gt 'preSYS2','modgrup'
  366. act 'Athlete, Jock':$soc_grup = 'jock'& gt 'preSYS2','modgrup'
  367. act 'Popular, Cool, Beautiful':$soc_grup = 'cool'& gt 'preSYS2','modgrup'
  368. act 'Gopnik, Rebel, Punk, Troublemaker':$soc_grup = 'gopnik'& gt 'preSYS2','modgrup'
  369. act 'Outcast, Loser, Goth, Ugly':$soc_grup = 'outcast'& gt 'preSYS2','modgrup'
  370. act 'Return':
  371. gs 'preSYS', $soc_grup
  372. gt 'preSYS2','start'
  373. end
  374. end
  375. if $ARGS[0] = 'modatt':
  376. *clr & cla
  377. $metka = 'modatt'
  378. '<center><b>Attributes</b></center>'
  379. *nl
  380. *nl
  381. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  382. gs 'preSYS2', 'modrel_setup3', 'willpowermax', 'Willpower'
  383. gs 'preSYS2', 'modrel_setup2', 'pcs_stren', 'Strength'
  384. gs 'preSYS2', 'modrel_setup2', 'pcs_agil', 'Agility'
  385. gs 'preSYS2', 'modrel_setup2', 'pcs_vital', 'Endurance'
  386. gs 'preSYS2', 'modrel_setup2', 'pcs_intel', 'Intelligence'
  387. gs 'preSYS2', 'modrel_setup2', 'pcs_sprt', 'Spirit'
  388. gs 'preSYS2', 'modrel_setup2', 'pcs_react', 'Reaction'
  389. gs 'preSYS2', 'modrel_setup2', 'pcs_chrsm', 'Charisma'
  390. gs 'preSYS2', 'modrel_setup2', 'pcs_prcptn', 'Perception'
  391. if MagikDostup = 0: gs 'preSYS2', 'modrel_setup2', 'pcs_magik', 'Magic'
  392. gs 'preSYS2', 'modrel_setup2', 'pcs_grades', 'Grades'
  393. gs 'preSYS2', 'modrel_setup4', 'pcs_inhib', 'Inhibition'
  394. gs 'preSYS2', 'modrel_setup2', 'pcs_heels', 'Heels'
  395. '</table></center>'
  396. nl
  397. act 'Return': gt'preSYS2','start'
  398. end
  399. if $ARGS[0] = 'modskl':
  400. *clr & cla
  401. act 'Mental skills':gt 'preSYS2','modskl_men'
  402. act 'Sport skills':gt 'preSYS2','modskl_spo'
  403. act 'Beauty skills':gt 'preSYS2','modskl_bea'
  404. act 'Artistic skills':gt 'preSYS2','modskl_art'
  405. act 'Job skills':gt 'preSYS2','modskl_job'
  406. act 'Return': gt 'preSYS2','start'
  407. end
  408. if $ARGS[0] = 'modskl_men':
  409. *clr & cla
  410. $metka = 'modskl_men'
  411. '<center><b>Mental Skills</b></center>'
  412. *nl
  413. *nl
  414. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  415. if MagikDostup = 0: gs 'preSYS2', 'modrel_setup2', 'pcs_splcstng', 'Spell Casting'
  416. gs 'preSYS2', 'modrel_setup2', 'pcs_humint', 'People skills'
  417. gs 'preSYS2', 'modrel_setup2', 'pcs_persuas', 'Persuasion'
  418. gs 'preSYS2', 'modrel_setup2', 'pcs_observ', 'Observation'
  419. '</table></center>'
  420. nl
  421. act 'Return': gt 'preSYS2','modskl'
  422. end
  423. if $ARGS[0] = 'modskl_spo':
  424. *clr & cla
  425. $metka = 'modskl_spo'
  426. '<center><b>Sport Skills</b></center>'
  427. *nl
  428. *nl
  429. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  430. gs 'preSYS2', 'modrel_setup2', 'pcs_jab', 'Jabs'
  431. gs 'preSYS2', 'modrel_setup2', 'pcs_punch', 'Power Strikes'
  432. gs 'preSYS2', 'modrel_setup2', 'pcs_kick', 'Kicks'
  433. gs 'preSYS2', 'modrel_setup2', 'pcs_def', 'Defence'
  434. gs 'preSYS2', 'modrel_setup2', 'pcs_run', 'Running'
  435. gs 'preSYS2', 'modrel_setup2', 'pcs_vball', 'Volleyball'
  436. gs 'preSYS2', 'modrel_setup2', 'pcs_ftbll', 'Football'
  437. gs 'preSYS2', 'modrel_setup2', 'pcs_wrstlng', 'Wrestling'
  438. gs 'preSYS2', 'modrel_setup2', 'pcs_shoot', 'Marskmanship'
  439. gs 'preSYS2', 'modrel_setup2', 'pcs_bushcraft', 'Bushcraft'
  440. gs 'preSYS2', 'modrel_setup2', 'pcs_chess', 'Chess'
  441. gs 'preSYS2', 'modrel_setup2', 'pcs_icesktng', 'Ice Skating'
  442. gs 'preSYS2', 'modrel_setup2', 'pcs_gaming', 'Gaming'
  443. '</table></center>'
  444. nl
  445. act 'Return': gt 'preSYS2','modskl'
  446. end
  447. if $ARGS[0] = 'modskl_bea':
  448. *clr & cla
  449. $metka = 'modskl_bea'
  450. '<center><b>Beauty skills</b></center>'
  451. *nl
  452. *nl
  453. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  454. gs 'preSYS2', 'modrel_setup2', 'pcs_makupskl', 'Makeup Skills'
  455. gs 'preSYS2', 'modrel_setup2', 'pcs_danc', 'Modern Dancing'
  456. gs 'preSYS2', 'modrel_setup2', 'pcs_dancero', 'Erotic Dancing'
  457. gs 'preSYS2', 'modrel_setup2', 'pcs_dancpol', 'Pole Dancing'
  458. gs 'preSYS2', 'modrel_setup2', 'pcs_cheer', 'Cheerleading'
  459. gs 'preSYS2', 'modrel_setup2', 'pcs_mdlng', 'Modelling'
  460. '</table></center>'
  461. nl
  462. act 'Return': gt 'preSYS2','modskl'
  463. end
  464. if $ARGS[0] = 'modskl_art':
  465. *clr & cla
  466. $metka = 'modskl_art'
  467. '<center><b>Artistic Skills</b></center>'
  468. *nl
  469. *nl
  470. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  471. gs 'preSYS2', 'modrel_setup2', 'pcs_vokal', 'Singing'
  472. gs 'preSYS2', 'modrel_setup2', 'pcs_instrmusic', 'Instrumental Music'
  473. gs 'preSYS2', 'modrel_setup2', 'pcs_photoskl', 'Photography'
  474. gs 'preSYS2', 'modrel_setup2', 'pcs_artskls', 'Artistic Skills'
  475. gs 'preSYS2', 'modrel_setup2', 'pcs_perform', 'Performance'
  476. '</table></center>'
  477. nl
  478. act 'Return': gt 'preSYS2','modskl'
  479. end
  480. if $ARGS[0] = 'modskl_job':
  481. *clr & cla
  482. $metka = 'modskl_job'
  483. '<center><b>Job Skills</b></center>'
  484. *nl
  485. *nl
  486. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  487. gs 'preSYS2', 'modrel_setup2', 'pcs_compskl', 'Computer Skills'
  488. gs 'preSYS2', 'modrel_setup2', 'pcs_comphckng', 'Hacking'
  489. gs 'preSYS2', 'modrel_setup2', 'pcs_hndiwrk', 'Handy-work'
  490. gs 'preSYS2', 'modrel_setup2', 'pcs_sewng', 'Tailoring'
  491. gs 'preSYS2', 'modrel_setup2', 'pcs_servng', 'Serving'
  492. gs 'preSYS2', 'modrel_setup2', 'pcs_medcn', 'Medicine'
  493. '</table></center>'
  494. nl
  495. act 'Return': gt 'preSYS2','modskl'
  496. end
  497. if $ARGS[0] = 'none':
  498. !!Attributes Reset - I know most of these att&skl are not in need of reset, but I dont know how to use loops and I wanted this to clear all changes made by choosing social group and/or player choices.
  499. pcs_stren = 30
  500. pcs_agil = 30
  501. pcs_vital = 30
  502. pcs_intel = 30
  503. pcs_react = 30
  504. pcs_sprt = 30
  505. pcs_chrsm = 30
  506. pcs_prcptn = 30
  507. pcs_grade = 75
  508. pcs_inhib = 10
  509. pcs_heel = 5
  510. !!Mental Skills Reset
  511. pcs_humint = 0
  512. pcs_persuas = 0
  513. pcs_observ = 0
  514. !!Sport Skills Reset
  515. pcs_jab = 0
  516. pcs_punch = 0
  517. pcs_kick = 0
  518. pcs_def = 0
  519. pcs_run = 0
  520. pcs_vball = 0
  521. pcs_ftbll = 0
  522. pcs_wrstlng = 0
  523. pcs_shoot = 0
  524. pcs_bushcraft = 0
  525. pcs_chess = 0
  526. pcs_icesktng = 0
  527. pcs_gaming = 0
  528. !!Beauty Skills Reset
  529. pcs_makupskl = 20
  530. pcs_danc = 0
  531. pcs_dancero = 0
  532. pcs_dancpol = 0
  533. pcs_cheer = 0
  534. pcs_mdlng = 0
  535. !!Artistic Skills Reset
  536. pcs_vokal = 0
  537. pcs_instrmusic = 0
  538. pcs_photoskl = 0
  539. pcs_artskls = 0
  540. !!Job Skills Reset
  541. pcs_compskl = 0
  542. pcs_comphckng = 0
  543. pcs_hndiwrk = 0
  544. pcs_sewng = 0
  545. pcs_servng = 0
  546. pcs_medcn = 0
  547. !!social group Reset
  548. grupTipe = 0
  549. grupvalue[1] = 0
  550. grupvalue[2] = 0
  551. grupvalue[3] = 0
  552. grupvalue[4] = 0
  553. grupvalue[6] = 0
  554. gs 'npc_relationship', 'socialgroup_setting', 0, 0, 0, 0, 0, 0
  555. !!npc relationship Reset
  556. npc_rel['A11'] = 60
  557. npc_rel['A129'] = 30
  558. npc_rel['A133'] = 30
  559. npc_rel['A28'] = 50
  560. npc_rel['A29'] = 50
  561. npc_rel['A33'] = 70
  562. npc_rel['A34'] = 50
  563. !!items Reset
  564. money = 2000
  565. fakepassport = 0
  566. fantasybook = 0
  567. glass = 0
  568. hscrunch = 0
  569. kosmetica = 0
  570. pirsC = 0
  571. PirsC1_owned = 0
  572. shampoo = 0
  573. siga = 0
  574. stanok = 0
  575. swim_start = 0
  576. tampon = 0
  577. !!apprnc & sex stat reset
  578. genbsize = 22
  579. pcs_skin = 40
  580. salo = 80
  581. pcs_tan = 0
  582. pcs_throat = 0
  583. pcs_vag = 0
  584. stat['bj'] = 0
  585. stat['hj'] = 0
  586. stat['vaginal'] = 0
  587. $soc_grup = 'outcast'
  588. gs 'preSYS', $soc_grup
  589. end
  590. if $ARGS[0] = 'modrel':
  591. act 'Family':gt 'preSYS2','modrel_fam'
  592. act 'Popular Kids':gt 'preSYS2','modrel_pop'
  593. act 'Athletes':gt 'preSYS2','modrel_ath'
  594. act 'Nerds':gt 'preSYS2','modrel_ner'
  595. act 'Gopniks':gt 'preSYS2','modrel_gop'
  596. act 'Outcasts/Loners':gt'preSYS2','modrel_out'
  597. act 'Teachers/Coaches':gt'preSYS2','modrel_tea'
  598. act 'Others':gt'preSYS2','modrel_oth'
  599. act 'Return':gt 'preSYS2','start'
  600. end
  601. if $ARGS[0] = 'modrel_fam':
  602. if npc_rel['A28'] < 0: npc_rel['A28'] = 0
  603. if npc_rel['A29'] < 0: npc_rel['A29'] = 0
  604. if npc_rel['A33'] < 0: npc_rel['A33'] = 0
  605. if npc_rel['A34'] < 0: npc_rel['A34'] = 0
  606. if npc_rel['A28'] > 100: npc_rel['A28'] = 100
  607. if npc_rel['A29'] > 100: npc_rel['A29'] = 100
  608. if npc_rel['A33'] > 100: npc_rel['A33'] = 100
  609. if npc_rel['A34'] > 100: npc_rel['A34'] = 100
  610. '<center><b>Family relationship levels</b></center>'
  611. *nl
  612. *nl
  613. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  614. '<TR bgcolor=#ffffff><TD>Stepfather: <<npc_rel[''A28'']>></TD><TD><a href="exec:npc_rel[''A28''] = 0 & gt ''preSYS2'', ''modrel_fam''">zero</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''A28''] -= 10 & gt ''preSYS2'', ''modrel_fam''">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''A28''] -= 5 & gt ''preSYS2'', ''modrel_fam''">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''A28''] += 5 & gt ''preSYS2'', ''modrel_fam''">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''A28''] += 10 & gt ''preSYS2'', ''modrel_fam''">plus 10</a></TD><TD><a href="exec:npc_rel[''A28''] = 100 & gt ''preSYS2'', ''modrel_fam''">100</a></TD>'
  615. '<TR bgcolor=#ffffff><TD>Mother: <<npc_rel[''A29'']>></TD><TD><a href="exec:npc_rel[''A29''] = 0 & gt ''preSYS2'', ''modrel_fam''">zero</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''A29''] -= 10 & gt ''preSYS2'', ''modrel_fam''">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''A29''] -= 5 & gt ''preSYS2'', ''modrel_fam''">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''A29''] += 5 & gt ''preSYS2'', ''modrel_fam''">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''A29''] += 10 & gt ''preSYS2'', ''modrel_fam''">plus 10</a></TD><TD><a href="exec:npc_rel[''A29''] = 100 & gt ''preSYS2'', ''modrel_fam''">100</a></TD>'
  616. '<TR bgcolor=#ffffff><TD>Sister: <<npc_rel[''A33'']>></TD><TD><a href="exec:npc_rel[''A33''] = 0 & gt ''preSYS2'', ''modrel_fam''">zero</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''A33''] -= 10 & gt ''preSYS2'', ''modrel_fam''">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''A33''] -= 5 & gt ''preSYS2'', ''modrel_fam''">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''A33''] += 5 & gt ''preSYS2'', ''modrel_fam''">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''A33''] += 10 & gt ''preSYS2'', ''modrel_fam''">plus 10</a></TD><TD><a href="exec:npc_rel[''A33''] = 100 & gt ''preSYS2'', ''modrel_fam''">100</a></TD>'
  617. '<TR bgcolor=#ffffff><TD>Brother: <<npc_rel[''A34'']>></TD><TD><a href="exec:npc_rel[''A34''] = 0 & gt ''preSYS2'', ''modrel_fam''">zero</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''A34''] -= 10 & gt ''preSYS2'', ''modrel_fam''">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''A34''] -= 5 & gt ''preSYS2'', ''modrel_fam''">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''A34''] += 5 & gt ''preSYS2'', ''modrel_fam''">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''A34''] += 10 & gt ''preSYS2'', ''modrel_fam''">plus 10</a></TD><TD><a href="exec:npc_rel[''A34''] = 100 & gt ''preSYS2'', ''modrel_fam''">100</a></TD>'
  618. '</table></center>'
  619. act 'Return': gt 'preSYS2','modrel'
  620. end
  621. if $ARGS[0] = 'modrel_setup':
  622. if npc_rel['<<$ARGS[1]>>'] < 0: npc_rel['<<$ARGS[1]>>'] = 0
  623. if npc_rel['<<$ARGS[1]>>'] > 100: npc_rel['<<$ARGS[1]>>'] = 100
  624. '<TR bgcolor=#ffffff><TD><<$npc_firstname[''<<$ARGS[1]>>'']>> <<$npc_lastname[''<<$ARGS[1]>>'']>>: <<npc_rel[''<<$ARGS[1]>>'']>></TD><TD><a href="exec:npc_rel[''<<$ARGS[1]>>''] = 0 & gt ''preSYS2'', $metka">zero</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''<<$ARGS[1]>>''] -= 10 & gt ''preSYS2'', $metka">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''<<$ARGS[1]>>''] -= 5 & gt ''preSYS2'', $metka">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''<<$ARGS[1]>>''] += 5 & gt ''preSYS2'', $metka">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''<<$ARGS[1]>>''] += 10 & gt ''preSYS2'', $metka">plus 10</a></TD><TD><a href="exec:npc_rel[''<<$ARGS[1]>>''] = 100 & gt ''preSYS2'', $metka">100</a></TD>'
  625. end
  626. if $ARGS[0] = 'modrel_pop':
  627. $metka = 'modrel_pop'
  628. '<center><b>Popular kids relationship levels</b></center>'
  629. *nl
  630. *nl
  631. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  632. gs 'preSYS2', 'modrel_setup', 'A1'
  633. gs 'preSYS2', 'modrel_setup', 'A4'
  634. gs 'preSYS2', 'modrel_setup', 'A14'
  635. gs 'preSYS2', 'modrel_setup', 'A15'
  636. gs 'preSYS2', 'modrel_setup', 'A17'
  637. gs 'preSYS2', 'modrel_setup', 'A23'
  638. gs 'preSYS2', 'modrel_setup', 'A146'
  639. gs 'preSYS2', 'modrel_setup', 'A147'
  640. gs 'preSYS2', 'modrel_setup', 'A148'
  641. gs 'preSYS2', 'modrel_setup', 'A25'
  642. gs 'preSYS2', 'modrel_setup', 'A139'
  643. gs 'preSYS2', 'modrel_setup', 'A140'
  644. '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 0, 1, nstat & gt ''preSYS2'',''modrel_pop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  645. '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 1, 1, nstat & gt ''preSYS2'',''modrel_pop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  646. '</table></center>'
  647. act 'Return': gt 'preSYS2','modrel'
  648. end
  649. if $ARGS[0] = 'modrel_ath':
  650. $metka = 'modrel_ath'
  651. '<center><b>Jocks relationship levels</b></center>'
  652. *nl
  653. *nl
  654. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  655. gs 'preSYS2', 'modrel_setup', 'A3'
  656. gs 'preSYS2', 'modrel_setup', 'A5'
  657. gs 'preSYS2', 'modrel_setup', 'A8'
  658. gs 'preSYS2', 'modrel_setup', 'A13'
  659. gs 'preSYS2', 'modrel_setup', 'A18'
  660. gs 'preSYS2', 'modrel_setup', 'A19'
  661. gs 'preSYS2', 'modrel_setup', 'A22'
  662. gs 'preSYS2', 'modrel_setup', 'A149'
  663. gs 'preSYS2', 'modrel_setup', 'A150'
  664. gs 'preSYS2', 'modrel_setup', 'A141'
  665. '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 0, 2, nstat & gt ''preSYS2'',''modrel_ath''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  666. '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 1, 2, nstat & gt ''preSYS2'',''modrel_ath''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  667. '</table></center>'
  668. act 'Return': gt 'preSYS2','modrel'
  669. end
  670. if $ARGS[0] = 'modrel_ner':
  671. $metka = 'modrel_ner'
  672. '<center><b>Nerds relationship levels</b></center>'
  673. *nl
  674. *nl
  675. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  676. gs 'preSYS2', 'modrel_setup', 'A2'
  677. gs 'preSYS2', 'modrel_setup', 'A6'
  678. gs 'preSYS2', 'modrel_setup', 'A12'
  679. gs 'preSYS2', 'modrel_setup', 'A16'
  680. gs 'preSYS2', 'modrel_setup', 'A151'
  681. gs 'preSYS2', 'modrel_setup', 'A152'
  682. gs 'preSYS2', 'modrel_setup', 'A153'
  683. gs 'preSYS2', 'modrel_setup', 'A142'
  684. '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 0, 3, nstat & gt ''preSYS2'',''modrel_ner''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  685. '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 1, 3, nstat & gt ''preSYS2'',''modrel_ner''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  686. '</table></center>'
  687. act 'Return': gt 'preSYS2','modrel'
  688. end
  689. if $ARGS[0] = 'modrel_gop':
  690. $metka = 'modrel_gop'
  691. '<center><b>Gopnik kids relationship levels</b></center>'
  692. *nl
  693. *nl
  694. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  695. gs 'preSYS2', 'modrel_setup', 'A9'
  696. gs 'preSYS2', 'modrel_setup', 'A10'
  697. gs 'preSYS2', 'modrel_setup', 'A11'
  698. gs 'preSYS2', 'modrel_setup', 'A20'
  699. gs 'preSYS2', 'modrel_setup', 'A21'
  700. gs 'preSYS2', 'modrel_setup', 'A24'
  701. gs 'preSYS2', 'modrel_setup', 'A154'
  702. gs 'preSYS2', 'modrel_setup', 'A155'
  703. gs 'preSYS2', 'modrel_setup', 'A156'
  704. gs 'preSYS2', 'modrel_setup', 'A157'
  705. gs 'preSYS2', 'modrel_setup', 'A158'
  706. gs 'preSYS2', 'modrel_setup', 'A143'
  707. gs 'preSYS2', 'modrel_setup', 'A144'
  708. gs 'preSYS2', 'modrel_setup', 'A145'
  709. '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 0, 4, nstat & gt ''preSYS2'',''modrel_gop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  710. '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 1, 4, nstat & gt ''preSYS2'',''modrel_gop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  711. '</table></center>'
  712. act 'Return': gt 'preSYS2','modrel'
  713. end
  714. if $ARGS[0] = 'modrel_out':
  715. $metka = 'modrel_out'
  716. '<center><b>Outcast kids relationship levels</b></center>'
  717. *nl
  718. *nl
  719. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  720. gs 'preSYS2', 'modrel_setup', 'A7'
  721. gs 'preSYS2', 'modrel_setup', 'A159'
  722. '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 0, 5, nstat & gt ''preSYS2'',''modrel_out''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  723. !! '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 1, 5, nstat & gt ''preSYS2'',''modrel_out''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  724. '</table></center>'
  725. act 'Return': gt 'preSYS2','modrel'
  726. end
  727. if $ARGS[0] = 'modrel_tea':
  728. $metka = 'modrel_tea'
  729. '<center><b>Teacher relationship levels</b></center>'
  730. *nl
  731. *nl
  732. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  733. gs 'preSYS2', 'modrel_setup', 'A26'
  734. gs 'preSYS2', 'modrel_setup', 'A128'
  735. gs 'preSYS2', 'modrel_setup', 'A129'
  736. gs 'preSYS2', 'modrel_setup', 'A130'
  737. gs 'preSYS2', 'modrel_setup', 'A131'
  738. gs 'preSYS2', 'modrel_setup', 'A132'
  739. gs 'preSYS2', 'modrel_setup', 'A133'
  740. gs 'preSYS2', 'modrel_setup', 'A134'
  741. gs 'preSYS2', 'modrel_setup', 'A135'
  742. gs 'preSYS2', 'modrel_setup', 'A136'
  743. gs 'preSYS2', 'modrel_setup', 'A137'
  744. gs 'preSYS2', 'modrel_setup', 'A138'
  745. '<TR bgcolor=#ffffff><TD>Set relationship level for all men in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 0, 6, nstat & gt ''preSYS2'',''modrel_tea''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  746. '<TR bgcolor=#ffffff><TD>Set relationship level for all women in this group</TD><TD><a href="exec: gs ''preSYS2'',''setval2'' & gs ''preSYS2'', ''pol_grup_set'', 1, 6, nstat & gt ''preSYS2'',''modrel_tea''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  747. '</table></center>'
  748. act 'Return': gt 'preSYS2','modrel'
  749. end
  750. if $ARGS[0] = 'modrel_oth':
  751. $metka = 'modrel_oth'
  752. '<center><b>Others relationship levels</b></center>'
  753. *nl
  754. *nl
  755. '<center><table border=0 cellspacing=0 cellpadding=25 bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
  756. gs 'preSYS2', 'modrel_setup', 'A69'
  757. gs 'preSYS2', 'modrel_setup', 'A112'
  758. '</table></center>'
  759. !!Volleyball Coach is here because it wasnt being controlled by grup6 the teachers/coaches.
  760. act 'Return': gt 'preSYS2','modrel'
  761. end
  762. if $ARGS[0] = 'pol_grup_set':
  763. !!ARGS[1] 0 is boys, 1 is girls. ARGS[2] 1nerd 2jock 3cool 4gopnik 5outcast 6teachers. ARGS[3] is changes to value
  764. r = 1
  765. :pol_grup_set_loop
  766. if npc_gender['A<<r>>'] = ARGS[1] and npc_grupTipe['A<<r>>'] = ARGS[2]:
  767. npc_rel['A<<r>>'] = ARGS[3]
  768. end
  769. r += 1
  770. if r <= aarraynumber :jump 'pol_grup_set_loop'
  771. end
  772. --- preSYS2 ---------------------------------