mod_public_WC_rab_gun.qsrc 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. # mod_public_WC_rab_gun
  2. if $ARGS[0] = 'start':
  3. 'I can use this for defence in fights, practice in shooting or try to rob someone.'
  4. *nl
  5. 'I have killed:'
  6. if Tolik = 2: 'Tolik,'
  7. if Artem = 2: 'Artem,'
  8. if Vania = 2: 'Vania,'
  9. '<<killed>> other people'
  10. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/gun.jpg"></center>'
  11. if ammo = 0:
  12. 'I have no bullets'
  13. elseif ammo = 1:
  14. 'I have <<ammo>> bullet'
  15. else
  16. 'I have <<ammo>> bullets'
  17. end
  18. if ammo > 0:
  19. act 'start shoot practice':
  20. If ($loc = 'meadow' and MiraLoc ! 2) or ($loc = 'gadforest' and $loc_arg ! 'forest_edge'):
  21. *clr & cla
  22. minut += rand (5,15)
  23. ammo -= 1
  24. shoot_exp += rand(1,2)
  25. gs 'stat'
  26. 'I put some targets with bottles and atc, and start shooting.'
  27. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  28. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/target.mp4"></video></center>'
  29. act 'continue': gt $loc, $loc_arg
  30. else
  31. 'I need to be somewere in quite place without people'
  32. end
  33. end
  34. end
  35. if $location_type = 'secluded':
  36. act 'throw out the gun!':
  37. gun = 0
  38. gt $loc, $loc_arg
  39. end
  40. end
  41. act 'Find target, Seduce him and rob':
  42. if hour >= 21 or hour < 6:
  43. if $loc = 'road':
  44. cla
  45. act 'try to sell yourself': gt 'mod_public_WC_rab_gun_rob','start'
  46. elseif $loc = 'city_center' or $loc = 'city_residential' or $loc = 'pav_residential':
  47. cla
  48. act 'find someone to seduce': gt 'mod_public_WC_rab_gun_rob','start'
  49. else
  50. 'This is not a proper place.'
  51. end
  52. else
  53. 'I need night to do this.'
  54. end
  55. end
  56. if Vania = 1 or Vania = 3 and ammo > 0:
  57. gs 'willpower', 'crime', 'self', 'hard'
  58. if will_cost <= pcs_willpwr:
  59. act 'shoot in Vania (<<will_cost>> Willpower)':
  60. *clr & cla
  61. gs 'willpower', 'pay', 'self'
  62. gs 'stat'
  63. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  64. ammo -= 1
  65. shoot_exp += 1
  66. pcs_mood -= 50
  67. Vania = 2
  68. 'I killed Vania'
  69. gs 'stat'
  70. If Artem = 1 and Tolik = 1:
  71. *clr & cla
  72. 'I make few more shoots to defend myself'
  73. 'maybe I even killed someone but the other smash my head and I lost consciousness'
  74. act 'continue':
  75. over = 1
  76. gt 'gameover'
  77. end
  78. elseIf Artem = 1 or Tolik = 1:
  79. If Artem = 1:
  80. 'Artem freez for few seconds and then started to run to me'
  81. elseIf Tolik = 1:
  82. 'Tolik freez for few seconds and then started to run to me'
  83. end
  84. act 'shoot to survive!!!':
  85. *clr & cla
  86. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  87. If ammo > 0:
  88. shoot_exp += 1
  89. ammo -= 1
  90. If Tolik = 1:
  91. if pcs_shoot >= rand(10,50):
  92. 'I killed Tolik'
  93. pcs_mood -= 50
  94. Tolik = 2
  95. gs 'stat'
  96. act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
  97. else
  98. 'I missed'
  99. 'He hits me and I lost consciousness'
  100. act 'continue':
  101. over = 1
  102. gt 'gameover'
  103. end
  104. end
  105. elseIf Artem = 1:
  106. if pcs_shoot >= rand(10,50):
  107. 'I killed Artem'
  108. pcs_mood -= 50
  109. Artem = 2
  110. gs 'stat'
  111. act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
  112. else
  113. 'I missed'
  114. 'He hits me and I lost consciousness'
  115. act 'continue':
  116. over = 1
  117. gt 'gameover'
  118. end
  119. end
  120. end
  121. else
  122. *clr & cla
  123. 'I have no ammo'
  124. 'He hits me and I lost consciousness'
  125. act 'continue':
  126. over = 1
  127. gt 'gameover'
  128. end
  129. end
  130. end
  131. else
  132. act 'Kill all other, otherway they will kill me': gt 'mod_public_WC_rab_gun', 'killall'
  133. end
  134. end
  135. else
  136. act 'shoot in Vania (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  137. end
  138. end
  139. if Artem = 1 or Artem = 3 and ammo > 0:
  140. gs 'willpower', 'crime', 'self', 'hard'
  141. if will_cost <= pcs_willpwr:
  142. act 'shoot in Artem (<<will_cost>> Willpower)':
  143. *clr & cla
  144. gs 'willpower', 'pay', 'self'
  145. gs 'stat'
  146. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  147. ammo -= 1
  148. shoot_exp += 1
  149. pcs_mood -= 50
  150. Artem = 2
  151. 'I killed Artem'
  152. gs 'stat'
  153. If Vania = 1 and Tolik = 1:
  154. *clr & cla
  155. 'I make few more shoots to defend myself'
  156. 'maybe I even killed someone but the other smash my head and I lost consciousness'
  157. act 'continue':
  158. over = 1
  159. gt 'gameover'
  160. end
  161. elseIf Vania = 1 or Tolik = 1:
  162. If Vania = 1:
  163. 'Vania freez for few seconds and then started to run to me'
  164. elseIf Tolik = 1:
  165. 'Tolik freez for few seconds and then started to run to me'
  166. end
  167. act 'shoot to survive!!!':
  168. *clr & cla
  169. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  170. If ammo > 0:
  171. shoot_exp += 1
  172. ammo -= 1
  173. If Tolik = 1:
  174. if pcs_shoot >= rand(10,50):
  175. 'I killed Tolik'
  176. pcs_mood -= 50
  177. Tolik = 2
  178. gs 'stat'
  179. act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
  180. else
  181. 'I missed'
  182. 'He hits me and I lost consciousness'
  183. act 'continue':
  184. over = 1
  185. gt 'gameover'
  186. end
  187. end
  188. elseIf Vania = 1:
  189. if pcs_shoot >= rand(10,50):
  190. 'I killed Vania'
  191. pcs_mood -= 50
  192. Vania = 2
  193. gs 'stat'
  194. act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
  195. else
  196. 'I missed'
  197. 'He hits me and I lost consciousness'
  198. act 'continue':
  199. over = 1
  200. gt 'gameover'
  201. end
  202. end
  203. end
  204. else
  205. *clr & cla
  206. 'I have no ammo'
  207. 'He hits me and I lost consciousness'
  208. act 'continue':
  209. over = 1
  210. gt 'gameover'
  211. end
  212. end
  213. end
  214. else
  215. act 'Kill all other, otherway they will kill me': gt 'mod_public_WC_rab_gun', 'killall'
  216. end
  217. end
  218. else
  219. act 'shoot in Artem (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  220. end
  221. end
  222. If Tolik = 1 or Tolik = 3 and ammo > 0:
  223. gs 'willpower', 'crime', 'self', 'hard'
  224. if will_cost <= pcs_willpwr:
  225. act 'shoot in Tolik (<<will_cost>> Willpower)':
  226. *clr & cla
  227. gs 'willpower', 'pay', 'self'
  228. gs 'stat'
  229. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  230. ammo -= 1
  231. shoot_exp += 1
  232. pcs_mood -= 50
  233. Tolik = 2
  234. 'I killed Tolik'
  235. gs 'stat'
  236. If Vania = 1 and Artem = 1:
  237. *clr & cla
  238. 'I make few more shoots to defend myself'
  239. 'maybe I even killed someone but the other smash my head and I lost consciousness'
  240. act 'continue':
  241. over = 1
  242. gt 'gameover'
  243. end
  244. elseIf Vania = 1 or Artem = 1:
  245. If Vania = 1:
  246. 'Vania freez for few seconds and then started to run to me'
  247. elseIf Artem = 1:
  248. 'Artem freez for few seconds and then started to run to me'
  249. end
  250. act 'shoot to survive!!!':
  251. *clr & cla
  252. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  253. If ammo > 0:
  254. shoot_exp += 1
  255. ammo -= 1
  256. If Artem = 1:
  257. if pcs_shoot >= rand(10,50):
  258. 'I killed Artem'
  259. pcs_mood -= 50 + Alove
  260. Artem = 2
  261. gs 'stat'
  262. act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
  263. else
  264. 'I missed'
  265. 'He hits me and I lost consciousness'
  266. act 'continue':
  267. over = 1
  268. gt 'gameover'
  269. end
  270. end
  271. elseIf Vania = 1:
  272. if pcs_shoot >= rand(10,50):
  273. 'I killed Vania'
  274. pcs_mood -= 50
  275. Vania = 2
  276. gs 'stat'
  277. act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
  278. else
  279. 'I missed'
  280. 'He hits me and I lost consciousness'
  281. act 'continue':
  282. over = 1
  283. gt 'gameover'
  284. end
  285. end
  286. end
  287. else
  288. *clr & cla
  289. 'I have no ammo'
  290. 'He hits me and I lost consciousness'
  291. act 'continue':
  292. over = 1
  293. gt 'gameover'
  294. end
  295. end
  296. end
  297. else
  298. act 'Kill all other, otherway they will kill me': gt 'mod_public_WC_rab_gun', 'killall'
  299. end
  300. end
  301. else
  302. act 'shoot in Tolik (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  303. end
  304. end
  305. act 'go back': gt $loc, $loc_arg
  306. end
  307. if $ARGS[0] = 'run':
  308. gt 'mod_public_WC_rab_gun_run', 'run'
  309. end
  310. if $ARGS[0] = 'damage':
  311. if ktemp = 105:
  312. 'I hear Vania voice full of pain...'
  313. temp = rand(2,8)
  314. Vania = temp
  315. if Vania = 2: '...and scilens'
  316. killvar 'ktemp'
  317. elseif hour >= 7 and hour <= 20:
  318. 'I hear Artem voice full of pain...'
  319. temp = rand(2,8)
  320. Artem = temp
  321. if Artem = 2: '...and scilens'
  322. else
  323. 'I hear Vania voice full of pain...'
  324. temp = rand(2,8)
  325. Vania = temp
  326. if Vania = 2: '...and scilens'
  327. end
  328. end
  329. if $ARGS[0] = 'kill':
  330. If Vania > 2:
  331. 'It looks like Vania will survive'
  332. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/vania/vania.jpg"></center>'
  333. gs 'willpower', 'crime', 'self', 'hard'
  334. if will_cost <= pcs_willpwr:
  335. act 'Kill Vania (<<will_cost>> Willpower)':
  336. *clr & cla
  337. gs 'willpower', 'pay', 'self'
  338. gs 'stat'
  339. if ammo > 0:
  340. ammo -= 1
  341. shoot_exp += 1
  342. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  343. pcs_mood -= 50
  344. willpowermax += 5
  345. Vania = 2
  346. 'I have killed him'
  347. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
  348. act 'continue': gt 'mod_public_WC_rab_gun', 'kill'
  349. else
  350. 'I have no ammo'
  351. act 'Smash his head with rock':
  352. *clr & cla
  353. pcs_mood -= 50
  354. willpowermax += 5
  355. Vania = 2
  356. 'I have killed him'
  357. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
  358. act 'continue': gt 'mod_public_WC_rab_gun', 'kill'
  359. end
  360. end
  361. end
  362. else
  363. act 'Kill Vania (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  364. end
  365. act 'Run away':
  366. minut += rand (10, 40)
  367. brak += 70
  368. vtecha = 1
  369. if Vania ! 2: Vania = 0
  370. If Artem ! 2: Artem = 0
  371. Tolik = 0
  372. gt 'gadforestlost', 'forest_center'
  373. end
  374. elseIf Artem > 2:
  375. 'It looks like Artem will survive'
  376. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/Artem/Artem.jpg"></center>'
  377. gs 'willpower', 'crime', 'self', 'hard'
  378. if will_cost <= pcs_willpwr:
  379. act 'Kill Artem (<<will_cost>> Willpower)':
  380. *clr & cla
  381. gs 'willpower', 'pay', 'self'
  382. gs 'stat'
  383. if ammo > 0:
  384. ammo -= 1
  385. shoot_exp += 1
  386. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  387. pcs_mood -= 50
  388. willpowermax += 5
  389. Vania = 2
  390. 'I have killed him'
  391. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
  392. act 'continue': gt 'mod_public_WC_rab_gun', 'kill'
  393. else
  394. 'I have no ammo'
  395. act 'Smash his head with rock':
  396. *clr & cla
  397. pcs_mood -= 50
  398. willpowermax += 5
  399. Vania = 2
  400. 'I have killed him'
  401. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
  402. act 'continue': gt 'mod_public_WC_rab_gun', 'kill'
  403. end
  404. end
  405. end
  406. else
  407. act 'Kill Artem (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  408. end
  409. act 'Run away':
  410. minut += rand (10, 40)
  411. brak += 70
  412. vtecha = 1
  413. if Vania ! 2: Vania = 0
  414. If Artem ! 2: Artem = 0
  415. Tolik = 0
  416. gt 'gadforestlost', 'forest_center'
  417. end
  418. end
  419. If Vania = 2 or Artem = 2:
  420. act 'Run away':
  421. minut += rand (10, 40)
  422. brak += 70
  423. vtecha = 1
  424. if Vania ! 2: Vania = 0
  425. If Artem ! 2: Artem = 0
  426. Tolik = 0
  427. gt 'gadforestlost', 'forest_center'
  428. end
  429. act 'throw the gun and run away':
  430. gun = 0
  431. minut += rand (10, 40)
  432. brak += 70
  433. vtecha = 1
  434. if Vania ! 2: Vania = 0
  435. If Artem ! 2: Artem = 0
  436. Tolik = 0
  437. gt 'gadforestlost', 'forest_center'
  438. end
  439. act 'go to the house and kill other': gt 'mod_public_WC_rab_gun', 'killall'
  440. end
  441. end
  442. if $ARGS[0] = 'killall':
  443. $location_type = 'secluded'
  444. $loc = 'mod_public_WC_rab_gun'
  445. $metka = 'killall'
  446. gs 'stat'
  447. *clr & cla
  448. '<center><b><font color="maroon">The yard where I''m being held</font></b></center>'
  449. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/HATA/dim.jpg"></center>'
  450. 'I went out to the yard. I need to survive... I need to kill...'
  451. if ammo = 0: 'I need ammo, I must found the ammo in the Warehouse.'
  452. If ammo <= 6: 'I need more ammo, I can found the ammo in the Warehouse.'
  453. act 'continue': gt 'mod_public_WC_rab_DVIR','dvir'
  454. end
  455. if $ARGS[0] = 'fightshoot':
  456. shoot_exp += 1
  457. ammo -= 1
  458. if ztemp = 0:
  459. if opp_wrstlng <= rand(20,40):
  460. killvar 'ActionMade'
  461. killvar 'TargetNumber'
  462. killvar '$TargetType'
  463. killvar '$AttackerType'
  464. killvar 'AttackerNumber'
  465. inFight = 0
  466. xgt 'ender', 'win'
  467. gt $loc, $loc_arg
  468. exit
  469. else
  470. 'Enemy doesn''t skare at all'
  471. end
  472. elseif pcs_shoot - opp_agil - ztemp >= 20:
  473. if ztemp = 10:
  474. killvar 'ActionMade'
  475. killvar 'TargetNumber'
  476. killvar '$TargetType'
  477. killvar '$AttackerType'
  478. killvar 'AttackerNumber'
  479. inFight = 0
  480. 'I hit him'
  481. xgt 'ender', 'win'
  482. gt $loc, $loc_arg
  483. exit
  484. end
  485. if ztemp = 30:
  486. killvar 'ActionMade'
  487. killvar 'TargetNumber'
  488. killvar '$TargetType'
  489. killvar '$AttackerType'
  490. killvar 'AttackerNumber'
  491. inFight = 0
  492. 'I have killed him!'
  493. pcs_mood -= 10
  494. willpowermax += 5
  495. killed += 1
  496. crime += 3
  497. xgt 'ender', 'win'
  498. gt $loc, $loc_arg
  499. exit
  500. end
  501. else
  502. 'I missed.'
  503. end
  504. end
  505. if $ARGS[0] = 'tolik':
  506. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/aim.jpg"></center>'
  507. minut += rand(3,45)
  508. If Tolik = 1 and ammo > 0:
  509. act 'shoot in Tolik':
  510. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  511. If (Tolik = 1 and Artem = 1) or (Tolik = 1 and Vania = 1):
  512. *clr & cla
  513. 'I make few more shoots to defend myself'
  514. 'maybe I even killed someone but the other smash my head and I lost consciousness'
  515. act 'continue':
  516. over = 1
  517. gt 'gameover'
  518. end
  519. elseIf Tolik = 1:
  520. if pcs_shoot >= rand(10,50):
  521. 'I killed Tolik'
  522. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
  523. pcs_mood -= 30
  524. willpowermax += 5
  525. Tolik = 2
  526. gs 'stat'
  527. act 'Kill the last one, otherway he will kill me':
  528. ttemp = 1
  529. gt $loc, $loc_arg
  530. end
  531. if Vania = 2 and Tolik = 2 and Artem = 2:
  532. *clr & cla
  533. ttemp = 1
  534. 'The end. I have killed all of them... I am free!!!'
  535. act 'look around': gt $loc, $loc_arg
  536. end
  537. else
  538. *clr & cla
  539. 'I missed'
  540. act 'Oh, NO! I MISED! good buy life...':
  541. *clr & cla
  542. 'Tolik killed me'
  543. over = 1
  544. gt 'gameover'
  545. end
  546. end
  547. end
  548. end
  549. else
  550. act 'Oh, NO! I have no ammo, good buy life...':
  551. *clr & cla
  552. 'Tolik killed me'
  553. over = 1
  554. gt 'gameover'
  555. end
  556. end
  557. end
  558. if $ARGS[0] = 'artem':
  559. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/aim.jpg"></center>'
  560. minut += rand(3,45)
  561. If Artem = 1 and ammo > 0:
  562. act 'shoot in Artem':
  563. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  564. If (Tolik = 1 and Artem = 1) or (Artem = 1 and Vania = 1):
  565. *clr & cla
  566. 'I make few more shoots to defend myself'
  567. 'maybe I even killed someone but the other smash my head and I lost consciousness'
  568. act 'continue':
  569. over = 1
  570. gt 'gameover'
  571. end
  572. elseIf Artem = 1:
  573. if pcs_shoot >= rand(10,50):
  574. 'I killed Artem'
  575. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
  576. pcs_mood -= 30
  577. willpowermax += 5
  578. Artem = 2
  579. gs 'stat'
  580. act 'Kill the last one, otherway he will kill me':
  581. ttemp = 1
  582. gt $loc, $loc_arg
  583. end
  584. if Vania = 2 and Tolik = 2 and Artem = 2:
  585. *clr & cla
  586. ttemp = 1
  587. 'The end. I have killed all of them... I am free!!!'
  588. act 'look around': gt $loc, $loc_arg
  589. end
  590. else
  591. *clr & cla
  592. 'I missed'
  593. act 'Oh, NO! I MISED! good buy life...':
  594. *clr & cla
  595. 'Artem killed me'
  596. over = 1
  597. gt 'gameover'
  598. end
  599. end
  600. end
  601. end
  602. else
  603. act 'Oh, NO! I have no ammo, good buy life...':
  604. *clr & cla
  605. 'Artem killed me'
  606. over = 1
  607. gt 'gameover'
  608. end
  609. end
  610. end
  611. if $ARGS[0] = 'vania':
  612. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/aim.jpg"></center>'
  613. minut += rand(3,45)
  614. If Vania = 1 and ammo > 0:
  615. act 'shoot in Vania':
  616. '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
  617. If (Tolik = 1 and Vania = 1) or (Artem = 1 and Vania = 1):
  618. *clr & cla
  619. 'I make few more shoots to defend myself'
  620. 'maybe I even killed someone but the other smash my head and I lost consciousness'
  621. act 'continue':
  622. over = 1
  623. gt 'gameover'
  624. end
  625. elseIf Vania = 1:
  626. if pcs_shoot >= rand(10,50):
  627. 'I killed Vania'
  628. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
  629. pcs_mood -= 30
  630. willpowermax += 5
  631. Vania = 2
  632. gs 'stat'
  633. act 'Kill the last one, otherway he will kill me':
  634. ttemp = 1
  635. gt $loc, $loc_arg
  636. end
  637. if Vania = 2 and Tolik = 2 and Artem = 2:
  638. *clr & cla
  639. ttemp = 1
  640. 'The end. I have killed all of them... I am free!!!'
  641. act 'look around': gt $loc, $loc_arg
  642. end
  643. else
  644. *clr & cla
  645. 'I missed'
  646. act 'Oh, NO! I MISED! good buy life...':
  647. *clr & cla
  648. 'Vania killed me'
  649. over = 1
  650. gt 'gameover'
  651. end
  652. end
  653. end
  654. end
  655. else
  656. act 'Oh, NO! I have no ammo, good buy life...':
  657. *clr & cla
  658. 'Vania killed me'
  659. over = 1
  660. gt 'gameover'
  661. end
  662. end
  663. end
  664. if $ARGS[0] = 'lastfight':
  665. ttemp = 2762940
  666. cla
  667. If Tolik = 1:
  668. 'You Bitch, STOP!'
  669. 'Tolik run to me and try to hit me with a knife!'
  670. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/nij.jpg"></center>'
  671. act 'aim at Tolik': gt 'mod_public_WC_rab_gun', 'tolik'
  672. end
  673. If Artem = 1:
  674. 'You Bitch, STOP!'
  675. 'Artem run to me and try to hit me! '
  676. act 'aim at Artem': gt 'mod_public_WC_rab_gun', 'artem'
  677. end
  678. If Vania = 1:
  679. 'You Bitch, STOP!'
  680. 'Vania run to me and try to kill me with a knife! '
  681. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/nij.jpg"></center>'
  682. act 'aim at Vania': gt 'mod_public_WC_rab_gun', 'vania'
  683. end
  684. end
  685. --- mod_public_WC_rab_gun ---------------------------------