246_volley 3.2 KB

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