beg1.qsrc 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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. 'Top 3 finishes in Qualifying Races: <<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'
  44. begminus = 0
  45. if pcs_bmi > 25:
  46. begminus = ((pcs_bmi - 25)*4)
  47. elseif pcs_bmi < 20:
  48. begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
  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. grupvalue[2] -= 3
  66. '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.'
  67. elseif begresult < 10:
  68. grupvalue[2] -= 2
  69. 'You performed well for an amateur but still only came in last (8th place).'
  70. elseif begresult < 15:
  71. grupvalue[2] -= 1
  72. 'You fought hard, but managed to only take the penultimate place (7th place).'
  73. elseif begresult < 20:
  74. 'You fought hard, but only managed to take 6th place.'
  75. elseif begresult < 35:
  76. grupvalue[2] += 1
  77. 'You fought hard, but only managed to take 5th place.'
  78. elseif begresult < 40:
  79. grupvalue[2] += 2
  80. 'You fought hard, but only managed to take 4th place.'
  81. elseif begresult < 45:
  82. grupvalue[2] += 3
  83. gs 'fame', 'city', 'running', 14
  84. 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>'
  85. elseif begresult < 50:
  86. grupvalue[2] += 4
  87. gs 'fame', 'city', 'running', rand(14,15)
  88. 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>'
  89. else
  90. grupvalue[2] += 5
  91. gs 'fame', 'city', 'running', rand(14,16)
  92. 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.'
  93. end
  94. act 'Leave':gt 'fit', 'dressing room'
  95. end
  96. if $ARGS[0] = 'kms':
  97. cla
  98. gs 'exercise', 'tier2', 30, 'run'
  99. begminus = 0
  100. if pcs_bmi > 25:
  101. begminus = ((pcs_bmi - 25)*4)
  102. elseif pcs_bmi < 20:
  103. begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
  104. end
  105. begresult = pcs_run - begminus
  106. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
  107. 'Your discipline: The Women''s 400 Meter Dash.'
  108. '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.'
  109. 'When you and the other runners are called, you walk to your starting position, tense but ready.'
  110. wait 725
  111. 'You get in position. Then, you hear the starting shot: The race begins!'
  112. wait 725
  113. 'On your marks...'
  114. wait 725
  115. 'Get set...'
  116. wait 725
  117. 'Go! - You''re away!'
  118. wait 725
  119. if begresult < 20:
  120. grupvalue[2] -= 2
  121. 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.'
  122. elseif begresult < 25:
  123. grupvalue[2] -= 1
  124. '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.'
  125. elseif begresult < 30:
  126. '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).'
  127. elseif begresult < 35:
  128. 'You fought hard, but managed to only take the penultimate place (7th place).'
  129. elseif begresult < 40:
  130. grupvalue[2] += 1
  131. 'You fought hard, but only managed to take 6th place.'
  132. elseif begresult < 45:
  133. grupvalue[2] += 2
  134. 'You fought hard, but only managed to take 5th place.'
  135. elseif begresult < 50:
  136. grupvalue[2] += 3
  137. gs 'fame', 'city', 'running', 14
  138. 'You fought hard, but only managed to take 4th place.'
  139. elseif begresult < 55:
  140. grupvalue[2] += 4
  141. gs 'fame', 'city', 'running', rand(14,15)
  142. 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>'
  143. elseif begresult < 60:
  144. grupvalue[2] += 5
  145. gs 'fame', 'city', 'running', rand(14,16)
  146. 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>'
  147. else
  148. grupvalue[2] += 6
  149. gs 'fame', 'city', 'running', rand(14,17)
  150. 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.'
  151. end
  152. act 'Leave':gt 'fit', 'dressing room'
  153. end
  154. if $ARGS[0] = 'ross':
  155. cla
  156. gs 'exercise', 'tier2', 30, 'run'
  157. begminus = 0
  158. if pcs_bmi > 25:
  159. begminus = ((pcs_bmi - 25)*4)
  160. elseif pcs_bmi < 20:
  161. begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
  162. end
  163. begresult = pcs_run - begminus
  164. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
  165. 'Your discipline: The Women''s 400 Meter Dash.'
  166. '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.'
  167. 'When you and the other runners are called, you walk to your starting position, tense but ready.'
  168. wait 725
  169. 'You get in position. Then, you hear the starting shot: The race begins!'
  170. wait 725
  171. 'On your marks...'
  172. wait 725
  173. 'Get set...'
  174. wait 725
  175. 'Go! - You''re away!'
  176. wait 725
  177. if begresult < 30:
  178. 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.'
  179. elseif begresult < 35:
  180. '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.'
  181. elseif begresult < 40:
  182. '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).'
  183. elseif begresult < 45:
  184. grupvalue[2] += 1
  185. 'You fought hard, but managed to only take the penultimate place (7th place).'
  186. elseif begresult < 50:
  187. grupvalue[2] += 2
  188. 'You fought hard, but only managed to take 6th place.'
  189. elseif begresult < 55:
  190. grupvalue[2] += 3
  191. gs 'fame', 'city', 'running', 14
  192. 'You fought hard, but only managed to take 5th place.'
  193. elseif begresult < 60:
  194. grupvalue[2] += 4
  195. gs 'fame', 'city', 'running', rand(14,15)
  196. 'You fought hard, but only managed to take 4th place.'
  197. elseif begresult < 65:
  198. grupvalue[2] += 5
  199. gs 'fame', 'city', 'running', rand(14,16)
  200. 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>'
  201. elseif begresult < 70:
  202. grupvalue[2] += 6
  203. gs 'fame', 'city', 'running', rand(14,17)
  204. 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>'
  205. else
  206. grupvalue[2] += 7
  207. gs 'fame', 'city', 'running', rand(14,18)
  208. 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.'
  209. end
  210. act 'Leave':gt 'fit', 'dressing room'
  211. end
  212. if $ARGS[0] = 'kval':
  213. cla
  214. gs 'exercise', 'tier2', 30, 'run'
  215. razradbeg += 1
  216. minut += 60
  217. begminus = 0
  218. if pcs_bmi > 25:
  219. begminus = ((pcs_bmi - 25)*4)
  220. elseif pcs_bmi < 20:
  221. begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
  222. end
  223. begresult = pcs_run - begminus
  224. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
  225. 'Your discipline: The Women''s 400 Meter Dash.'
  226. '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.'
  227. !! Took the Krestovsky Stadium for reference. !!THX note. the Krestovsky Stadium is football-only. Better use the Petrovsky Stadium(20000), have track fields.
  228. 'When you and the other runners are called, you walk to your starting position, tense but ready.'
  229. wait 725
  230. 'You get in position. Then, you hear the starting shot: The race begins!'
  231. wait 725
  232. 'On your marks...'
  233. wait 725
  234. 'Get set...'
  235. wait 725
  236. 'Go! - You''re away!'
  237. wait 725
  238. if begresult < 40:
  239. grupvalue[2] -= 1
  240. 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.'
  241. elseif begresult < 45:
  242. '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.'
  243. elseif begresult < 50:
  244. '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).'
  245. elseif begresult < 55:
  246. grupvalue[2] += 2
  247. 'You fought hard, but managed to only take the penultimate place (7th place).'
  248. elseif begresult < 60:
  249. grupvalue[2] += 3
  250. gs 'fame', 'city', 'running', 14
  251. 'You fought hard, but only managed to take 6th place.'
  252. elseif begresult < 65:
  253. grupvalue[2] += 4
  254. gs 'fame', 'city', 'running', rand(14,15)
  255. 'You fought hard, but only managed to take 5th place.'
  256. elseif begresult < 70:
  257. grupvalue[2] += 5
  258. gs 'fame', 'city', 'running', rand(14,16)
  259. 'You fought hard, but only managed to take 4th place.'
  260. elseif begresult < 75:
  261. grupvalue[2] += 6
  262. gs 'fame', 'city', 'running', rand(14,17)
  263. 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.'
  264. elseif begresult < 80:
  265. grupvalue[2] += 7
  266. gs 'fame', 'city', 'running', rand(14,18)
  267. 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.'
  268. else
  269. grupvalue[2] += 8
  270. gs 'fame', 'city', 'running', rand(14,19)
  271. 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.'
  272. end
  273. act 'Leave':gt 'fit', 'dressing room'
  274. end
  275. if $ARGS[0] = 'evro':
  276. cla
  277. gs 'exercise', 'tier2', 30, 'run'
  278. minut += 120
  279. begminus = 0
  280. if pcs_bmi > 25:
  281. begminus = ((pcs_bmi - 25)*4)
  282. elseif pcs_bmi < 20:
  283. begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
  284. end
  285. begresult = pcs_run - begminus
  286. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
  287. 'Your discipline: The Women''s 400 Meter Dash.'
  288. '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.'
  289. '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.'
  290. 'When you and the other runners are called, you walk to your starting position, tense but ready.'
  291. wait 725
  292. 'You get in position. Then, you hear the starting shot: The race begins!'
  293. wait 725
  294. 'On your marks...'
  295. wait 725
  296. 'Get set...'
  297. wait 725
  298. 'Go! - You''re away!'
  299. wait 725
  300. if begresult < 50:
  301. grupvalue[2] -= 1
  302. 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.'
  303. gs 'fame', 'city', 'running', rand(14,19)
  304. elseif begresult < 55:
  305. '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.'
  306. gs 'fame', 'city', 'running', rand(15,21)
  307. elseif begresult < 60:
  308. gs 'fame', 'city', 'running', rand(16,23)
  309. '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).'
  310. elseif begresult < 65:
  311. grupvalue[2] += 1
  312. gs 'fame', 'city', 'running', rand(18,25)
  313. 'You fought hard, but managed to only take the penultimate place (7th place).'
  314. elseif begresult < 70:
  315. grupvalue[2] += 2
  316. gs 'fame', 'city', 'running', rand(20,25)
  317. 'You fought hard, but only managed to take 6th place.'
  318. elseif begresult < 75:
  319. grupvalue[2] += 3
  320. gs 'fame', 'city', 'running', rand(25,50)
  321. 'You fought hard, but only managed to take 5th place.'
  322. elseif begresult < 80:
  323. grupvalue[2] += 4
  324. gs 'fame', 'city', 'running', rand(50,100)
  325. 'You fought hard, but only managed to take 4th place.'
  326. elseif begresult < 85:
  327. grupvalue[2] += 6
  328. gs 'fame', 'city', 'running', 'BronzeMedal'
  329. razradbegEB += 1
  330. money += 10000
  331. '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>'
  332. elseif begresult < 90:
  333. grupvalue[2] += 8
  334. gs 'fame', 'city', 'running', 'SilverMedal'
  335. razradbegES += 1
  336. money += 15000
  337. '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>'
  338. else
  339. grupvalue[2] += 10
  340. gs 'fame', 'city', 'running', 'GoldMedal'
  341. razradbegEG += 1
  342. money += 20000
  343. '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"!'
  344. end
  345. act 'Leave':gt 'fit', 'dressing room'
  346. end
  347. --- beg1 ---------------------------------