beg1.qsrc 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. # beg1
  2. if $ARGS[0] = 'start':
  3. *clr & cla
  4. menu_off = 1
  5. gs 'stat'
  6. minut += 30
  7. kolsorev += 1
  8. razdtumbler = 0
  9. begmon = month
  10. begminus = 0
  11. if razradbeg = 0:
  12. 'You''re registered for an amateur''s race. The results will determine if you join the club''s junior squad and entry in the semi-professional runner circuit.'
  13. act 'Go to the track field.':gt 'beg1', 'br'
  14. elseif razradbeg = 1:
  15. 'As a member of your club''s junior squad, you''re registered for a semi-professional''s race. The results will determine if you join the veteran squad.'
  16. act 'Go to the track field.':gt 'beg1', 'kms'
  17. elseif razradbeg = 2:
  18. 'As a member of your club''s veteran squad, you''re registered for a semi-professional''s race. The results will determine your entry in the professional runner circuit.'
  19. act 'Go to the track field.':gt 'beg1', 'ross'
  20. elseif razradbeg >= 3 and razradbeg < 14:
  21. 'As one of your club''s best athletes, you can take part in a series of qualifying races in the professional circuit. Winning 9 out of 11 would qualify you for the St. Petersburg Track Championship, that is celebrated seasonally.'
  22. nl
  23. 'Qualifying Races Attended: <<razradbeg - 3>>'
  24. 'Qualifying Races Won: <<razradbegK>>'
  25. act 'Go to the stadium':gt 'beg1', 'kval'
  26. elseif razradbeg = 14 and razradbegK < 9:
  27. cla
  28. razradbegK = 0
  29. razradbeg = 3
  30. 'You were unable to qualify for the St. Petersburg Championship.'
  31. ! WD: Argument is 'dressing room'
  32. act 'Go back to the dressing room':gt 'fit', 'dressing room'
  33. elseif razradbeg = 14 and razradbegK >= 9:
  34. cla
  35. razradbegK = 0
  36. razradbeg = 3
  37. 'You qualified for the <<year>> St. Petersburg Track Championship, taking place this season in the Petrovsky Stadium.'
  38. act 'Go to the stadium':gt 'beg1', 'evro'
  39. end
  40. end
  41. if $ARGS[0] = 'br':
  42. cla
  43. gs 'exercise', 'tier2', 30, 'run_exp'
  44. begminus = 0
  45. if pcs_bmi > 25:
  46. begminus = ((pcs_bmi - 25)*4)
  47. elseif pcs_bmi < 18:
  48. begminus = ((25 - pcs_bmi)*6)
  49. end
  50. begresult = pcs_run - begminus
  51. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
  52. 'Your discipline: The Women''s 400 Meter Dash.'
  53. 'After changing into your running gear, you spend some time warming up near the track before the race starts. Beyond some casual bystanders and encouraging familiars, no spectators are attending this competition.'
  54. 'When you and the other runners are called, you walk to your starting position, tense but ready.'
  55. wait 725
  56. 'You get in position. Then, you hear the starting shot: The race begins!'
  57. wait 725
  58. 'On your marks...'
  59. wait 725
  60. 'Get set...'
  61. wait 725
  62. 'Go! - You''re away!'
  63. wait 725
  64. if begresult < 5:
  65. 'Sadly, you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made a bit of a fool of yourself.'
  66. elseif begresult < 10:
  67. 'You performed well for an amateur but still only came in last (8th place).'
  68. elseif begresult < 15:
  69. 'You fought hard, but managed to only take the penultimate place (7th place).'
  70. elseif begresult < 20:
  71. 'You fought hard, but only managed to take 6th place.'
  72. elseif begresult < 35:
  73. 'You fought hard, but only managed to take 5th place.'
  74. elseif begresult < 40:
  75. 'You fought hard, but only managed to take 4th place.'
  76. elseif begresult < 45:
  77. gs 'fame', 'city', 'running', 14
  78. bronzebeg += 1 & money += 150 & 'You fought hard and managed to take 3rd place, earning a prize: You receive a bronze badge and a prize of 150 <b>₽</b>'
  79. elseif begresult < 50:
  80. gs 'fame', 'city', 'running', rand(14,15)
  81. silverbeg += 1 & money += 300 & 'You fought hard and managed to take 2nd place, earning a prize: You receive a silver badge and a prize of 300 <b>₽</b>'
  82. else
  83. gs 'fame', 'city', 'running', rand(14,16)
  84. razradbeg = 1 & goldbeg += 1 & money += 600 & 'You fought hard and managed to take 1st place! You receive a gold badge, a prize of 600 <b>₽</b> and are now part of your club''s junior squad, performing at the semi-professional level.'
  85. end
  86. act 'Leave':gt 'fit', 'dressing room'
  87. end
  88. if $ARGS[0] = 'kms':
  89. cla
  90. gs 'exercise', 'tier2', 30, 'run_exp'
  91. begminus = 0
  92. if pcs_bmi > 25:
  93. begminus = ((pcs_bmi - 25)*4)
  94. elseif pcs_bmi < 18:
  95. begminus = ((25 - pcs_bmi)*6)
  96. end
  97. begresult = pcs_run - begminus
  98. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
  99. 'Your discipline: The Women''s 400 Meter Dash.'
  100. 'After changing into your running gear, you spend some time warming up near the track before the race starts. Beyond the encouraging familiars, now, you appreciate some genuinely interested spectators, some with cameras, but, even with that, no more than a hundred spectators are attending this competition. The track field is far from full.'
  101. 'When you and the other runners are called, you walk to your starting position, tense but ready.'
  102. wait 725
  103. 'You get in position. Then, you hear the starting shot: The race begins!'
  104. wait 725
  105. 'On your marks...'
  106. wait 725
  107. 'Get set...'
  108. wait 725
  109. 'Go! - You''re away!'
  110. wait 725
  111. if begresult < 20:
  112. razradbeg = 0 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decides to return you to the amateur rank.'
  113. elseif begresult < 25:
  114. 'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You didn''t manage to reach any classification.'
  115. elseif begresult < 30:
  116. 'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You only came in last (8th place).'
  117. elseif begresult < 35:
  118. 'You fought hard, but managed to only take the penultimate place (7th place).'
  119. elseif begresult < 40:
  120. 'You fought hard, but only managed to take 6th place.'
  121. elseif begresult < 45:
  122. 'You fought hard, but only managed to take 5th place.'
  123. elseif begresult < 50:
  124. gs 'fame', 'city', 'running', 14
  125. 'You fought hard, but only managed to take 4th place.'
  126. elseif begresult < 55:
  127. gs 'fame', 'city', 'running', rand(14,15)
  128. bronzebeg += 1 & money += 300 & 'You fought hard and managed to take 3rd place, earning a prize: You get a bronze medal and a prize of 300 <b>₽</b>'
  129. elseif begresult < 60:
  130. gs 'fame', 'city', 'running', rand(14,16)
  131. silverbeg += 1 & money += 600 & 'You fought hard and managed to take 2nd place, earning a prize: You get a silver medal and a prize of 600 <b>₽</b>'
  132. else
  133. gs 'fame', 'city', 'running', rand(14,17)
  134. razradbeg = 3 & goldbeg += 1 & money += 1000 & 'You fought hard and managed to take 1st place! You get a gold medal, a prize of 1,000 <b>₽</b> and are now part of your club''s veteran squad, performing at the semi-professional level.'
  135. end
  136. act 'Leave':gt 'fit', 'dressing room'
  137. end
  138. if $ARGS[0] = 'ross':
  139. cla
  140. gs 'exercise', 'tier2', 30, 'run_exp'
  141. begminus = 0
  142. if pcs_bmi > 25:
  143. begminus = ((pcs_bmi - 25)*4)
  144. elseif pcs_bmi < 18:
  145. begminus = ((25 - pcs_bmi)*6)
  146. end
  147. begresult = pcs_run - begminus
  148. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
  149. 'Your discipline: The Women''s 400 Meter Dash.'
  150. 'After changing into your running gear, you spend some time warming up near the track before the race starts. Familiars, the club''s fans, track''s lovers and students on a school trip, fill the place. You even see some photo journalists. All of them showing genuine interest in this competition. A gross appraisal put the spectators'' numbers in several hundred attending this competition. The track field is in full occupation.'
  151. 'When you and the other runners are called, you walk to your starting position, tense but ready.'
  152. wait 725
  153. 'You get in position. Then, you hear the starting shot: The race begins!'
  154. wait 725
  155. 'On your marks...'
  156. wait 725
  157. 'Get set...'
  158. wait 725
  159. 'Go! - You''re away!'
  160. wait 725
  161. if begresult < 30:
  162. razradbeg = 1 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decides to return you to the junior rank.'
  163. elseif begresult < 35:
  164. 'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You didn''t manage to reach any classification.'
  165. elseif begresult < 40:
  166. 'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You only came in last (8th place).'
  167. elseif begresult < 45:
  168. 'You fought hard, but managed to only take the penultimate place (7th place).'
  169. elseif begresult < 50:
  170. 'You fought hard, but only managed to take 6th place.'
  171. elseif begresult < 55:
  172. gs 'fame', 'city', 'running', 14
  173. 'You fought hard, but only managed to take 5th place.'
  174. elseif begresult < 60:
  175. gs 'fame', 'city', 'running', rand(14,15)
  176. 'You fought hard, but only managed to take 4th place.'
  177. elseif begresult < 65:
  178. gs 'fame', 'city', 'running', rand(14,16)
  179. bronzebeg += 1 & money += 600 & 'You fought hard and managed to take 3rd place, earning a prize: You get a bronze medal and a prize of 600 <b>₽</b>'
  180. elseif begresult < 70:
  181. gs 'fame', 'city', 'running', rand(14,17)
  182. silverbeg += 1 & money += 1000 & 'You fought hard and managed to take 2nd place, earning a prize: You get a silver medal and a prize of 1,000 <b>₽</b>'
  183. else
  184. gs 'fame', 'city', 'running', rand(14,18)
  185. razradbeg = 3 & goldbeg += 1 & money += 1500 & 'You fought hard and managed to take 1st place! You get a gold medal, a prize of 1,500 <b>₽</b> and gain entry to the professional circuit.'
  186. end
  187. act 'Leave':gt 'fit', 'dressing room'
  188. end
  189. if $ARGS[0] = 'kval':
  190. cla
  191. gs 'exercise', 'tier2', 30, 'run_exp'
  192. razradbeg += 1
  193. minut += 60
  194. begminus = 0
  195. if pcs_bmi > 25:
  196. begminus = ((pcs_bmi - 25)*4)
  197. elseif pcs_bmi < 18:
  198. begminus = ((25 - pcs_bmi)*6)
  199. end
  200. begresult = pcs_run - begminus
  201. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
  202. 'Your discipline: The Women''s 400 Meter Dash.'
  203. 'At the professional level, your club takes you, to the Petrovsky Stadium. After changing into your running gear, you spend some time warming up before the race starts and observe the current attendance. Now, this is what you call a spectacle. Thousands of people, come to see the race, including photo journalists, TV crews and all class of sports enthusiasts. Even with that, the stadium is far from full, with maybe a quarter capacity, that is around 5000 spectators.'
  204. !! Took the Krestovsky Stadium for reference. !!THX note. the Krestovsky Stadium is football-only. Better use the Petrovsky Stadium(20000), have track fields.
  205. 'When you and the other runners are called, you walk to your starting position, tense but ready.'
  206. wait 725
  207. 'You get in position. Then, you hear the starting shot: The race begins!'
  208. wait 725
  209. 'On your marks...'
  210. wait 725
  211. 'Get set...'
  212. wait 725
  213. 'Go! - You''re away!'
  214. wait 725
  215. if begresult < 40:
  216. razradbeg = 2 & razradbegK = 0 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decides to return you to the semi-professional rank.'
  217. elseif begresult < 45:
  218. 'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You didn''t manage to reach any classification.'
  219. elseif begresult < 50:
  220. 'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You only came in last (8th place).'
  221. elseif begresult < 55:
  222. 'You fought hard, but managed to only take the penultimate place (7th place).'
  223. elseif begresult < 60:
  224. gs 'fame', 'city', 'running', 14
  225. 'You fought hard, but only managed to take 6th place.'
  226. elseif begresult < 65:
  227. gs 'fame', 'city', 'running', rand(14,15)
  228. 'You fought hard, but only managed to take 5th place.'
  229. elseif begresult < 70:
  230. gs 'fame', 'city', 'running', rand(14,16)
  231. 'You fought hard, but only managed to take 4th place.'
  232. elseif begresult < 75:
  233. gs 'fame', 'city', 'running', rand(14,17)
  234. razradbegK += 1 & bronzebeg += 1 & money += 1000 & 'You fought hard and managed to take 3rd place, earning a prize. You get a bronze badge and a prize of 1,000 <b>₽</b>, but sadly, only the 1st place adds to your qualification for the European championship.'
  235. elseif begresult < 80:
  236. gs 'fame', 'city', 'running', rand(14,18)
  237. razradbegK += 1 & silverbeg += 1 & money += 1500 & 'You fought hard and managed to take 2nd place, earning a prize. You get a silver medal and a prize of 1,500 <b>₽</b>, but sadly, only the 1st place adds to your qualification for the European championship.'
  238. else
  239. gs 'fame', 'city', 'running', rand(14,19)
  240. razradbegK += 1 & goldbeg += 1 & money += 2000 & 'You fought hard and managed to take 1st place! You get a gold medal, a prize of 2,000 <b>₽</b> and are one step closer to qualifying for the St. Petersburg Championship.'
  241. end
  242. act 'Leave':gt 'fit', 'dressing room'
  243. end
  244. if $ARGS[0] = 'evro':
  245. cla
  246. gs 'exercise', 'tier2', 30, 'run_exp'
  247. minut += 120
  248. begminus = 0
  249. if pcs_bmi > 25:
  250. begminus = ((pcs_bmi - 25)*4)
  251. elseif pcs_bmi < 18:
  252. begminus = ((25 - pcs_bmi)*6)
  253. end
  254. begresult = pcs_run - begminus
  255. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
  256. 'Your discipline: The Women''s 400 Meter Dash.'
  257. 'This is the highest competition in the St. Petersburg area. From here, the professional runners, jump to the regional, national and eventually international scene. You will eventually reach those levels, with the possibility to reach the country Olympic Team, but for the moment, it is better if you concentrate on reaching the St. Petersburg Championship.'
  258. 'After changing into your running gear, you spend some time warming up before the race starts and observe the current attendance. The Petrovsky Stadium''s personnel is in full gear to manage the wave of spectators, journalist, and others that run around. Even with the fact, that track & field don''t attract the same attention level that football, it is evident that this is a great event, with maybe around 10000 spectators.'
  259. 'When you and the other runners are called, you walk to your starting position, tense but ready.'
  260. wait 725
  261. 'You get in position. Then, you hear the starting shot: The race begins!'
  262. wait 725
  263. 'On your marks...'
  264. wait 725
  265. 'Get set...'
  266. wait 725
  267. 'Go! - You''re away!'
  268. wait 725
  269. if begresult < 50:
  270. razradbeg = 2 & razradbegK = 0 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decide to return you to the semi-proffessional rank.'
  271. gs 'fame', 'city', 'running', rand(14,19)
  272. elseif begresult < 55:
  273. 'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You didn''t manage to reach any clasification.'
  274. gs 'fame', 'city', 'running', rand(15,21)
  275. elseif begresult < 60:
  276. gs 'fame', 'city', 'running', rand(16,23)
  277. 'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You only came in last (8th place).'
  278. elseif begresult < 65:
  279. gs 'fame', 'city', 'running', rand(18,25)
  280. 'You fought hard, but managed to only take the penultimate place (7th place).'
  281. elseif begresult < 70:
  282. gs 'fame', 'city', 'running', rand(20,25)
  283. 'You fought hard, but only managed to take 6th place.'
  284. elseif begresult < 75:
  285. gs 'fame', 'city', 'running', rand(25,50)
  286. 'You fought hard, but only managed to take 5th place.'
  287. elseif begresult < 80:
  288. gs 'fame', 'city', 'running', rand(50,100)
  289. 'You fought hard, but only managed to take 4th place.'
  290. elseif begresult < 85:
  291. gs 'fame', 'city', 'running', BronzeMedal
  292. razradbegEB += 1
  293. money += 10000
  294. 'You fought hard and managed to take 3rd place, earning a prize. You get a bronze medal and a prize of 10,000 <b>₽</b>'
  295. elseif begresult < 90:
  296. gs 'fame', 'city', 'running', SilverMedal
  297. razradbegES += 1
  298. money += 15000
  299. 'You fought hard and managed to take 2nd place, earning a prize. You get a silver medal and a prize of 15,000 <b>₽</b>'
  300. else
  301. gs 'fame', 'city', 'running', GoldMedal
  302. razradbegEG += 1
  303. money += 20000
  304. 'You fought hard and managed to take 1st place. You get a gold medal, a prize of 20,000 <b>₽</b> and are now the "St. Petersburg Track Champion"!'
  305. end
  306. act 'Leave':gt 'fit', 'dressing room'
  307. end
  308. --- beg1 ---------------------------------