mod_addedflavour_city_vstadium.qsrc 1.8 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # mod_addedflavour_city_vstadium
  2. if $ARGS[0] = 'start' or '':
  3. *clr & cla
  4. CLOSE ALL
  5. $loc_arg = 'start'
  6. $loc = 'mod_addedflavour_city_vstadium'
  7. $location_type = 'public_outdoors'
  8. $menu_loc = 'mod_addedflavour_city_vstadium'
  9. $menu_arg = 'start'
  10. menu_off = 0
  11. if hour >= 19 or hour < 6:
  12. $modVar_AF_TempStr = 'N'
  13. else
  14. $modVar_AF_TempStr = ''
  15. end
  16. gs 'stat'
  17. '<center><h2>St. Petersburg</h2></center>'
  18. '<center><b>Volleyball Stadium</b></center>'
  19. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/stadium/StadiumFront<<$modVar_AF_TempStr>>.jpg"></center>'
  20. *nl
  21. 'This is the main Volleyball Stadium in St Petersburg. It handles anything from Major Regional Events to Daily Open Quickplay Matches.'
  22. *nl
  23. '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).'
  24. if pcs_stam > 20 and $clothingworntype = 'exercise' and $shoeworntype = 'trainers' and (hour >= 9 and hour < 18) and volleysostav = 0:
  25. 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'
  26. elseif volleysostav > 0:
  27. *nl
  28. '<b>Your Volleyball Team aren''t going to be happy with you training at a rival team!</b>'
  29. elseif ($clothingworntype ! 'exercise' or $shoeworntype ! 'trainers') and (hour >= 9 and hour < 18):
  30. *nl
  31. '<b>You could join a Match if you were wearing Exercise Clothing</b>'
  32. end
  33. act 'Leave' : minut += 10 & gt 'city_island'
  34. end
  35. --- mod_addedflavour_city_vstadium ---------------------------------