123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521 |
- # mod_addedflavour_A69_Functions
- if $ARGS[0] = 'config':
- $npc_fontcolor['A69'] = 'Olive'
- end
-
- if $ARGS[0] = 'CupHotelSetup':
- if $ARGS[1] = 'start':
- $modArr_AF_CityHotelRoomOccupant['B1'] = '<<$modArr_AF_VBallT_PlayerName[0]>> & <<$modArr_AF_VBallT_PlayerName[1]>>'
- $modArr_AF_CityHotelRoomOccupant['B2'] = '<<$modArr_AF_VBallT_PlayerName[2]>> & <<$modArr_AF_VBallT_PlayerName[3]>>'
- $modArr_AF_CityHotelRoomOccupant['B3'] = '<<$modArr_AF_VBallT_PlayerName[4]>> & <<$modArr_AF_VBallT_PlayerName[5]>>'
- $modArr_AF_CityHotelRoomOccupant['B4'] = '<<$modArr_AF_VBallT_PlayerName[6]>> & <<$modArr_AF_VBallT_PlayerName[7]>>'
- $modArr_AF_CityHotelRoomOccupant['B5'] = '<<$modArr_AF_VBallT_PlayerName[8]>> & <<$modArr_AF_VBallT_PlayerName[9]>>'
- $modArr_AF_CityHotelRoomOccupant['B6'] = 'Mr Nikolaevich'
- charsche_ID = 19
- $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_1'
- $charsche_CurActLoc = 'void'
- $charsche_CurActDesc = 'waiting'
- charsche_CurActTime = 0
- charsche_CurActPriority = 2
- $charsche_PrevActLoc = ''
- $charsche_PrevActDesc = ''
- charsche_LastCheck = 0
- gs 'mod_addedflavour_charsche' , 'addchar'
- charsche_ID = 18
- $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_2'
- $charsche_CurActLoc = 'void'
- $charsche_CurActDesc = 'waiting'
- charsche_CurActTime = 0
- charsche_CurActPriority = 2
- $charsche_PrevActLoc = ''
- $charsche_PrevActDesc = ''
- charsche_LastCheck = 0
- gs 'mod_addedflavour_charsche' , 'addchar'
- charsche_ID = 13
- $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_2'
- $charsche_CurActLoc = 'void'
- $charsche_CurActDesc = 'waiting'
- charsche_CurActTime = 0
- charsche_CurActPriority = 2
- $charsche_PrevActLoc = ''
- $charsche_PrevActDesc = ''
- charsche_LastCheck = 0
- gs 'mod_addedflavour_charsche' , 'addchar'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[4],1,strpos($modArr_AF_VBallT_PlayerName[4],' ') - 1)
- $npc_firstname['A705'] = '<<$modVar_AF_TempStr>>'
- $npc_usedname['A705'] = '<<$modVar_AF_TempStr>>'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[4],strpos($modArr_AF_VBallT_PlayerName[4],' ') + 1,len($modArr_AF_VBallT_PlayerName[4]))
- $npc_lastname['A705'] = '<<$modVar_AF_TempStr>>'
- npc_gender['A705'] = 1
- charsche_ID = 705
- $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_3'
- $charsche_CurActLoc = 'void'
- $charsche_CurActDesc = 'waiting'
- charsche_CurActTime = 0
- charsche_CurActPriority = 2
- $charsche_PrevActLoc = ''
- $charsche_PrevActDesc = ''
- charsche_LastCheck = 0
- gs 'mod_addedflavour_charsche' , 'addchar'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[5],1,strpos($modArr_AF_VBallT_PlayerName[5],' ') - 1)
- $npc_firstname['A706'] = '<<$modVar_AF_TempStr>>'
- $npc_usedname['A706'] = '<<$modVar_AF_TempStr>>'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[5],strpos($modArr_AF_VBallT_PlayerName[5],' ') + 1,len($modArr_AF_VBallT_PlayerName[5]))
- $npc_lastname['A706'] = '<<$modVar_AF_TempStr>>'
- npc_gender['A706'] = 1
- charsche_ID = 706
- $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_3'
- $charsche_CurActLoc = 'void'
- $charsche_CurActDesc = 'waiting'
- charsche_CurActTime = 0
- charsche_CurActPriority = 2
- $charsche_PrevActLoc = ''
- $charsche_PrevActDesc = ''
- charsche_LastCheck = 0
- gs 'mod_addedflavour_charsche' , 'addchar'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[6],1,strpos($modArr_AF_VBallT_PlayerName[6],' ') - 1)
- $npc_firstname['A707'] = '<<$modVar_AF_TempStr>>'
- $npc_usedname['A707'] = '<<$modVar_AF_TempStr>>'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[6],strpos($modArr_AF_VBallT_PlayerName[6],' ') + 1,len($modArr_AF_VBallT_PlayerName[6]))
- $npc_lastname['A707'] = '<<$modVar_AF_TempStr>>'
- npc_gender['A707'] = 1
- charsche_ID = 707
- $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_4'
- $charsche_CurActLoc = 'void'
- $charsche_CurActDesc = 'waiting'
- charsche_CurActTime = 0
- charsche_CurActPriority = 2
- $charsche_PrevActLoc = ''
- $charsche_PrevActDesc = ''
- charsche_LastCheck = 0
- gs 'mod_addedflavour_charsche' , 'addchar'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[7],1,strpos($modArr_AF_VBallT_PlayerName[7],' ') - 1)
- $npc_firstname['A708'] = '<<$modVar_AF_TempStr>>'
- $npc_usedname['A708'] = '<<$modVar_AF_TempStr>>'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[7],strpos($modArr_AF_VBallT_PlayerName[7],' ') + 1,len($modArr_AF_VBallT_PlayerName[7]))
- $npc_lastname['A708'] = '<<$modVar_AF_TempStr>>'
- npc_gender['A708'] = 1
- charsche_ID = 708
- $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_4'
- $charsche_CurActLoc = 'void'
- $charsche_CurActDesc = 'waiting'
- charsche_CurActTime = 0
- charsche_CurActPriority = 2
- $charsche_PrevActLoc = ''
- $charsche_PrevActDesc = ''
- charsche_LastCheck = 0
- gs 'mod_addedflavour_charsche' , 'addchar'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[8],1,strpos($modArr_AF_VBallT_PlayerName[8],' ') - 1)
- $npc_firstname['A709'] = '<<$modVar_AF_TempStr>>'
- $npc_usedname['A709'] = '<<$modVar_AF_TempStr>>'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[8],strpos($modArr_AF_VBallT_PlayerName[8],' ') + 1,len($modArr_AF_VBallT_PlayerName[8]))
- $npc_lastname['A709'] = '<<$modVar_AF_TempStr>>'
- npc_gender['A709'] = 1
- charsche_ID = 709
- $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_5'
- $charsche_CurActLoc = 'void'
- $charsche_CurActDesc = 'waiting'
- charsche_CurActTime = 0
- charsche_CurActPriority = 2
- $charsche_PrevActLoc = ''
- $charsche_PrevActDesc = ''
- charsche_LastCheck = 0
- gs 'mod_addedflavour_charsche' , 'addchar'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[9],1,strpos($modArr_AF_VBallT_PlayerName[9],' ') - 1)
- $npc_firstname['A710'] = '<<$modVar_AF_TempStr>>'
- $npc_usedname['A710'] = '<<$modVar_AF_TempStr>>'
- $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[9],strpos($modArr_AF_VBallT_PlayerName[9],' ') + 1,len($modArr_AF_VBallT_PlayerName[9]))
- $npc_lastname['A710'] = '<<$modVar_AF_TempStr>>'
- npc_gender['A710'] = 1
- charsche_ID = 710
- $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_5'
- $charsche_CurActLoc = 'void'
- $charsche_CurActDesc = 'waiting'
- charsche_CurActTime = 0
- charsche_CurActPriority = 2
- $charsche_PrevActLoc = ''
- $charsche_PrevActDesc = ''
- charsche_LastCheck = 0
- gs 'mod_addedflavour_charsche' , 'addchar'
- charsche_ID = 69
- $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_6'
- $charsche_CurActLoc = 'void'
- $charsche_CurActDesc = 'waiting'
- charsche_CurActTime = 0
- charsche_CurActPriority = 2
- $charsche_PrevActLoc = ''
- $charsche_PrevActDesc = ''
- charsche_LastCheck = 0
- gs 'mod_addedflavour_charsche' , 'addchar'
- $charsche_Name = 'A19_CupEvent'
- charsche_ID = 19
- charsche_StartTime = 1320
- charsche_EndTime = 360
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A18_CupEvent'
- charsche_ID = 18
- charsche_StartTime = 1320
- charsche_EndTime = 360
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A13_CupEvent'
- charsche_ID = 13
- charsche_StartTime = 1320
- charsche_EndTime = 360
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A705_CupEvent'
- charsche_ID = 705
- charsche_StartTime = 1320
- charsche_EndTime = 360
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A706_CupEvent'
- charsche_ID = 706
- charsche_StartTime = 1320
- charsche_EndTime = 360
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A707_CupEvent'
- charsche_ID = 707
- charsche_StartTime = 1320
- charsche_EndTime = 360
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A708_CupEvent'
- charsche_ID = 708
- charsche_StartTime = 1320
- charsche_EndTime = 360
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A709_CupEvent'
- charsche_ID = 709
- charsche_StartTime = 1320
- charsche_EndTime = 360
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A710_CupEvent'
- charsche_ID = 710
- charsche_StartTime = 1320
- charsche_EndTime = 360
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A69_CupEvent'
- charsche_ID = 69
- charsche_StartTime = 1320
- charsche_EndTime = 360
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'JuniorCupHotel - BedroomResting'
- $charsche_Location = 'HomeLoc'
- $charsche_Action = 'Resting'
- charsche_StartTime = 1
- charsche_EndTime = 1440
- charsche_MinLen = 5
- charsche_MaxLen = 60
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 0
- $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X'
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addact'
- $charsche_Name = 'JuniorCupHotel - BedroomWatchTV'
- $charsche_Location = 'HomeLoc'
- $charsche_Action = 'Watch TV'
- charsche_StartTime = 360
- charsche_EndTime = 1260
- charsche_MinLen = 15
- charsche_MaxLen = 60
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 0
- $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X'
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addact'
- $charsche_Name = 'JuniorCupHotel - BedroomBathing'
- $charsche_Location = 'HomeLoc'
- $charsche_Action = 'Bathing'
- charsche_StartTime = 390
- charsche_EndTime = 1320
- charsche_MinLen = 20
- charsche_MaxLen = 30
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 1
- $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X'
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addact'
- $charsche_Name = 'JuniorCupHotel - BedroomSex'
- $charsche_Location = 'HomeLoc'
- $charsche_Action = 'Sex'
- charsche_StartTime = 1080
- charsche_EndTime = 1260
- charsche_MinLen = 15
- charsche_MaxLen = 30
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 0
- $charsche_Chars = 'A705XA706XA707XA708XA709XA710X'
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addact'
- $charsche_Name = 'JuniorCupHotel - CommonRoomWorkout'
- $charsche_Location = 'mod_addedflavour_city_hotel_CoRm'
- $charsche_Action = 'Working Out'
- charsche_StartTime = 420
- charsche_EndTime = 1260
- charsche_MinLen = 20
- charsche_MaxLen = 45
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 0
- $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710X'
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addact'
- $charsche_Name = 'JuniorCupHotel - CommonRoomYoga'
- $charsche_Location = 'mod_addedflavour_city_hotel_CoRm'
- $charsche_Action = 'Yoga'
- charsche_StartTime = 420
- charsche_EndTime = 1260
- charsche_MinLen = 20
- charsche_MaxLen = 45
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 0
- $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710X'
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addact'
- $charsche_Name = 'JuniorCupHotel - CommonRoomEating'
- $charsche_Location = 'mod_addedflavour_city_hotel_CoRm'
- $charsche_Action = 'Eating'
- charsche_StartTime = 420
- charsche_EndTime = 1260
- charsche_MinLen = 10
- charsche_MaxLen = 20
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 0
- $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X'
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addact'
- $charsche_Name = 'JuniorCupHotel - CommonRoomResting'
- $charsche_Location = 'mod_addedflavour_city_hotel_CoRm'
- $charsche_Action = 'Resting'
- charsche_StartTime = 360
- charsche_EndTime = 1260
- charsche_MinLen = 5
- charsche_MaxLen = 60
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 0
- $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X'
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addact'
- $charsche_Name = 'JuniorCupHotel - HallIdle'
- $charsche_Location = 'mod_addedflavour_city_hotel_Hall'
- $charsche_Action = 'Idle'
- charsche_StartTime = 420
- charsche_EndTime = 1260
- charsche_MinLen = 30
- charsche_MaxLen = 60
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 0
- $charsche_Chars = 'A69X'
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addact'
- gs 'mod_addedflavour_Volleyball' , 'SortTournamentPlayers'
- gs 'mod_addedflavour_SFLA_Functions' , 'ActivityImage-Config'
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'mod_addedflavour_city_hotel_Bedr_1' , 'Resting' , 30
- elseif $ARGS[1] = 'end':
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 19
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 18
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 13
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 705
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 706
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 707
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 708
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 709
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 710
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 69
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 19
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 18
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 13
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 705
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 706
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 707
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 708
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 709
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 710
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 69
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 19
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 18
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 13
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 705
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 706
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 707
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 708
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 709
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 710
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 705
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 706
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 707
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 708
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 709
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 710
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 69
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 19
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 18
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 13
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 705
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 706
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 707
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 708
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 709
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 710
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 19
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 18
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 13
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 705
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 706
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 707
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 708
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 709
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 710
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 19
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 18
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 13
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 705
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 706
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 707
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 708
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 709
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 710
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 69
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 19
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 18
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 13
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 705
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 706
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 707
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 708
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 709
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 710
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 69
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - HallIdle' , 'Remove' , 69
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'Void' , 'Idle' , 5
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 18 , 'Void' , 'Idle' , 5
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 13 , 'Void' , 'Idle' , 5
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 705 , 'Void' , 'Idle' , 5
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 706 , 'Void' , 'Idle' , 5
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 707 , 'Void' , 'Idle' , 5
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 708 , 'Void' , 'Idle' , 5
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 709 , 'Void' , 'Idle' , 5
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 710 , 'Void' , 'Idle' , 5
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 69 , 'Void' , 'Idle' , 5
- end
- end
-
- if $ARGS[0] = 'JuniorCupDirector':
- if hour >= 21 and strpos($loc,'mod_addedflavour_city_hotel_B') = 0 and modVar_AF_EventOpen['A69-HotelSneak'] ! 1:
- gt 'mod_addedflavour_A69_Functions' , 'JCD-Curfew'
- elseif hour >= 23 or hour < 6:
- gt 'mod_addedflavour_A69_Functions' , 'JCD-Sleep'
- elseif hour = 8:
- if week = 6 : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-1' , 'Late'
- if week = 7 : gt 'mod_addedflavour_A69_Events' , 'A69-Sunday-1' , 'Late'
- end
- end
-
- if $ARGS[0] = 'JCD-Curfew':
- *clr & cla
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'mod_addedflavour_city_hotel_Bedr_1' , 'Resting' , 30
- gs 'stat'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/hotel/HotelBedroom.jpg"></center>'
- *nl
- 'You have hit your 9pm curfew so rush back to your Hotel Room.'
- act 'Reach your room' : gt 'mod_addedflavour_city_hotel_Bedr' , 'start' , 1
- end
-
- if $ARGS[0] = 'JCD-Sleep':
- *clr & cla
- $loc = 'mod_addedflavour_city_hotel_Bedr'
- $loc_arg = 'start1'
- gs 'stat'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/hotel/HotelBedroom.jpg"></center>'
- *nl
- 'You decide it is time to get some sleep as you have a busy day ahead of you...'
- act 'Get some sleep':
- *clr & cla
- if hour < 6:
- minut += 360 - ((hour * 60) + minut)
- else
- minut += (1440 - ((hour * 60) + minut)) + 360
- end
- minut += rand(0,15)
- pcs_mood += 60
- pcs_sleep += 100
- pcs_health += 50
- gs 'mod_addedflavour_charsche' , 'chkschedule'
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'mod_addedflavour_city_hotel_Bedr_1' , 'Resting' , 15
- gs'stat'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="images/shared/home/bedroom/son.jpg"></center>'
- *nl
- '<center>You sleep the deep sleep of someone who is very satisfied...</center>'
- act 'Wake Up' : gt $loc, $loc_arg
- end
- end
-
- if $ARGS[0] = 'TournamentInformation':
- *clr & cla
- if $loc = 'mod_addedflavour_city_hotel_Hall' : minut += rand(1,3) & gs 'mod_addedflavour_A69_Functions' , 'JuniorCupDirector'
- '<center><h2>Tournament Information</h2></center>'
- gs 'stat'
- if $ARGS[1] ! '':
- '<b>Team:</b>'
- *nl
- ListTeamCount = 0
- modVar_AF_Temp = 0
- :ListTeamLoopStart
- if ListTeamCount >= arrsize('$modArr_AF_VBallT_PlayerName') : jump 'ListTeamLoopEnd'
- if $modArr_AF_VBallT_PlayerTeam[ListTeamCount] = $ARGS[1]:
- modVar_AF_Temp += modArr_AF_VBallT_PlayerSkill[ListTeamCount]
- '<<$modArr_AF_VBallT_PlayerName[ListTeamCount]>> - Skill Level: <<modArr_AF_VBallT_PlayerSkill[ListTeamCount]>>'
- end
- ListTeamCount += 1
- jump 'ListTeamLoopStart'
- :ListTeamLoopEnd
- *nl
- ' Team Average = <<modVar_AF_Temp / 10>>'
- act 'Return' : gt 'mod_addedflavour_A69_Functions' , 'TournamentInformation'
- else
- '<b>Teams</b>'
- '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Pavlovsk Falcons'' ">Pavlovsk Falcons</a>'
- '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Gatchina Chiefs'' ">Gatchina Chiefs</a>'
- '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Kolpino Panthers'' ">Kolpino Panthers</a>'
- '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Bor Bears'' ">Bor Bears</a>'
- '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Vsevolozhsk Jets'' ">Vsevolozhsk Jets</a>'
- '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Olkhovsky Warriors'' ">Olkhovsky Warriors</a>'
- '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Bolshaya Chargers'' ">Bolshaya Chargers</a>'
- '<a href="exec: gt ''mod_addedflavour_A69_Functions'' , ''TournamentInformation'' , ''Primorsky Predators'' ">Primorsky Predators</a>'
- *nl
- '<b>Top 10 Rated Players:</b>'
- gs 'mod_addedflavour_Volleyball' , 'SortTournamentPlayers'
- '<<$modArr_AF_VBallT_PlayerName[0]>> (<<$modArr_AF_VBallT_PlayerTeam[0]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[0]>>'
- '<<$modArr_AF_VBallT_PlayerName[1]>> (<<$modArr_AF_VBallT_PlayerTeam[1]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[1]>>'
- '<<$modArr_AF_VBallT_PlayerName[2]>> (<<$modArr_AF_VBallT_PlayerTeam[2]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[2]>>'
- '<<$modArr_AF_VBallT_PlayerName[3]>> (<<$modArr_AF_VBallT_PlayerTeam[3]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[3]>>'
- '<<$modArr_AF_VBallT_PlayerName[4]>> (<<$modArr_AF_VBallT_PlayerTeam[4]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[4]>>'
- '<<$modArr_AF_VBallT_PlayerName[5]>> (<<$modArr_AF_VBallT_PlayerTeam[5]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[5]>>'
- '<<$modArr_AF_VBallT_PlayerName[6]>> (<<$modArr_AF_VBallT_PlayerTeam[6]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[6]>>'
- '<<$modArr_AF_VBallT_PlayerName[7]>> (<<$modArr_AF_VBallT_PlayerTeam[7]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[7]>>'
- '<<$modArr_AF_VBallT_PlayerName[8]>> (<<$modArr_AF_VBallT_PlayerTeam[8]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[8]>>'
- '<<$modArr_AF_VBallT_PlayerName[9]>> (<<$modArr_AF_VBallT_PlayerTeam[9]>>) - Skill Level: <<modArr_AF_VBallT_PlayerSkill[9]>>'
- *nl
- gs 'mod_addedflavour_Volleyball' , 'SortLeagues'
- '<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>'
- act 'Return' : gt $loc, $loc_arg
- end
- end
- --- mod_addedflavour_A69_Functions ---------------------------------
|