enderKik 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. # enderKik
  2. !!CV extension: Rewrite of the winning announcement
  3. if $ARGS[0] = 'win':
  4. !!KikWin = KikWin + 1
  5. pointKik = 0
  6. pointKikV = 0
  7. round = 0
  8. minround = 0
  9. end
  10. if health < 10:health = 10
  11. cla
  12. *clr
  13. if profi = 1:
  14. profi = 0
  15. '<center><img src="images/community/kickboxing_speaker.jpg"></center>'
  16. 'Time to the announcement ...'
  17. act 'Exit to the middle to announce the winner':
  18. if $ARGS[0] = 'win':
  19. cla
  20. *clr
  21. '<center><img src="images/community/kickboxing_win.jpg"></center>'
  22. 'Congratulations! You win!'
  23. KikWinPro += 1
  24. rikudo += 5
  25. end
  26. if $ARGS[0] = 'winKO':
  27. cla
  28. *clr
  29. '<center><img src="images/community/kickboxing_win_ko.jpg"></center>'
  30. 'Congratulations! You win!'
  31. 'And it is a knockout!'
  32. KikWinPro += 1
  33. KikWinProKO += 1
  34. rikudo += 10
  35. end
  36. if $ARGS[0] = 'loss':
  37. cla
  38. *clr
  39. '<center><img src="images/community/kickboxing_loss.jpg"></center>'
  40. 'You lose.'
  41. KikLossPro += 1
  42. end
  43. if $ARGS[0] = 'lossKO':
  44. cla
  45. *clr
  46. '<center><img src="images/community/kickboxing_loss_ko.jpg"></center>'
  47. 'Suddendly the room starts getting darker and darker ...'
  48. KikLossPro += 1
  49. KikLossProKO += 1
  50. end
  51. if $ARGS[0] = 'draw':
  52. cla
  53. *clr
  54. 'And it is a draw !'
  55. KikDrawPro += 1
  56. end
  57. ! WD: Argument is 'dressing room'
  58. act 'Leave the ring':gt 'fit', 'dressing room'
  59. end
  60. elseif amateur = 1:
  61. amateur = 0
  62. '<center><img src="images/community/kickboxing_speaker.jpg"></center>'
  63. 'Time to the announcement ...'
  64. act 'Exit to the middle to announce the winner':
  65. if $ARGS[0] = 'win':
  66. cla
  67. *clr
  68. '<center><img src="images/community/kickboxing_speaker.jpg"></center>'
  69. 'Time to the announcement ...'
  70. '<center><img src="images/community/kickboxing_win.jpg"></center>'
  71. 'Congratulations! You win!'
  72. KikWinAm += 1
  73. amateur = 0
  74. amatReit += 1
  75. money += 500 + kikmoney
  76. rikudo += 5
  77. 'You handed over a prize of 500 rubles.'
  78. gs 'razrKik'
  79. end
  80. if $ARGS[0] = 'winKO':
  81. cla
  82. *clr
  83. '<center><img src="images/community/kickboxing_speaker.jpg"></center>'
  84. 'Time to the announcement ...'
  85. '<center><img src="images/community/kickboxing_win_ko.jpg"></center>'
  86. 'Congratulations! You win!'
  87. 'Great victory!'
  88. KikWinAm += 1
  89. KikWinAmKO += 1
  90. amatReit += 1
  91. amateur = 0
  92. money += 500
  93. rikudo += 10
  94. 'You handed over a prize of 500 rubles.'
  95. end
  96. if $ARGS[0] = 'loss':
  97. cla
  98. *clr
  99. '<center><img src="images/community/kickboxing_speaker.jpg"></center>'
  100. 'Time to the announcement ...'
  101. '<center><img src="images/community/kickboxing_loss.jpg"></center>'
  102. 'You lose.'
  103. KikLossAm += 1
  104. if amatReit > 0:amatReit -= 1
  105. end
  106. if $ARGS[0] = 'lossKO':
  107. cla
  108. *clr
  109. '<center><img src="images/community/kickboxing_speaker.jpg"></center>'
  110. 'Time to the announcement ...'
  111. '<center><img src="images/community/kickboxing_loss_ko.jpg"></center>'
  112. 'Suddendly the room starts getting darker and darker ...'
  113. KikLossAm += 1
  114. KikLossAmKO += 1
  115. if amatReit > 0:amatReit -= 1
  116. end
  117. if $ARGS[0] = 'draw':
  118. cla
  119. *clr
  120. '<center><img src="images/community/kickboxing_speaker.jpg"></center>'
  121. 'Time to the announcement ...'
  122. 'And it is a draw !'
  123. KikDrawAm += 1
  124. end
  125. ! WD: Argument is 'dressing room'
  126. act 'Leave the ring':gt 'fit', 'dressing room'
  127. end
  128. elseif sparing = 1:
  129. sparing = 0
  130. if $ARGS[0] = 'win':
  131. '<center><img src="images/community/kickboxing_rival.jpg"></center>'
  132. 'The section is over.'
  133. 'Your rival came to you and said:'
  134. '- "Nice job on the ring."'
  135. 'She turned around and left to the dressing room.'
  136. end
  137. if $ARGS[0] = 'winKO':
  138. '<center><img src="images/community/kickboxing_win_ko.jpg"></center>'
  139. 'The section is over.'
  140. 'You had to knock her off .... Did you??'
  141. end
  142. if $ARGS[0] = 'loss':
  143. '<center><img src="images/community/kickboxing_rival.jpg"></center>'
  144. 'The section is over.'
  145. ' Your rival came to you and said:'
  146. '- "Keep practicing."'
  147. 'She turned around and left to the dressing room.'
  148. end
  149. if $ARGS[0] = 'lossKO':
  150. '<center><img src="images/community/kickboxing_loss_ko.jpg"></center>'
  151. 'The section is over.'
  152. 'Suddendly the room starts getting darker and darker ...'
  153. end
  154. if $ARGS[0] = 'draw':
  155. '<center><img src="images/community/kickboxing_rival.jpg"></center>'
  156. 'The section is over.'
  157. ' Your rival came to you and said:'
  158. '- "Looks like both of us need to keep practicing"'
  159. 'She turned around and left to the dressing room.'
  160. end
  161. ! WD: Argument is 'dressing room'
  162. act 'Leave the ring':gt 'fit', 'dressing room'
  163. end
  164. --- enderKik ---------------------------------