events.qsrc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. # events
  2. !2021/04/26
  3. if $ARGS[0] = 'street_cum':
  4. if (cumloc[6] = 1 or cumloc[7] = 1) or cumloc[11] = 1:
  5. if hour >= 7 and hour <= 21:
  6. pcs_mood -= 5
  7. if face_write > 0:
  8. pcs_mood -= 5
  9. 'Passers puzzled turn around staring at you - one with surprise, and others with contempt. Someone smiles and shows a finger. Some of the pictures on your phone, absolutely not hiding and giggling at you. You clearly noticeable semen and bargain painted face.'
  10. else
  11. 'Puzzled passerbys turn around and stare at you. Some take pictures on their phones, not entirely hiding that they are giggling at you. The sperm on you is clearly noticeable.'
  12. end
  13. end
  14. elseif (cumloc[6] = 0 or cumloc[7] = 0) and cumloc[11] = 0 and face_write > 0:
  15. pcs_mood -= 5
  16. 'Surrounding look at you with surprise, grin or a slight contempt. Someone just point the finger and laughs. Someone photographed phone. Hair obviously can not hide "art" on your face.'
  17. end
  18. end
  19. if $ARGS[0] = 'read':
  20. act 'Read a book':
  21. *clr & cla
  22. gs 'stat'
  23. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  24. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_nude.jpg"></center>'
  25. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  26. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_underwear.jpg"></center>'
  27. else
  28. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_dressed.jpg"></center>'
  29. end
  30. if f_book <= 0 and fantasybook <= 0 and w_book = 0 and womanbook = 0 and artem_borrowed_book = 0 and artembook <= 0:'You scratch your head looking at the book you already read, thinking. "Damn, nothing to read, maybe I''ll take a walk or search the market for a new book?"'
  31. if f_book > 0:
  32. if fantasybook <= 0:fantasybook = 5 & f_book -= 1
  33. 'You still have <<f_book>> unread fantasy novels.'
  34. end
  35. if fantasybook > 0:
  36. act 'Read fantasy book. There are <<fantasybook * 100>> pages left (1:00)':
  37. *clr & cla
  38. fantasybook -= 1
  39. if fantasybook = 0:totalbook += 1
  40. if blizoruk = 500 or glassqw = 1:
  41. glassqw = 1
  42. msg' The text blurs across the page, it seems you have poor eyesight. Maybe you should visit an ophthalmologists.'&gt $loc, $loc_arg
  43. end
  44. minut += 60
  45. if pcs_nerd > 0:
  46. lastread = totminut
  47. lastreadday = daystart
  48. pcs_nerd += 1
  49. blizoruk += 1
  50. end
  51. gs 'stat'
  52. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  53. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_nude.jpg"></center>'
  54. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  55. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_underwear.jpg"></center>'
  56. else
  57. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_dressed.jpg"></center>'
  58. end
  59. if pcs_nerd > 0:
  60. pcs_mood = 100
  61. if pcs_stren > 1:stren_deg -= 1
  62. if pcs_vital > 5:vital_deg -= 1
  63. 'For an hour you enthusiastically read the book, completely immersed in the authors world.'
  64. else
  65. pcs_mood += 10
  66. 'For an hour you read the book.'
  67. end
  68. act 'Close the book':gt $loc, $loc_arg
  69. end
  70. end
  71. if w_book > 0:
  72. if womanbook <= 0:womanbook = 5 & w_book -= 1
  73. 'You still have <<w_book>> unread women''s novels.'
  74. end
  75. if womanbook > 0:
  76. act 'Read Women''s Novel. There are <<womanbook * 100>> pages left (1:00)':
  77. if blizoruk = 500 or glassqw = 1:
  78. glassqw = 1
  79. msg' The text blurs across the page, it seems you have poor eyesight. Maybe you should visit an ophthalmologists.'&gt $loc, $loc_arg
  80. end
  81. *clr & cla
  82. womanbook -= 1
  83. if womanbook = 0:totalbook += 1
  84. minut += 60
  85. if pcs_nerd > 0:
  86. lastread = totminut
  87. lastreadday = daystart
  88. pcs_nerd += 1
  89. blizoruk += 1
  90. end
  91. gs 'stat'
  92. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  93. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_nude.jpg"></center>'
  94. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  95. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_underwear.jpg"></center>'
  96. else
  97. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_dressed.jpg"></center>'
  98. end
  99. if pcs_nerd > 0:
  100. pcs_mood = 100
  101. pcs_horny += 10
  102. if pcs_stren > 1:stren_deg -= 1
  103. if pcs_vital > 5:vital_deg -= 1
  104. 'For an hour you enthusiastically read the book, completely immersed in the story.'
  105. else
  106. pcs_mood += 10
  107. pcs_horny += 3
  108. 'For an hour you read the book.'
  109. end
  110. act 'Close the book':gt $loc, $loc_arg
  111. end
  112. end
  113. if artembook > 0:
  114. act 'Read the book your borrowed from Artem. There are <<artembook * 100>> pages left (1:00) ':
  115. if blizoruk = 500 or glassqw = 1:
  116. glassqw = 1
  117. msg' The text blurs across the page, it seems you have poor eyesight. Maybe you should visit an ophthalmologists.'&gt $loc, $loc_arg
  118. end
  119. *clr & cla
  120. artembook -= 1
  121. if artembook = 0:totalbook += 1
  122. minut += 60
  123. if pcs_nerd > 0:
  124. lastread = totminut
  125. lastreadday = daystart
  126. pcs_nerd += 1
  127. blizoruk += 1
  128. end
  129. gs 'stat'
  130. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  131. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_nude.jpg"></center>'
  132. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  133. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_underwear.jpg"></center>'
  134. else
  135. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_dressed.jpg"></center>'
  136. end
  137. if pcs_nerd > 0:
  138. pcs_mood = 100
  139. if pcs_stren > 1:stren_deg -= 1
  140. if pcs_vital > 5:vital_deg -= 1
  141. 'For an hour you enthusiastically read the book, completely immersed in the authors world.'
  142. else
  143. pcs_mood += 10
  144. 'For an hour you read the book.'
  145. end
  146. act 'Close the book':gt $loc, $loc_arg
  147. end
  148. end
  149. if tractatus > 0:
  150. act 'Study Aleksei''s magical discourse on unarmed combat. You feel that there are <<tractatus>> uses left (0:15) ':
  151. if pcs_mana <= 400:
  152. msg' The text makes no sense! You don''t have enought mana to trigger it''s magic, so is better if you rest to recover.'&gt $loc, $loc_arg
  153. end
  154. *clr & cla
  155. tractatus -= 1
  156. if tractatus = 0:totalbook += 1
  157. pcs_mood += 10
  158. pcs_mana -= 400
  159. gs 'exp_gain', 'def', rand(7,10)
  160. gs 'exp_gain', 'jab', rand(7,10)
  161. gs 'exp_gain', 'kick', rand(7,10)
  162. gs 'exp_gain', 'punch', rand(7,10)
  163. minut += 15
  164. gs 'stat'
  165. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  166. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_nude.jpg"></center>'
  167. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  168. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_underwear.jpg"></center>'
  169. else
  170. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_dressed.jpg"></center>'
  171. end
  172. 'As you read the strange text, the words blur and suddenly you are <i>inspired</i>. Your mind fill with new ideas and revelations, the defects in your combat form polished and the knows at how inflict the maximum level of pain at the minimal cost... sharpened.'
  173. act 'Close the book':gt $loc, $loc_arg
  174. end
  175. end
  176. act ' Close the book':gt $loc, $loc_arg
  177. end
  178. if cookmag = 0 and fashmag = 0 and compmag = 0 and biomag = 0 and knitmag = 0 and fitmag = 0:
  179. 'You have no magazines to read.'
  180. else
  181. act 'Read a magazine':
  182. *clr & cla
  183. gs 'stat'
  184. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  185. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_magazine_nude.jpg"></center>'
  186. elseif $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype ! 'none':
  187. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_magazine_topless.jpg"></center>'
  188. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  189. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_magazine_underwear.jpg"></center>'
  190. else
  191. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_magazine_dressed.jpg"></center>'
  192. end
  193. if cookmag = 1:
  194. act 'Read your cooking magazine':
  195. if blizoruk = 500 or glassqw = 1:
  196. glassqw = 1
  197. msg' The text blurs across the page, it seems you have poor eyesight. Maybe you should visit an ophthalmologists.'&gt $loc, $loc_arg
  198. end
  199. cla & *nl
  200. cookmag = 0
  201. pcs_mood += 5
  202. minut += 30
  203. 'You relax for half an hour reading your cooking magazine.'
  204. act 'Return':gt $loc, $loc_arg
  205. end
  206. end
  207. if fashmag = 1:
  208. act 'Read your fashion magazine':
  209. if blizoruk = 500 or glassqw = 1:
  210. glassqw = 1
  211. msg' The text blurs across the page, it seems you have poor eyesight. Maybe you should visit an ophthalmologists.'&gt $loc, $loc_arg
  212. end
  213. cla & *nl
  214. fashmag = 0
  215. pcs_mood += 5
  216. minut += 30
  217. gs 'exp_gain', 'makupskl', 1
  218. 'You relax for half an hour reading your fashion magazine.'
  219. act 'Return':gt $loc, $loc_arg
  220. end
  221. end
  222. if compmag = 1:
  223. act 'Read your computing magazine':
  224. if blizoruk = 500 or glassqw = 1:
  225. glassqw = 1
  226. msg' The text blurs across the page, it seems you have poor eyesight. Maybe you should visit an ophthalmologists.'&gt $loc, $loc_arg
  227. end
  228. cla & *nl
  229. compmag = 0
  230. pcs_mood += 5
  231. minut += 30
  232. gs 'exp_gain', 'compskl', 1
  233. 'You relax for half an hour reading your computing magazine.'
  234. act 'Return':gt $loc, $loc_arg
  235. end
  236. end
  237. if biomag = 1:
  238. act 'Read your biographical magazine':
  239. if blizoruk = 500 or glassqw = 1:
  240. glassqw = 1
  241. msg' The text blurs across the page, it seems you have poor eyesight. Maybe you should visit an ophthalmologists.'&gt $loc, $loc_arg
  242. end
  243. cla & *nl
  244. biomag = 0
  245. pcs_mood += 5
  246. minut += 30
  247. 'You relax for half an hour reading your biographical magazine.'
  248. act 'Return':gt $loc, $loc_arg
  249. end
  250. end
  251. if knitmag = 1:
  252. act 'Read your knitting magazine':
  253. if blizoruk = 500 or glassqw = 1:
  254. glassqw = 1
  255. msg' The text blurs across the page, it seems you have poor eyesight. Maybe you should visit an ophthalmologists.'&gt $loc, $loc_arg
  256. end
  257. cla & *nl
  258. knitmag = 0
  259. pcs_mood += 5
  260. minut += 30
  261. if pcs_sewng <= 100: gs 'exp_gain', 'sewng', rand(1,3)
  262. 'You relax for half an hour reading your knitting magazine.'
  263. act 'Return':gt $loc, $loc_arg
  264. end
  265. end
  266. if fitmag = 1:
  267. act 'Read your fitness magazine':
  268. if blizoruk = 500 or glassqw = 1:
  269. glassqw = 1
  270. msg' The text blurs across the page, it seems you have poor eyesight. Maybe you should visit an ophthalmologists.'&gt $loc, $loc_arg
  271. end
  272. cla & *nl
  273. fitmag = 0
  274. pcs_mood += 5
  275. minut += 30
  276. 'You relax for half an hour reading your fitness magazine.'
  277. act 'Return':gt $loc, $loc_arg
  278. end
  279. end
  280. act 'Return':gt $loc, $loc_arg
  281. end
  282. end
  283. end
  284. if $ARGS[0] = 'read_porn':
  285. act 'Read the porn magazine':
  286. if blizoruk = 500 or glassqw = 1:
  287. glassqw = 1
  288. msg' The text blurs across the page, it seems you have poor eyesight probably from all the porn. Maybe you should visit an ophthalmologists.'&gt $loc, $loc_arg
  289. end
  290. *clr & cla
  291. '<center><img <<$set_imgh>> src="images/pc/items/accessories/magazines/porn.jpg"></center>'
  292. if pornMagazine = 1:
  293. '<font color="magenta">Boring</font>, you''ve memorized this magazine by heart, you think that is time to buy a new one.'
  294. else
  295. pornMagazine -= 1
  296. pcs_horny += 10
  297. minut += 5
  298. gs 'stat'
  299. 'You flip through the porno magazine, reading the stories and looking at the pictures. A small excitement begins to cover your body.'
  300. end
  301. act 'Put away':gt $loc, $loc_arg
  302. end
  303. end
  304. if $ARGS[0] = 'snkayf':
  305. snkz = RAND(1,6)
  306. gs 'underwear', 'remove'
  307. if snkz = 1:
  308. minut += 120
  309. gt'pav_commcenter'
  310. end
  311. if snkz = 2:
  312. minut += 120
  313. gt 'pav_park', 'start'
  314. end
  315. if snkz = 3:
  316. minut += 120
  317. gt'bedrPar'
  318. end
  319. if snkz = 4:
  320. minut += 120
  321. gt'gopskver'
  322. end
  323. if snkz = 5:
  324. minut += 120
  325. gt 'pav_train_hall', 'female'
  326. end
  327. if snkz = 6:
  328. gs 'clothing', 'strip'
  329. minut += 120
  330. gt'pav_lake'
  331. end
  332. end
  333. if $ARGS[0] = 'narkozakladka':
  334. *clr & cla
  335. '<center><b>Shooting galleries</b></center>'
  336. '<center><img <<$set_imgh>> src="images/locations/city/residential/den/narkopriton.jpg"></center>'
  337. 'You decide to ask, and whether there are any dealers in Pavlovsk. To which the man replied, "Go to the train station platform, it will cost you though..."'
  338. 'And then he looks at you menacingly "And if I hear that you''ve caused any trouble, well death will seem like a good escape."'
  339. act 'Agree':
  340. *clr & cla
  341. snarkozak = 1
  342. '<center><b>Shooting galleries</b></center>'
  343. '<center><img <<$set_imgh>> src="images/locations/city/residential/den/narkopriton.jpg"></center>'
  344. 'You gulp and stammer "I assure you there willl be no problems"'
  345. 'Guy nods, "Good then you can find a range of product at the end of the platform."'
  346. act 'Leave':gt'city_drugden'
  347. end
  348. end
  349. if $ARGS[0] = 'snarkozaka':
  350. *clr & cla
  351. minut += 20
  352. gs 'stat'
  353. '<center><B>Pavlovsk train station</B></center>'
  354. '<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg"></center>'
  355. 'You walk to the end of the platform and see a man hiding undercover smoking a cigarette'
  356. 'Walking up to him you ask him if he has anything'
  357. 'He turns and looks you up and down, "That depends on what you want little lady?"'
  358. *nl
  359. 'Heroin: 560 <b>₽</b>'
  360. 'Cocaine: 2100 <b>₽</b>'
  361. 'Amphetamine: 600 <b>₽</b>'
  362. 'Weed: 300 <b>₽</b>'
  363. act 'Leave': gt 'pav_train_hall'
  364. if money >= 560:
  365. act 'Buy and use heroin (560 <b>₽</b>)':
  366. money -= 560
  367. if SNarkTimes['inject'] < 1:
  368. *clr & cla
  369. minut += 5
  370. drugUser = 1
  371. gs 'drugs', 'heroin'
  372. gs 'stat'
  373. '<center><b>Pavlovsk train station</b></center>'
  374. '<center><img <<$set_imgh>> src="images/locations/city/residential/den/chase_dragon.jpg"></center>'
  375. 'You pour the heroin onto some foil, heat it up and then using a straw you quickly inhale the steam.'
  376. 'The rush is instantaneous, you close your eyes as it rolls over you.'
  377. act 'You lay there briefly rolling, before leaving': gt 'events', 'snarkozaka'
  378. else
  379. *clr & cla
  380. minut += 5
  381. drugUser = 1
  382. gs 'drugs', 'heroin'
  383. gs 'stat'
  384. '<center><b>Pavlovsk train station</b></center>'
  385. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/event/usingheroin.jpg"></center>'
  386. 'You buy some heroin and find a quiet place behind the platform to use it, and without thinking twice you shoot up.'
  387. 'The rush is instantaneous, you close your eyes as it rolls over you.'
  388. act 'You lay there briefly rolling, before leaving': gt 'events', 'snarkozaka'
  389. end
  390. end
  391. else
  392. 'You don''t have enough money to buy heroin.'
  393. end
  394. if money >= 2100:
  395. act 'Buy enough cocaine for 5 lines (1800 <b>₽</b>)':
  396. money -= 2100
  397. dur += 5
  398. minut += 5
  399. gt 'events', 'snarkozaka'
  400. end
  401. else
  402. 'You don''t have enough money to buy cocaine.'
  403. end
  404. if money >= 600:
  405. act 'Buy 5 Amphetamine (600 <b>₽</b>)':
  406. money -= 600
  407. amphetamine += 5
  408. gt 'events', 'snarkozaka'
  409. end
  410. else
  411. 'You don''t have enough money to buy amphetamine.'
  412. end
  413. if money >= 300:
  414. act 'Buy enough weed for 5 joints (300 <b>₽</b>)':
  415. money -= 300
  416. drugUser = 1
  417. joint += 5
  418. minut += 5
  419. gt 'events', 'snarkozaka'
  420. end
  421. else
  422. 'You don''t have enough money to buy weed.'
  423. end
  424. end
  425. if $ARGS[0] = 'snkayf1':
  426. snkz = RAND(1,6)
  427. gs 'underwear', 'remove'
  428. if snkz = 1:
  429. minut += 120
  430. gt'city_park','start'
  431. end
  432. if snkz = 2:
  433. minut += 120
  434. gt'city_center'
  435. end
  436. if snkz = 3:
  437. minut += 120
  438. gt'city_industrial'
  439. end
  440. if snkz = 4:
  441. minut += 120
  442. gt'city_residential'
  443. end
  444. if snkz = 5:
  445. minut += 120
  446. gt'dachi'
  447. end
  448. if snkz = 6:
  449. minut += 120
  450. gt'city_lake','start'
  451. end
  452. end
  453. --- events ---------------------------------