preSYS2.qsrc 33 KB

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