1
0

events.qsrc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  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. killvar '$downlibrary'
  22. $downlibrary['read'] = {
  23. *clr & cla
  24. menu_off = 1
  25. if blizoruk = 500 or glassqw = 1:
  26. glassqw = 1
  27. msg ' The text blurs across the page. It seems you have poor eyesight. Maybe you should visit an ophthalmologist?'
  28. gt $loc, $loc_arg
  29. end
  30. if pcs_nerd > 0:
  31. lastread = totminut
  32. lastreadday = daystart
  33. pcs_nerd += 1
  34. end
  35. minut += 60
  36. blizoruk += 1
  37. }
  38. *clr & cla
  39. gs 'stat'
  40. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  41. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_nude.jpg"></center>'
  42. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  43. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_underwear.jpg"></center>'
  44. else
  45. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_dressed.jpg"></center>'
  46. end
  47. 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?"'
  48. if f_book > 0:
  49. if fantasybook <= 0:
  50. if $lib_book_loaned = 'fantasy' and lib_book_read = 0:
  51. lib_book_read = 1
  52. end
  53. fantasybook = 5
  54. f_book -= 1
  55. end
  56. 'You still have <<f_book>> unread fantasy novels.'
  57. end
  58. if fantasybook > 0:
  59. act 'Read fantasy book. There are <<fantasybook * 100>> pages left (1:00)':
  60. fantasybook -= 1
  61. if fantasybook = 0:
  62. totalbook += 1
  63. if lib_book_read = 1 and $lib_book_loaned = 'fantasy': lib_book_read = 2
  64. end
  65. dynamic $downlibrary['read']
  66. gs 'stat'
  67. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  68. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_nude.jpg"></center>'
  69. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  70. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_underwear.jpg"></center>'
  71. else
  72. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_dressed.jpg"></center>'
  73. end
  74. if pcs_nerd > 0:
  75. pcs_mood = 100
  76. if pcs_stren > 1:stren_deg -= 1
  77. if pcs_vital > 5:vital_deg -= 1
  78. 'For an hour you enthusiastically read the book, completely immersed in the authors world.'
  79. else
  80. pcs_mood += 10
  81. 'For an hour you read the book.'
  82. end
  83. act 'Close the book':gt $loc, $loc_arg
  84. end
  85. end
  86. if w_book > 0:
  87. if womanbook <= 0:womanbook = 5 & w_book -= 1
  88. 'You still have <<w_book>> unread women''s novels.'
  89. end
  90. if womanbook > 0:
  91. act 'Read Women''s Novel. There are <<womanbook * 100>> pages left (1:00)':
  92. womanbook -= 1
  93. if womanbook = 0: totalbook += 1
  94. dynamic $downlibrary['read']
  95. gs 'stat'
  96. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  97. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_nude.jpg"></center>'
  98. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  99. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_underwear.jpg"></center>'
  100. else
  101. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_dressed.jpg"></center>'
  102. end
  103. if pcs_nerd > 0:
  104. pcs_mood = 100
  105. pcs_horny += 10
  106. if pcs_stren > 1:stren_deg -= 1
  107. if pcs_vital > 5:vital_deg -= 1
  108. 'For an hour you enthusiastically read the book, completely immersed in the story.'
  109. else
  110. pcs_mood += 10
  111. pcs_horny += 3
  112. 'For an hour you read the book.'
  113. end
  114. act 'Close the book':gt $loc, $loc_arg
  115. end
  116. end
  117. if artembook > 0:
  118. act 'Read the book your borrowed from Artem. There are <<artembook * 100>> pages left (1:00) ':
  119. artembook -= 1
  120. if artembook = 0:totalbook += 1
  121. dynamic $downlibrary['read']
  122. gs 'stat'
  123. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  124. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_nude.jpg"></center>'
  125. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  126. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_underwear.jpg"></center>'
  127. else
  128. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_dressed.jpg"></center>'
  129. end
  130. if pcs_nerd > 0:
  131. pcs_mood = 100
  132. if pcs_stren > 1:stren_deg -= 1
  133. if pcs_vital > 5:vital_deg -= 1
  134. 'For an hour you enthusiastically read the book, completely immersed in the authors world.'
  135. else
  136. pcs_mood += 10
  137. 'For an hour you read the book.'
  138. end
  139. act 'Close the book':gt $loc, $loc_arg
  140. end
  141. end
  142. if tractatus > 0:
  143. act 'Study Aleksei''s magical discourse on unarmed combat. You feel that there are <<tractatus>> uses left (0:15) ':
  144. if pcs_mana <= 400:
  145. 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
  146. end
  147. *clr & cla
  148. tractatus -= 1
  149. if tractatus = 0:totalbook += 1
  150. pcs_mood += 10
  151. pcs_mana -= 400
  152. gs 'exp_gain', 'def', rand(7,10)
  153. gs 'exp_gain', 'jab', rand(7,10)
  154. gs 'exp_gain', 'kick', rand(7,10)
  155. gs 'exp_gain', 'punch', rand(7,10)
  156. minut += 15
  157. gs 'stat'
  158. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  159. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_nude.jpg"></center>'
  160. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  161. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_underwear.jpg"></center>'
  162. else
  163. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_book_dressed.jpg"></center>'
  164. end
  165. '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.'
  166. act 'Close the book':gt $loc, $loc_arg
  167. end
  168. end
  169. act ' Close the book':gt $loc, $loc_arg
  170. end
  171. if mc_inventory['mag_cooking'] = 0 and mc_inventory['mag_fashion'] = 0 and mc_inventory['mag_computer'] = 0 and mc_inventory['mag_biography'] = 0 and mc_inventory['mag_knitting'] = 0 and mc_inventory['mag_fitness'] = 0:
  172. 'You have no magazines to read.'
  173. else
  174. act 'Read a magazine':
  175. killvar '$downlibrary'
  176. $downlibrary['magazine'] = {
  177. cla & *nl
  178. if blizoruk = 500 or glassqw = 1:
  179. glassqw = 1
  180. msg ' The text blurs across the page. It seems you have poor eyesight. Maybe you should visit an ophthalmologist?'
  181. gt $loc, $loc_arg
  182. end
  183. pcs_mood += 5
  184. minut += 30
  185. }
  186. *clr & cla
  187. gs 'stat'
  188. if $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype = 'none':
  189. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_magazine_nude.jpg"></center>'
  190. elseif $clothingworntype = 'nude' and $braworntype = 'none' and $pantyworntype ! 'none':
  191. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_magazine_topless.jpg"></center>'
  192. elseif $clothingworntype = 'nude' and $braworntype ! 'none' and $pantyworntype ! 'none':
  193. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_magazine_underwear.jpg"></center>'
  194. else
  195. '<center><img <<$set_imgh>> src="images/pc/activities/reading/bed_magazine_dressed.jpg"></center>'
  196. end
  197. if mc_inventory['mag_cooking'] = 1:
  198. act 'Read your cooking magazine':
  199. dynamic $downlibrary['magazine']
  200. mc_inventory['mag_cooking'] = 0
  201. 'You relax for half an hour reading your cooking magazine.'
  202. act 'Return':gt $loc, $loc_arg
  203. end
  204. end
  205. if mc_inventory['mag_fashion'] = 1:
  206. act 'Read your fashion magazine':
  207. dynamic $downlibrary['magazine']
  208. mc_inventory['mag_fashion'] = 0
  209. gs 'exp_gain', 'makupskl', 1
  210. 'You relax for half an hour reading your fashion magazine.'
  211. act 'Return':gt $loc, $loc_arg
  212. end
  213. end
  214. if mc_inventory['mag_computer'] = 1:
  215. act 'Read your computing magazine':
  216. dynamic $downlibrary['magazine']
  217. mc_inventory['mag_computer'] = 0
  218. gs 'exp_gain', 'compskl', 1
  219. 'You relax for half an hour reading your computing magazine.'
  220. act 'Return':gt $loc, $loc_arg
  221. end
  222. end
  223. if mc_inventory['mag_biography'] = 1:
  224. act 'Read your biographical magazine':
  225. dynamic $downlibrary['magazine']
  226. mc_inventory['mag_biography'] = 0
  227. 'You relax for half an hour reading your biographical magazine.'
  228. act 'Return':gt $loc, $loc_arg
  229. end
  230. end
  231. if mc_inventory['mag_knitting'] = 1:
  232. act 'Read your knitting magazine':
  233. dynamic $downlibrary['magazine']
  234. mc_inventory['mag_knitting'] = 0
  235. if pcs_sewng <= 100: gs 'exp_gain', 'sewng', rand(1,3)
  236. 'You relax for half an hour reading your knitting magazine.'
  237. act 'Return':gt $loc, $loc_arg
  238. end
  239. end
  240. if mc_inventory['mag_fitness'] = 1:
  241. act 'Read your fitness magazine':
  242. dynamic $downlibrary['magazine']
  243. mc_inventory['mag_fitness'] = 0
  244. 'You relax for half an hour reading your fitness magazine.'
  245. act 'Return':gt $loc, $loc_arg
  246. end
  247. end
  248. act 'Return':gt $loc, $loc_arg
  249. end
  250. end
  251. end
  252. if $ARGS[0] = 'read_porn':
  253. act 'Read the porn magazine':
  254. if blizoruk = 500 or glassqw = 1:
  255. glassqw = 1
  256. msg ' The text blurs across the page, it seems you have poor eyesight. Probably from all the porn. Maybe you should visit an ophthalmologist?'
  257. gt $loc, $loc_arg
  258. end
  259. *clr & cla
  260. '<center><img <<$set_imgh>> src="images/pc/items/accessories/magazines/porn.jpg"></center>'
  261. if mc_inventory['mag_porn'] = 1:
  262. '<font color="magenta">Boring</font>, you''ve memorized this magazine by heart, you think that is time to buy a new one.'
  263. else
  264. mc_inventory['mag_porn'] -= 1
  265. pcs_horny += 10
  266. minut += 5
  267. gs 'stat'
  268. 'You flip through the porno magazine, reading the stories and looking at the pictures. A small excitement begins to cover your body.'
  269. end
  270. act 'Put away':gt $loc, $loc_arg
  271. end
  272. end
  273. if $ARGS[0] = 'snkayf':
  274. snkz = RAND(1,6)
  275. gs 'underwear', 'remove'
  276. if snkz = 1:
  277. minut += 120
  278. gt'pav_commcenter'
  279. end
  280. if snkz = 2:
  281. minut += 120
  282. gt 'pav_park', 'start'
  283. end
  284. if snkz = 3:
  285. minut += 120
  286. gt'bedrPar'
  287. end
  288. if snkz = 4:
  289. minut += 120
  290. gt'gopskver'
  291. end
  292. if snkz = 5:
  293. minut += 120
  294. gt 'pav_train_hall', 'female'
  295. end
  296. if snkz = 6:
  297. gs 'clothing', 'strip'
  298. minut += 120
  299. gt'pav_lake'
  300. end
  301. end
  302. if $ARGS[0] = 'ask_pav_drug_dropoff':
  303. *clr & cla
  304. '<center><b>Shooting galleries</b></center>'
  305. '<center><img <<$set_imgh>> src="images/locations/city/residential/den/narkopriton.jpg"></center>'
  306. '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..."'
  307. '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."'
  308. act 'Agree':
  309. *clr & cla
  310. drugVars['pav_dropoff'] = 1
  311. '<center><b>Shooting galleries</b></center>'
  312. '<center><img <<$set_imgh>> src="images/locations/city/residential/den/narkopriton.jpg"></center>'
  313. 'You gulp and stammer "I assure you there willl be no problems"'
  314. 'Guy nods, "Good then you can find a range of product at the end of the platform."'
  315. act 'Leave':gt'city_drugden'
  316. end
  317. end
  318. if $ARGS[0] = 'pav_drug_dropoff':
  319. *clr & cla
  320. minut += 20
  321. gs 'stat'
  322. '<center><B>Pavlovsk train station</B></center>'
  323. '<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg"></center>'
  324. 'You walk to the end of the platform and see a man hiding undercover smoking a cigarette'
  325. 'Walking up to him you ask him if he has anything'
  326. 'He turns and looks you up and down, "That depends on what you want little lady?"'
  327. *nl
  328. 'Heroin: 560 <b>₽</b>'
  329. 'Cocaine: 2100 <b>₽</b>'
  330. 'Amphetamine: 600 <b>₽</b>'
  331. 'Weed: 300 <b>₽</b>'
  332. act 'Leave': gt 'pav_train_hall'
  333. if money >= 560:
  334. act 'Buy and use heroin (560 <b>₽</b>)':
  335. money -= 560
  336. if drugVars['heroin_inject'] < 1:
  337. *clr & cla
  338. minut += 5
  339. drugUser = 1
  340. gs 'drugs', 'heroin'
  341. gs 'stat'
  342. '<center><b>Pavlovsk train station</b></center>'
  343. '<center><img <<$set_imgh>> src="images/locations/city/residential/den/chase_dragon.jpg"></center>'
  344. 'You pour the heroin onto some foil, heat it up and then using a straw you quickly inhale the steam.'
  345. 'The rush is instantaneous, you close your eyes as it rolls over you.'
  346. act 'You lay there briefly rolling, before leaving': gt 'events', 'pav_drug_dropoff'
  347. else
  348. *clr & cla
  349. minut += 5
  350. drugUser = 1
  351. gs 'drugs', 'heroin'
  352. gs 'stat'
  353. '<center><b>Pavlovsk train station</b></center>'
  354. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/event/usingheroin.jpg"></center>'
  355. 'You buy some heroin and find a quiet place behind the platform to use it, and without thinking twice you shoot up.'
  356. 'The rush is instantaneous, you close your eyes as it rolls over you.'
  357. act 'You lay there briefly rolling, before leaving': gt 'events', 'pav_drug_dropoff'
  358. end
  359. end
  360. else
  361. 'You don''t have enough money to buy heroin.'
  362. end
  363. if money >= 2100:
  364. act 'Buy enough cocaine for 5 lines (1800 <b>₽</b>)':
  365. money -= 2100
  366. mc_inventory['cocaine'] += 5
  367. minut += 5
  368. gt 'events', 'pav_drug_dropoff'
  369. end
  370. else
  371. 'You don''t have enough money to buy cocaine.'
  372. end
  373. if money >= 600:
  374. act 'Buy 5 Amphetamine (600 <b>₽</b>)':
  375. money -= 600
  376. mc_inventory['amphetamine'] += 5
  377. gt 'events', 'pav_drug_dropoff'
  378. end
  379. else
  380. 'You don''t have enough money to buy amphetamine.'
  381. end
  382. if money >= 300:
  383. act 'Buy enough weed for 5 joints (300 <b>₽</b>)':
  384. money -= 300
  385. drugUser = 1
  386. mc_inventory['joints'] += 5
  387. minut += 5
  388. gt 'events', 'pav_drug_dropoff'
  389. end
  390. else
  391. 'You don''t have enough money to buy weed.'
  392. end
  393. end
  394. if $ARGS[0] = 'snkayf1':
  395. snkz = RAND(1,6)
  396. gs 'underwear', 'remove'
  397. if snkz = 1:
  398. minut += 120
  399. gt'city_park','start'
  400. end
  401. if snkz = 2:
  402. minut += 120
  403. gt'city_center'
  404. end
  405. if snkz = 3:
  406. minut += 120
  407. gt'city_industrial'
  408. end
  409. if snkz = 4:
  410. minut += 120
  411. gt'city_residential'
  412. end
  413. if snkz = 5:
  414. minut += 120
  415. gt'dachi'
  416. end
  417. if snkz = 6:
  418. minut += 120
  419. gt'city_lake','start'
  420. end
  421. end
  422. --- events ---------------------------------