volley 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. # volley
  2. minut += 30
  3. gs 'stat'
  4. if volltime = 0:
  5. poverkomandV = rand(500, 1500)
  6. '<center><img src="images/qwest/alter/gdksport.jpg"></center>'
  7. 'Teams took to the field and started playing.'
  8. if volleysostav = 1:'You sit on the bench watching your team plays.'
  9. if poverkomand > poverkomandV:
  10. volpoint += 1
  11. 'Your team plays with the team opponents.'
  12. end
  13. if poverkomand = poverkomandV:
  14. volpoint += 1
  15. volpointv += 1
  16. 'The scales vary in one, then the other, obviously teams are equal on forces.'
  17. end
  18. if poverkomand < poverkomandV:
  19. volpointv += 1
  20. 'Team beats rivals your team.'
  21. end
  22. act 'further':volltime=1 & gt $curloc
  23. end
  24. if volltime = 1:
  25. '<center><img src="images/qwest/alter/gdksport.jpg" ></center>'
  26. 'There was a break .'
  27. if volleysostav = 1:
  28. 'You are sitting on the bench.'
  29. act 'Ask to play':
  30. cls
  31. gs 'stat'
  32. trenereparand = rand(0, 80)
  33. if trenerepa >= trenereparand:
  34. volleysostav = 2
  35. dom += 1
  36. poverkomand -= 100
  37. poverkomand += volleyboll
  38. 'The coach has agreed to release you on the field.'
  39. act 'further':volltime = 2 & gt $curloc
  40. else
  41. 'You have been asking the coach to play, but he shook his head and went on to explain the strategy of girls.'
  42. act 'further':volltime = 2 & gt $curloc
  43. end
  44. end
  45. end
  46. act 'further':volltime = 2 & gt $curloc
  47. end
  48. if volltime=2:
  49. '<center><img src="images/qwest/alter/gdksport.jpg" ></center>'
  50. 'Break is over and the team started to play again.'
  51. if volleysostav = 1:'You are sitting on the bench watching how your team plays.'
  52. if poverkomand > poverkomandV:
  53. volpoint += 1
  54. 'Your team plays with the team opponents.'
  55. if volleysostav = 2:
  56. if volpointv > 0:trenerepa += 10
  57. end
  58. end
  59. if poverkomand = poverkomandV:
  60. volpoint += 1
  61. volpointv += 1
  62. 'The scales vary in one, then the other, obviously teams are equal on forces.'
  63. if volleysostav = 2:
  64. if volpointv > 0:trenerepa += 5
  65. end
  66. end
  67. if poverkomand < poverkomandV:
  68. volpointv += 1
  69. 'Team beats rivals your team.'
  70. if volleysostav = 2:
  71. if volpoint > 0:trenerepa -= 10
  72. end
  73. end
  74. act 'further':volltime = 3 & gt $curloc
  75. end
  76. if volltime = 3:
  77. volsesongame += 1
  78. '<center><img src="images/qwest/alter/gdksport.jpg" ></center>'
  79. 'Final whistle.'
  80. if volpoint > volpointv:
  81. volsesonwin += 1
  82. 'Your team won.'
  83. end
  84. if volpoint = volpointv:
  85. volsesondraw += 1
  86. 'draw.'
  87. end
  88. if volpoint < volpointv:
  89. volsesonloss += 1
  90. 'Your team lost.'
  91. end
  92. if volleysostav = 2:volleysostav = 1 & poverkomand -= volleyboll & poverkomand += 100
  93. volpoint = 0
  94. volpointv = 0
  95. act 'Leave':gt 'gdksport'
  96. act 'Go to coaching':gt 'Voltrener'
  97. end
  98. --- volley ---------------------------------