mod_addedflavour_A69_Functions.qsrc 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521
  1. # mod_addedflavour_A69_Functions
  2. if $ARGS[0] = 'config':
  3. $npc_fontcolor['A69'] = 'Olive'
  4. end
  5. if $ARGS[0] = 'CupHotelSetup':
  6. if $ARGS[1] = 'start':
  7. $modArr_AF_CityHotelRoomOccupant['B1'] = '<<$modArr_AF_VBallT_PlayerName[0]>> & <<$modArr_AF_VBallT_PlayerName[1]>>'
  8. $modArr_AF_CityHotelRoomOccupant['B2'] = '<<$modArr_AF_VBallT_PlayerName[2]>> & <<$modArr_AF_VBallT_PlayerName[3]>>'
  9. $modArr_AF_CityHotelRoomOccupant['B3'] = '<<$modArr_AF_VBallT_PlayerName[4]>> & <<$modArr_AF_VBallT_PlayerName[5]>>'
  10. $modArr_AF_CityHotelRoomOccupant['B4'] = '<<$modArr_AF_VBallT_PlayerName[6]>> & <<$modArr_AF_VBallT_PlayerName[7]>>'
  11. $modArr_AF_CityHotelRoomOccupant['B5'] = '<<$modArr_AF_VBallT_PlayerName[8]>> & <<$modArr_AF_VBallT_PlayerName[9]>>'
  12. $modArr_AF_CityHotelRoomOccupant['B6'] = 'Mr Nikolaevich'
  13. charsche_ID = 19
  14. $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_1'
  15. $charsche_CurActLoc = 'void'
  16. $charsche_CurActDesc = 'waiting'
  17. charsche_CurActTime = 0
  18. charsche_CurActPriority = 2
  19. $charsche_PrevActLoc = ''
  20. $charsche_PrevActDesc = ''
  21. charsche_LastCheck = 0
  22. gs 'mod_addedflavour_charsche' , 'addchar'
  23. charsche_ID = 18
  24. $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_2'
  25. $charsche_CurActLoc = 'void'
  26. $charsche_CurActDesc = 'waiting'
  27. charsche_CurActTime = 0
  28. charsche_CurActPriority = 2
  29. $charsche_PrevActLoc = ''
  30. $charsche_PrevActDesc = ''
  31. charsche_LastCheck = 0
  32. gs 'mod_addedflavour_charsche' , 'addchar'
  33. charsche_ID = 13
  34. $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_2'
  35. $charsche_CurActLoc = 'void'
  36. $charsche_CurActDesc = 'waiting'
  37. charsche_CurActTime = 0
  38. charsche_CurActPriority = 2
  39. $charsche_PrevActLoc = ''
  40. $charsche_PrevActDesc = ''
  41. charsche_LastCheck = 0
  42. gs 'mod_addedflavour_charsche' , 'addchar'
  43. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[4],1,strpos($modArr_AF_VBallT_PlayerName[4],' ') - 1)
  44. $npc_firstname['A705'] = '<<$modVar_AF_TempStr>>'
  45. $npc_usedname['A705'] = '<<$modVar_AF_TempStr>>'
  46. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[4],strpos($modArr_AF_VBallT_PlayerName[4],' ') + 1,len($modArr_AF_VBallT_PlayerName[4]))
  47. $npc_lastname['A705'] = '<<$modVar_AF_TempStr>>'
  48. npc_gender['A705'] = 1
  49. charsche_ID = 705
  50. $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_3'
  51. $charsche_CurActLoc = 'void'
  52. $charsche_CurActDesc = 'waiting'
  53. charsche_CurActTime = 0
  54. charsche_CurActPriority = 2
  55. $charsche_PrevActLoc = ''
  56. $charsche_PrevActDesc = ''
  57. charsche_LastCheck = 0
  58. gs 'mod_addedflavour_charsche' , 'addchar'
  59. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[5],1,strpos($modArr_AF_VBallT_PlayerName[5],' ') - 1)
  60. $npc_firstname['A706'] = '<<$modVar_AF_TempStr>>'
  61. $npc_usedname['A706'] = '<<$modVar_AF_TempStr>>'
  62. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[5],strpos($modArr_AF_VBallT_PlayerName[5],' ') + 1,len($modArr_AF_VBallT_PlayerName[5]))
  63. $npc_lastname['A706'] = '<<$modVar_AF_TempStr>>'
  64. npc_gender['A706'] = 1
  65. charsche_ID = 706
  66. $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_3'
  67. $charsche_CurActLoc = 'void'
  68. $charsche_CurActDesc = 'waiting'
  69. charsche_CurActTime = 0
  70. charsche_CurActPriority = 2
  71. $charsche_PrevActLoc = ''
  72. $charsche_PrevActDesc = ''
  73. charsche_LastCheck = 0
  74. gs 'mod_addedflavour_charsche' , 'addchar'
  75. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[6],1,strpos($modArr_AF_VBallT_PlayerName[6],' ') - 1)
  76. $npc_firstname['A707'] = '<<$modVar_AF_TempStr>>'
  77. $npc_usedname['A707'] = '<<$modVar_AF_TempStr>>'
  78. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[6],strpos($modArr_AF_VBallT_PlayerName[6],' ') + 1,len($modArr_AF_VBallT_PlayerName[6]))
  79. $npc_lastname['A707'] = '<<$modVar_AF_TempStr>>'
  80. npc_gender['A707'] = 1
  81. charsche_ID = 707
  82. $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_4'
  83. $charsche_CurActLoc = 'void'
  84. $charsche_CurActDesc = 'waiting'
  85. charsche_CurActTime = 0
  86. charsche_CurActPriority = 2
  87. $charsche_PrevActLoc = ''
  88. $charsche_PrevActDesc = ''
  89. charsche_LastCheck = 0
  90. gs 'mod_addedflavour_charsche' , 'addchar'
  91. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[7],1,strpos($modArr_AF_VBallT_PlayerName[7],' ') - 1)
  92. $npc_firstname['A708'] = '<<$modVar_AF_TempStr>>'
  93. $npc_usedname['A708'] = '<<$modVar_AF_TempStr>>'
  94. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[7],strpos($modArr_AF_VBallT_PlayerName[7],' ') + 1,len($modArr_AF_VBallT_PlayerName[7]))
  95. $npc_lastname['A708'] = '<<$modVar_AF_TempStr>>'
  96. npc_gender['A708'] = 1
  97. charsche_ID = 708
  98. $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_4'
  99. $charsche_CurActLoc = 'void'
  100. $charsche_CurActDesc = 'waiting'
  101. charsche_CurActTime = 0
  102. charsche_CurActPriority = 2
  103. $charsche_PrevActLoc = ''
  104. $charsche_PrevActDesc = ''
  105. charsche_LastCheck = 0
  106. gs 'mod_addedflavour_charsche' , 'addchar'
  107. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[8],1,strpos($modArr_AF_VBallT_PlayerName[8],' ') - 1)
  108. $npc_firstname['A709'] = '<<$modVar_AF_TempStr>>'
  109. $npc_usedname['A709'] = '<<$modVar_AF_TempStr>>'
  110. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[8],strpos($modArr_AF_VBallT_PlayerName[8],' ') + 1,len($modArr_AF_VBallT_PlayerName[8]))
  111. $npc_lastname['A709'] = '<<$modVar_AF_TempStr>>'
  112. npc_gender['A709'] = 1
  113. charsche_ID = 709
  114. $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_5'
  115. $charsche_CurActLoc = 'void'
  116. $charsche_CurActDesc = 'waiting'
  117. charsche_CurActTime = 0
  118. charsche_CurActPriority = 2
  119. $charsche_PrevActLoc = ''
  120. $charsche_PrevActDesc = ''
  121. charsche_LastCheck = 0
  122. gs 'mod_addedflavour_charsche' , 'addchar'
  123. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[9],1,strpos($modArr_AF_VBallT_PlayerName[9],' ') - 1)
  124. $npc_firstname['A710'] = '<<$modVar_AF_TempStr>>'
  125. $npc_usedname['A710'] = '<<$modVar_AF_TempStr>>'
  126. $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[9],strpos($modArr_AF_VBallT_PlayerName[9],' ') + 1,len($modArr_AF_VBallT_PlayerName[9]))
  127. $npc_lastname['A710'] = '<<$modVar_AF_TempStr>>'
  128. npc_gender['A710'] = 1
  129. charsche_ID = 710
  130. $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_5'
  131. $charsche_CurActLoc = 'void'
  132. $charsche_CurActDesc = 'waiting'
  133. charsche_CurActTime = 0
  134. charsche_CurActPriority = 2
  135. $charsche_PrevActLoc = ''
  136. $charsche_PrevActDesc = ''
  137. charsche_LastCheck = 0
  138. gs 'mod_addedflavour_charsche' , 'addchar'
  139. charsche_ID = 69
  140. $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_6'
  141. $charsche_CurActLoc = 'void'
  142. $charsche_CurActDesc = 'waiting'
  143. charsche_CurActTime = 0
  144. charsche_CurActPriority = 2
  145. $charsche_PrevActLoc = ''
  146. $charsche_PrevActDesc = ''
  147. charsche_LastCheck = 0
  148. gs 'mod_addedflavour_charsche' , 'addchar'
  149. $charsche_Name = 'A19_CupEvent'
  150. charsche_ID = 19
  151. charsche_StartTime = 1320
  152. charsche_EndTime = 360
  153. $charsche_Days = '56'
  154. gs 'mod_addedflavour_charsche' , 'addsleep'
  155. $charsche_Name = 'A18_CupEvent'
  156. charsche_ID = 18
  157. charsche_StartTime = 1320
  158. charsche_EndTime = 360
  159. $charsche_Days = '56'
  160. gs 'mod_addedflavour_charsche' , 'addsleep'
  161. $charsche_Name = 'A13_CupEvent'
  162. charsche_ID = 13
  163. charsche_StartTime = 1320
  164. charsche_EndTime = 360
  165. $charsche_Days = '56'
  166. gs 'mod_addedflavour_charsche' , 'addsleep'
  167. $charsche_Name = 'A705_CupEvent'
  168. charsche_ID = 705
  169. charsche_StartTime = 1320
  170. charsche_EndTime = 360
  171. $charsche_Days = '56'
  172. gs 'mod_addedflavour_charsche' , 'addsleep'
  173. $charsche_Name = 'A706_CupEvent'
  174. charsche_ID = 706
  175. charsche_StartTime = 1320
  176. charsche_EndTime = 360
  177. $charsche_Days = '56'
  178. gs 'mod_addedflavour_charsche' , 'addsleep'
  179. $charsche_Name = 'A707_CupEvent'
  180. charsche_ID = 707
  181. charsche_StartTime = 1320
  182. charsche_EndTime = 360
  183. $charsche_Days = '56'
  184. gs 'mod_addedflavour_charsche' , 'addsleep'
  185. $charsche_Name = 'A708_CupEvent'
  186. charsche_ID = 708
  187. charsche_StartTime = 1320
  188. charsche_EndTime = 360
  189. $charsche_Days = '56'
  190. gs 'mod_addedflavour_charsche' , 'addsleep'
  191. $charsche_Name = 'A709_CupEvent'
  192. charsche_ID = 709
  193. charsche_StartTime = 1320
  194. charsche_EndTime = 360
  195. $charsche_Days = '56'
  196. gs 'mod_addedflavour_charsche' , 'addsleep'
  197. $charsche_Name = 'A710_CupEvent'
  198. charsche_ID = 710
  199. charsche_StartTime = 1320
  200. charsche_EndTime = 360
  201. $charsche_Days = '56'
  202. gs 'mod_addedflavour_charsche' , 'addsleep'
  203. $charsche_Name = 'A69_CupEvent'
  204. charsche_ID = 69
  205. charsche_StartTime = 1320
  206. charsche_EndTime = 360
  207. $charsche_Days = '56'
  208. gs 'mod_addedflavour_charsche' , 'addsleep'
  209. $charsche_Name = 'JuniorCupHotel - BedroomResting'
  210. $charsche_Location = 'HomeLoc'
  211. $charsche_Action = 'Resting'
  212. charsche_StartTime = 1
  213. charsche_EndTime = 1440
  214. charsche_MinLen = 5
  215. charsche_MaxLen = 60
  216. charsche_Priority = 2
  217. charsche_Active = 1
  218. charsche_LocConflict = 0
  219. $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X'
  220. $charsche_Days = '567'
  221. gs 'mod_addedflavour_charsche' , 'addact'
  222. $charsche_Name = 'JuniorCupHotel - BedroomWatchTV'
  223. $charsche_Location = 'HomeLoc'
  224. $charsche_Action = 'Watch TV'
  225. charsche_StartTime = 360
  226. charsche_EndTime = 1260
  227. charsche_MinLen = 15
  228. charsche_MaxLen = 60
  229. charsche_Priority = 2
  230. charsche_Active = 1
  231. charsche_LocConflict = 0
  232. $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X'
  233. $charsche_Days = '567'
  234. gs 'mod_addedflavour_charsche' , 'addact'
  235. $charsche_Name = 'JuniorCupHotel - BedroomBathing'
  236. $charsche_Location = 'HomeLoc'
  237. $charsche_Action = 'Bathing'
  238. charsche_StartTime = 390
  239. charsche_EndTime = 1320
  240. charsche_MinLen = 20
  241. charsche_MaxLen = 30
  242. charsche_Priority = 2
  243. charsche_Active = 1
  244. charsche_LocConflict = 1
  245. $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X'
  246. $charsche_Days = '567'
  247. gs 'mod_addedflavour_charsche' , 'addact'
  248. $charsche_Name = 'JuniorCupHotel - BedroomSex'
  249. $charsche_Location = 'HomeLoc'
  250. $charsche_Action = 'Sex'
  251. charsche_StartTime = 1080
  252. charsche_EndTime = 1260
  253. charsche_MinLen = 15
  254. charsche_MaxLen = 30
  255. charsche_Priority = 2
  256. charsche_Active = 1
  257. charsche_LocConflict = 0
  258. $charsche_Chars = 'A705XA706XA707XA708XA709XA710X'
  259. $charsche_Days = '567'
  260. gs 'mod_addedflavour_charsche' , 'addact'
  261. $charsche_Name = 'JuniorCupHotel - CommonRoomWorkout'
  262. $charsche_Location = 'mod_addedflavour_city_hotel_CoRm'
  263. $charsche_Action = 'Working Out'
  264. charsche_StartTime = 420
  265. charsche_EndTime = 1260
  266. charsche_MinLen = 20
  267. charsche_MaxLen = 45
  268. charsche_Priority = 2
  269. charsche_Active = 1
  270. charsche_LocConflict = 0
  271. $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710X'
  272. $charsche_Days = '567'
  273. gs 'mod_addedflavour_charsche' , 'addact'
  274. $charsche_Name = 'JuniorCupHotel - CommonRoomYoga'
  275. $charsche_Location = 'mod_addedflavour_city_hotel_CoRm'
  276. $charsche_Action = 'Yoga'
  277. charsche_StartTime = 420
  278. charsche_EndTime = 1260
  279. charsche_MinLen = 20
  280. charsche_MaxLen = 45
  281. charsche_Priority = 2
  282. charsche_Active = 1
  283. charsche_LocConflict = 0
  284. $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710X'
  285. $charsche_Days = '567'
  286. gs 'mod_addedflavour_charsche' , 'addact'
  287. $charsche_Name = 'JuniorCupHotel - CommonRoomEating'
  288. $charsche_Location = 'mod_addedflavour_city_hotel_CoRm'
  289. $charsche_Action = 'Eating'
  290. charsche_StartTime = 420
  291. charsche_EndTime = 1260
  292. charsche_MinLen = 10
  293. charsche_MaxLen = 20
  294. charsche_Priority = 2
  295. charsche_Active = 1
  296. charsche_LocConflict = 0
  297. $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X'
  298. $charsche_Days = '567'
  299. gs 'mod_addedflavour_charsche' , 'addact'
  300. $charsche_Name = 'JuniorCupHotel - CommonRoomResting'
  301. $charsche_Location = 'mod_addedflavour_city_hotel_CoRm'
  302. $charsche_Action = 'Resting'
  303. charsche_StartTime = 360
  304. charsche_EndTime = 1260
  305. charsche_MinLen = 5
  306. charsche_MaxLen = 60
  307. charsche_Priority = 2
  308. charsche_Active = 1
  309. charsche_LocConflict = 0
  310. $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X'
  311. $charsche_Days = '567'
  312. gs 'mod_addedflavour_charsche' , 'addact'
  313. $charsche_Name = 'JuniorCupHotel - HallIdle'
  314. $charsche_Location = 'mod_addedflavour_city_hotel_Hall'
  315. $charsche_Action = 'Idle'
  316. charsche_StartTime = 420
  317. charsche_EndTime = 1260
  318. charsche_MinLen = 30
  319. charsche_MaxLen = 60
  320. charsche_Priority = 2
  321. charsche_Active = 1
  322. charsche_LocConflict = 0
  323. $charsche_Chars = 'A69X'
  324. $charsche_Days = '567'
  325. gs 'mod_addedflavour_charsche' , 'addact'
  326. gs 'mod_addedflavour_Volleyball' , 'SortTournamentPlayers'
  327. gs 'mod_addedflavour_SFLA_Functions' , 'ActivityImage-Config'
  328. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'mod_addedflavour_city_hotel_Bedr_1' , 'Resting' , 30
  329. elseif $ARGS[1] = 'end':
  330. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 19
  331. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 18
  332. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 13
  333. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 705
  334. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 706
  335. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 707
  336. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 708
  337. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 709
  338. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 710
  339. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 69
  340. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 19
  341. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 18
  342. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 13
  343. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 705
  344. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 706
  345. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 707
  346. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 708
  347. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 709
  348. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 710
  349. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 69
  350. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 19
  351. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 18
  352. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 13
  353. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 705
  354. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 706
  355. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 707
  356. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 708
  357. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 709
  358. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 710
  359. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 705
  360. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 706
  361. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 707
  362. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 708
  363. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 709
  364. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 710
  365. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 69
  366. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 19
  367. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 18
  368. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 13
  369. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 705
  370. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 706
  371. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 707
  372. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 708
  373. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 709
  374. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 710
  375. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 19
  376. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 18
  377. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 13
  378. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 705
  379. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 706
  380. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 707
  381. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 708
  382. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 709
  383. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 710
  384. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 19
  385. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 18
  386. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 13
  387. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 705
  388. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 706
  389. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 707
  390. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 708
  391. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 709
  392. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 710
  393. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 69
  394. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 19
  395. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 18
  396. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 13
  397. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 705
  398. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 706
  399. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 707
  400. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 708
  401. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 709
  402. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 710
  403. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 69
  404. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - HallIdle' , 'Remove' , 69
  405. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'Void' , 'Idle' , 5
  406. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 18 , 'Void' , 'Idle' , 5
  407. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 13 , 'Void' , 'Idle' , 5
  408. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 705 , 'Void' , 'Idle' , 5
  409. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 706 , 'Void' , 'Idle' , 5
  410. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 707 , 'Void' , 'Idle' , 5
  411. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 708 , 'Void' , 'Idle' , 5
  412. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 709 , 'Void' , 'Idle' , 5
  413. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 710 , 'Void' , 'Idle' , 5
  414. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 69 , 'Void' , 'Idle' , 5
  415. end
  416. end
  417. if $ARGS[0] = 'JuniorCupDirector':
  418. if hour >= 21 and strpos($loc,'mod_addedflavour_city_hotel_B') = 0 and modVar_AF_EventOpen['A69-HotelSneak'] ! 1:
  419. gt 'mod_addedflavour_A69_Functions' , 'JCD-Curfew'
  420. elseif hour >= 23 or hour < 6:
  421. gt 'mod_addedflavour_A69_Functions' , 'JCD-Sleep'
  422. elseif hour = 8:
  423. if week = 6 : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-1' , 'Late'
  424. if week = 7 : gt 'mod_addedflavour_A69_Events' , 'A69-Sunday-1' , 'Late'
  425. end
  426. end
  427. if $ARGS[0] = 'JCD-Curfew':
  428. *clr & cla
  429. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'mod_addedflavour_city_hotel_Bedr_1' , 'Resting' , 30
  430. gs 'stat'
  431. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/hotel/HotelBedroom.jpg"></center>'
  432. *nl
  433. 'You have hit your 9pm curfew so rush back to your Hotel Room.'
  434. act 'Reach your room' : gt 'mod_addedflavour_city_hotel_Bedr' , 'start' , 1
  435. end
  436. if $ARGS[0] = 'JCD-Sleep':
  437. *clr & cla
  438. $loc = 'mod_addedflavour_city_hotel_Bedr'
  439. $loc_arg = 'start1'
  440. gs 'stat'
  441. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/hotel/HotelBedroom.jpg"></center>'
  442. *nl
  443. 'You decide it is time to get some sleep as you have a busy day ahead of you...'
  444. act 'Get some sleep':
  445. *clr & cla
  446. if hour < 6:
  447. minut += 360 - ((hour * 60) + minut)
  448. else
  449. minut += (1440 - ((hour * 60) + minut)) + 360
  450. end
  451. minut += rand(0,15)
  452. pcs_mood += 60
  453. pcs_sleep += 100
  454. pcs_health += 50
  455. gs 'mod_addedflavour_charsche' , 'chkschedule'
  456. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'mod_addedflavour_city_hotel_Bedr_1' , 'Resting' , 15
  457. gs'stat'
  458. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="images/shared/home/bedroom/son.jpg"></center>'
  459. *nl
  460. '<center>You sleep the deep sleep of someone who is very satisfied...</center>'
  461. act 'Wake Up' : gt $loc, $loc_arg
  462. end
  463. end
  464. if $ARGS[0] = 'TournamentInformation':
  465. *clr & cla
  466. if $loc = 'mod_addedflavour_city_hotel_Hall' : minut += rand(1,3) & gs 'mod_addedflavour_A69_Functions' , 'JuniorCupDirector'
  467. '<center><h2>Tournament Information</h2></center>'
  468. gs 'stat'
  469. if $ARGS[1] ! '':
  470. '<b>Team:</b>'
  471. *nl
  472. ListTeamCount = 0
  473. modVar_AF_Temp = 0
  474. :ListTeamLoopStart
  475. if ListTeamCount >= arrsize('$modArr_AF_VBallT_PlayerName') : jump 'ListTeamLoopEnd'
  476. if $modArr_AF_VBallT_PlayerTeam[ListTeamCount] = $ARGS[1]:
  477. modVar_AF_Temp += modArr_AF_VBallT_PlayerSkill[ListTeamCount]
  478. '<<$modArr_AF_VBallT_PlayerName[ListTeamCount]>> - Skill Level: <<modArr_AF_VBallT_PlayerSkill[ListTeamCount]>>'
  479. end
  480. ListTeamCount += 1
  481. jump 'ListTeamLoopStart'
  482. :ListTeamLoopEnd
  483. *nl
  484. ' Team Average = <<modVar_AF_Temp / 10>>'
  485. act 'Return' : gt 'mod_addedflavour_A69_Functions' , 'TournamentInformation'
  486. else
  487. '<b>Teams</b>'
  488. '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Pavlovsk Falcons'' ">Pavlovsk Falcons</a>'
  489. '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Gatchina Chiefs'' ">Gatchina Chiefs</a>'
  490. '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Kolpino Panthers'' ">Kolpino Panthers</a>'
  491. '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Bor Bears'' ">Bor Bears</a>'
  492. '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Vsevolozhsk Jets'' ">Vsevolozhsk Jets</a>'
  493. '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Olkhovsky Warriors'' ">Olkhovsky Warriors</a>'
  494. '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Bolshaya Chargers'' ">Bolshaya Chargers</a>'
  495. '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Primorsky Predators'' ">Primorsky Predators</a>'
  496. *nl
  497. '<b>Top 10 Rated Players:</b>'
  498. gs 'mod_addedflavour_Volleyball' , 'SortTournamentPlayers'
  499. '<<$modArr_AF_VBallT_PlayerName[0]>> (<<$modArr_AF_VBallT_PlayerTeam[0]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[0]>>'
  500. '<<$modArr_AF_VBallT_PlayerName[1]>> (<<$modArr_AF_VBallT_PlayerTeam[1]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[1]>>'
  501. '<<$modArr_AF_VBallT_PlayerName[2]>> (<<$modArr_AF_VBallT_PlayerTeam[2]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[2]>>'
  502. '<<$modArr_AF_VBallT_PlayerName[3]>> (<<$modArr_AF_VBallT_PlayerTeam[3]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[3]>>'
  503. '<<$modArr_AF_VBallT_PlayerName[4]>> (<<$modArr_AF_VBallT_PlayerTeam[4]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[4]>>'
  504. '<<$modArr_AF_VBallT_PlayerName[5]>> (<<$modArr_AF_VBallT_PlayerTeam[5]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[5]>>'
  505. '<<$modArr_AF_VBallT_PlayerName[6]>> (<<$modArr_AF_VBallT_PlayerTeam[6]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[6]>>'
  506. '<<$modArr_AF_VBallT_PlayerName[7]>> (<<$modArr_AF_VBallT_PlayerTeam[7]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[7]>>'
  507. '<<$modArr_AF_VBallT_PlayerName[8]>> (<<$modArr_AF_VBallT_PlayerTeam[8]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[8]>>'
  508. '<<$modArr_AF_VBallT_PlayerName[9]>> (<<$modArr_AF_VBallT_PlayerTeam[9]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[9]>>'
  509. *nl
  510. gs 'mod_addedflavour_Volleyball' , 'SortLeagues'
  511. '<table border="1" cellpadding="1" style="text-align:center"><tr><td colspan="4"><center><b>League A</b></center></td><td colspan="4"><center><b>League B</b></center></td></tr><tr><td><b>Team Name</b></td><td><b>Wins</b></td><td><b>Points For</b></td><td><b>Points Against</b></td><td><b>Team Name</b></td><td><b>Wins</b></td><td><b>Points For</b></td><td><b>Points Against</b></td></tr><tr><td><<$modArr_AF_VLeagueA_TeamName[0]>></td><td><<modArr_AF_VLeagueA_Wins[0]>></td><td><<modArr_AF_VLeagueA_PointsFor[0]>></td><td><<modArr_AF_VLeagueA_PointsAgainst[0]>></td><td><<$modArr_AF_VLeagueB_TeamName[0]>></td><td><<modArr_AF_VLeagueB_Wins[0]>></td><td><<modArr_AF_VLeagueB_PointsFor[0]>></td><td><<modArr_AF_VLeagueB_PointsAgainst[0]>></td></tr><tr><td><<$modArr_AF_VLeagueA_TeamName[1]>></td><td><<modArr_AF_VLeagueA_Wins[1]>></td><td><<modArr_AF_VLeagueA_PointsFor[1]>></td><td><<modArr_AF_VLeagueA_PointsAgainst[1]>></td><td><<$modArr_AF_VLeagueB_TeamName[1]>></td><td><<modArr_AF_VLeagueB_Wins[1]>></td><td><<modArr_AF_VLeagueB_PointsFor[1]>></td><td><<modArr_AF_VLeagueB_PointsAgainst[1]>></td></tr><tr><td><<$modArr_AF_VLeagueA_TeamName[2]>></td><td><<modArr_AF_VLeagueA_Wins[2]>></td><td><<modArr_AF_VLeagueA_PointsFor[2]>></td><td><<modArr_AF_VLeagueA_PointsAgainst[2]>></td><td><<$modArr_AF_VLeagueB_TeamName[2]>></td><td><<modArr_AF_VLeagueB_Wins[2]>></td><td><<modArr_AF_VLeagueB_PointsFor[2]>></td><td><<modArr_AF_VLeagueB_PointsAgainst[2]>></td></tr><tr><td><<$modArr_AF_VLeagueA_TeamName[3]>></td><td><<modArr_AF_VLeagueA_Wins[3]>></td><td><<modArr_AF_VLeagueA_PointsFor[3]>></td><td><<modArr_AF_VLeagueA_PointsAgainst[3]>></td><td><<$modArr_AF_VLeagueB_TeamName[3]>></td><td><<modArr_AF_VLeagueB_Wins[3]>></td><td><<modArr_AF_VLeagueB_PointsFor[3]>></td><td><<modArr_AF_VLeagueB_PointsAgainst[3]>></td></tr></table>'
  512. act 'Return' : gt $loc, $loc_arg
  513. end
  514. end
  515. --- mod_addedflavour_A69_Functions ---------------------------------