123456789101112131415161718192021222324252627282930313233343536 |
- # mod_addedflavour_city_vstadium
- if $ARGS[0] = 'start' or '':
- *clr & cla
- CLOSE ALL
- $loc_arg = 'start'
- $loc = 'mod_addedflavour_city_vstadium'
- $location_type = 'public_outdoors'
- $menu_loc = 'mod_addedflavour_city_vstadium'
- $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>Volleyball Stadium</b></center>'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/stadium/StadiumFront<<$modVar_AF_TempStr>>.jpg"></center>'
- *nl
- 'This is the main Volleyball Stadium in St Petersburg. It handles anything from Major Regional Events to Daily Open Quickplay Matches.'
- *nl
- 'Free Entry Practice Volleyball Matches are available to all, you just need to be wearing the proper clothing and walk-in between 9am and 6pm (Any day of the week).'
- if pcs_stam > 20 and $clothingworntype = 'exercise' and $shoeworntype = 'trainers' and (hour >= 9 and hour < 18) and volleysostav = 0:
- act 'Join a Practice Match (1:00)' : gs 'mod_addedflavour_Volleyball' , 'SetupPractice' , 'Bolshaya Chargers A' , 'Bolshaya Chargers B' & gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Practice' , 'Bolshaya Chargers A' , 'Bolshaya Chargers B' & gt 'mod_addedflavour_Volleyball' , 'MatchBuildup'
- elseif volleysostav > 0:
- *nl
- '<b>Your Volleyball Team aren''t going to be happy with you training at a rival team!</b>'
- elseif ($clothingworntype ! 'exercise' or $shoeworntype ! 'trainers') and (hour >= 9 and hour < 18):
- *nl
- '<b>You could join a Match if you were wearing Exercise Clothing</b>'
- end
- act 'Leave' : minut += 10 & gt 'city_island'
- end
- --- mod_addedflavour_city_vstadium ---------------------------------
|