fbgameout.qsrc 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  1. # fbgameout
  2. if $ARGS[0] = 'start':
  3. *clr & cla
  4. fbpickupDay = daystart
  5. minut += 5
  6. gs 'stat'
  7. if grupTipe ! 2:
  8. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/start.jpg"></center>'
  9. 'Walking next to the school yard, you notice that most of the jocks have gathered here and look like they''re going to play some football. A few of them acknowledge you, but none of them wave you over.'
  10. act 'Sit and watch them':
  11. *clr & cla
  12. minut += 30
  13. gs 'stat'
  14. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/watching.jpg"></center>'
  15. 'You take a seat on the ground near the field and watch the jocks play football. Most of them are pretty competitive and are really pushing it to try and win. There are some occasional arguments about a foul, but for the most part they get along and have fun. You have to admit it looks pretty fun, and think that you should ask to join them one day.'
  16. act 'Leave': gt 'gschool_grounds', 'main'
  17. end
  18. act 'Ask to join':
  19. *clr & cla
  20. minut += 3
  21. grupvalue[2] += 1
  22. gs 'stat'
  23. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/asking.jpg"></center>'
  24. 'You walk over and greet them. "Hey guys, what are you doing?"'
  25. 'Several of them turn towards you and Lazar replies. "We''re about to divide up into teams and play. You can watch if you want."'
  26. '"Could I join instead?" you ask hopefully.'
  27. 'They glance among each other before Lazar replies. "Maybe some other time <<$pcs_nickname>>..." They turn away from you and start picking teams.'
  28. act 'Sit and watch them':
  29. *clr & cla
  30. minut += 30
  31. grupvalue[2] += 1
  32. gs 'stat'
  33. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/watching.jpg"></center>'
  34. 'You take a seat on the ground near the field and watch them play. Most of them are pretty competitive and are really pushing it to try and win. There are some occasional arguments about a foul, but for the most part they get along and have fun. You have to admit it looks pretty fun, and think that you should ask to join them again one day.'
  35. act 'Leave': gt 'gschool_grounds', 'main'
  36. end
  37. act 'Leave': gt 'gschool_grounds', 'main'
  38. end
  39. else
  40. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/pickteam.jpg"></center>'
  41. 'Walking through the school area, you end up by the football field and notice that most of the jocks have gathered here. Noticing you, they wave you over.'
  42. '"Over here <<$pcs_nickname>>! You arrived just in time, we were just picking teams." Lazar explains.'
  43. 'You quickly move over to the other girls while Lazar and Ivan continue discussing how to split up the teams.'
  44. '"I say we go for mixed teams. There''s no other way it will work Ivan!" Lazar is trying his best to reason with Ivan.'
  45. if fedorKozlovQW >= 0:
  46. '"Sure, sure..." Ivan says as he raises his hands. "Let''s start already! I pick Fedor first!" and points to his friend.'
  47. else
  48. '"Sure, sure..." Ivan says as he raises his hands. "Let''s start already! I pick Erast first!" and points to Erast.'
  49. end
  50. act 'Leave': gt 'gschool_grounds', 'main'
  51. act 'Wait to get picked': gt 'fbgameout', 'football'
  52. end
  53. end
  54. if $ARGS[0] = 'football':
  55. *clr & cla
  56. minut += 5
  57. gs 'exp_gain', 'ftbll', rand(0,2)
  58. grupvalue[2] += 1
  59. gs 'stat'
  60. *clr & cla
  61. minut += 5
  62. gs 'stat'
  63. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/pickteam.jpg"></center>'
  64. 'Walking through the school area, you end up by the football field and notice that most of the jocks have gathered here. Noticing you, they wave you over.'
  65. '"Over here <<$pcs_nickname>>! You arrived just in time, we were just picking teams." Lazar explains.'
  66. 'You quickly move over to the other girls while Lazar and Ivan continue discussing how to split up the teams.'
  67. '"I say we go for mixed teams. There''s no other way it will work Ivan!" Lazar is trying his best to reason with Ivan.'
  68. if fedorKozlovQW >= 0:
  69. '"Sure, sure..." Ivan says as he raises his hands. "Let''s start already! I pick Fedor first!" and points to his friend.'
  70. else
  71. '"Sure, sure..." Ivan says as he raises his hands. "Let''s start already! I pick Erast first!" and points to Erast.'
  72. end
  73. act 'Wait to get picked':
  74. *clr & cla
  75. minut += 10
  76. gs 'stat'
  77. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/pickteam.jpg"></center>'
  78. 'After a few of the others have been chosen, you finally hear your name being yelled out. "<<$pcs_nickname>>! You''ll be playing with the winning team today." Lazar confidently proclaims.'
  79. 'You quickly scuttle over to your team as they all high five you.'
  80. 'It doesn''t take long before all of the participants have been picked and the teams huddle together. "Vanya, you''ll be in the goal..." Lazar begins calling out the different positions.'
  81. 'Saving you for last, Lazar looks at you. "<<$pcs_nickname>>, you''ll be playing up front as our star forward." he winks. "Don''t worry about anything. Just be ready when the ball comes."'
  82. act 'Nod':
  83. *clr & cla
  84. minut += 5
  85. gs 'stat'
  86. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/start.jpg"></center>'
  87. 'You attentively nod as you break the huddle and position yourself on the field.'
  88. '"Playing with a girl as forward? You must''ve lost it, Lazar!" Ivan yells loudly.'
  89. '"Pay no attention to him <<$pcs_nickname>>, he''s just trying to get in your head." Lazar calmly tells you. "They have a girl in the goal, so don''t worry about it."'
  90. act 'Start the first half':
  91. *clr & cla
  92. minut += 30
  93. gs 'stat'
  94. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/game.jpg"></center>'
  95. 'You didn''t expect the game to be this serious. As soon as you start playing, everyone is doing their best, not backing down an inch.'
  96. 'The boys really get into at it, sometimes playing on the edge of being a bit too rough.'
  97. 'Lazar sets up a perfect pass to Svyatoslav, who runs through the defense and easily scores the first goal behind a helpless Lariska. All of you run over to cheer together while Ivan is criticizing his team.'
  98. 'The joyous occasion breaks a few minutes later when Christina equalizes the game. After the goal, Ivan comes over and starts making fun of Vanya as the latter pushes him and they get in a scuffle.'
  99. '"Break it up, you two! Head over to your sides so everyone can calm down!" Lazar barks as he''s running over to break the two combatants up. The game resumes after everyone has calmed down a bit.'
  100. 'All of a sudden, Lina breaks free and is heading against your goal. "Stop her <<$pcs_nickname>>!" you hear someone from your team yell.'
  101. act 'Tackle':
  102. *clr & cla
  103. minut += 5
  104. gs 'exp_gain', 'ftbll', rand(0,2)
  105. gs 'exp_gain', 'stren', 1
  106. grupvalue[2] -= 1
  107. gs 'npc_relationship', 'modify', 'A18', 'dislike'
  108. gs 'npc_relationship', 'modify', 'A19', 'dislike'
  109. gs 'stat'
  110. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/tackle.jpg"></center>'
  111. 'You nod steadfast and quickly start running after Lina. You are almost galloping as you catch up and can almost grab hold of her...'
  112. 'Lina nervously turns around while trying to compose herself as she leads the ball towards the goal. By now you''re right next to her, so you can hear her heavy breathing.'
  113. 'Knowing she won''t be able to stay away from you much longer, Lina pushes the ball a bit forward so she can shoot the ball towards the goal. "Stop her now!" you hear someone yell from behind. Just as Lina is about to shoot you do a slide tackle, but miss the ball and hit her on the leg instead.'
  114. 'Lina yells out in pain and falls to the ground. You''ve managed to stop her and your team is praising you as you see Christina run over to you. "What the fuck are you doing <<$pcs_nickname>>?! Are you stupid?" She pushes you and you start to argue.'
  115. '"Okay, that''s enough for now!" Svyatoslav barks, calming everyone down once again. You and Christina are pulled away from each other while Svyatoslav helps Lina.'
  116. act 'Time for a break':
  117. *clr & cla
  118. minut += 10
  119. gs 'stat'
  120. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/halftime.jpg"></center>'
  121. 'Both teams take a seat, just outside of each other''s hearing distance. "You ready <<$pcs_nickname>>?" a sweaty Lazar asks.'
  122. 'You hesitate a little. "Ready for what?"'
  123. '"To decide the game of course." he says smiling. "They won''t expect that I''ll pass to you, so be ready when the time comes and decide the game for us!"'
  124. 'You notice the fire burning in his eyes and give him a confident nod.'
  125. act 'Start the second half':
  126. *clr & cla
  127. minut += 25
  128. gs 'stat'
  129. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/game1.jpg"></center>'
  130. 'The second half starts in a frantic pace as both teams try to outscore each other. There are chances for both teams, but the score still remains tied...'
  131. 'All of a sudden, Lazar manages to get past Ivan and sends the ball towards you.'
  132. 'The pass is really hard, but you somehow manage to get control of the ball and all that''s between you and the goal is Christina, who is rapidly bearing down on you.'
  133. 'Seeing Svyatoslav make a dash towards the goal, you have a choice. You can try and get past Christina and make a shot at the goal, or you can pass the ball to Svyatoslav. You need to decide quickly as Christina is closing in on you.'
  134. gs 'willpower', 'skill', 'self', 'ftbll_lvl'
  135. if will_cost <= pcs_willpwr:
  136. act 'React (<<will_cost>> Willpower)':
  137. *clr & cla
  138. gs 'willpower', 'pay', 'self'
  139. gs 'exp_gain', 'ftbll', rand(0,2)
  140. gs 'stat'
  141. 'You feel pressured to act. You must decide, otherwise the attack will go to waste...'
  142. act 'Pass':
  143. *clr & cla
  144. gs 'stat'
  145. if rand(0,100) + pcs_ftbll => 70:
  146. npc_rel['A8'] += 1
  147. npc_rel['A149'] += 1
  148. npc_rel['A3'] -= 1
  149. pcs_mood += 20
  150. gs 'sweat', 'add', 20
  151. gs 'exp_gain', 'vital', 1
  152. gs 'exp_gain', 'ftbll', 1
  153. grupvalue[2] += 1
  154. gs 'stat'
  155. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/pass.jpg"></center>'
  156. 'You decide to pass the ball to Svyatoslav. You can clearly see him waving his hands, yelling that he''s free.'
  157. 'You size up the distance and hit the ball towards him. The ball floats through the air and lands perfectly at his feet. He just taps it in and you take the lead, firing the ball into the net.'
  158. 'You all start celebrating and before you know it, the second half ends.'
  159. '"Great pass <<$pcs_nickname>>! I knew you could do it!" Lazar praises you. "Can''t wait until next time when you can show off your skills again!"'
  160. 'You stand and chat for a minute after the game, with everyone complimenting you for a job well done.'
  161. act 'End the game': gt 'fbgameout', 'end_game'
  162. else
  163. pcs_mood -= 20
  164. gs 'sweat', 'add', 20
  165. gs 'exp_gain', 'vital', 1
  166. gs 'stat'
  167. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/passfail.jpg"></center>'
  168. 'You decide to pass the ball to Svyatoslav. You can clearly see him waving his hands, yelling that he''s free.'
  169. 'You size up the distance and hit the ball towards him. However, you misjudge the distance and the ball goes well off.'
  170. 'You see Svyatoslav shake his head disappointingly and not long after that, the game ends in a draw.'
  171. '"Too bad about the pass <<$pcs_nickname>>, we could''ve won..." Svyatoslav comments.'
  172. '"Give her a break Svyatoslav! She''ll do better the next time, won''t you <<$pcs_nickname>>?" Lazar is obviously disappointed, but tries his best to remain positive.'
  173. act 'End the game': gt 'fbgameout', 'end_game'
  174. end
  175. end
  176. act 'Shoot':
  177. *clr & cla
  178. gs 'stat'
  179. if rand(0,100) + pcs_ftbll => 100:
  180. npc_rel['A8'] += 1
  181. pcs_mood += 20
  182. gs 'sweat', 'add', 20
  183. gs 'exp_gain', 'vital', 1
  184. gs 'exp_gain', 'ftbll', 1
  185. grupvalue[2] += 1
  186. gs 'stat'
  187. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/shoot.jpg"></center>'
  188. 'You take aim and kick the ball. It gets the perfect arch and sails above Lariska''s head into the net.'
  189. 'You manage to raise your hands just in time before your team runs over to you, burying you furthest down in a pile as you all celebrate.'
  190. 'Not long after the goal, the game ends. "See <<$pcs_nickname>>! I told you that you would decide the game!" Lazar praises you.'
  191. 'You shine up. "Thank you! It wouldn''t have been possible without you..." you praise Lazar back. You all chat for a while before you pick up your stuff and leave.'
  192. act 'End the game': gt 'fbgameout', 'end_game'
  193. else
  194. pcs_mood -= 20
  195. gs 'sweat', 'add', 20
  196. gs 'exp_gain', 'vital', 1
  197. gs 'stat'
  198. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/shootfail.jpg"></center>'
  199. 'You take aim and kick the ball. However, it wobbles over the goal as you''ve not put enough force into your shot.'
  200. 'You stand and look into the distance, disappointed that you let down the rest of the team.'
  201. 'Not long after that, the game ends and the two teams walk over the sidelines. "Too bad that you missed that shot <<$pcs_nickname>>... Don''t worry though, you''ll get it next time." Lazar says, trying to cheer you up.'
  202. 'You nod, but you''re not really in the mood to chat so you quickly pick up your stuff and leave.'
  203. act 'End the game': gt 'fbgameout', 'end_game'
  204. end
  205. end
  206. act 'Dribble':
  207. *clr & cla
  208. gs 'stat'
  209. if rand(0,100) + pcs_ftbll => 100:
  210. npc_rel['A8'] += 1
  211. npc_rel['A149'] += 1
  212. npc_rel['A165'] += 1
  213. npc_rel['A13'] += 1
  214. pcs_mood += 20
  215. gs 'sweat', 'add', 20
  216. gs 'exp_gain', 'vital', 1
  217. gs 'exp_gain', 'ftbll', 1
  218. grupvalue[2] += 1
  219. gs 'stat'
  220. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/dribble.jpg"></center>'
  221. 'With Christina closing in you take a step to the right, making her follow you. As soon as she catches up, you quickly jump to the left and dribble past her.'
  222. 'You''ve completely fooled her and you can hear the others gasp in awe as you''re free to take your shot at the goal. You make short work of it and smash the ball into the net, giving your team the lead.'
  223. 'The game ends soon after and you are victorious. Everyone is talking about the amazing move you pulled off while Christina, fuming, quickly collects her stuff and leaves.'
  224. '"Great job <<$pcs_nickname>>! I knew you could do it!" Lazar praises you.'
  225. '"Thanks a lot I had lots of fun!" you reply. You and your teammates stand and chat for a while before you all pack up your stuff and leave the field.'
  226. act 'End the game': gt 'fbgameout', 'end_game'
  227. else
  228. pcs_mood -= 20
  229. gs 'sweat', 'add', 20
  230. gs 'exp_gain', 'vital', 1
  231. gs 'stat'
  232. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/dribblefail.jpg"></center>'
  233. 'With Christina closing in you take a step to the right, making her follow you. As soon as she catches up, you quickly jump to the left and dribble past her.'
  234. 'However, Christina, already aware of your plan, quickly tackles you and takes the ball as you get tangled up.'
  235. 'She smirks as she passes you. "You really thought you could fool me with that silly move?"'
  236. 'Not long after that, the game ends in a draw. As you approach the rest of your team you say "Sorry guys, I thought I could get past her."'
  237. 'The others nod, acting as if they understand, but deep down they''re disappointed that you couldn''t win the game. Not wanting to say anything else, you pick up your stuff in silence, say your goodbyes and leave.'
  238. act 'End the game': gt 'fbgameout', 'end_game'
  239. end
  240. end
  241. end
  242. else
  243. act 'React (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  244. end
  245. act 'Hesitate':
  246. *clr & cla
  247. npc_rel['A8'] -= 1
  248. npc_rel['A149'] -= 1
  249. npc_rel['A165'] -= 1
  250. npc_rel['A13'] -= 1
  251. pcs_mood -= 30
  252. gs 'sweat', 'add', 20
  253. gs 'exp_gain', 'ftbll', rand(0, 1)
  254. grupvalue[2] -= 1
  255. gs 'stat'
  256. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/fail.jpg"></center>'
  257. 'There are too many options and you hesitate, not sure what to do. In a matter of seconds, you''re swarmed by the other team. They easily steal the ball from you and go on the offensive.'
  258. 'Two passes later, you can hear the ball hit the net and you see the other team celebrating. "Thanks <<$pcs_nickname>>! I dedicate this win to you!" Ivan says teasingly.'
  259. 'The game ends shortly after and your team looks dejected as you feel ashamed at messing up.'
  260. 'The others ignore you when you go back to the sidelines, but as you''re about to leave Lazar approaches you. "Don''t take it too hard <<$pcs_nickname>>. We''re all disappointed, but we''ll get our revenge next time."'
  261. act 'End the game': gt 'fbgameout', 'end_game'
  262. end
  263. end
  264. end
  265. end
  266. act 'Don''t tackle':
  267. *clr & cla
  268. minut += 5
  269. gs 'stat'
  270. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/notackle.jpg"></center>'
  271. 'You hesitate a little as you hear someone yell out "Run after her <<$pcs_nickname>>! You''re the only one who can stop her!"'
  272. 'Running as fast as you can, you start catching up to her. You can almost reach out to her, but you''re still unsure on how to stop her.'
  273. 'All of a sudden, you hear someone yell from behind. "Stop her! She''s winding up a shot!"'
  274. if rand(0,1) = 1:
  275. 'You finally decide what to do, Using the last of your strength, you run up to her and give her a slight bump on the shoulder just as she''s about to take the shot.'
  276. 'Lina manages to take a shot, but your interference means that it''s way off and misses.'
  277. 'You hear Lina yell out in frustration as your teammates congradulate you for a job well done.'
  278. else
  279. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/notackle.jpg"></center>'
  280. 'You finally decide about to do. Using the last of your strength, you run up to her and give her a slight bump on the shoulder just as she''s about to take the shot.'
  281. 'However, Lina barely even feels the impact and hits the ball straight into the goal. She runs away happy to her team while your team looks on at you disappointed.'
  282. end
  283. act 'Time for a break':
  284. *clr & cla
  285. minut += 10
  286. gs 'stat'
  287. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/halftime.jpg"></center>'
  288. 'Both teams take a seat on each side, just outside each other''s hearing distance. "You ready <<$pcs_nickname>>?" a sweaty Lazar asks you.'
  289. 'You hesitate a little. "Ready for what?"'
  290. '"To decide the game of course." he says smiling. "They won''t expect that I''ll pass it over to you, so be ready when the time comes and decide the game for us!"'
  291. 'You notice the fire burning in his eyes and give him a confident nod.'
  292. act 'Start the second half':
  293. *clr & cla
  294. minut += 25
  295. gs 'stat'
  296. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/game1.jpg"></center>'
  297. 'The second half starts in a frantic pace as both teams try to outscore each other. There are chances for both teams, but the score still remains tied.'
  298. 'All of a sudden, Lazar manages to get past Ivan and sends the ball towards you.'
  299. 'The pass is really hard, but you somehow manage to get control of the ball and all that''s between you and the goal is Christina, who is rapidly bearing down on you.'
  300. 'Seeing Svyatoslav make a dash towards the goal, you have a choice. You can try and get past Christina and make a shot at the goal, or you can pass the ball to Svyatoslav. You need to decide quickly as Christina is closing in on you.'
  301. gs 'willpower', 'skill', 'self', 'ftbll_lvl'
  302. if will_cost <= pcs_willpwr:
  303. act 'React (<<will_cost>> Willpower)':
  304. *clr & cla
  305. gs 'willpower', 'pay', 'self'
  306. gs 'exp_gain', 'ftbll', rand(0,2)
  307. gs 'stat'
  308. 'You feel pressured to act. You must decide, otherwise the attack will go to waste...'
  309. act 'Pass':
  310. *clr & cla
  311. gs 'stat'
  312. if rand(0,100) + pcs_ftbll => 100:
  313. npc_rel['A8'] += 1
  314. npc_rel['A149'] += 1
  315. pcs_mood += 20
  316. gs 'sweat', 'add', 20
  317. gs 'exp_gain', 'vital', 1
  318. gs 'exp_gain', 'ftbll', 1
  319. grupvalue[2] += 1
  320. gs 'stat'
  321. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/pass.jpg"></center>'
  322. 'You decide to pass the ball to Svyatoslav. You can clearly see him waving his hands, yelling that he''s free.'
  323. 'You size up the distance and hit the ball towards him. The ball floats through the air and lands perfectly at his feet. He just taps it in and you take the lead. firing the ball into the net.'
  324. 'You all start celebrating and before you know it, the second half ends.'
  325. '"Great pass <<$pcs_nickname>>! I knew you could do it!" Lazar praises you. "Can''t wait until next time when you can show off your skills again!"'
  326. 'You stand and chat for a minute after the game, with everyone complimenting you for a job well done.'
  327. act 'End the game': gt 'fbgameout', 'end_game'
  328. else
  329. pcs_mood -= 20
  330. gs 'sweat', 'add', 20
  331. gs 'exp_gain', 'vital', 1
  332. gs 'stat'
  333. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/passfail.jpg"></center>'
  334. 'You decide to pass the ball to Svyatoslav. You can clearly see him waving his hands, yelling that he''s free.'
  335. 'You size up the distance and hit the ball towards him, but you misjudge the distance and the ball goes well off.'
  336. 'You see Svyatoslav shake his head disappointingly and not long after, the game ends in a draw.'
  337. '"Too bad about the pass <<$pcs_nickname>>, we could''ve won." Svyatoslav comments.'
  338. '"Give her a break Svyatoslav! She''ll do better the next time, won''t you <<$pcs_nickname>>?" Lazar is obviously disappointed, but tries his best to remain positive.'
  339. act 'End the game': gt 'fbgameout', 'end_game'
  340. end
  341. end
  342. act 'Shoot':
  343. *clr & cla
  344. gs 'stat'
  345. if rand(0,100) + pcs_ftbll => 100:
  346. npc_rel['A8'] += 1
  347. pcs_mood += 20
  348. gs 'sweat', 'add', 20
  349. gs 'exp_gain', 'vital', 1
  350. gs 'exp_gain', 'ftbll', 1
  351. grupvalue[2] += 1
  352. grupvalue[2] += 1
  353. gs 'stat'
  354. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/shoot.jpg"></center>'
  355. 'You take aim and kick the ball. It gets the perfect arch and sails above Lariska''s head into the net.'
  356. 'You manage to raise your hands just in time before your team runs over to you, burying you furthest down in a pile as you all celebrate.'
  357. 'Not long after, the game ends. "See <<$pcs_nickname>>! I told you that you would decide the game!" Lazar praises you.'
  358. 'You shine up. "Thank you! It wouldn''t have been possible without you..." you praise Lazar back. You all chat for a while before you pack up your stuff and leave.'
  359. act 'End the game': gt 'fbgameout', 'end_game'
  360. else
  361. pcs_mood -= 20
  362. gs 'sweat', 'add', 20
  363. gs 'exp_gain', 'vital', 1
  364. gs 'stat'
  365. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/shootfail.jpg"></center>'
  366. 'You take aim and kick the ball. However, it wobbles over the goal as you''ve not put enough force into the shot.'
  367. 'You stand and look into the distance, disappointed that you let down the rest of the team.'
  368. 'Not long after, the game ends and the two teams walk over the sidelines. "Too bad that you missed that shot <<$pcs_nickname>>... Don''t worry though, you''ll get it the next time." Lazar says, trying to cheer you up.'
  369. 'You nod, but you''re not really in the mood to chat, so you quickly pick up your stuff and leave.'
  370. act 'End the game': gt 'fbgameout', 'end_game'
  371. end
  372. end
  373. act 'Dribble':
  374. *clr & cla
  375. gs 'stat'
  376. if rand(0,100) + pcs_ftbll => 100:
  377. npc_rel['A8'] += 1
  378. npc_rel['A149'] += 1
  379. npc_rel['A165'] += 1
  380. npc_rel['A13'] += 1
  381. pcs_mood += 20
  382. gs 'sweat', 'add', 20
  383. gs 'exp_gain', 'vital', 1
  384. gs 'exp_gain', 'ftbll', 1
  385. grupvalue[2] += 1
  386. gs 'stat'
  387. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/dribble.jpg"></center>'
  388. 'With Christina closing in you take a step to the right, making her follow you. As soon as she catches up, you quickly jump to the left and dribble past her...'
  389. 'You''ve completely fooled her and you can hear the others gasp in awe as you''re free to take your shot at the goal. You make short of it and smash the ball into the net, giving your team the lead.'
  390. 'It doesn''t take long after that the game ends and you are victorious. Everyone is talking about the amazing move you pulled off while Christina, fuming, quickly collects her stuff and leaves.'
  391. '"Great job <<$pcs_nickname>>! I knew you could do it!" Lazar praises you.'
  392. '"Thanks a lot, I had lots of fun!" you reply. You and your teammates stand and chat for a while before you all pack up your stuff and leave the field.'
  393. act 'End the game': gt 'fbgameout', 'end_game'
  394. else
  395. pcs_mood -= 20
  396. gs 'sweat', 'add', 20
  397. gs 'exp_gain', 'vital', 1
  398. gs 'stat'
  399. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/dribblefail.jpg"></center>'
  400. 'With Christina closing in you take a step to the right, making her follow you. As soon as she catches up, you quickly jump to the left and dribble past her...'
  401. 'However, Christina, already aware of your plan, quickly tackles you and takes the ball as you get tangled up.'
  402. 'She smirks as she passes. "You really thought you could fool me with that silly move?"'
  403. 'Not long after, the game ends in a draw. As you approach the rest of your team you say "Sorry guys, I thought I could get pass her."'
  404. 'The others nod, acting as if they understand, but deep down they''re disappointed that you couldn''t win the game. Not wanting to say anything else, you pick up your stuff in silence, say your goodbyes and leave.'
  405. act 'End the game': gt 'fbgameout', 'end_game'
  406. end
  407. end
  408. end
  409. else
  410. act 'React (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  411. end
  412. act 'Hesitate':
  413. *clr & cla
  414. npc_rel['A8'] -= 1
  415. npc_rel['A149'] -= 1
  416. npc_rel['A165'] -= 1
  417. npc_rel['A13'] -= 1
  418. pcs_mood -= 30
  419. gs 'sweat', 'add', 20
  420. gs 'exp_gain', 'ftbll', rand(0, 1)
  421. grupvalue[2] -= 1
  422. gs 'stat'
  423. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/fail.jpg"></center>'
  424. 'There are too many options and you hesitate, not sure what to do. In a matter of seconds, you''re swarmed by the other team. They easily steal the ball and go on the offensive.'
  425. 'Two passes later, you can hear the ball hit the net and you see the other team celebrating. "Thanks <<$pcs_nickname>>! I dedicate this win to you!" Ivan says teasingly.'
  426. 'The game ends shortly after and your team looks dejected as you feel ashamed at messing up.'
  427. 'The others ignore you when you return to the sidelines, but as you''re about to leave Lazar approaches you. "Don''t take it too hard <<$pcs_nickname>>. We''re all disappointed, but we''ll get our revenge next time."'
  428. act 'End the game': gt 'fbgameout', 'end_game'
  429. end
  430. end
  431. end
  432. end
  433. end
  434. end
  435. end
  436. end
  437. if $ARGS[0] = 'end_game':
  438. *clr & cla
  439. minut += 20
  440. gs 'stat'
  441. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/pickupgames/football/aftergame.jpg"></center>'
  442. 'Once the game is over, you''re all tired and sweaty, but everyone had a great time. You all go over to the bleachers and find a seat to rest. You talk and joke with one another about the game, the winners bragging while the losers promise revenge. Once rested, everyone starts getting up and saying their goodbyes before going their separate ways.'
  443. act 'Leave': gt 'gschool_grounds', 'main'
  444. end
  445. --- fbgameout ---------------------------------