# 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'
'
St. Petersburg
'
'University Sports Pitch'
''
*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
'University Team - Women''s Football'
*nl
KILLVAR 'modVar_AF_Temp'
if modVar_AF_EventProgress['Football'] = 0:
'There is a Poster advertising Women''s Football here'
modVar_AF_Temp += 1
elseif modVar_AF_EventProgress['Football'] < 3 and (hour >= 9 and hour < 17) and student > 0:
'Football Coach (Join)'
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 (Join)'
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 (Join)'
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 ---------------------------------