volleyball.qsrc 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154
  1. # volleyball
  2. !! ------------------------------------------ Community Center Practice ---------------------------------------------------
  3. if $ARGS[0] = 'level_up':
  4. if vball_block_lvl = pcs_vball['blocking_practice']:
  5. vball['level_up_message'] = 1
  6. end
  7. if vball_rec_lvl = pcs_vball['blocking_practice']:
  8. vball['level_up_message'] = 1
  9. end
  10. if vball_serve_lvl = pcs_vball['blocking_practice']:
  11. vball['level_up_message'] = 1
  12. end
  13. if vball_set_lvl = pcs_vball['blocking_practice']:
  14. vball['level_up_message'] = 1
  15. end
  16. if vball_spike_lvl = pcs_vball['blocking_practice']:
  17. vball['level_up_message'] = 1
  18. end
  19. end
  20. if $ARGS[0] = 'practice_match':
  21. vball_block_exp += 2
  22. vball_rec_exp += 2
  23. vball_serve_exp += 2
  24. vball_set_exp += 2
  25. vball_spike_exp += 2
  26. vball['defense_exp'] += 2
  27. vball['attack_exp'] += 2
  28. end
  29. if $ARGS[0] = 'team_practice':
  30. !! IMAGE LINK
  31. timemult = 8
  32. loopcount = 1
  33. :vballtimeloop3
  34. gs 'exercise', 'tier2', 0, 'vball_block', 'vball_rec', 'vball_serve', 'vball_set', 'vball_spike'
  35. gs 'exercise', 'tier2', 0, 'stren', 'agil', 'prcptn', 'react', 'vital'
  36. if loopcount < timemult: loopcount += 1 & jump 'vballtimeloop3'
  37. loopcount = 0
  38. timemult = 0
  39. vball['defense_exp'] += 1
  40. vball['attack_exp'] += 1
  41. 'Coach Mikhail runs the team through various drills, helping you work on all aspects of volleyball.'
  42. *nl
  43. !! if vball['trenersex'] = 0:
  44. vball['practice_message'] = rand(1,10)
  45. if vball['practice_message'] = 1:
  46. '"<<$pcs_lastname>>! You need to put the weight on the balls of your feet when you jump! Plant yourself more firmly! Focus when you jump! Don''t just throw yourself at the ball!"'
  47. elseif vball['practice_message'] = 2:
  48. '"<<$pcs_lastname>>! Don''t just try to block where you <i>think</i> the ball is going to be! Watch where it''s going before you jump!"'
  49. elseif vball['practice_message'] = 3:
  50. '"<<$pcs_lastname>>! You need to lower your hips when you receive! Your center of gravity isn''t secure! That''s why you keep falling over!"'
  51. elseif vball['practice_message'] = 4:
  52. '"<<$pcs_lastname>>! Your spikes are too obvious! The blockers know exactly where you''re going to hit it! Try changing it up!"'
  53. elseif vball['practice_message'] = 5:
  54. '"<<$pcs_lastname>>! You need to be more consistent when you toss for your serve! Don''t just throw it up randomly! Throw it to the same height every time!"'
  55. elseif vball['practice_message'] = 6:
  56. '"<<$pcs_lastname>>! Get right underneath the ball when you go to set it! If you set it from the side they know which way you''re going to toss it!"'
  57. elseif vball['practice_message'] = 7:
  58. '"<<$pcs_lastname>>! Don''t flail your arms around when you block! Go straight up! You don''t have to block it every time if the people receiving behind you can pick it up! Make it easier on them!"'
  59. elseif vball['practice_message'] = 8:
  60. '"<<$pcs_lastname>>! If you''re going to fake a spike, jump like you mean it! Anyone who''s paying attention will discount you as a threat!"'
  61. elseif vball['practice_message'] = 9:
  62. '"<<$pcs_lastname>>! Stop wimping out when you go for a dive! You have pads for a reason!"'
  63. elseif vball['practice_message'] = 10:
  64. '"<<$pcs_lastname>>! Move your legs! Don''t give up just because the initial receive was off! If you run you can still keep the ball in play!"'
  65. end
  66. act 'Continue': gt 'volleyball', 'team_practice2'
  67. !!{ else
  68. vball['practice_message'] = rand(1,5)
  69. if vball['practice_message'] = 1:
  70. '"<<$pcs_lastname>>!" he calls, walking over to you. "You need to widen your stance more when you receive. Like this..."'
  71. *nl
  72. 'He gets behind you, putting his hands on your body and pushing down on your hips. At the same time, he slides his hands down to your thighs, pushing your legs open wider, copping a feel of them as he does.'
  73. *nl
  74. 'You glance around at the other girls. They''re still focused on their own drills and don''t seem to notice what the coach is doing.'
  75. act'Tease him':
  76. cla & *clr
  77. !!IMAGE LINK
  78. '"Ohhh... So you mean like thiiiis?" You decide to tease him even while he touches you, pushing your ass backwards into his crotch as your stance widens up. Even through your pants and his, you can feel he''s rock-hard. Unable to resist, you tease him some more, moving your hips up and down, rubbing your ass along his erection.'
  79. '"Exactly like that," he says. You can hear the smile in his voice. You bounce a few more times before slowly standing back up.'
  80. '"Thank you Coach Mikhail," you smile back.'
  81. '"Any time <<$pcs_nickname>>," he says before walking off to coach another girl.'
  82. act 'Continue': gt 'volleyball', 'team_practice2'
  83. end
  84. elseif vball['practice_message'] = 4:
  85. '"<<$pcs_lastname>>! Your spikes are too obvious! The blockers know exactly where you''re going to hit it! Try changing it up!"'
  86. elseif vball['practice_message'] = 5:
  87. '"<<$pcs_lastname>>! You need to be more consistent when you toss for your serve! Don''t just throw it up randomly! Throw it to the same height every time!"'
  88. elseif vball['practice_message'] = 6:
  89. '"<<$pcs_lastname>>! Get right underneath the ball when you go to set it! If you set it from the side they know which way you''re going to toss it!"'
  90. elseif vball['practice_message'] = 7:
  91. '"<<$pcs_lastname>>!" he says, walking over to you. "Your arms need to be straight over your head when you go for a block. Go straight up! Keep them totally in line with your body."'
  92. 'As he explains he puts your arms over your head and begins running his hands down them, down to your shoulders, and down your sides, his fingers trailing over the sides of your breasts as they go past.'
  93. act'Tease him':
  94. cla & *clr
  95. !!IMAGE LINK
  96. '"Ohhh... So you mean like thiiiis?" You decide to tease him even while he touches you, pushing your ass backwards into his crotch as your stance widens up. Even through your pants and his, you can feel he''s rock-hard. Unable to resist, you tease him some more, moving your hips up and down, rubbing your ass along his erection.'
  97. '"Exactly like that," he says. You can hear the smile in his voice. You bounce a few more times before slowly standing back up.'
  98. '"Thank you Coach Mikhail," you smile back.'
  99. '"Any time <<$pcs_nickname>>," he says before walking off to coach another girl.'
  100. act 'Continue': gt 'volleyball', 'team_practice2'
  101. end
  102. elseif vball['practice_message'] = 8:
  103. '"<<$pcs_lastname>>! If you''re going to fake a spike, jump like you mean it! Anyone who''s paying attention will discount you as a threat!"'
  104. elseif vball['practice_message'] = 9:
  105. '"<<$pcs_lastname>>! Stop wimping out when you go for a dive! You have pads for a reason!"'
  106. elseif vball['practice_message'] = 10:
  107. '"<<$pcs_lastname>>! Move your legs! Don''t give up just because the initial receive was off! If you run you can still keep the ball in play!"'
  108. end
  109. end}
  110. end
  111. if $ARGS[0] = 'team_practice2':
  112. 'After two hours, he calls practice to a close.'
  113. *nl
  114. '"Alright girls, that''s the end of official practice. As always, you can still use the gym for an extra hour if you want to work on something specific or talk to me if you want tips on something."'
  115. '"Yes coach!" the team calls in unison.'
  116. *nl
  117. if lariskaQW['volleyball'] = 1:
  118. 'You watch as some girls immediately head towards the showers, though Lariska stays to practice. She glances at you, implicitly asking if you''re going to stay as well.'
  119. else
  120. 'You watch as some girls walk off immediately to hit the showers.'
  121. end
  122. act 'Finish practice': gt 'volleyball', 'practice_end1'
  123. act 'Practice blocking': gt 'volleyball', 'block_practice'
  124. act 'Practice receiving': gt 'volleyball', 'recieve_practice'
  125. act 'Practice serving': gt 'volleyball', 'serve_practice'
  126. act 'Practice setting': gt 'volleyball', 'set_practice'
  127. act 'Practice spiking': gt 'volleyball', 'spike_practice'
  128. end
  129. if $ARGS[0] = 'coach_glare':
  130. act'Glare at him':
  131. cla & *clr
  132. !!IMAGE LINK
  133. 'Careful not to make any quick movements that would draw attention, you slowly turn your head to meet his gaze and glare at him.'
  134. 'A glare that says, "Now? Really?"'
  135. '"Was that helpful <<$pcs_lastname>>?" he asks innocently.'
  136. '"Yes, you were so much help. Thank you Coach Mikhail," you smile back warmly while retaining cold eyes.'
  137. '"Any time <<$pcs_nickname>>, he grins back before walking off to coach another girl.'
  138. act 'Continue': gt 'volleyball', 'team_practice2'
  139. end
  140. end
  141. if $ARGS[0] = 'coach_telloff':
  142. act'Tell him off':
  143. cla & *clr
  144. !!IMAGE LINK
  145. 'Careful not to make any quick movements that would draw attention, you slowly turn your head over your shoulder to glare at him.'
  146. '"Not. Right. Now!" you growl at him through clenched teeth, glancing your eyes around the room at your teammates.'
  147. '"Is that a promise for later?" he smirks.'
  148. '"Just get away from me before somebody sees us!" you hiss.'
  149. '"Alright, alright," he says, backing off to coach another girl.'
  150. act 'Continue': gt 'volleyball', 'team_practice2'
  151. end
  152. end
  153. if $ARGS[0] = 'practice_end1':
  154. !! IMAGE LINK
  155. if lariskaQW['volleyball'] = 1:
  156. 'You decide you''ve had enough for today. You shake your head at Lariska, with a returned implication of, "Maybe some other time." She seems disappointed, but doesn''t dwell on it, moving off to ask some of the other girls to help her practice.'
  157. else
  158. 'You decide you''ve had enough for today and finish practice here instead of making use of the free time.'
  159. end
  160. act 'Continue': gt 'gdksport', 'start'
  161. end
  162. if $ARGS[0] = 'block_practice':
  163. timemult = 4
  164. loopcount = 1
  165. :vballtimeloop3
  166. vball_block_lvl = pcs_vball['blocking_practice']
  167. gs 'exercise', 'tier2', 0, 'vball_block', 'stren', 'vital'
  168. gs 'exercise', 'tier3', 0, 'vball_block', 'react'
  169. if loopcount < timemult: loopcount += 1 & jump 'vballtimeloop3'
  170. loopcount = 0
  171. timemult = 0
  172. gs 'volleyball', 'level_up'
  173. !! IMAGE LINK GOES HERE
  174. if vball['team'] = 1:
  175. vball['defense_exp'] += 1
  176. 'You spend your free time practicing blocking spikes with the team.'
  177. else
  178. 'You practice blocking spikes with some of the other girls around the community center.'
  179. end
  180. *nl
  181. if vball['level_up_message'] = 1: vball['level_up_message'] = 0 & 'It was a good session, you feel like you might have figured out some stuff about blocking.'
  182. act'Continue':
  183. cla & *clr
  184. !! IMAGE LINK
  185. 'Coming down from your last block, you wipe your sweat covered brow. Looking at the clock, you see free practice is just about up anyways.'
  186. act 'Finish practice': gt 'gdksport', 'start'
  187. act 'Go see Coach Mikhail': gt 'Voltrener', 'start'
  188. end
  189. end
  190. if $ARGS[0] = 'receive_practice':
  191. timemult = 4
  192. loopcount = 1
  193. :vballtimeloop3
  194. vball_rec_lvl = pcs_vball['blocking_practice']
  195. gs 'exercise', 'tier2', 0, 'vball_rec', 'vital'
  196. gs 'exercise', 'tier3', 0, 'vball_rec', 'agil', 'react'
  197. if loopcount < timemult: loopcount += 1 & jump 'vballtimeloop3'
  198. loopcount = 0
  199. timemult = 0
  200. gs 'volleyball', 'level_up'
  201. !! IMAGE LINK GOES HERE
  202. if vball['team'] = 1:
  203. vball['attack_exp'] += 1
  204. 'You spend your free time practicing receiving spikes and serves from your teammates.'
  205. else
  206. 'You practice receiving with some of the other girls around the community center, asking them to spike and serve balls at you so you can try to bump them into the air.'
  207. end
  208. *nl
  209. if vball['level_up_message'] = 1: vball['level_up_message'] = 0 & 'It was a good session, you feel like you might have figured out how to be more efficient with your receives.'
  210. act 'Finish practice': gt 'volleyball', 'practice_end2'
  211. end
  212. if $ARGS[0] = 'serve_practice':
  213. timemult = 4
  214. loopcount = 1
  215. :vballtimeloop3
  216. vball_serve_lvl = pcs_vball['blocking_practice']
  217. gs 'exercise', 'tier2', 0, 'stren', 'vital'
  218. gs 'exercise', 'tier3', 0, 'vball_serve'
  219. if loopcount < timemult: loopcount += 1 & jump 'vballtimeloop3'
  220. loopcount = 0
  221. timemult = 0
  222. gs 'volleyball', 'level_up'
  223. !! IMAGE LINK GOES HERE
  224. if vball['team'] = 1:
  225. vball['defense_exp'] += 1
  226. 'You spend your free time practicing your jump serve against your teammates while they try to receive it.'
  227. *nl
  228. if vball['level_up_message'] = 1: vball['level_up_message'] = 0 & 'It was a good session of doing serves with the team.'
  229. act 'Finish practice': gt 'volleyball', 'practice_end2'
  230. elseif vball_serve_lvl < 20:
  231. 'You practice jump serves. Most times end with you missing the ball entirely or falling flat on your ass after the hit or whacking it with a homerun hit outside the court. Or a combination of those things.'
  232. *nl
  233. if vball['level_up_message'] = 1 and vball_serve_lvl = 20:
  234. vball['level_up_message'] = 0
  235. act 'Continue': gt 'volleyball', 'jump_serve_complete'
  236. elseif vball['level_up_message'] = 1:
  237. vball['level_up_message'] = 0
  238. 'Though most of your attempts went awry, but you think you might be a litte closer to figuring out this jump serve thing.'
  239. act 'Finish practice': gt 'volleyball', 'practice_end2'
  240. else
  241. 'By the end of practice your body is aching with your failed attempts to jump serve. You wince as you rub your ass, wondering if it''s going to bruise.'
  242. '<i>Man! Jump serving is hard!</i>'
  243. act 'Finish practice': gt 'volleyball', 'practice_end2'
  244. end
  245. else
  246. 'You practice jump serves, asking some of the other girls help you out by trying to receive them.'
  247. *nl
  248. if vball['level_up_message'] = 1: vball['level_up_message'] = 0 & 'Their advice really helped, you feel like you might have figured out how to better control and aim your serve.'
  249. act 'Finish practice': gt 'volleyball', 'practice_end2'
  250. end
  251. end
  252. if $ARGS[0] = 'jump_serve_complete':
  253. !! IMAGE LINK GOES HERE
  254. !! '<i>Whhhwwww</i>'
  255. *nl
  256. 'You exale slowly, holding the ball in front of yourself. Tossing it up into the air, you think, <i>That felt right...</i>'
  257. *nl
  258. 'Leaping into the air, you fling your hand forward, swinging at the ball. It connects with an awesome slapping sound that reverberates through your body. The ball soars over the net and pounds onto the wood just inside the line. A perfect jump serve. Your heart pounds inside your chest with your success. You spend the rest of practice focusing on what you felt for that perfect first serve. More of your serves begin to connect, and more of the ones that do land inside than they did before. And not once do you whiff completely and fall on your ass.'
  259. *nl
  260. 'At the end of your practice you''re sweaty, exhausted, and feeling triumphant. You''re not fantastic by any means, but you just turned something inconsistent into something consistent.'
  261. *nl
  262. '<i>I did it! I can do jump serves!</i>'
  263. act'Finish practice':
  264. end
  265. end
  266. if $ARGS[0] = 'set_practice':
  267. timemult = 4
  268. loopcount = 1
  269. :vballtimeloop3
  270. vball_set_lvl = pcs_vball['blocking_practice']
  271. gs 'exercise', 'tier2', 0, 'agil', 'prcptn'
  272. gs 'exercise', 'tier3', 0, 'vball_set'
  273. if loopcount < timemult: loopcount += 1 & jump 'vballtimeloop3'
  274. loopcount = 0
  275. timemult = 0
  276. gs 'volleyball', 'level_up'
  277. !! IMAGE LINK GOES HERE
  278. if vball['team'] = 1:
  279. vball['attack_exp'] += 1
  280. 'You spend your free time doing setting drills with some of the other girls on the team.'
  281. else
  282. 'You practicing various setting drills including bouncing it off the wall, above your head, and keeping proper hand shape.'
  283. end
  284. *nl
  285. if vball['level_up_message'] = 1: vball['level_up_message'] = 0 & 'It was a good session, you really feel like you''re becoming more consistent with your sets.'
  286. act 'Finish practice': gt 'volleyball', 'practice_end2'
  287. end
  288. if $ARGS[0] = 'spike_practice':
  289. timemult = 4
  290. loopcount = 1
  291. :vballtimeloop3
  292. vball_spike_lvl = pcs_vball['blocking_practice']
  293. gs 'exercise', 'tier2', 0, 'agil', 'stren', 'vital'
  294. gs 'exercise', 'tier3', 0, 'vball_spike'
  295. if loopcount < timemult: loopcount += 1 & jump 'vballtimeloop3'
  296. loopcount = 0
  297. timemult = 0
  298. gs 'volleyball', 'level_up'
  299. !! IMAGE LINK GOES HERE
  300. if vball['team'] = 1:
  301. vball['defense_exp'] += 1
  302. 'You spend your free time practicing spikes against your team while they try to block them.'
  303. else
  304. 'You practicing various setting drills including bouncing it off the wall, above your head, and keeping proper hand shape.'
  305. end
  306. *nl
  307. if vball['level_up_message'] = 1: vball['level_up_message'] = 0 & 'It was a good session, you really feel like you''re getting better at spiking your way past blocks.'
  308. act 'Finish practice': gt 'volleyball', 'practice_end2'
  309. end
  310. !! ------------------------------------------ Competition Matches ---------------------------------------------------
  311. if $ARGS[0] = 'opponent_stats':
  312. !! if low level team:
  313. vball_match['opp_attack'] = rand(20,60)
  314. vball_match['opp_defense'] = rand(20,60)
  315. end
  316. !! npc_rel['A69']
  317. if $ARGS[0] = 'arrival':
  318. gs 'volleyball','opponent_stats'
  319. !! IMAGE LINK
  320. 'You arrive at the gym. You and the team wait for your admission to the court and begin warming up.'
  321. act 'Wait for warm ups': gt 'volleyball', 'warm_ups'
  322. !!{
  323. if vball['trenersex'] > 0:
  324. act'See the coach for a good luck fuck':
  325. end
  326. }
  327. end
  328. if $ARGS[0] = 'warm_ups':
  329. !! IMAGE LINK
  330. 'You and your team begin passing back and forth to each other, practicing serves, spikes, and receives, getting your bodies ready for the match. And soon enough, it''s time for it to begin.'
  331. *nl
  332. if rand(1,2) = 1:
  333. 'The coin toss comes up in your favor and your team gets to decide whether you serve first or receive first.'
  334. *nl
  335. if vball['team_captain'] = 1:
  336. 'Which will it be?'
  337. act 'Serve first': gt 'volleyball', 'serve_start'
  338. act 'Receive first': gt 'volleyball', 'receive1'
  339. else
  340. if rand(1,100) < vball_serve_lvl or vball_serve_lvl >= 65:
  341. if vball_serve_lvl > 35 and vball['libero'] ! 1:
  342. '"We''ll serve first," your team captain says and looks back at you.'
  343. '"<<$pcs_lastname>>! You''re up!" Coach Mikhail calls from the bench.'
  344. act 'Serve': gt 'volleyball', 'serve_start'
  345. else
  346. '"We''ll serve first," your team captain says and heads back to the team, nodding at the one who you decided would be the first to serve.'
  347. *nl
  348. 'The match has officially begun...'
  349. if rand(1,2) = 1:
  350. vball_match['team_points'] += 1
  351. else
  352. vball_match['opp_points'] += 1
  353. end
  354. act 'Continue': gt 'volleyball', 'point_check'
  355. end
  356. else
  357. '"We''ll receive first," your team captain says, and then heads back to the court as all of you take your positions.'
  358. act 'Wait for the serve': gt 'volleyball', 'receive_start'
  359. end
  360. end
  361. else
  362. 'The coin toss comes up in their favor and the opposing team gets to decide whether they serve first or receive first.'
  363. *nl
  364. if vball_match['opp_defense'] > vball_match['opp_attack']:
  365. if vball_serve_lvl > 35:
  366. '"We''ll receive first," their team captain says. Your own captain nods in response and looks back at you.'
  367. '"<<$pcs_lastname>>! You''re up!" Coach Mikhail calls from the bench as you nod back.'
  368. act 'Serve': gt 'volleyball', 'serve_start'
  369. else
  370. '"We''ll receive first," their team captain says. Your own captain nods in response and looks back at the one who you decided would be the first to serve.'
  371. *nl
  372. 'The match has officially begun...'
  373. if rand(1,2) = 1:
  374. vball_match['team_points'] += 1
  375. else
  376. vball_match['opp_points'] += 1
  377. end
  378. act 'Continue': gt 'volleyball', 'point_check'
  379. end
  380. else
  381. '"We''ll serve first," their captain says. Your own captain nods back and heads back to the court as all of you take your positions'
  382. act 'Wait for the serve': gt 'volleyball', 'receive_start'
  383. end
  384. end
  385. end
  386. if $ARGS[0] = 'point_check':
  387. minut += rand(3,5)
  388. vball_match['opp_att_penalty'] = 0
  389. gs 'stat'
  390. if vball_match['team_points'] >= 5:
  391. gt 'victory'
  392. elseif vball_match['opp_points'] >= 5:
  393. gt 'defeat'
  394. elseif pcs_stam < 100 and vball_match['stay'] ! 1:
  395. gt 'volleyball', 'player_substitution'
  396. elseif pcs_stam <= 5:
  397. gt 'volleyball','collapse'
  398. else
  399. if vball_match['service'] = 1:
  400. gt 'volleyball', 'serve'
  401. else
  402. gt 'volleyball', 'randomizer'
  403. end
  404. end
  405. end
  406. if $ARGS[0] = 'randomizer':
  407. vball_match['random'] = rand(1,5)
  408. if vball_match['random'] <= 2:
  409. gt 'volleyball', 'free_ball'
  410. elseif vball_match['random'] <= 4:
  411. gt 'volleyball', 'opp_spike'
  412. elseif vball_match['random'] = 5:
  413. gt 'volleyball', 'serve'
  414. !! elseif vball_match['random'] = 6:
  415. !! gt 'volleyball', 'free_ball'
  416. end
  417. end
  418. !! ---------------------------- AFTER-MATCH ---------------------------------------------------
  419. !! ------------------------ MATCH SITUATIONS ---------------------------------------------------
  420. if $ARGS[0] = 'victory':
  421. !! IMAGE LINK
  422. vball_match['win'] = 1
  423. vball['wins'] += 1
  424. 'Victory!'
  425. *nl
  426. 'The match is over, the scoreboard reading 25 to <<vball_match[''opp_points''] * 5 + rand(1,5)>>. You won!'
  427. *nl
  428. '"We did it!" you cheer, the whole team gathering together for a team hug.'
  429. '"Alright, good job girls!" Coach Mikhail says, congratulating you. "Let''s pack up now. Make sure we leave nothing behind. You can all shower back at the community center."'
  430. '"Yes coach!" the team replies in unison before quickly dispersing to carry out his orders.'
  431. act 'Pack up and drive back': gt 'volleyball', 'drive_back'
  432. end
  433. if $ARGS[0] = 'defeat':
  434. !! IMAGE LINK
  435. vball_match['loss'] = 1
  436. vball['losses'] += 1
  437. 'The match is over, the scoreboard reading <<vball_match[''team_points''] * 5 + rand(1,5)>> to 25. Your team... lost.'
  438. *nl
  439. 'Soft sniffles come from the team as you walk off the court, some girls wiping tears from their eyes even as others try to hold back sobs.'
  440. '"It was a good hussle out there girls," Coach Mikhail says. "We''ll talk about what went wrong and what can improve later. We''ll get ''em next time. But right now, we need to pack up. Make sure we leave nothing behind. You can all shower back at the community center."'
  441. '"Yes coach," the team dejectedly, sluggishly dispersing to carry out his orders.'
  442. act 'Pack up and drive back': gt 'volleyball', 'drive_back'
  443. end
  444. if $ARGS[0] = 'free_ball':
  445. !! IMAGE LINK
  446. '"Free ball!" you shout as the ball soars high over the net towards your team.'
  447. *nl
  448. 'Your team just got in a good attack but didn''t manage to score a point off of it. Fortunately, it seemed to take your opponents off balance and they couldn''t attack back, forced to use all three of their touches just to get it back over the net.'
  449. *nl
  450. 'As the ball begins to come back down, you need to decide what to do next.'
  451. gs 'volleyball','block_follow'
  452. gs 'volleyball','set'
  453. gs 'volleyball','spike'
  454. gs 'volleyball','spike_fake'
  455. end
  456. if $ARGS[0] = 'opp_spike':
  457. !! IMAGE LINK
  458. '"Here it comes!" you shout as your opponents jump up to spike the ball.'
  459. *nl
  460. 'They had a clean receive on their end and they quickly turned it into an attack. Once you saw them coming back, you decided to...'
  461. gs 'volleyball', 'block'
  462. gs 'volleyball', 'receive'
  463. end
  464. !!if $ARGS[0] = 'receive_serve':
  465. !!end
  466. !! ------------------------ MATCH CHOICE OPTIONS ---------------------------------------------------
  467. if $ARGS[0] = 'receive_stats':
  468. pcs_sweat += rand(3,5)
  469. vball_match['exhaust_temp'] = rand(1,3)
  470. vball_match['exhaust'] += vball_match['exhaust_temp']
  471. vball_match['rec'] = rand(1,100) + vball_rec_lvl/4 - vball_match['exhaust']
  472. pcs_stam -= vball_match['exhaust_temp'] * 5
  473. end
  474. if $ARGS[0] = 'block':
  475. act'Go for a block':
  476. pcs_sweat += rand(3,5)
  477. vball_match['exhaust_temp'] = rand(2,3)
  478. vball_match['exhaust'] += vball_match['exhaust_temp']
  479. pcs_stam -= vball_match['exhaust_temp'] * 4
  480. vball_match['opp_att_result'] = rand(1,50) + vball_match['opp_attack'] - vball_match['opp_att_penalty']
  481. if rand(1,50) + vball_match['opp_att_result'] < vball['team_defense'] - 40:
  482. if rand(1,50) + vball['team_defense'] + vball_block_lvl - vball_match['exhaust'] > vball_match['opp_att_result']:
  483. gt 'volleyball', 'block3_win'
  484. else
  485. gt 'volleyball', 'block3_fail'
  486. end
  487. elseif rand(1,50) + vball_match['opp_att_result'] < vball['team_defense'] - 20:
  488. if rand(1,50) + vball['team_defense']/2 + vball_block_lvl - vball_match['exhaust'] > vball_match['opp_att_result']:
  489. gt 'volleyball', 'block2_win'
  490. else
  491. gt 'volleyball', 'block2_fail'
  492. end
  493. else
  494. if rand(1,50) + vball_block_lvl > vball_match['opp_att_result']:
  495. gt 'volleyball', 'block1_win'
  496. else
  497. gt 'volleyball', 'block1_fail'
  498. end
  499. end
  500. end
  501. end
  502. if $ARGS[0] = 'block1_win':
  503. vball_match['team_points'] += 1
  504. !! IMAGE LINK
  505. 'You were the only one to see the spike coming and find yourself jumping up by yourself trying to block it.'
  506. *nl
  507. 'The ball connects with your opponents hand and flies forward, slamming into your hands and bouncing back down to their side of the court.'
  508. *nl
  509. 'Your teammates cheer at your miraculous one man shutout while the girl you just blocked glares at you from beyond the net. You just earned another point!'
  510. end
  511. if $ARGS[0] = 'block1_fail':
  512. vball_match['opp_points'] += 1
  513. !! IMAGE LINK
  514. 'You were the only one to see the spike coming and find yourself jumping up by yourself trying to block it.'
  515. *nl
  516. 'But one girl''s arms do not make a good wall, and your opponent easily spikes the ball straight past you into the court on your side.'
  517. *nl
  518. 'You grit your teeth at the loss of another point to the opposing team.'
  519. act 'Continue': gt 'volleyball','point_check'
  520. end
  521. if $ARGS[0] = 'block2_win':
  522. vball_match['team_points'] += 1
  523. !! IMAGE LINK
  524. 'You and one other girl get into position in time before the spike. With careful coordination, the two of you jump up together and slap the ball down right as it gets spiked from your opponent''s hand.'
  525. *nl
  526. 'Woo! Another point!'
  527. act 'Continue': gt 'volleyball','point_check'
  528. end
  529. if $ARGS[0] = 'block2_fail':
  530. vball_match['opp_points'] += 1
  531. !! IMAGE LINK
  532. 'You and one other girl get into position in time before the spike. The two of you jump up together but when the spike comes, it''s more powerful than you can handle and it blows straight through your arms.'
  533. *nl
  534. 'You grit your teeth in anger while the other team cheers for the point they won.'
  535. act 'Continue': gt 'volleyball','point_check'
  536. end
  537. if $ARGS[0] = 'block3_win':
  538. vball_match['team_points'] += 1
  539. !! IMAGE LINK
  540. 'Your team manages to get a full 3-man wall of defenders in position just before the spike comes. With careful timing, you all jump up together to form a wide wall with nowhere for the enemy to aim past. The ball gets spiked into your arms and falls straight back down on their side.'
  541. *nl
  542. 'Your team cheers together at the success of another point!'
  543. act 'Continue': gt 'volleyball','point_check'
  544. end
  545. if $ARGS[0] = 'block3_fail':
  546. vball_match['opp_points'] += 1
  547. !! IMAGE LINK
  548. 'Your team manages to get a full 3-man wall of defenders in position just before the spike comes. All of you jump up together but when the spike comes, it''s more powerful than you can handle and it blows straight through your arms.'
  549. *nl
  550. 'You grit your teeth in anger while the other team cheers for the point they won.'
  551. act 'Continue': gt 'volleyball','point_check'
  552. end
  553. if $ARGS[0] = 'block_follow':
  554. act'Follow-up in case of block':
  555. pcs_sweat += rand(3,5)
  556. vball_match['block_follow'] = rand(1,100) + vball_rec_lvl/4 - exhaust
  557. if rand(1,50) + vball['team_attack'] > vball_match['opp_defense']:
  558. !! IMAGE LINK
  559. 'You hang back waiting and watching carefully in case the enemy manages to block your team''s attack.'
  560. *nl
  561. 'Fortunately, there was no need at all as your team''s spike goes cleanly through your opponent''s defense and scores a clean point!'
  562. vball_match['team_points'] += 1
  563. act 'Continue': gt 'volleyball','point_check'
  564. else
  565. if vball_match['block_follow'] > 70:
  566. !! IMAGE LINK
  567. 'You hang back waiting and watching carefully in case the enemy manages to block your team''s attack.'
  568. *nl
  569. 'And a good thing that you did. Your opponents manage to get up a block in time and the ball bounces right off it, coming back towards your side of the court. You quickly move in, bumping it high into the air, trying to give your team another opportunity to attack.'
  570. gs 'volleyball', 'spike'
  571. gs 'volleyball','fake_spike'
  572. elseif vball_match['block_follow'] > 50:
  573. if rand(1,2) = 1:
  574. !! IMAGE LINK
  575. vball_match['team_points'] += 1
  576. 'You hang back waiting and watching carefully in case the enemy manages to block your team''s attack.'
  577. *nl
  578. 'And a good thing that you did. Your opponents manage to get up a block in time and the ball bounces right off it, coming back towards your side of the court. You quickly move in, bumping it back into the air, but it''s lower than you hoped. Still, somehow somebody gets it in front of a spiker and scores your team a point!'
  579. act 'Continue': gt 'volleyball','point_check'
  580. else
  581. !! IMAGE LINK
  582. vball_match['opp_points'] += 1
  583. 'You hang back waiting and watching carefully in case the enemy manages to block your team''s attack.'
  584. *nl
  585. 'And a good thing that you did. Your opponents manage to get up a block in time and the ball bounces right off it, coming back towards your side of the court. You quickly move in, bumping it back into the air, but it''s lower than you hoped. Getting it back up is shakey and by the time someone manages to spike it, the opposing team has already put up another block and you get completely shut out, costing you a point.'
  586. act 'Continue': gt 'volleyball','point_check'
  587. end
  588. else
  589. !! IMAGE LINK
  590. vball_match['opp_points'] += 1
  591. 'You hang back waiting and watching carefully in case the enemy manages to block your team''s attack.'
  592. *nl
  593. 'And unfortunately, they do. Perfectly. You and some of the other girls dive for the ball as it bounces off the block, but not one of you get a hand on the ball before it touches the ground, and it costs you a point.'
  594. act 'Continue': gt 'volleyball','point_check'
  595. end
  596. end
  597. end
  598. end
  599. if $ARGS[0] = 'receive_start':
  600. !! IMAGE LINK
  601. 'You and your teammates take your defensive positions.'
  602. *nl
  603. 'This is the first point of the game... Whoever wins this will have a morale boost right off the bat, could set the flow for the rest of the game...'
  604. *nl
  605. '<i>Pressure''s on...</i>'
  606. act'Continue':
  607. cla & *clr
  608. !! IMAGE LINK
  609. 'The serve comes up and flies over the net, directly towards you!'
  610. act'Receive!':
  611. cla & *clr
  612. gs 'volleyball','receive_stats'
  613. if rand(1,75) + rand(20,vball_rec_lvl) > vball_match['opp_att_result'] + 20:
  614. !! IMAGE LINK
  615. 'You lunge forward, moving directly into the path of the ball. It bounces off your forearms high into the air and it''s a perfect opportunity for your team to counter attack.'
  616. gs 'volleyball', 'block_follow'
  617. gs 'volleyball', 'spike2'
  618. elseif rand(1,75) + rand(20,vball_rec_lvl) > vball_match['opp_att_result']:
  619. if rand(1,2) = 1:
  620. vball_match['team_points'] += 1
  621. !! IMAGE LINK
  622. 'You lunge forward arm outstretched and just somehow barely get your arms under it before it flies past you. The force of the serve knocks you onto your ass, but somehow you still manage to get it up in the air.'
  623. *nl
  624. 'Your team rallies from your reception and immediately manage to score! They grab you in a group hug, cheering for you.'
  625. *nl
  626. '<i>The first point is ours!</i>'
  627. act 'Continue': gt 'volleyball','point_check'
  628. else
  629. vball_match['opp_points'] += 1
  630. !! IMAGE LINK
  631. 'You lunge forward arm outstretched and just somehow barely get your arms under it before it flies past you. The force of the serve knocks you onto your ass, but somehow you still manage to get it up in the air.'
  632. *nl
  633. 'Unfortunately, it was all for nothing. With such a shakey reception, your team can''t get an attack out of it, forcing them to bump it over the net. The following attack smashes past all of you and you''re forced to give up the first point of the match.'
  634. act 'Continue': gt 'volleyball','point_check'
  635. end
  636. else
  637. if vball_match['service'] = 1:vball_match['service'] = 0
  638. vball_match['opp_points'] += 1
  639. !! IMAGE LINK
  640. 'You lunge forward arm outstretched but the serve is too powerful for you. It smashes into your arms before flying past you and your teammates, not one of you able to do a thing as it bounces out of your reach.'
  641. *nl
  642. '"No worries, no worries," your teammates all say to each other around you, trying to rally back from losing the first point.'
  643. act 'Continue': gt 'volleyball','point_check'
  644. end
  645. end
  646. end
  647. end
  648. if $ARGS[0] = 'receive':
  649. act'Dig to receive (bump)':
  650. cla & *clr
  651. pcs_sweat += rand(3,5)
  652. vball_match['opp_att_result'] = rand(1,50) + vball_match['opp_attack'] - vball_match['opp_att_penalty']
  653. if vball_match['opp_att_result'] < vball['team_defense']:
  654. vball_match['team_points'] += 1
  655. !! IMAGE LINK
  656. 'You''re fully prepared to receive the ball but it proves unnecessary when your teammates on the front line jump up to block the shot.'
  657. *nl
  658. 'You cheer, congratulating your comrades for managing to score another point.'
  659. act 'Continue': gt 'volleyball','point_check'
  660. elseif rand(1,75) + rand(20,vball_rec_lvl) - vball['exhaust'] > vball_match['opp_att_result'] + 20:
  661. gs 'volleyball','receive_stats'
  662. !! IMAGE LINK
  663. 'Your opponents jump up for their spike and you read their movements perfectly, moving directly into the path of the ball. It bounces off your forearms high into the air and it''s a perfect opportunity for your team to counter attack.'
  664. gs 'volleyball', 'block_follow'
  665. gs 'volleyball', 'spike2'
  666. elseif rand(1,75) + rand(20,vball_rec_lvl) - vball['exhaust'] > vball_match['opp_att_result']:
  667. gs 'volleyball','receive_stats'
  668. if rand(1,2) = 1:
  669. vball_match['team_points'] += 1
  670. !! IMAGE LINK
  671. 'Your opponents catch your team off guard, spiking the ball into the perfect hole in your defenses. You dive for the ball, arm outstretched and just somehow barely get your hand under it before it touches the floor.'
  672. *nl
  673. 'Your team rallies from your dive and even manage to score off of it! They grab you in a group hug, cheering for you and your miraculous save.'
  674. act 'Continue': gt 'volleyball','point_check'
  675. else
  676. gs 'volleyball','receive_stats'
  677. vball_match['opp_points'] += 1
  678. !! IMAGE LINK
  679. 'Your opponents catch your team off guard, spiking the ball into the perfect hole in your defenses. You dive for the ball, arm outstretched and just somehow barely get your hand under it before it touches the floor.'
  680. *nl
  681. 'Unfortunately, it was all for nothing. Bouncing off your hand, it''s too low for your team and they have to send it over the net without a proper attack before your opponents immediately spike it right back.'
  682. act 'Continue': gt 'volleyball','point_check'
  683. end
  684. else
  685. gs 'volleyball','receive_stats'
  686. if vball_match['service'] = 1:vball_match['service'] = 0
  687. vball_match['opp_points'] += 1
  688. !! IMAGE LINK
  689. 'Your opponents smash a spike over the net.'
  690. *nl
  691. 'The team dives for the ball but not a single one of you can get a hand on it, a clean point won for your opponents.'
  692. act 'Continue': gt 'volleyball','point_check'
  693. end
  694. end
  695. end
  696. !! receive after player''s serve
  697. if $ARGS[0] = 'receive2':
  698. act'Receive the spike':
  699. cla & *clr
  700. pcs_sweat += rand(3,5)
  701. vball_match['opp_att_result'] = rand(1,50) + vball_match['opp_attack'] - vball_match['opp_att_penalty']
  702. if vball_match['opp_att_result'] < vball['team_defense']:
  703. vball_match['team_points'] += 1
  704. !! IMAGE LINK
  705. 'Shaken by your serve, they barely manage to get it up to spike, at which point your team is already in position to jump right up in front of it to block, totally shutting them out.'
  706. *nl
  707. 'Your teammates cheer from the bench as you score another point!'
  708. act 'Continue': gt 'volleyball','point_check'
  709. elseif rand(1,75) + rand(20,vball_rec_lvl) - vball['exhaust'] > vball_match['opp_att_result'] + 20:
  710. gs 'volleyball','receive_stats'
  711. !! IMAGE LINK
  712. 'Obviously put off balance by your serve, you read their movements perfectly, moving directly into the path of the ball. It bounces off your forearms high into the air and it''s a perfect opportunity for your team to counter attack.'
  713. gs 'volleyball', 'block_follow'
  714. gs 'volleyball', 'spike'
  715. elseif rand(1,75) + rand(20,vball_rec_lvl) - vball['exhaust'] > vball_match['opp_att_result']:
  716. gs 'volleyball','receive_stats'
  717. if rand(1,2) = 1:
  718. vball_match['team_points'] += 1
  719. !! IMAGE LINK
  720. 'Your opponents catch your team off guard, spiking the ball into the perfect hole in your defenses. You dive for the ball, arm outstretched and just somehow barely get your hand under it before it touches the floor.'
  721. *nl
  722. 'Your team rallies from your dive and even manage to score off of it! They grab you in a group hug, cheering for you and your miraculous save.'
  723. act 'Continue': gt 'volleyball','point_check'
  724. else
  725. vball_match['opp_points'] += 1
  726. !! IMAGE LINK
  727. 'Your opponents catch your team off guard, spiking the ball into the perfect hole in your defenses. You dive for the ball, arm outstretched and just somehow barely get your hand under it before it touches the floor.'
  728. *nl
  729. 'Unfortunately, it was all for nothing. Bouncing off your hand, it''s too low for your team and they have to send it over the net without a proper attack before your opponents immediately spike it right back.'
  730. act 'Continue': gt 'volleyball','point_check'
  731. end
  732. else
  733. gs 'volleyball','receive_stats'
  734. vball_match['opp_points'] += 1
  735. if vball_match['service'] = 1:vball_match['service'] = 0
  736. !! IMAGE LINK
  737. 'Your opponents smash a spike over the net.'
  738. *nl
  739. 'The team dives for the ball but not a single one of you can get a hand on it, a clean point won for your opponents.'
  740. act 'Continue': gt 'volleyball','point_check'
  741. end
  742. end
  743. end
  744. !! receive after player''s serve
  745. if $ARGS[0] = 'receive3':
  746. act'Receive the spike':
  747. cla & *clr
  748. pcs_sweat += rand(3,5)
  749. vball_match['opp_att_result'] = rand(1,50) + vball_match['opp_attack'] - vball_match['opp_att_penalty']
  750. if vball_match['opp_att_result'] < vball['team_defense']:
  751. vball_match['team_points'] += 1
  752. !! IMAGE LINK
  753. 'Despite how well they did receiving the ball, by the time they get it up to spike your team is already in position to jump right up in front of it to block, totally shutting them out.'
  754. *nl
  755. 'Your teammates cheer from the bench as you score another point!'
  756. act 'Continue': gt 'volleyball','point_check'
  757. elseif rand(1,75) + rand(20,vball_rec_lvl) - vball['exhaust'] > vball_match['opp_att_result'] + 20:
  758. gs 'volleyball','receive_stats'
  759. !! IMAGE LINK
  760. 'Despite how well they did receiving the ball, you read their movements perfectly, moving directly into the path of the ball. It bounces off your forearms high into the air and it''s a perfect opportunity for your team to counter attack.'
  761. gs 'volleyball', 'block_follow'
  762. gs 'volleyball', 'spike2'
  763. elseif rand(1,75) + rand(20,vball_rec_lvl) - vball['exhaust'] > vball_match['opp_att_result']:
  764. gs 'volleyball','receive_stats'
  765. if rand(1,2) = 1:
  766. vball_match['team_points'] += 1
  767. !! IMAGE LINK
  768. 'Your opponents catch your team off guard, spiking the ball into the perfect hole in your defenses. You dive for the ball, arm outstretched and just somehow barely get your hand under it before it touches the floor.'
  769. *nl
  770. 'Your team rallies from your dive and even manage to score off of it! They grab you in a group hug, cheering for you and your miraculous save.'
  771. act 'Continue': gt 'volleyball','point_check'
  772. else
  773. vball_match['opp_points'] += 1
  774. !! IMAGE LINK
  775. 'Your opponents catch your team off guard, spiking the ball into the perfect hole in your defenses. You dive for the ball, arm outstretched and just somehow barely get your hand under it before it touches the floor.'
  776. *nl
  777. 'Unfortunately, it was all for nothing. Bouncing off your hand, it''s too low for your team and they have to send it over the net without a proper attack before your opponents immediately spike it right back.'
  778. act 'Continue': gt 'volleyball','point_check'
  779. end
  780. else
  781. gs 'volleyball','receive_stats'
  782. if vball_match['service'] = 1:vball_match['service'] = 0
  783. vball_match['opp_points'] += 1
  784. !! IMAGE LINK
  785. 'Your opponents smash a spike over the net.'
  786. *nl
  787. 'The team dives for the ball but not a single one of you can get a hand on it, a clean point won for your opponents.'
  788. act 'Continue': gt 'volleyball','point_check'
  789. end
  790. end
  791. end
  792. if $ARGS[0] = 'serve_start':
  793. pcs_sweat += rand(3,5)
  794. vball_match['service'] = 1
  795. vball_match['serve'] = rand(1,75) + rand(20,pcs_serv_lvl) - vball_match['exhaust']
  796. vball_match['exhaust_temp'] = rand(3,5)
  797. vball_match['exhaust'] += vball_match['exhaust_temp']
  798. pcs_stam -= vball_match['exhaust_temp'] * 5
  799. !! IMAGE LINK
  800. 'You exhale slowly as you hold the ball in your hands.'
  801. *nl
  802. 'This is the first point of the game. How this goes could possibly determine the flow of the rest of the game...'
  803. *nl
  804. '<i>Pressure''s on...</i>'
  805. act'Serve the ball':
  806. cla & *clr
  807. if vball_match['serve'] > vball_match['opp_defense'] + 20:
  808. vball_match['team_points'] += 1
  809. !! IMAGE LINK
  810. 'Your hand whips forward, making perfect contact with the ball which soars forward over the net and straight past your opponents defenders. It bounces off the court with a thud and your team cheers with glee.'
  811. *nl
  812. 'Service ace! For the first point of the game!'
  813. *nl
  814. act 'Continue': gt 'volleyball','point_check'
  815. elseif vball_match['serve'] > vball_match['opp_defense']:
  816. vball_match['opp_att_penalty'] += 20
  817. vball_match['opp_att_result'] = rand(1,50) + vball_match['opp_attack'] - vball_match['opp_att_penalty']
  818. !! IMAGE LINK
  819. 'Your hand whips forward, slapping into the ball which soars forward over the net. The defenders manage to get a hand on the ball, but your spike was powerful enough that it wasn''t a good reception.'
  820. *nl
  821. 'Despite that, they still manage to get the ball up and it looks like they''ll manage to get in an attack. You rush to a defensive position, preparing for if they manage to get past the block.'
  822. gs 'volleyball','receive2'
  823. elseif vball_match['serve'] > vball_match['opp_defense'] - 20:
  824. !! IMAGE LINK
  825. 'Your hand whips forward, slapping into the ball which soars forward over the net. The defenders were ready for you and bump the ball high into the air. It looks like they''re going to get a good opportunity to spike. Quickly, you get into your own defensive position and prepare to receive the ball.'
  826. gs 'volleyball','receive3'
  827. else
  828. vball_match['opp_points'] += 1
  829. if vball_match['service'] = 1:vball_match['service'] = 0
  830. if rand(1,2) = 1:
  831. !! IMAGE LINK
  832. 'Your hand whips forward, slapping into the ball which soars forward and directly into the net.'
  833. *nl
  834. '<i>God fucking damn it! A fucking net ball?! For the first point of the game?!</i>'
  835. act 'Continue': gt 'volleyball','point_check'
  836. else
  837. !! IMAGE LINK
  838. 'Your hand whips forward, slapping into the ball which soars forward and right out of bounds of the court. You hiss as you realize your serve just cost your team a point.'
  839. *nl
  840. '<i>God fucking damn it! An out of bounds serve?! For the first point of the game?!</i>'
  841. act 'Continue': gt 'volleyball','point_check'
  842. end
  843. end
  844. end
  845. end
  846. if $ARGS[0] = 'serve':
  847. pcs_sweat += rand(3,5)
  848. vball_match['serve'] = rand(1,75) + rand(20,pcs_serv_lvl) - vball_match['exhaust']
  849. vball_match['exhaust_temp'] = rand(3,5)
  850. vball_match['exhaust'] += vball_match['exhaust_temp']
  851. pcs_stam -= vball_match['exhaust_temp'] * 5
  852. !! IMAGE LINK
  853. if vball_match['service'] = 1:
  854. 'A teammate throws the ball back to you. You close your eyes, going through your pre-serve rhythm.'
  855. *nl
  856. '"One more point!" your team shouts at you from the bench.'
  857. *nl
  858. 'Opening your eyes, you focus on the spot you intend to aim at. The whistle blows and you toss throw the ball into the air and run forward, jumping up after it.'
  859. else
  860. vball_match['service'] = 1
  861. 'A teammate throws the ball to you. Your turn to serve.'
  862. *nl
  863. 'You close your eyes, going through your pre-serve rhythm. Opening them, you focus on the spot you intend to aim at. The whistle blows and you toss throw the ball into the air and run forward, jumping up after it.'
  864. end
  865. act'Serve the ball':
  866. cla & *clr
  867. if vball_match['serve'] > vball_match['opp_defense'] + 20:
  868. vball_match['team_points'] += 1
  869. !! IMAGE LINK
  870. 'Your hand whips forward, making perfect contact with the ball which soars forward over the net and straight past your opponents defenders. It bounces off the court with a thud and your team cheers with glee.'
  871. *nl
  872. 'Service ace!'
  873. *nl
  874. act 'Continue': gt 'volleyball','point_check'
  875. elseif vball_match['serve'] > vball_match['opp_defense']:
  876. vball_match['opp_att_penalty'] += 20
  877. vball_match['opp_att_result'] = rand(1,50) + vball_match['opp_attack'] - vball_match['opp_att_penalty']
  878. !! IMAGE LINK
  879. 'Your hand whips forward, slapping into the ball which soars forward over the net. The defenders manage to get a hand on the ball, but your spike was powerful enough that it wasn''t a good reception.'
  880. *nl
  881. 'Despite that, they still manage to get the ball up and it looks like they''ll manage to get in an attack. You rush to a defensive position, preparing for if they manage to get past the block.'
  882. gs 'volleyball','receive2'
  883. elseif vball_match['serve'] > vball_match['opp_defense'] - 20:
  884. !! IMAGE LINK
  885. 'Your hand whips forward, slapping into the ball which soars forward over the net. The defenders were ready for you and bump the ball high into the air. It looks like they''re going to get a good opportunity to spike. Quickly, you get into your own defensive position and prepare to receive the ball.'
  886. gs 'volleyball','receive3'
  887. else
  888. vball_match['opp_points'] += 1
  889. if vball_match['service'] = 1:vball_match['service'] = 0
  890. if rand(1,2) = 1:
  891. !! IMAGE LINK
  892. 'Your hand whips forward, slapping into the ball which soars forward and directly into the net. You hiss as you realize your serve just cost your team a point.'
  893. else
  894. !! IMAGE LINK
  895. 'Your hand whips forward, slapping into the ball which soars forward and right out of bounds of the court. You hiss as you realize your serve just cost your team a point.'
  896. end
  897. *nl
  898. if pcs_serv_lvl < 35:'<i>Man, you really need to work on your serves...</i>'
  899. act 'Continue': gt 'volleyball','point_check'
  900. end
  901. end
  902. end
  903. if $ARGS[0] = 'set':
  904. act'Prepare to set':
  905. cla & *clr
  906. !! IMAGE LINK
  907. vball_match['set'] = rand(1,50) + vball['team_attack'] + rand(20,vball_set_lvl) - vball['exhaust']
  908. vball_match['exhaust_temp'] = rand(2,4)
  909. vball_match['exhaust'] += vball_match['exhaust_temp']
  910. pcs_stam -= vball_match['exhaust_temp'] * 5
  911. 'You quickly get under the ball and toss it towards one of your teammates, set up for them to spike.'
  912. act'Continue':
  913. cla & *clr
  914. if vball_match['set'] > vball_match['opp_defense']:
  915. !! IMAGE LINK
  916. vball_match['team_points'] += 1
  917. 'Team scores.'
  918. act 'Continue': gt 'volleyball','point_check'
  919. else
  920. !! IMAGE LINK
  921. vball_match['opp_points'] += 1
  922. 'Team gets blocked out'
  923. act 'Continue': gt 'volleyball','point_check'
  924. end
  925. end
  926. end
  927. end
  928. !! front line spike
  929. if $ARGS[0] = 'spike':
  930. act'Go for a spike':
  931. cla & *clr
  932. vball_match['spike'] = rand(1,75) + rand(20,vball_spike_lvl) - vball['exhaust']
  933. vball_match['exhaust_temp'] = rand(2,4)
  934. vball_match['exhaust'] += vball_match['exhaust_temp']
  935. pcs_stam -= vball_match['exhaust_temp'] * 5
  936. !! IMAGE LINK
  937. 'You take a step back before running forward, bending your knees and throwing your arms back, preparing to vault into a jump to spike the ball.'
  938. act'Spike it!':
  939. cla & *clr
  940. if vball_match['spike'] > vball_match['opp_defense']:
  941. vball_match['team_points'] += 1
  942. !! IMAGE LINK
  943. 'You throw your hand forward, smashing the ball over the net and into the court on the other side.'
  944. *nl
  945. 'Another point! Your team cheers for you.'
  946. act 'Continue': gt 'volleyball','point_check'
  947. elseif vball_match['spike'] > vball_match['opp_defense'] - 20:
  948. !! IMAGE LINK
  949. 'Your opponents manage to cleanly receive your spike even though it got past the block. You can see they''re already getting ready to counterattack back and you quickly need to decide what your next move is.'
  950. gs 'volleyball','block'
  951. gs 'volleyball','receive'
  952. else
  953. vball_match['opp_points'] += 1
  954. !! IMAGE LINK
  955. 'You throw your hand forward, smashing the ball over the net... and straight into the waiting block of your opponents.'
  956. *nl
  957. 'The ball bounces off their hands and straight into the court on your side of the net, costing your team a point.'
  958. act 'Continue': gt 'volleyball','point_check'
  959. end
  960. end
  961. end
  962. end
  963. !! back line spike
  964. if $ARGS[0] = 'spike2':
  965. act'Go for a spike':
  966. cla & *clr
  967. vball_match['spike'] = rand(1,75) + rand(20,vball_spike_lvl) - vball['exhaust']
  968. vball_match['exhaust_temp'] = rand(2,4)
  969. vball_match['exhaust'] += vball_match['exhaust_temp']
  970. pcs_stam -= vball_match['exhaust_temp'] * 5
  971. !! IMAGE LINK
  972. 'You decide to go on the offense, running forward, bending your knees and throwing your arms back, preparing to spike the ball from the back line.'
  973. act'Spike it!':
  974. cla & *clr
  975. if vball_match['spike'] > vball_match['opp_defense']:
  976. vball_match['team_points'] += 1
  977. !! IMAGE LINK
  978. 'You throw your hand forward, smashing the ball over the net and into the court on the other side.'
  979. *nl
  980. 'Another point! Your team cheers for you.'
  981. act 'Continue': gt 'volleyball','point_check'
  982. elseif vball_match['spike'] > vball_match['opp_defense'] - 20:
  983. !! IMAGE LINK
  984. 'Your opponents manage to cleanly receive your spike even though it got past the block. You can see they''re already getting ready to counterattack back and you quickly need to decide what your next move is.'
  985. gs 'volleyball','block'
  986. gs 'volleyball','receive'
  987. else
  988. vball_match['opp_points'] += 1
  989. !! IMAGE LINK
  990. 'You throw your hand forward, smashing the ball over the net... and straight into the waiting block of your opponents.'
  991. *nl
  992. 'The ball bounces off their hands and straight into the court on your side of the net, costing your team a point.'
  993. act 'Continue': gt 'volleyball','point_check'
  994. end
  995. end
  996. end
  997. end
  998. if $ARGS[0] = 'spike_fake':
  999. act'Fake a spike, provide distraction':
  1000. cla & *clr
  1001. vball_match['spike'] = rand(1,50) + team_attack + rand(20,vball_spike_lvl) - vball['exhaust']
  1002. vball_match['exhaust_temp'] = rand(2,4)
  1003. vball_match['exhaust'] += vball_match['exhaust_temp']
  1004. pcs_stam -= vball_match['exhaust_temp'] * 5
  1005. !! IMAGE LINK
  1006. 'You decide to try and distract the enemy and draw their attention away from the real spikers.'
  1007. act'Jump!':
  1008. cla & *clr
  1009. if vball_match['spike'] > vball_match['opp_defense']:
  1010. vball_match['team_points'] += 1
  1011. !! IMAGE LINK
  1012. 'You fling yourself into the empty air, fully taking a spiker''s form as if the ball really were coming to you. Your form is so effective that it causes defenders to jump towards you even as the ball to a completely different person on your team, who spikes it straight into the court.'
  1013. *nl
  1014. 'Another point! You and your team cheer for the girl who scored the it.'
  1015. act 'Continue': gt 'volleyball','point_check'
  1016. elseif vball_match['spike'] > vball_match['opp_defense'] - 20:
  1017. !! IMAGE LINK
  1018. 'You fling yourself into the empty air, fully taking a spiker''s form as if the ball really were coming to you. Your jump manages to fool one of the defenders and your teammate spikes it past the others, but they still manage to get a good receive in, bumping the ball high into the air over their side.'
  1019. *nl
  1020. 'The ball is coming back! How are you going to try to stop it?'
  1021. gs 'volleyball','block'
  1022. gs 'volleyball','receive'
  1023. else
  1024. vball_match['opp_points'] += 1
  1025. !! IMAGE LINK
  1026. 'You fling yourself into the empty air, fully taking a spiker''s form as if the ball really were coming to you. But it doesn''t fool a single person on the enemy team, who all jump up in front of the girl who was really getting the ball, totally blocking out her spike.'
  1027. *nl
  1028. 'The ball bounces off their hands and straight into the court on your side of the net, costing your team a point.'
  1029. act 'Continue': gt 'volleyball','point_check'
  1030. end
  1031. end
  1032. end
  1033. end
  1034. --- volleyball ---------------------------------