|
@@ -274,15 +274,14 @@ end
|
|
|
if $ARGS[0] = 'modrel_setup':
|
|
|
if npc_rel['<<$ARGS[1]>>'] < 0: npc_rel['<<$ARGS[1]>>'] = 0
|
|
|
if npc_rel['<<$ARGS[1]>>'] > 100: npc_rel['<<$ARGS[1]>>'] = 100
|
|
|
- '<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 ''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>'
|
|
|
+ $table_display += '<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 ''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>'
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'modrel_pop':
|
|
|
$locM_arg = 'modrel_pop'
|
|
|
'<center><b>Popular kids relationship levels</b></center>'
|
|
|
*nl
|
|
|
- *nl
|
|
|
- '<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>'
|
|
|
+ killvar '$table_display'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A1'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A4'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A14'
|
|
@@ -295,8 +294,10 @@ if $ARGS[0] = 'modrel_pop':
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A25'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A139'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A140'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 1, nstat & gt ''intro_sg_select_custom'',''modrel_pop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 1, nstat & gt ''intro_sg_select_custom'',''modrel_pop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ '<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>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 1, nstat & gt ''intro_sg_select_custom'',''modrel_pop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 1, nstat & gt ''intro_sg_select_custom'',''modrel_pop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display
|
|
|
'</table></center>'
|
|
|
act 'Return': gt 'intro_sg_select_custom','modrel'
|
|
|
end
|
|
@@ -305,8 +306,7 @@ if $ARGS[0] = 'modrel_ath':
|
|
|
$locM_arg = 'modrel_ath'
|
|
|
'<center><b>Jocks relationship levels</b></center>'
|
|
|
*nl
|
|
|
- *nl
|
|
|
- '<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>'
|
|
|
+ killvar '$table_display'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A3'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A5'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A8'
|
|
@@ -317,8 +317,10 @@ if $ARGS[0] = 'modrel_ath':
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A149'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A150'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A141'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 2, nstat & gt ''intro_sg_select_custom'',''modrel_ath''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 2, nstat & gt ''intro_sg_select_custom'',''modrel_ath''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ '<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>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 2, nstat & gt ''intro_sg_select_custom'',''modrel_ath''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 2, nstat & gt ''intro_sg_select_custom'',''modrel_ath''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display
|
|
|
'</table></center>'
|
|
|
act 'Return': gt 'intro_sg_select_custom','modrel'
|
|
|
end
|
|
@@ -327,8 +329,7 @@ if $ARGS[0] = 'modrel_ner':
|
|
|
$locM_arg = 'modrel_ner'
|
|
|
'<center><b>Nerds relationship levels</b></center>'
|
|
|
*nl
|
|
|
- *nl
|
|
|
- '<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>'
|
|
|
+ killvar '$table_display'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A2'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A6'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A12'
|
|
@@ -337,8 +338,10 @@ if $ARGS[0] = 'modrel_ner':
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A152'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A153'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A142'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 3, nstat & gt ''intro_sg_select_custom'',''modrel_ner''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 3, nstat & gt ''intro_sg_select_custom'',''modrel_ner''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ '<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>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 3, nstat & gt ''intro_sg_select_custom'',''modrel_ner''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 3, nstat & gt ''intro_sg_select_custom'',''modrel_ner''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display
|
|
|
'</table></center>'
|
|
|
act 'Return': gt 'intro_sg_select_custom','modrel'
|
|
|
end
|
|
@@ -347,8 +350,7 @@ if $ARGS[0] = 'modrel_gop':
|
|
|
$locM_arg = 'modrel_gop'
|
|
|
'<center><b>Gopnik kids relationship levels</b></center>'
|
|
|
*nl
|
|
|
- *nl
|
|
|
- '<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>'
|
|
|
+ killvar '$table_display'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A9'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A10'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A11'
|
|
@@ -363,8 +365,10 @@ if $ARGS[0] = 'modrel_gop':
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A143'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A144'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A145'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 4, nstat & gt ''intro_sg_select_custom'',''modrel_gop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 4, nstat & gt ''intro_sg_select_custom'',''modrel_gop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ '<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>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 4, nstat & gt ''intro_sg_select_custom'',''modrel_gop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 4, nstat & gt ''intro_sg_select_custom'',''modrel_gop''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display
|
|
|
'</table></center>'
|
|
|
act 'Return': gt 'intro_sg_select_custom','modrel'
|
|
|
end
|
|
@@ -374,12 +378,13 @@ if $ARGS[0] = 'modrel_out':
|
|
|
$locM_arg = 'modrel_out'
|
|
|
'<center><b>Outcast kids relationship levels</b></center>'
|
|
|
*nl
|
|
|
- *nl
|
|
|
- '<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>'
|
|
|
+ killvar '$table_display'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A7'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A159'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 5, nstat & gt ''intro_sg_select_custom'',''modrel_out''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
-!! '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 5, nstat & gt ''intro_sg_select_custom'',''modrel_out''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ '<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>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all boys in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 5, nstat & gt ''intro_sg_select_custom'',''modrel_out''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+!! $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all girls in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 5, nstat & gt ''intro_sg_select_custom'',''modrel_out''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display
|
|
|
'</table></center>'
|
|
|
act 'Return': gt 'intro_sg_select_custom','modrel'
|
|
|
end
|
|
@@ -388,8 +393,7 @@ if $ARGS[0] = 'modrel_tea':
|
|
|
$locM_arg = 'modrel_tea'
|
|
|
'<center><b>Teacher relationship levels</b></center>'
|
|
|
*nl
|
|
|
- *nl
|
|
|
- '<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>'
|
|
|
+ killvar '$table_display'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A26'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A128'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A129'
|
|
@@ -402,8 +406,10 @@ if $ARGS[0] = 'modrel_tea':
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A136'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A137'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A138'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all men in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 6, nstat & gt ''intro_sg_select_custom'',''modrel_tea''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
- '<TR bgcolor=#ffffff><TD>Set relationship level for all women in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 6, nstat & gt ''intro_sg_select_custom'',''modrel_tea''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ '<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>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all men in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 0, 6, nstat & gt ''intro_sg_select_custom'',''modrel_tea''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display += '<TR bgcolor=#ffffff><TD>Set relationship level for all women in this group</TD><TD><a href="exec: gs ''intro_sg_select_custom'',''setval2'' & gs ''intro_sg_select_custom'', ''pol_grup_set'', 1, 6, nstat & gt ''intro_sg_select_custom'',''modrel_tea''">set value</a></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
|
|
|
+ $table_display
|
|
|
'</table></center>'
|
|
|
act 'Return': gt 'intro_sg_select_custom','modrel'
|
|
|
end
|
|
@@ -412,10 +418,10 @@ if $ARGS[0] = 'modrel_oth':
|
|
|
$locM_arg = 'modrel_oth'
|
|
|
'<center><b>Others relationship levels</b></center>'
|
|
|
*nl
|
|
|
- *nl
|
|
|
- '<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>'
|
|
|
+ killvar '$table_display'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A69'
|
|
|
gs 'intro_sg_select_custom', 'modrel_setup', 'A112'
|
|
|
+ '<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>'
|
|
|
'</table></center>'
|
|
|
!!Volleyball Coach is here because it wasnt being controlled by grup6 the teachers/coaches.
|
|
|
act 'Return': gt 'intro_sg_select_custom','modrel'
|