1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- # mod_addedflavour_city_upitch
- if $ARGS[0] = 'start' or '':
- *clr & cla
- CLOSE ALL
- $loc_arg = 'start'
- $loc = 'mod_addedflavour_city_upitch'
- $location_type = 'public_outdoors'
- $menu_loc = 'mod_addedflavour_city_upitch'
- $menu_arg = 'start'
- menu_off = 0
- if hour >= 19 or hour < 6:
- $modVar_AF_TempStr = 'N'
- else
- $modVar_AF_TempStr = ''
- end
- gs 'stat'
- '<center><h2>St. Petersburg</h2></center>'
- '<center><b>University Sports Pitch</b></center>'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/university/UniPitch<<$modVar_AF_TempStr>>.jpg"></center>'
- *nl
- 'This is the Sports Pitch connected to the nearby University. It is available to anyone but is mainly used by students of the University and their associated clubs.'
- *nl
- '<u><b>University Team - Women''s Football</b></u>'
- *nl
- KILLVAR 'modVar_AF_Temp'
- if modVar_AF_EventProgress['Football'] = 0:
- '<b>There is a <a href="exec: gt ''mod_addedflavour_Football'' , ''Advert'' ">Poster</a> advertising Women''s Football here</b>'
- modVar_AF_Temp += 1
- elseif modVar_AF_EventProgress['Football'] < 3 and (hour >= 9 and hour < 17) and student > 0:
- 'Football Coach (<a href="exec: gt ''mod_addedflavour_Football'' , ''Join-L1'' ">Join</a>)'
- modVar_AF_Temp += 1
- end
- if modVar_AF_EventProgress['Football'] >= 1 and (hour >= 9 and hour < 17) and student > 0 and $clothingworntype = 'exercise':
- 'Training Session (<a href="exec: gt ''mod_addedflavour_Football'' , ''Training'' ">Join</a>)'
- modVar_AF_Temp += 1
- end
- gs 'mod_addedflavour_Football' , 'FindGameweek'
- gs 'mod_addedflavour_Football' , 'RunGameweek'
- if modVar_AF_EventProgress['Football'] = 3 and week = 7 and modVar_AF_FBall_GameweekPlayed = modVar_AF_FBall_Gameweek - 1 and (hour = 6 or (hour = 7 and minut <= 30)) and (modVar_AF_FBall_Gameweek = 1 or modVar_AF_FBall_Gameweek = 3 or modVar_AF_FBall_Gameweek = 5 or modVar_AF_FBall_Gameweek = 7 or modVar_AF_FBall_Gameweek = 9 or modVar_AF_FBall_Gameweek = 13 or modVar_AF_FBall_Gameweek = 15 or modVar_AF_FBall_Gameweek = 17 or modVar_AF_FBall_Gameweek = 19 or modVar_AF_FBall_Gameweek = 21):
- 'Match Preparation (<a href="exec: gt ''mod_addedflavour_Football'' , ''MatchStart'' , ''Pitch'' ">Join</a>)'
- modVar_AF_Temp += 1
- end
- if modVar_AF_Temp = 0 : 'Football Training is Publicly Available between 9am and 5pm (Clothing NOT provided).'
- act 'Leave' : minut += 5 & gt 'city_island'
- end
- --- mod_addedflavour_city_upitch ---------------------------------
|