intro_sg_select_custom.tw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. :: intro_sg_select_custom
  2. <<set $here = 'intro_sg_select_custom'>>
  3. <<set $ARGS = $location_var[$here]>>
  4. <<if $location_var[$here][0] == 'start'>>
  5. <<actCLA 'Pick a social group'>>
  6. <<gt 'intro_sg_select_custom' 'modgrup'>>
  7. <</actCLA>>
  8. <<actCLA 'Set relationships'>>
  9. <<gt 'intro_sg_select_custom' 'modrel'>>
  10. <</actCLA>>
  11. <<actCLA 'Confirm these options'>>
  12. <<setinit $grupvalue['+grupTipe+'] = 600>>
  13. <<if $soc_grup == 'nerd'>>
  14. <<run $pc.traitSet('nerd_points',60)>>
  15. <<run $pc.traitSet('nerd_status',2)>>
  16. <<run $pc.traitSet('nerd_lernHome',5)>>
  17. <<elseif $soc_grup == 'gopnik'>>
  18. <<run $pc.traitSet('nerd_points',-20)>>
  19. <</if>>
  20. <<if $pc.pcs_inhib < 10>>
  21. <<set $pc.pcs_inhib = 10>>
  22. <</if>>
  23. <!-- !!This line should get sveta to wear school uniform because she has no other clothing with > 50-->
  24. <<if $pc.pcs_inhib > 50>>
  25. <<run $wardrobe.wear_clothes_legacy('clothes','gm_school',6)>>
  26. <</if>>
  27. <<if $wardrobe.purseEquipped == 1>>
  28. <!-- !!using current combination should prevent having more than 1 bag at the start of game.-->
  29. <<run State.setVar('$'+$currentpursetype + '_purses['+$currentpursenumber+']',1)>>
  30. <<gs 'obj_din' 'old'>>
  31. <</if>>
  32. <<set $class_list_institution to null>>
  33. <<set $class_list_name to null>>
  34. <!-- !!Setting the shcoll classes such that grades can be assigned-->
  35. <<run $q.school.func('createclass','math',3,2,'yes','yes',0,0)>>
  36. <<run $q.school.func('createclass','rus',3,2,'yes','yes',0,0)>>
  37. <<run $q.school.func('createclass','lit',2,2,'yes','yes',0,0)>>
  38. <<run $q.school.func('createclass','art',2,2,'yes','no',0,0)>>
  39. <<run $q.school.func('createclass','bio',2,2,'yes','yes',0,0)>>
  40. <<run $q.school.func('createclass','pe',3,1,'yes','no',0,0)>>
  41. <<run $q.school.func('createclass','eng',2,2,'yes','yes',0,0)>>
  42. <<run $q.school.func('createclass','geo',2,2,'yes','yes',0,0)>>
  43. <<run $q.school.func('createclass','sci',2,2,'yes','yes',0,0)>>
  44. <<run $q.school.func('createclass','shop',2,2,'yes','no',0,0)>>
  45. <<run $q.school.func('createclass','comp',3,2,'yes','yes',0,0)>>
  46. <<run $q.school.func('createclass','mus',2,2,'yes','no',0,0)>>
  47. <<run $q.school.func('createclass','his',2,2,'yes','yes',0,0)>>
  48. <!-- !!Set the greades to be average.-->
  49. <<run $q.school.func('grade_award','math',55)>>
  50. <<run $q.school.func('grade_award','rus',55)>>
  51. <<run $q.school.func('grade_award','lit',55)>>
  52. <<run $q.school.func('grade_award','art',55)>>
  53. <<run $q.school.func('grade_award','bio',55)>>
  54. <<run $q.school.func('grade_award','pe',55)>>
  55. <<run $q.school.func('grade_award','eng',55)>>
  56. <<run $q.school.func('grade_award','geo',55)>>
  57. <<run $q.school.func('grade_award','sci',55)>>
  58. <<run $q.school.func('grade_award','shop',55)>>
  59. <<run $q.school.func('grade_award','comp',55)>>
  60. <<run $q.school.func('grade_award','mus',55)>>
  61. <<run $q.school.func('grade_award','his',55)>>
  62. <<gt $location>>
  63. <</actCLA>>
  64. <</if>>
  65. <!-- !!This is used to set value, is used to avoid any values that go below 5.-->
  66. <<if $location_var[$here][0] == 'setval'>>
  67. <<set $nstat = 0>>
  68. <<set $nstat = input 'Enter value in multiples of 5. For example , 5 , 10 , 15 etc.'>>
  69. <<if getvar("$nstat") > 100>>
  70. <<msg 'Please enter a value less than or equal to 100'>>
  71. <<gs 'intro_sg_select_custom' 'setval'>>
  72. <<elseif getvar("$nstat") < 5>>
  73. <<msg 'Please enter a value greater than or equal to 5'>>
  74. <<gs 'intro_sg_select_custom' 'setval'>>
  75. <<elseif $nstat % 5 != 0>>
  76. <<msg 'Please enter a value in multiples of 5'>>
  77. <<gs 'intro_sg_select_custom' 'setval'>>
  78. <<else>>
  79. $exit
  80. <</if>>
  81. <</if>>
  82. <!-- !!This is used to set values, that can go below 5 and ranges from 100 to -100.-->
  83. <<if $location_var[$here][0] == 'setval2'>>
  84. <<set $nstat = 0>>
  85. <<set $nstat = input 'Enter value in multiples of 5. For example , 5 , 0 , - 5 etc.'>>
  86. <<if getvar("$nstat") > 100>>
  87. <<msg 'Please enter a value less than or equal to 100'>>
  88. <<gs 'intro_sg_select_custom' 'setval2'>>
  89. <<elseif getvar("$nstat") < -100>>
  90. <<msg 'Please enter a value greater than or equal to -100'>>
  91. <<gs 'intro_sg_select_custom' 'setval2'>>
  92. <<elseif $nstat % 5 != 0>>
  93. <<msg 'Please enter a value in multiples of 5'>>
  94. <<gs 'intro_sg_select_custom' 'setval2'>>
  95. <<else>>
  96. $exit
  97. <</if>>
  98. <</if>>
  99. <!-- !!This is used to set values, that can go to 0 and ranges from 0 to 100.-->
  100. <<if $location_var[$here][0] == 'setval3'>>
  101. <<set $nstat = 0>>
  102. <<set $nstat = input 'Enter value in multiples of 5. For example , 0 , 5 , 10 etc.'>>
  103. <<if getvar("$nstat") > 100>>
  104. <<msg 'Please enter a value less than or equal to 100'>>
  105. <<gs 'intro_sg_select_custom' 'setval3'>>
  106. <<elseif getvar("$nstat") < 0>>
  107. <<msg 'Please enter a value greater than or equal to 0'>>
  108. <<gs 'intro_sg_select_custom' 'setval3'>>
  109. <<elseif $nstat % 5 != 0>>
  110. <<msg 'Please enter a value in multiples of 5'>>
  111. <<gs 'intro_sg_select_custom' 'setval3'>>
  112. <<else>>
  113. $exit
  114. <</if>>
  115. <</if>>
  116. <<if $location_var[$here][0] == 'modgrup'>>
  117. <p>Your current social group is $soc_grup.</p>
  118. <<actCLA 'Nerd'>>
  119. <<set $grupvalue to null>>
  120. <<set $soc_grup = 'Nerd'>>
  121. <<run $q.school.func('groupRelSet','cool',200)>>
  122. <<run $q.school.func('groupRelSet','jocks',100)>>
  123. <<run $q.school.func('groupRelSet','nerds',800)>>
  124. <<run $q.school.func('groupRelSet','gopniks',100)>>
  125. <<run $q.school.func('groupRelSet','teachers',600)>>
  126. <<run $q.school.func('setGroupMembership','nerds')>>
  127. <<gt 'intro_sg_select_custom' 'modgrup'>>
  128. <</actCLA>>
  129. <<actCLA 'Jock'>>
  130. <<set $grupvalue to null>>
  131. <<set $soc_grup = 'Jock'>>
  132. <<run $q.school.func('groupRelSet','cool',400)>>
  133. <<run $q.school.func('groupRelSet','jocks',800)>>
  134. <<run $q.school.func('groupRelSet','nerds',100)>>
  135. <<run $q.school.func('groupRelSet','gopniks',200)>>
  136. <<run $q.school.func('groupRelSet','teachers',400)>>
  137. <<run $q.school.func('setGroupMembership','jocks')>>
  138. <<gt 'intro_sg_select_custom' 'modgrup'>>
  139. <</actCLA>>
  140. <<actCLA 'Popular'>>
  141. <<set $grupvalue to null>>
  142. <<set $soc_grup = 'Cool'>>
  143. <<run $q.school.func('groupRelSet','cool',800)>>
  144. <<run $q.school.func('groupRelSet','jocks',400)>>
  145. <<run $q.school.func('groupRelSet','nerds',200)>>
  146. <<run $q.school.func('groupRelSet','gopniks',100)>>
  147. <<run $q.school.func('groupRelSet','teachers',400)>>
  148. <<run $q.school.func('setGroupMembership','cool')>>
  149. <<gt 'intro_sg_select_custom' 'modgrup'>>
  150. <</actCLA>>
  151. <<actCLA 'Gopnik'>>
  152. <<set $grupvalue to null>>
  153. <<set $soc_grup = 'Gopnik'>>
  154. <<run $q.school.func('groupRelSet','cool',200)>>
  155. <<run $q.school.func('groupRelSet','jocks',300)>>
  156. <<run $q.school.func('groupRelSet','nerds',100)>>
  157. <<run $q.school.func('groupRelSet','gopniks',800)>>
  158. <<run $q.school.func('groupRelSet','teachers',100)>>
  159. <<run $q.school.func('setGroupMembership','gopniks')>>
  160. <<gt 'intro_sg_select_custom' 'modgrup'>>
  161. <</actCLA>>
  162. <<actCLA 'Outcast'>>
  163. <<set $grupvalue to null>>
  164. <<run $q.school.func('groupRelSet','cool',200)>>
  165. <<run $q.school.func('groupRelSet','jocks',200)>>
  166. <<run $q.school.func('groupRelSet','nerds',200)>>
  167. <<run $q.school.func('groupRelSet','gopniks',200)>>
  168. <<run $q.school.func('groupRelSet','teachers',200)>>
  169. <<set $soc_grup = 'Outcast'>>
  170. <<run $q.school.func('setGroupMembership','outcasts')>>
  171. <<gt 'intro_sg_select_custom' 'modgrup'>>
  172. <</actCLA>>
  173. <<actCLA 'Return'>>
  174. <<gt 'intro_customization' 'start'>>
  175. <</actCLA>>
  176. <</if>>
  177. <<if $location_var[$here][0] == 'none'>>
  178. <!-- !!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.-->
  179. <<run $pc.skillSetLevel('strength',30)>>
  180. <<run $pc.skillSetLevel('agility',30)>>
  181. <<set $pc.vitality = 30>>
  182. <<run $pc.skillSetLevel('intelligence',30)>>
  183. <<run $pc.skillSetLevel('reaction',30)>>
  184. <<run $pc.skillSetLevel('spirit',30)>>
  185. <<run $pc.skillSetLevel('charisma',30)>>
  186. <<run $pc.skillSetLevel('perception',30)>>
  187. <<set $pcs_grades = 75>>
  188. <<set $pc.pcs_inhib = 10>>
  189. <<run $pc.skillSetLevel('highHeels',5)>>
  190. <!-- !!Mental Skills Reset-->
  191. <<run $pc.skillSetLevel('people',0)>>
  192. <<run $pc.skillSetLevel('persuasion',0)>>
  193. <<run $pc.skillSetLevel('observation',0)>>
  194. <!-- !!Sport Skills Reset-->
  195. <<run $pc.skillSetLevel('jabs',0)>>
  196. <<run $pc.skillSetLevel('punch',0)>>
  197. <<run $pc.skillSetLevel('kick',0)>>
  198. <<run $pc.skillSetLevel('defense',0)>>
  199. <<run $pc.skillSetLevel('run',0)>>
  200. <<run $pc.skillSetLevel('volleyball',0)>>
  201. <<run $pc.skillSetLevel('football',0)>>
  202. <<run $pc.skillSetLevel('wrestling',0)>>
  203. <<run $pc.skillSetLevel('shoot',0)>>
  204. <<run $pc.skillSetLevel('bushcraft',0)>>
  205. <<run $pc.skillSetLevel('chess',0)>>
  206. <<run $pc.skillSetLevel('iceskating',0)>>
  207. <<run $pc.skillSetLevel('gaming',0)>>
  208. <!-- !!Beauty Skills Reset-->
  209. <<run $pc.skillSetLevel('makeup',20)>>
  210. <<run $pc.skillSetLevel('dance',0)>>
  211. <<set $pc.skillLevel("dance")ero = 0>>
  212. <<set $pc.skillLevel("dance")pol = 0>>
  213. <<run $pc.skillSetLevel('cheerleading',0)>>
  214. <<run $pc.skillSetLevel('modelling',0)>>
  215. <!-- !!Artistic Skills Reset-->
  216. <<run $pc.skillSetLevel('singing',0)>>
  217. <<run $pc.skillSetLevel('playInstrument',0)>>
  218. <<run $pc.skillSetLevel('photo',0)>>
  219. <<run $pc.skillSetLevel('art',0)>>
  220. <!-- !!Job Skills Reset-->
  221. <<run $pc.skillSetLevel('computer',0)>>
  222. <<run $pc.skillSetLevel('hacking',0)>>
  223. <<run $pc.skillSetLevel('handyWork',0)>>
  224. <<run $pc.skillSetLevel('sewing',0)>>
  225. <<run $pc.skillSetLevel('serving',0)>>
  226. <<run $pc.skillSetLevel('medicine',0)>>
  227. <!-- !!social group Reset-->
  228. <<set $grupTipe = 0>>
  229. <<run $q.school.func('groupRelSet','cool',0)>>
  230. <<run $q.school.func('groupRelSet','jocks',0)>>
  231. <<run $q.school.func('groupRelSet','nerds',0)>>
  232. <<run $q.school.func('groupRelSet','gopniks',0)>>
  233. <<run $q.school.func('groupRelSet','teachers',0)>>
  234. <<gs 'npc_relationship' 'socialgroup_setting' 0 0 0 0 0 0>>
  235. <!-- !!npc relationship Reset-->
  236. <<run $npcs.set('A11','rel',60)>>
  237. <<run $npcs.set('A129','rel',30)>>
  238. <<run $npcs.set('A133','rel',30)>>
  239. <<run $npcs.set('A28','rel',50)>>
  240. <<run $npcs.set('A29','rel',50)>>
  241. <<run $npcs.set('A33','rel',70)>>
  242. <<run $npcs.set('A34','rel',50)>>
  243. <!-- !!items Reset-->
  244. <<set $finances.cash = 2000>>
  245. <<set $fakepassport = 0>>
  246. <<set $fantasybook = 0>>
  247. <<set $pc.glass = 0>>
  248. <<run $inventory.set('hairScrunchie',0)>>
  249. <<run $inventory.set('cosmetics',0)>>
  250. <<run $pc.decoWear('piercing','ears',0)>>
  251. <<set $PirsC1_owned = 0>>
  252. <<run $inventory.set('shampoo',0)>>
  253. <<set $siga = 0>>
  254. <<run $inventory.set('razor',0)>>
  255. <<set $swim_start = 0>>
  256. <<run $inventory.set('tampon',0)>>
  257. <!-- !!apprnc & sex stat reset-->
  258. <<set $pc.genbsize = 22>>
  259. <<set $pc.pcs_skin = 40>>
  260. <<set $pc.salo = 80>>
  261. <<set $pc.tan = 0>>
  262. <<set $pc.pcs_throat = 0>>
  263. <<set $pc.pcs_vag = 0>>
  264. <<run $pc.sexStatSet('bj','aware',0)>>
  265. <<run $pc.sexStatSet('hj','aware',0)>>
  266. <<run $pc.sexStatSet('vaginal','aware',0)>>
  267. <<set $soc_grup = 'outcast'>>
  268. <<run $q.school.func('setGroupMembership','outcasts')>>
  269. <</if>>
  270. <<if $location_var[$here][0] == 'modrel'>>
  271. <<actCLA 'Family'>>
  272. <<gt 'intro_sg_select_custom' 'modrel_fam'>>
  273. <</actCLA>>
  274. <<actCLA 'Popular Kids'>>
  275. <<gt 'intro_sg_select_custom' 'modrel_pop'>>
  276. <</actCLA>>
  277. <<actCLA 'Athletes'>>
  278. <<gt 'intro_sg_select_custom' 'modrel_ath'>>
  279. <</actCLA>>
  280. <<actCLA 'Nerds'>>
  281. <<gt 'intro_sg_select_custom' 'modrel_ner'>>
  282. <</actCLA>>
  283. <<actCLA 'Gopniks'>>
  284. <<gt 'intro_sg_select_custom' 'modrel_gop'>>
  285. <</actCLA>>
  286. <<actCLA 'Outcasts/Loners'>>
  287. <<gt 'intro_sg_select_custom' 'modrel_out'>>
  288. <</actCLA>>
  289. <<actCLA 'Teachers/Coaches'>>
  290. <<gt 'intro_sg_select_custom' 'modrel_tea'>>
  291. <</actCLA>>
  292. <<actCLA 'Others'>>
  293. <<gt 'intro_sg_select_custom' 'modrel_oth'>>
  294. <</actCLA>>
  295. <<actCLA 'Return'>>
  296. <<gt 'intro_customization' 'start'>>
  297. <</actCLA>>
  298. <</if>>
  299. <<if $location_var[$here][0] == 'modrel_fam'>>
  300. <<if $npcs.get('A28','rel') < 0>>
  301. <<run $npcs.set('A28','rel',0)>>
  302. <</if>>
  303. <<if $npcs.get('A29','rel') < 0>>
  304. <<run $npcs.set('A29','rel',0)>>
  305. <</if>>
  306. <<if $npcs.get('A33','rel') < 0>>
  307. <<run $npcs.set('A33','rel',0)>>
  308. <</if>>
  309. <<if $npcs.get('A34','rel') < 0>>
  310. <<run $npcs.set('A34','rel',0)>>
  311. <</if>>
  312. <<if $npcs.get('A28','rel') > 100>>
  313. <<run $npcs.set('A28','rel',100)>>
  314. <</if>>
  315. <<if $npcs.get('A29','rel') > 100>>
  316. <<run $npcs.set('A29','rel',100)>>
  317. <</if>>
  318. <<if $npcs.get('A33','rel') > 100>>
  319. <<run $npcs.set('A33','rel',100)>>
  320. <</if>>
  321. <<if $npcs.get('A34','rel') > 100>>
  322. <<run $npcs.set('A34','rel',100)>>
  323. <</if>>
  324. <center><b>Family relationship levels</b></center>
  325. <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>
  326. <!--<TR bgcolor=#ffffff><TD>Stepfather: <<npc_rel[''A28'']>></TD><TD><<link "zero">><<run $npcs.set('A28','rel',0)>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#ff9999><<link "minus 10">><<run $npcs.set('A28','rel') - = 10>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#ff9999><<link "minus 5">><<set <<=$npcs.get('A28','rel')>> - = 5>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#99ff99><<link "plus 5">><<set <<=$npcs.get('A28','rel')>> + = 5>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#99ff99><<link "plus 10">><<set <<=$npcs.get('A28','rel')>> + = 10>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD><<link "100">><<set <<=$npcs.get('A28','rel',100)>>>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD>
  327. <TR bgcolor=#ffffff><TD>Mother: <<npc_rel[''A29'']>></TD><TD><<link "zero">><<run $npcs.set('A29','rel',0)>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#ff9999><<link "minus 10">><<run $npcs.set('A29','rel') - = 10>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#ff9999><<link "minus 5">><<set <<=$npcs.get('A29','rel')>> - = 5>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#99ff99><<link "plus 5">><<set <<=$npcs.get('A29','rel')>> + = 5>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#99ff99><<link "plus 10">><<set <<=$npcs.get('A29','rel')>> + = 10>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD><<link "100">><<set <<=$npcs.get('A29','rel',100)>>>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD>
  328. <TR bgcolor=#ffffff><TD>Sister: <<npc_rel[''A33'']>></TD><TD><<link "zero">><<run $npcs.set('A33','rel',0)>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#ff9999><<link "minus 10">><<run $npcs.set('A33','rel') - = 10>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#ff9999><<link "minus 5">><<set <<=$npcs.get('A33','rel')>> - = 5>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#99ff99><<link "plus 5">><<set <<=$npcs.get('A33','rel')>> + = 5>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#99ff99><<link "plus 10">><<set <<=$npcs.get('A33','rel')>> + = 10>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD><<link "100">><<set <<=$npcs.get('A33','rel',100)>>>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD>
  329. <TR bgcolor=#ffffff><TD>Brother: <<npc_rel[''A34'']>></TD><TD><<link "zero">><<run $npcs.set('A34','rel',0)>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#ff9999><<link "minus 10">><<run $npcs.set('A34','rel') - = 10>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#ff9999><<link "minus 5">><<set <<=$npcs.get('A34','rel')>> - = 5>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#99ff99><<link "plus 5">><<set <<=$npcs.get('A34','rel')>> + = 5>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD bgcolor=#99ff99><<link "plus 10">><<set <<=$npcs.get('A34','rel')>> + = 10>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD><TD><<link "100">><<set <<=$npcs.get('A34','rel',100)>>>> <<gt 'intro_sg_select_custom' 'modrel_fam'>><</link>></TD>-->
  330. </table></center>
  331. <<actCLA 'Return'>>
  332. <<gt 'intro_sg_select_custom' 'modrel'>>
  333. <</actCLA>>
  334. <</if>>
  335. <<if $location_var[$here][0] == 'modrel_setup'>>
  336. <<if $npcs.get($$ARGS[1,'rel')] < 0>>
  337. <<setinit $npcs.get($$ARGS[1,'rel')] = 0>>
  338. <</if>>
  339. <<if $npcs.get($$ARGS[1,'rel')] > 100>>
  340. <<setinit $npcs.get($$ARGS[1,'rel')] = 100>>
  341. <</if>>
  342. <!-- FAILED TO CONVERT
  343. $table_display += '<TR bgcolor=<<$bcolor1>>><TD><<$npc_firstname[''<<$ARGS[1]>>'']>> <<$npc_lastname[''<<$ARGS[1]>>'']>>: <<npc_rel[''<<$ARGS[1]>>'']>></TD><TD><a href="exec:npc_rel[''<<$ARGS[1]>>''] = 0 & gt ''intro_sg_select_custom'', $locM_arg">zero</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''<<$ARGS[1]>>''] -= 10 & gt ''intro_sg_select_custom'', $locM_arg">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:npc_rel[''<<$ARGS[1]>>''] -= 5 & gt ''intro_sg_select_custom'', $locM_arg">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''<<$ARGS[1]>>''] += 5 & gt ''intro_sg_select_custom'', $locM_arg">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:npc_rel[''<<$ARGS[1]>>''] += 10 & gt ''intro_sg_select_custom'', $locM_arg">plus 10</a></TD><TD><a href="exec:npc_rel[''<<$ARGS[1]>>''] = 100 & gt ''intro_sg_select_custom'', $locM_arg">100</a></TD>'
  344. -----
  345. <<set $table_display += ERROR: FAILED TO CONVERT LITERAL: """'<TR bgcolor=$bcolor1><TD>$npcs.get(''+$$ARGS[1,'firstname')+''] $npcs.get(''+$$ARGS[1,'lastname')+'']: <<npc_rel[''+$$ARGS[1]+'']>><""" / ERROR: FAILED TO CONVERT LITERAL: """TD><TD><a href="exec:npc_rel[''+$$ARGS[1]+''] = 0""">> <<set gt ''intro_sg_select_custom'' , ERROR: FAILED TO CONVERT LITERAL: """$locM_arg">zero<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """TD><TD bgcolor""" = ERROR: FAILED TO CONVERT LITERAL: """#ff9999><a href="exec:npc_rel[''+$$ARGS[1]+'']""" - ERROR: FAILED TO CONVERT LITERAL: """= 10""">> <<set gt ''intro_sg_select_custom'' , ERROR: FAILED TO CONVERT LITERAL: """$locM_arg">minus 10<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """TD><TD bgcolor""" = ERROR: FAILED TO CONVERT LITERAL: """#ff9999><a href="exec:npc_rel[''+$$ARGS[1]+'']""" - ERROR: FAILED TO CONVERT LITERAL: """= 5""">> <<set gt ''intro_sg_select_custom'' , ERROR: FAILED TO CONVERT LITERAL: """$locM_arg">minus 5<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """TD><TD bgcolor""" = ERROR: FAILED TO CONVERT LITERAL: """#99ff99><a href="exec:npc_rel[''+$$ARGS[1]+'']""" + ERROR: FAILED TO CONVERT LITERAL: """= 5""">> <<set gt ''intro_sg_select_custom'' , ERROR: FAILED TO CONVERT LITERAL: """$locM_arg">plus 5<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """TD><TD bgcolor""" = ERROR: FAILED TO CONVERT LITERAL: """#99ff99><a href="exec:npc_rel[''+$$ARGS[1]+'']""" + ERROR: FAILED TO CONVERT LITERAL: """= 10""">> <<set gt ''intro_sg_select_custom'' , ERROR: FAILED TO CONVERT LITERAL: """$locM_arg">plus 10<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """TD><TD><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:npc_rel[''+$$ARGS[1]+''] = 100""">> <<gt 'intro_sg_select_custom' ERROR: FAILED TO CONVERT LITERAL: """$locM_arg">100<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """TD>'""">>
  346. -->
  347. <<warn "CONVERSION ERROR 65cd7aaa91164be22df75d00017a64ed">>
  348. <</if>>
  349. <<if $location_var[$here][0] == 'modrel_pop'>>
  350. <<set $locM_arg = 'modrel_pop'>>
  351. <center><b>Popular kids relationship levels</b></center>
  352. <<set $table_display to null>>
  353. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A1'>>
  354. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A4'>>
  355. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A14'>>
  356. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A15'>>
  357. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A17'>>
  358. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A22'>>
  359. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A146'>>
  360. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A147'>>
  361. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A148'>>
  362. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A25'>>
  363. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A139'>>
  364. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A140'>>
  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. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all boys in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 0 1 $nstat gt 'intro_sg_select_custom' 'modrel_pop'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  367. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all girls in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 1 1 $nstat gt 'intro_sg_select_custom' 'modrel_pop'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  368. $table_display
  369. </table></center>
  370. <<actCLA 'Return'>>
  371. <<gt 'intro_sg_select_custom' 'modrel'>>
  372. <</actCLA>>
  373. <</if>>
  374. <<if $location_var[$here][0] == 'modrel_ath'>>
  375. <<set $locM_arg = 'modrel_ath'>>
  376. <center><b>Jocks relationship levels</b></center>
  377. <<set $table_display to null>>
  378. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A3'>>
  379. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A5'>>
  380. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A8'>>
  381. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A13'>>
  382. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A18'>>
  383. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A19'>>
  384. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A23'>>
  385. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A149'>>
  386. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A150'>>
  387. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A141'>>
  388. <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>
  389. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all boys in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 0 2 $nstat gt 'intro_sg_select_custom' 'modrel_ath'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  390. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all girls in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 1 2 $nstat gt 'intro_sg_select_custom' 'modrel_ath'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  391. $table_display
  392. </table></center>
  393. <<actCLA 'Return'>>
  394. <<gt 'intro_sg_select_custom' 'modrel'>>
  395. <</actCLA>>
  396. <</if>>
  397. <<if $location_var[$here][0] == 'modrel_ner'>>
  398. <<set $locM_arg = 'modrel_ner'>>
  399. <center><b>Nerds relationship levels</b></center>
  400. <<set $table_display to null>>
  401. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A2'>>
  402. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A6'>>
  403. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A12'>>
  404. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A16'>>
  405. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A151'>>
  406. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A152'>>
  407. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A153'>>
  408. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A142'>>
  409. <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>
  410. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all boys in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 0 3 $nstat gt 'intro_sg_select_custom' 'modrel_ner'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  411. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all girls in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 1 3 $nstat gt 'intro_sg_select_custom' 'modrel_ner'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  412. $table_display
  413. </table></center>
  414. <<actCLA 'Return'>>
  415. <<gt 'intro_sg_select_custom' 'modrel'>>
  416. <</actCLA>>
  417. <</if>>
  418. <<if $location_var[$here][0] == 'modrel_gop'>>
  419. <<set $locM_arg = 'modrel_gop'>>
  420. <center><b>Gopnik kids relationship levels</b></center>
  421. <<set $table_display to null>>
  422. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A9'>>
  423. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A10'>>
  424. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A11'>>
  425. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A20'>>
  426. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A21'>>
  427. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A24'>>
  428. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A154'>>
  429. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A155'>>
  430. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A156'>>
  431. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A157'>>
  432. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A158'>>
  433. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A143'>>
  434. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A144'>>
  435. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A145'>>
  436. <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>
  437. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all boys in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 0 4 $nstat gt 'intro_sg_select_custom' 'modrel_gop'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  438. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all girls in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 1 4 $nstat gt 'intro_sg_select_custom' 'modrel_gop'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  439. $table_display
  440. </table></center>
  441. <<actCLA 'Return'>>
  442. <<gt 'intro_sg_select_custom' 'modrel'>>
  443. <</actCLA>>
  444. <</if>>
  445. <<if $location_var[$here][0] == 'modrel_out'>>
  446. <<set $locM_arg = 'modrel_out'>>
  447. <center><b>Outcast kids relationship levels</b></center>
  448. <<set $table_display to null>>
  449. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A7'>>
  450. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A159'>>
  451. <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>
  452. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all boys in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 0 5 $nstat gt 'intro_sg_select_custom' 'modrel_out'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  453. <!-- !! $table_display += '<TR bgcolor=<<$bcolor1>>><TD>Set relationship level for all girls in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2'>> <<gs 'intro_sg_select_custom' 'pol_grup_set' 1 5 $nstat>> <<gt 'intro_sg_select_custom' 'modrel_out'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'-->
  454. $table_display
  455. </table></center>
  456. <<actCLA 'Return'>>
  457. <<gt 'intro_sg_select_custom' 'modrel'>>
  458. <</actCLA>>
  459. <</if>>
  460. <<if $location_var[$here][0] == 'modrel_tea'>>
  461. <<set $locM_arg = 'modrel_tea'>>
  462. <center><b>Teacher relationship levels</b></center>
  463. <<set $table_display to null>>
  464. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A26'>>
  465. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A128'>>
  466. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A129'>>
  467. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A130'>>
  468. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A131'>>
  469. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A132'>>
  470. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A133'>>
  471. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A134'>>
  472. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A135'>>
  473. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A136'>>
  474. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A137'>>
  475. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A138'>>
  476. <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>
  477. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all men in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 0 6 $nstat gt 'intro_sg_select_custom' 'modrel_tea'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  478. <<set $table_display += '<TR bgcolor=$bcolor1><TD>Set relationship level for all women in this group</TD><TD><<link "set value">><<gs 'intro_sg_select_custom' 'setval2' gs 'intro_sg_select_custom' 'pol_grup_set' 1 6 $nstat gt 'intro_sg_select_custom' 'modrel_tea'>><</link>></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'>>
  479. $table_display
  480. </table></center>
  481. <<actCLA 'Return'>>
  482. <<gt 'intro_sg_select_custom' 'modrel'>>
  483. <</actCLA>>
  484. <</if>>
  485. <<if $location_var[$here][0] == 'modrel_oth'>>
  486. <<set $locM_arg = 'modrel_oth'>>
  487. <center><b>Others relationship levels</b></center>
  488. <<set $table_display to null>>
  489. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A69'>>
  490. <<gs 'intro_sg_select_custom' 'modrel_setup' 'A112'>>
  491. <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>
  492. $table_display
  493. </table></center>
  494. <!-- !!Volleyball Coach is here because it wasnt being controlled by grup6 the teachers/coaches.-->
  495. <<actCLA 'Return'>>
  496. <<gt 'intro_sg_select_custom' 'modrel'>>
  497. <</actCLA>>
  498. <</if>>
  499. <<if $location_var[$here][0] == 'pol_grup_set'>>
  500. <!-- !!ARGS[1] 0 is boys, 1 is girls. ARGS[2] 1nerd 2jock 3cool 4gopnik 5outcast 6teachers. ARGS[3] is changes to value-->
  501. <<set $r = 1>>
  502. <<warn 'JUMP MARKER ENCOUNTERED: :pol_grup_set_loop'>>
  503. <<if $npcs.get('A' + $r,'gender') == $ARGS[1] and $npcs.get('A' + $r,'grupTipe') == $ARGS[2]>>
  504. <<run $npcs.set('A' + $r,'rel',$ARGS[3])>>
  505. <</if>>
  506. <<set $r += 1>>
  507. <<if $r <= $aarraynumber>>
  508. <<warn 'JUMP COMMAND ENCOUNTERED: jump pol_grup_set_loop'>>
  509. <</if>>
  510. <</if>>