events.qsrc 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. # events
  2. if $ARGS[0] = 'street_cum':
  3. if (cumloc[6] = 1 or cumloc[7] = 1) or cumloc[11] = 1:
  4. if hour >= 7 and hour <= 21:
  5. pcs_mood -= 5
  6. if face_write > 0:
  7. pcs_mood -= 5
  8. '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.'
  9. else
  10. '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.'
  11. end
  12. end
  13. elseif (cumloc[6] = 0 or cumloc[7] = 0) and cumloc[11] = 0 and face_write > 0:
  14. pcs_mood -= 5
  15. '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.'
  16. end
  17. end
  18. if $ARGS[0] = 'read':
  19. act 'Read a book':
  20. *clr & cla
  21. gs 'stat'
  22. '<center><img <<$set_imgh>> src="images/shared/accessories/books/book.jpg"></center>'
  23. 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?"'
  24. if f_book > 0:
  25. if fantasybook <= 0:fantasybook = 5 & f_book -= 1
  26. 'You still have <<f_book>> unread fantasy novels.'
  27. end
  28. if fantasybook > 0:
  29. act 'Read fantasy book. There are <<fantasybook * 100>> pages left (1:00)':
  30. *clr & cla
  31. fantasybook -= 1
  32. if fantasybook = 0:totalbook += 1
  33. minut += 60
  34. if pcs_nerd > 0:
  35. lastread = totminut
  36. lastreadday = daystart
  37. pcs_nerd += 1
  38. blizoruk += 1
  39. end
  40. gs 'stat'
  41. '<center><img <<$set_imgh>> src="images/shared/accessories/books/book.jpg"></center>'
  42. if pcs_nerd > 0:
  43. pcs_mood = 100
  44. if pcs_stren > 1:stren_deg -= 1
  45. if pcs_vital > 5:vital_deg -= 1
  46. 'For an hour you enthusiastically read the book, completely immersed in the authors world.'
  47. else
  48. pcs_mood += 10
  49. 'For an hour you read the book.'
  50. end
  51. act 'Close the book':gt $loc, $loc_arg
  52. end
  53. end
  54. if w_book > 0:
  55. if womanbook <= 0:womanbook = 5 & w_book -= 1
  56. 'You still have <<w_book>> unread women''s novels.'
  57. end
  58. if womanbook > 0:
  59. act 'Read Women''s Novel. There are <<womanbook * 100>> pages left (1:00)':
  60. *clr & cla
  61. womanbook -= 1
  62. if womanbook = 0:totalbook += 1
  63. minut += 60
  64. if pcs_nerd > 0:
  65. lastread = totminut
  66. lastreadday = daystart
  67. pcs_nerd += 1
  68. blizoruk += 1
  69. end
  70. gs 'stat'
  71. '<center><img <<$set_imgh>> src="images/shared/accessories/books/book.jpg"></center>'
  72. if pcs_nerd > 0:
  73. pcs_mood = 100
  74. pcs_horny += 10
  75. if pcs_stren > 1:stren_deg -= 1
  76. if pcs_vital > 5:vital_deg -= 1
  77. 'For an hour you enthusiastically read the book, completely immersed in the story.'
  78. else
  79. pcs_mood += 10
  80. pcs_horny += 3
  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 artembook > 0:
  87. act 'Read the book your borrowed from Artem. There are <<artembook * 100>> pages left (1:00) ':
  88. *clr & cla
  89. artembook -= 1
  90. if artembook = 0:totalbook += 1
  91. minut += 60
  92. if pcs_nerd > 0:
  93. lastread = totminut
  94. lastreadday = daystart
  95. pcs_nerd += 1
  96. blizoruk += 1
  97. end
  98. gs 'stat'
  99. '<center><img <<$set_imgh>> src="images/shared/accessories/books/book.jpg"></center>'
  100. if pcs_nerd > 0:
  101. pcs_mood = 100
  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 authors world.'
  105. else
  106. pcs_mood += 10
  107. 'For an hour you read the book.'
  108. end
  109. act 'Close the book':gt $loc, $loc_arg
  110. end
  111. end
  112. act ' Close the book':gt $loc, $loc_arg
  113. end
  114. if cookmag = 0 and fashmag = 0 and compmag = 0 and biomag = 0 and knitmag = 0 and fitmag = 0:
  115. 'You have no magazines to read.'
  116. else
  117. act 'Read a magazine':
  118. *clr & cla
  119. gs 'stat'
  120. '<center><img <<$set_imgh>> src="images/shared/accessories/books/book.jpg"></center>'
  121. if cookmag = 1:
  122. act 'Read your cooking magazine':
  123. cla
  124. cookmag = 0
  125. pcs_mood += 5
  126. minut += 30
  127. 'You relax for half an hour reading your cooking magazine.'
  128. act 'Return':gt $loc, $loc_arg
  129. end
  130. end
  131. if fashmag = 1:
  132. act 'Read your fashion magazine':
  133. cla
  134. fashmag = 0
  135. pcs_mood += 5
  136. minut += 30
  137. makupskl_exp += 1
  138. 'You relax for half an hour reading your fashion magazine.'
  139. act 'Return':gt $loc, $loc_arg
  140. end
  141. end
  142. if compmag = 1:
  143. act 'Read your computing magazine':
  144. cla
  145. compmag = 0
  146. pcs_mood += 5
  147. minut += 30
  148. compskl_exp += 1
  149. 'You relax for half an hour reading your computing magazine.'
  150. act 'Return':gt $loc, $loc_arg
  151. end
  152. end
  153. if biomag = 1:
  154. act 'Read your biographical magazine':
  155. cla
  156. biomag = 0
  157. pcs_mood += 5
  158. minut += 30
  159. 'You relax for half an hour reading your biographical magazine.'
  160. act 'Return':gt $loc, $loc_arg
  161. end
  162. end
  163. if knitmag = 1:
  164. act 'Read your knitting magazine':
  165. cla
  166. knitmag = 0
  167. pcs_mood += 5
  168. minut += 30
  169. if pcs_sewng <= 100: sewng_exp += rand(1,3)
  170. 'You relax for half an hour reading your knitting magazine.'
  171. act 'Return':gt $loc, $loc_arg
  172. end
  173. end
  174. if fitmag = 1:
  175. act 'Read your fitness magazine':
  176. cla
  177. fitmag = 0
  178. pcs_mood += 5
  179. minut += 30
  180. 'You relax for half an hour reading your fitness magazine.'
  181. act 'Return':gt $loc, $loc_arg
  182. end
  183. end
  184. act 'Return':gt $loc, $loc_arg
  185. end
  186. end
  187. end
  188. if $ARGS[0] = 'read_porn':
  189. act 'Read the porn magazine':
  190. *clr & cla
  191. '<center><img <<$set_imgh>> src="images/shared/accessories/magazines/porn.jpg"></center>'
  192. if pornMagazine = 1:
  193. '<font color="magenta">Boring</font>, you''ve memorized this magazine by heart, you think that is time to buy a new one.'
  194. else
  195. pornMagazine -= 1
  196. pcs_horny += 10
  197. minut += 5
  198. gs 'stat'
  199. 'You flip through the porno magazine, reading the stories and looking at the pictures. A small excitement begins to cover your body.'
  200. end
  201. act 'Put away':gt $loc, $loc_arg
  202. end
  203. end
  204. if $ARGS[0] = 'snkayf':
  205. snkz = RAND(1,6)
  206. gs 'underwear', 'remove'
  207. if snkz = 1:
  208. minut += 120
  209. gt'pav_commcenter'
  210. end
  211. if snkz = 2:
  212. minut += 120
  213. gt 'pav_park', 'start'
  214. end
  215. if snkz = 3:
  216. minut += 120
  217. gt'bedrPar'
  218. end
  219. if snkz = 4:
  220. minut += 120
  221. gt'gopskver'
  222. end
  223. if snkz = 5:
  224. minut += 120
  225. gt 'pav_train_hall', 'female'
  226. end
  227. if snkz = 6:
  228. gs 'clothing', 'strip'
  229. minut += 120
  230. gt'Glake'
  231. end
  232. end
  233. if $ARGS[0] = 'narkozakladka':
  234. *clr & cla
  235. '<center><b>Shooting galleries</b></center>'
  236. '<center><img <<$set_imgh>> src="images/locations/city/residential/den/narkopriton.jpg"></center>'
  237. '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..."'
  238. '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."'
  239. act 'Agree':
  240. *clr & cla
  241. snarkozak = 1
  242. '<center><b>Shooting galleries</b></center>'
  243. '<center><img <<$set_imgh>> src="images/locations/city/residential/den/narkopriton.jpg"></center>'
  244. 'You gulp and stammer "I assure you there willl be no problems"'
  245. 'Guy nods, "Good then you can find a range of product at the end of the platform."'
  246. act 'Leave':gt'city_drugden'
  247. end
  248. end
  249. if $ARGS[0] = 'snarkozaka':
  250. *clr & cla
  251. minut += 20
  252. gs 'stat'
  253. '<center><B>Pavlovsk train station</B></center>'
  254. '<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg"></center>'
  255. 'You walk to the end of the platform and see a man hiding undercover smoking a cigarette'
  256. 'Walking up to him you ask him if he has anything'
  257. 'He turns and looks you up and down, "That depends on what you want little lady?"'
  258. *nl
  259. 'Heroin: 560 <b>₽</b>'
  260. 'Cocaine: 2100 <b>₽</b>'
  261. 'Amphetamine: 600 <b>₽</b>'
  262. 'Weed: 300 <b>₽</b>'
  263. act 'Leave': gt 'pav_train_hall'
  264. if money >= 560:
  265. act 'Buy and use heroin (560 <b>₽</b>)':
  266. money -= 560
  267. gs 'drugs', 'heroin'
  268. gt 'events', 'snarkozaka'
  269. end
  270. else
  271. 'You don''t have enough money to buy heroin.'
  272. end
  273. if money >= 2100:
  274. act 'Buy enough cocaine for 5 lines (1800 <b>₽</b>)':
  275. money -= 2100
  276. dur += 5
  277. minut += 5
  278. gt 'events', 'snarkozaka'
  279. end
  280. else
  281. 'You don''t have enough money to buy cocaine.'
  282. end
  283. if money >= 600:
  284. act 'Buy 5 Amphetamine (600 <b>₽</b>)':
  285. money -= 600
  286. amphetamine += 5
  287. gt 'events', 'snarkozaka'
  288. end
  289. else
  290. 'You don''t have enough money to buy amphetamine.'
  291. end
  292. if money >= 300:
  293. act 'Buy enough weed for 5 joints (300 <b>₽</b>)':
  294. money -= 300
  295. drugUser = 1
  296. joint += 5
  297. minut += 5
  298. gt 'events', 'snarkozaka'
  299. end
  300. else
  301. 'You don''t have enough money to buy weed.'
  302. end
  303. end
  304. if $ARGS[0] = 'snkayf1':
  305. snkz = RAND(1,6)
  306. gs 'underwear', 'remove'
  307. if snkz = 1:
  308. minut += 120
  309. gt'city_park','start'
  310. end
  311. if snkz = 2:
  312. minut += 120
  313. gt'city_center'
  314. end
  315. if snkz = 3:
  316. minut += 120
  317. gt'city_industrial'
  318. end
  319. if snkz = 4:
  320. minut += 120
  321. gt'city_residential'
  322. end
  323. if snkz = 5:
  324. minut += 120
  325. gt'dachi'
  326. end
  327. if snkz = 6:
  328. minut += 120
  329. gt'city_lake','start'
  330. end
  331. end
  332. --- events ---------------------------------