preSYS2.qsrc 33 KB

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