1
0

pavtrain_market.qsrc 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  1. # pavtrain_market
  2. $location_type = 'public_outdoors'
  3. if $ARGS[0] = 'start':
  4. $metka = 'start'
  5. $loc = 'pavtrain_market'
  6. $menu_loc = 'pavtrain_market'
  7. $menu_arg = 'start'
  8. menu_off = 0
  9. CLOSE ALL
  10. if sound = 0:
  11. if month >=11 and month <= 12 or month >=1 and month <=3:
  12. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/zima.mp3',30
  13. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  14. else
  15. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/street_leto.mp3',30
  16. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  17. end
  18. end
  19. clr
  20. gs 'stat'
  21. '<center><h2>Market</h2></center>'
  22. if month >= 11 or month <= 3:
  23. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinokw.jpg"></center>'
  24. else
  25. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinok.jpg"></center>'
  26. end
  27. *nl
  28. 'This small open air market is located near the train station.'
  29. if arturQW = 1 and (week = 6 or week = 7) and hour < 12: act 'Wait for Arthur to arrive':hour = 12 & gt 'pavtrain_market', 'start'
  30. *nl
  31. if hour >= 8 and hour <= 18:
  32. 'The market stalls are buzzing with shoppers. Everyone seems to be in a good mood and you can hear back and forth bargaining as you pass by.'
  33. if pav_slut >= 50 and rand(0,9) = 0:
  34. menu_off = 1
  35. gs 'stat'
  36. 'An Armenian man comes up to you and in broken Russian says, "You girl who like men, no? Come meet real men have good time."'
  37. act 'Reject him':
  38. *clr & cla
  39. 'You pretend not to understand what he is saying, smiling and shaking your head as you move away from him.'
  40. act 'Return':gt 'pavtrain_market', 'start'
  41. end
  42. act 'Go with him':gt 'gevent', '3'
  43. exit
  44. end
  45. act 'Go back to the station': minut += 3 & gt 'pavtrain'
  46. act 'Wander through the market': gt 'pavtrain_market','events'
  47. if pavtrain_book = 1: act 'Go to the book stall': minut += 5 & gt 'pavtrain_market', 3
  48. if pavmarket_porn = 1: act 'Go to the porn stall': minut += 5 & gt 'pavtrain_market', 4
  49. if arturKnow = 1 and arturQW = 0:
  50. act 'Look for Arthur':gt 'arturRinok', 'start'
  51. elseif arturQW = 1 and (week = 6 or week = 7):
  52. if hour = 12 or hour = 13:
  53. act 'Look for Arthur':gt 'arturRinok', 'work_1'
  54. end
  55. elseif arturQW = 2:
  56. if hour = 16 and minut <= 30:
  57. act 'Look for Arthur':gt 'arturRinok', 'work_2'
  58. elseif hour < 16:
  59. act 'Wait for Arthur to arrive':hour = 16 & minut = 0 & gt 'pavtrain_market', 'start'
  60. end
  61. end
  62. if gobelen > 0 and gobQW = 0:
  63. act'Sell ​​tapestry':
  64. menu_off = 1
  65. *clr & cla
  66. gobQW = 1
  67. minut += 15
  68. gs'stat'
  69. 'You stand quietly by the entrance to the market, waiting for customers and displaying your tapestries. Shortly buyers start to gather, but a large, muscular man approaches you and says, "It is illegal to trade in the market without a trader''s license, but I may be interesting in buying your tapestries, 1000 <b>₽</b> apiece. Come and see me at my stall."'
  70. 'Not wanting to get into trouble, you pack your stuff away. The man was already gone, but you saw which direction he went and he should be easy to find.'
  71. act 'Leave':gt 'pavtrain_market', 'start'
  72. end
  73. elseif gobelen > 0 and gobQW >= 1:
  74. act'Sell ​​tapestry':
  75. menu_off = 1
  76. *clr & cla
  77. minut += 15
  78. gs'stat'
  79. 'You go to the man who offered to buy your tapestries for 1000 <b>₽</b>. You find him by his stall, smiling.'
  80. if gobQW = 2:
  81. 'Roman welcomes you. He is interested and businesslike as he asks what you have for sale.'
  82. elseif gobQW = 1:
  83. gobQW = 2
  84. minute + 5
  85. 'The man greets you and introduces himself as Roman, you tell him that your name is <<$pcs_nickname>>. After a brief chat Roman says that he is interested in seeing what you have for sale.'
  86. end
  87. act 'Leave':gt 'pavtrain_market', 'start'
  88. act'Show your tapestry':
  89. *clr & cla
  90. gobelen -= 1
  91. money += 1000
  92. gs'stat'
  93. 'You show your tapestry to Roman and he gives you five hundred for it. You take the money and give him the tapestry.'
  94. act 'Leave':gt 'pavtrain_market', 'start'
  95. end
  96. if gobelen > 1:
  97. act'Sell all of your tapestries':
  98. *clr & cla
  99. 'You show Roman your tapestries and he gives you <<gobelen * 1000>> <b>₽</b> for them. You take the money and give him the tapestries.'
  100. money += gobelen * 1000
  101. gobelen = 0
  102. gs'stat'
  103. act 'Leave':gt 'pavtrain_market', 'start'
  104. end
  105. end
  106. end
  107. end
  108. if ShowerIvan = 5 and porndeal = 0 and rand(1,10) <= 4 and lookwine ! daystart:
  109. *clr & cla
  110. gs 'stat'
  111. minut += 20
  112. menu_off = 1
  113. lookwine = daystart
  114. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  115. 'You were looking through the market when you came upon a stall selling Chinese foods. On a shelf behind the old woman minding the stall there are a number of bottles.'
  116. act 'Ask about wang-goo':
  117. cla
  118. 'You asked the old woman if she has any rice wine to sell. She smiles at you and points to a basket filled with rice.'
  119. '"Onry 2 <b>₽</b>, hundred glam." she said in badly accented Russian, "You buy?"'
  120. '"No," you reply, "I need rice wine, rice wine."'
  121. 'She looks at you in confusion for a moment then suddenly brightened, "Ah!" she exclaims, "Come, come!"'
  122. 'The old woman hurries to the other side of the stall as you follow her to where a number of smoked piglets are hung in a row.'
  123. '"Here," the old woman crowed handing you one of the pigs, "Nice swine, vely nice swine."'
  124. '"No, not nice swine," you sigh out in despair, "Rice! Wine."'
  125. '"Yes, yes," the woman counters, "Nice swine, only 5 <b>₽</b>."'
  126. *nl
  127. 'Just as you were about to give up, a young Chinese boy about your brother''s age arrives.'
  128. '"I am sorry, my grandmother does not speak much Russian." he says as he steps beside the old woman who started to speak rapidly to him in what you assume is Chinese.'
  129. '"My grandmother asks why you don''t like the piglets?" he translates as the old woman stops.'
  130. '"I don''t want a pig," you reply in relief as his Russian is quite good, "I am looking for rice wine, wang-goo."'
  131. '"Ah, huangjiu!" he exclaims as he turns to his grandmother and starts speaking in Chinese.'
  132. 'The old woman glares at you, hangs back the smoked pig and shuffles over to the shelf with the bottles. She finally picks up one of them and brings it over to you.'
  133. '"Why you not say wanted lice wine." she asked in aggrieved tones, "500 <b>₽</b>."'
  134. if money >= 500:
  135. act 'Buy the wine':
  136. *clr & cla
  137. money -= 500
  138. ricewine = 1
  139. 'You hand the woman the money and she gives you the wine.'
  140. act 'Leave': gt 'pavtrain_market', 'start'
  141. end
  142. else
  143. 'You are chocked by the high price and realize that you cannot afford the wine. You apologize and turn away.'
  144. act 'Leave the market': gt 'pavtrain_market', 'start'
  145. act 'Continue browsing the market':
  146. *clr & cla
  147. gs 'stat'
  148. minut += 15
  149. !!Image needed '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/market_boy01.jpg"></center>'
  150. 'You continue to wander through the market for another 15 minutes when the boy from the Chinese stall comes up to you.'
  151. '"Hey, you really want that rice wine?" he asks after checking to make sure that no one is watching.'
  152. '"Yes," you answer him, "But it''s too expensive. I can''t afford it."'
  153. '"How about we make a deal." he says, "Go to the porn dealer and buy me a porn magazine and I''ll get you the wine."'
  154. if pornmarkonce = 0: pornmarkonce = 1 & '"Where can I find the porn dealer?" you ask and he happily gives you directions.'
  155. act 'Refuse':
  156. 'You decline his offer as he upsettingly walks away.'
  157. act 'Leave': gt 'pavtrain_market', 'start'
  158. end
  159. act 'Agree': porndeal = 1 & gt 'pavtrain_market', 4
  160. end
  161. end
  162. end
  163. elseif ShowerIvan = 5 and lookwine ! daystart:
  164. *clr & cla
  165. menu_off = 1
  166. gs 'stat'
  167. lookwine = daystart
  168. if month >= 11 or month <= 3:
  169. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinokw.jpg"></center>'
  170. else
  171. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinok.jpg"></center>'
  172. end
  173. 'You look around the market, but the Chinese vendors don''t seem to be here today.'
  174. act 'Leave': gt 'pavtrain_market', 'start'
  175. end
  176. if porndeal = 1 and porndealday ! daystart:
  177. *clr & cla
  178. menu_off = 1
  179. gs 'stat'
  180. porndealday = daystart
  181. lookboy = 0
  182. !!Image needed '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/market_boy01.jpg"></center>'
  183. 'The boy from the Chinese stall comes up to you as you enter the market.'
  184. '"Do you have it?" he asks eagerly.'
  185. if haveporn = 1:
  186. porndeal = 2 & ! to close the ricewine event
  187. ricewine = 1
  188. '"Do you have the wine?" you counter.'
  189. 'He pulls the bottle out of his backpack and you trade items.'
  190. act 'Leave': gt 'pavtrain_market', 'start'
  191. else
  192. 'You tell him that you haven''t had time to pick up the magazine yet but you were working on it.'
  193. act 'Leave': gt 'pavtrain_market', 'start'
  194. end
  195. elseif porndeal = 1 and porndealday = daystart and lookboy = 0:
  196. *clr & cla
  197. menu_off = 1
  198. gs 'stat'
  199. lookboy = 1
  200. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  201. 'You look around the market for the boy from the Chinese stall, but you can''t find him. You decide to look for him another day.'
  202. act 'Leave': gt 'pavtrain_market', 'start'
  203. end
  204. else
  205. 'The market stalls are empty. The market is only open between 08:00 and 19:00.'
  206. act 'Go back to the station': minut += 3 & gt 'pavtrain'
  207. end
  208. end
  209. if $ARGS[0] = 'events':
  210. '<center><h2>Market</h2></center>'
  211. *clr & cla
  212. minut += 10
  213. menu_off = 1
  214. gs 'stat'
  215. rinevrand = rand(1,19)
  216. act 'Stop wandering': gt 'pavtrain_market', 'start'
  217. act 'Wander around the market': gt 'pavtrain_market','events'
  218. if rand(0,3) ! 0:
  219. gs 'pavtrain_market', rinevrand
  220. else
  221. $pavtrain_market_text[3]='you pass a stall, it is selling children''s clothes.'
  222. $pavtrain_market_text[4]='you see a woman looking for underwear.'
  223. $pavtrain_market_text[5]='you notice a half-naked girl trying on clothes.'
  224. $pavtrain_market_text[6]='you look away as a woman tries on a bra.'
  225. $pavtrain_market_text[7]='you don''t see anything unusual, just the usual vegetables and tasteless clothes.'
  226. $pavtrain_market_text[8]='you just see old women in dressing gowns and slippers. Stupid crappy market.'
  227. $pavtrain_market_text[9]='you don''t find anything interesting.'
  228. $pavtrain_market_text[10]='you just see cheap Chinese goods and nothing more.'
  229. $pavtrain_market_text[11]='you see all the usual stuff. People with bags scurrying back and forth, children begging for toys from their parents and vociferous traders.'
  230. $pavtrain_market_text[12]='you have to be careful as its so busy. The hustle and bustle makes it hard to find anything worthwhile.'
  231. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/brodit'+rand(1,8)+'.jpg"></center>'
  232. *nl
  233. 'As you are strolling through the market, ' + $pavtrain_market_text[rand(3,12)]
  234. killvar '$pavtrain_market_text'
  235. end
  236. end
  237. if ARGS[0] = 1:
  238. *clr & cla
  239. menu_off = 1
  240. gs 'stat'
  241. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/poproshaika1.jpg"></center>'
  242. 'You are strolling through the market when a beggar asks you for some change.'
  243. act 'Don''t give money':
  244. *clr & cla
  245. gs 'stat'
  246. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/poproshaika2.jpg"></center>'
  247. 'You ignore the beggar and pretend not to hear him.'
  248. act 'Stop wandering': gt 'pavtrain_market', 'start'
  249. act 'Wander around the market': gt 'pavtrain_market','events'
  250. end
  251. act 'Give some money':
  252. *clr & cla
  253. money -= rand(3,20)
  254. pcs_willpwr += 5
  255. pcs_mood += 5
  256. gs 'stat'
  257. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/podaet.jpg"></center>'
  258. 'You give the beggar a few rubles which he kindly thanks you for.'
  259. act 'Stop wandering': gt 'pavtrain_market', 'start'
  260. act 'Wander around the market': gt 'pavtrain_market','events'
  261. end
  262. end
  263. if ARGS[0] = 2:
  264. *clr & cla
  265. menu_off = 1
  266. minut += 5
  267. gs 'stat'
  268. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dedgitara.jpg"></center>'
  269. 'You see an old man playing the guitar. He''s trying to avert as much attention as he can to himself.'
  270. act 'Stop wandering': gt 'pavtrain_market', 'start'
  271. act 'Wander around the market': gt 'pavtrain_market','events'
  272. end
  273. if ARGS[0] = 3:
  274. *clr & cla
  275. menu_off = 1
  276. pavtrain_book = 1
  277. gs 'stat'
  278. if month >= 11 or month <= 3:
  279. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/bookw.jpg"></center>'
  280. else
  281. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/book.jpg"></center>'
  282. end
  283. 'You find a stall selling various books, there are fantasy books, science fiction and romance novels, all of which costs only 350 <b>₽</b> each.'
  284. act 'Stop wandering': gt 'pavtrain_market', 'start'
  285. act 'Wander around the market': gt 'pavtrain_market','events'
  286. if money >= 350:
  287. act 'Buy a fantasy book (350 <b>₽</b>)':
  288. *clr & cla
  289. minut += 15
  290. money -= 350
  291. f_book += 1
  292. gs 'stat'
  293. 'You bought a fantasy book for 350 <b>₽</b>.'
  294. act 'Leave':gt 'pavtrain_market', 'start'
  295. end
  296. end
  297. if money >= 350:
  298. act 'Buy a science fiction book (350 <b>₽</b>)':
  299. *clr & cla
  300. minut += 15
  301. money -= 350
  302. f_book += 1
  303. gs 'stat'
  304. 'You bought a science ficiton book for 350 <b>₽</b>.'
  305. act 'Leave':gt 'pavtrain_market', 'start'
  306. end
  307. end
  308. if money >= 350:
  309. act 'Buy a romance novel (350 <b>₽</b>)':
  310. *clr & cla
  311. minut += 15
  312. money -= 350
  313. w_book += 1
  314. gs 'stat'
  315. 'You bought a romance novel for 350 <b>₽</b>.'
  316. act 'Leave':gt 'pavtrain_market', 'start'
  317. end
  318. end
  319. end
  320. if ARGS[0] = 4:
  321. *clr & cla
  322. menu_off = 1
  323. pavmarket_porn = 1
  324. gs 'stat'
  325. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  326. 'You find a small stall that has many shelves with a large variety of porn magazines, a pack of brand new porn playing cards, and you can see several sex toys just behind the counter. The salesman watches over his stall with shifty eyes.'
  327. act 'Stop wandering': gt 'pavtrain_market', 'start'
  328. act 'Wander around the market': gt 'pavtrain_market','events'
  329. if money >= 699 and card < 2:
  330. act 'Buy cards (699 <b>₽</b>)':
  331. *clr & cla
  332. minut += 5
  333. money -= 699
  334. card = 2
  335. TimesBuyPorno += 1
  336. delact 'Buy cards'
  337. gs 'stat'
  338. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  339. 'You try not to look into the eyes of the porn dealer as you count the money. You quickly grab the cards and shove them in your purse.'
  340. act 'Leave':gt 'pavtrain_market', 'start'
  341. act 'Buy something else':gt 'pavtrain_market', 4
  342. end
  343. end
  344. if porndeal = 1:
  345. if money >= 400:
  346. act 'Buy a porn magazine for the Chinese boy (400 <b>₽</b>)':
  347. *clr & cla
  348. minut += 5
  349. money -= 400
  350. haveporn = 1
  351. gs 'stat'
  352. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  353. 'You try your best not to look into the eyes of the porn dealer as you count the money. You take the magazine and quickly hide it.'
  354. act 'Leave':gt 'pavtrain_market', 'start'
  355. act 'Buy something else':gt 'pavtrain_market', 4
  356. end
  357. end
  358. else
  359. act 'Browse the porn magazines':
  360. *clr & cla
  361. pcs_horny += 10
  362. gs 'stat'
  363. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  364. act 'Leave':gt 'pavtrain_market', 'start'
  365. act 'Look for something else':gt 'pavtrain_market', 4
  366. if TimesBuyPorno = 0:
  367. 'You look over the magazine covers, covered in images of half-naked girls on them. Many of them appear to be near your own age. The porn dealer notices your interest and looks at you expectantly.'
  368. act 'Look through a magazine':
  369. cla
  370. 'You pick up one of the magazines and flip through the pages. Inside the magazines, you see men with large erect penis engaging in sexual acts with women who are either half-naked or fully naked, most of them look close to your own age. You feel yourself getting aroused looking at the images.'
  371. act 'Leave':gt 'pavtrain_market', 'start'
  372. act 'Look for something else':gt 'pavtrain_market', 4
  373. act 'Ask for the price':
  374. *clr & cla
  375. minut += 5
  376. gs 'stat'
  377. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  378. 'Blushing profusely right down to your roots, you approach the porn dealer and stammeringly ask him the price on the magazines. The porn dealer smiles at you and says, "All magazines are 400 <b>₽</b> each."'
  379. act 'Leave':gt 'pavtrain_market', 'start'
  380. act 'Look for something else':gt 'pavtrain_market', 4
  381. if money >= 400:
  382. act 'Buy magazine (400 <b>₽</b>)':
  383. *clr & cla
  384. minut += 5
  385. money -= 400
  386. pornMagazine = 40
  387. TimesBuyPorno += 1
  388. gs 'stat'
  389. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  390. 'You try not to look into the porn dealers eyes as you hand him the money. You take the magazine and quickly hide it under your shirt.'
  391. act 'Leave':gt 'pavtrain_market', 'start'
  392. act 'Buy something else':gt 'pavtrain_market', 4
  393. end
  394. end
  395. end
  396. end
  397. elseif TimesBuyPorno > 0 and TimesBuyPorno < 5:
  398. 'The porn dealer notices you coming over and asks, "Looking to buy a magazine? They''re only 400 <b>₽</b> each."'
  399. act 'Look through a magazine':
  400. cla
  401. 'You pick up one of the magazines and flip through the pages. Inside the magazines, you see men with large erect penis engaging in sexual acts with women who are either half-naked or fully naked, most of them look close to your own age. You feel yourself getting aroused looking at the images.'
  402. act 'Leave':gt 'pavtrain_market', 'start'
  403. act 'Look for something else':gt 'pavtrain_market', 4
  404. if money >= 400:
  405. act 'Buy magazine (400 <b>₽</b>)':
  406. *clr & cla
  407. minut += 5
  408. money -= 400
  409. pornMagazine = 40
  410. TimesBuyPorno += 1
  411. gs 'stat'
  412. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  413. 'You try not to look into the porn dealers eyes as you hand him the money. You take the magazine and quickly hide it under your shirt.'
  414. act 'Leave':gt 'pavtrain_market', 'start'
  415. act 'Buy something else':gt 'pavtrain_market', 4
  416. end
  417. end
  418. end
  419. elseif TimesBuyPorno >= 5:
  420. 'The porn dealer sees you approaching the stall, "Ah, my best customer! Welcome back!"'
  421. act 'Look through a magazine':
  422. cla
  423. 'You pick up one of the magazines and flip through the pages. Inside the magazines, you see men with large erect penis engaging in sexual acts with women who are either half-naked or fully naked, most of them look close to your own age. You feel yourself getting aroused looking at the images.'
  424. act 'Leave':gt 'pavtrain_market', 'start'
  425. act 'Look for something else':gt 'pavtrain_market', 4
  426. if money >= 400:
  427. act 'Buy magazine (400 <b>₽</b>)':
  428. *clr & cla
  429. minut += 5
  430. money -= 400
  431. pornMagazine = 40
  432. TimesBuyPorno += 1
  433. gs 'stat'
  434. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  435. 'You try not to look into the porn dealers eyes as you hand him the money. You take the magazine and quickly hide it under your shirt.'
  436. act 'Leave':gt 'pavtrain_market', 'start'
  437. act 'Buy something else':gt 'pavtrain_market', 4
  438. end
  439. end
  440. end
  441. end
  442. end
  443. end
  444. act 'Ask to see the sex toys':
  445. *clr & cla
  446. gs 'stat'
  447. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/sextoys.jpg"></center>'
  448. 'He lets you step behind the counter so you can get a better look, as you do he says. "Take a look and let me know what you would like." You see several 15cm dildos. Each with a tag, "Only 700 <b>₽</b> each." You also see a small selection of vibrators in various colors, mostly pink. "Only 700 <b>₽</b> each." To one side you see many butt plugs, rubber and metal. "Only 700 <b>₽</b>each." Near the bottom is several strapon harnesses without a dildo. "Only 500 <b>₽</b>each."'
  449. act 'Leave':gt 'pavtrain_market', 'start'
  450. act 'Look for something else':gt 'pavtrain_market', 4
  451. if money >= 700 and dildo = 0:
  452. act 'Buy dildo (700 <b>₽</b>)':
  453. cla
  454. minut += 5
  455. dildo = 1
  456. money -= 700
  457. pcs_horny += 10
  458. TimesBuyPorno += 1
  459. if pcs_horny >= 50 and pav_slut < 75:
  460. 'You buy a dildo and hastily hide it, while your face blushes with embarrassment.'
  461. else
  462. 'You buy a dildo and calmly hide it.'
  463. end
  464. act 'Leave':gt 'pavtrain_market', 'start'
  465. act 'Buy something else':gt 'pavtrain_market', 4
  466. end
  467. end
  468. if money >= 700 and vibrator = 0:
  469. act 'Buy vibrator (700 <b>₽</b>)':
  470. cla
  471. minut += 5
  472. vibrator = 1
  473. money -= 700
  474. pcs_horny += 10
  475. TimesBuyPorno += 1
  476. if pcs_horny >= 50 and pav_slut < 75:
  477. 'You buy a vibrator and hastily hide it, while your face blushes with embarrassment.'
  478. else
  479. 'You buy a vibrator and calmly hide it.'
  480. end
  481. act 'Leave':gt 'pavtrain_market', 'start'
  482. act 'Buy something else':gt 'pavtrain_market', 4
  483. end
  484. end
  485. if money >= 700 and analplug = 0:
  486. act 'Buy butt plug (700 <b>₽</b>)':
  487. cla
  488. minut += 5
  489. money -= 700
  490. analplug = 1
  491. pcs_horny += 10
  492. TimesBuyPorno += 1
  493. if pcs_horny >= 50 and pav_slut < 75:
  494. 'You buy a butt plug and hastily hide it, while your face blushes with embarrassment.'
  495. else
  496. 'You buy a butt plug and calmly hide it.'
  497. end
  498. act 'Leave':gt 'pavtrain_market', 'start'
  499. act 'Buy something else':gt 'pavtrain_market', 4
  500. end
  501. end
  502. if money >= 500 and strapon = 0:
  503. act 'Buy strap-on harness (500 <b>₽</b>)':
  504. cla
  505. minut += 5
  506. strapon = 1
  507. money -= 1000
  508. pcs_horny += 10
  509. TimesBuyPorno += 1
  510. if pcs_horny >= 50 and pav_slut < 75:
  511. 'You buy a strap-on harness and hastily hide it, while your face blushes with embarrassment.'
  512. else
  513. 'You buy a strap-on harness and calmly hide it.'
  514. end
  515. act 'Leave':gt 'pavtrain_market', 'start'
  516. act 'Buy something else':gt 'pavtrain_market', 4
  517. end
  518. end
  519. end
  520. end
  521. if ARGS[0] = 5:
  522. *clr & cla
  523. menu_off = 1
  524. minut += 5
  525. gs 'stat'
  526. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dedgitara.jpg"></center>'
  527. 'You see an old man playing the guitar. He''s trying to avert as much attention as he can to himself.'
  528. act 'Stop wandering': gt 'pavtrain_market', 'start'
  529. act 'Wander around the market': gt 'pavtrain_market','events'
  530. end
  531. if ARGS[0] = 6:
  532. *clr & cla
  533. menu_off = 1
  534. minut += 5
  535. gs 'stat'
  536. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/nenavizublyadcigan.jpg"></center>'
  537. 'You meet a Gypsy woman. She offers to tell your fortune.'
  538. act 'Decline': gt 'pavtrain_market', 'start'
  539. act 'Accept':
  540. *clr & cla
  541. minut += 5
  542. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/gadaet'+rand(1,2)+'.jpg"></center>'
  543. 'You agree and Gypsy takes your hand before she predicts you will have great happiness and lots of money. Afterwards, she promptly walks away.'
  544. act 'Something''s wrong':
  545. *clr & cla
  546. money = 0
  547. pcs_mood -= 50
  548. gs 'stat'
  549. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pusto.jpg"></center>'
  550. 'With a sneaking suspicion you start looking through your stuff. Your wallet is nowhere to be found!'
  551. act 'Find the Gypsy':
  552. *clr & cla
  553. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/okliknut.jpg"></center>'
  554. 'You search the area hoping to find the thief, but she has already disappeared into the crowd.'
  555. act 'Back': gt 'pavtrain_market', 'start'
  556. end
  557. end
  558. end
  559. end
  560. if ARGS[0] = 7:
  561. *clr & cla
  562. menu_off = 1
  563. minut += 5
  564. gs 'stat'
  565. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/kosmetic.jpg"></center>'
  566. tovpay = 800
  567. 'You see some cosmetics on sale for <<tovpay>> <b>₽</b>.'
  568. act 'Stop wandering': gt 'pavtrain_market', 'start'
  569. act 'Wander around the market': gt 'pavtrain_market','events'
  570. if money >= tovpay:
  571. act 'Buy the cosmetics (800 <b>₽</b>)':
  572. minut += 15
  573. money -= tovpay
  574. kosmetica += 50
  575. gt 'pavtrain_market', 'start'
  576. end
  577. end
  578. end
  579. if ARGS[0] = 8:
  580. *clr & cla
  581. menu_off = 1
  582. minut += 5
  583. gs 'stat'
  584. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/vitaminki.jpg"></center>'
  585. tovpay = 105
  586. 'You see some vitamins on sale for <<tovpay>> <b>₽</b>.'
  587. act 'Stop wandering': gt 'pavtrain_market', 'start'
  588. act 'Wander around the market': gt 'pavtrain_market','events'
  589. if money >= tovpay:
  590. act 'Buy vitamins (105 <b>₽</b>)':
  591. minut += 15
  592. vitamin += 20
  593. money -= tovpay
  594. gt 'pavtrain_market', 'start'
  595. end
  596. end
  597. end
  598. if ARGS[0] = 9:
  599. *clr & cla
  600. menu_off = 1
  601. minut += 5
  602. gs 'stat'
  603. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/condoms.jpg"></center>'
  604. tovpay = 80
  605. 'You see a booth selling condoms for <<tovpay>> <b>₽</b>.'
  606. act 'Stop wandering': gt 'pavtrain_market', 'start'
  607. act 'Wander around the market': gt 'pavtrain_market','events'
  608. if money >= tovpay:
  609. act 'Buy condoms (80 <b>₽</b>)':
  610. minut += 15
  611. prezik += 5
  612. i = 5
  613. :cndmlp
  614. if rand(0,49)-6*(8-tovpay/10) <= 0:badprezik += 1
  615. if i > 0: i-= 1 & jump 'cndmlp'
  616. killvar 'i'
  617. money -= tovpay
  618. gt 'pavtrain_market', 'start'
  619. end
  620. end
  621. end
  622. if ARGS[0] = 10:
  623. *clr & cla
  624. menu_off = 1
  625. minut += 5
  626. gs 'stat'
  627. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/balzam.jpg"></center>'
  628. tovpay = 100
  629. 'There is lip balm on sale for <<tovpay>> <b>₽</b>.'
  630. act 'Stop wandering': gt 'pavtrain_market', 'start'
  631. act 'Wander around the market': gt 'pavtrain_market','events'
  632. if money >= tovpay:
  633. act 'Buy lip balm (100 <b>₽</b>)':
  634. *clr & cla
  635. minut += 15
  636. lipbalm += 30
  637. money -= tovpay
  638. gt 'pavtrain_market', 'start'
  639. end
  640. end
  641. end
  642. if ARGS[0] = 11:
  643. *clr & cla
  644. menu_off = 1
  645. minut += 5
  646. gs 'stat'
  647. if arturKnow = 0:
  648. 'Someone suddenly calls out to you, "Hey pretty girl, do you want a fresh, juicy tangerine?"'
  649. act 'Look': gt 'arturRinok','start'
  650. else
  651. 'Someone suddenly calls out to you, "Hey <<$pcs_nickname>>, do you want a fresh, juicy tangerine?"'
  652. act 'Go and see Arthur': gt 'arturRinok','start'
  653. end
  654. end
  655. if ARGS[0] = 12:
  656. *clr & cla
  657. menu_off = 1
  658. minut += 5
  659. gs 'stat'
  660. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/cheburek.jpg"></center>'
  661. 'Walking through the market, you came across an old woman selling pies.'
  662. act 'Stop wandering': gt 'pavtrain_market', 'start'
  663. act 'Wander around the market': gt 'pavtrain_market','events'
  664. if pcs_energy <= 80:
  665. act 'Buy a pie for 20 <b>₽</b>':
  666. *clr & cla
  667. fat+=3
  668. frost = 0
  669. pcs_health += 5
  670. pcs_mood += 5
  671. pcs_hydra -= 5
  672. pcs_energy+=5
  673. money-=20
  674. minut+=10
  675. gs 'stat'
  676. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/eat.jpg"></center>'
  677. 'The pie is still warm as the woman hands it over to you. Barely able to keep yourself away from it, you find a place to sit down and enjoy the pie.'
  678. act 'Continue walking through the market': gt 'pavtrain_market','events'
  679. end
  680. else
  681. *p ', But you are not hungry right now.'
  682. end
  683. end
  684. if ARGS[0] = 13:
  685. *clr & cla
  686. menu_off = 1
  687. minut += 5
  688. gs 'stat'
  689. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dropwallet.jpg"></center>'
  690. 'You see a wallet fall out of a woman''s purse.'
  691. act 'Tell her':
  692. *clr & cla
  693. minut += 2
  694. gs 'stat'
  695. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/vernutwallet.jpg"></center>'
  696. 'You call to the woman and hold out her wallet. She looks at you and releasing she gratefully takes her wallet back and walks away.'
  697. act 'Continue walking through the market': gt 'pavtrain_market','events'
  698. end
  699. act 'Look through the purse':
  700. *clr & cla
  701. minut += 5
  702. gs 'stat'
  703. i = rand(40,200)
  704. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/zaglanut.jpg"></center>'
  705. 'You open the wallet and you see that there''s <<i>> <b>₽</b>'
  706. act 'Take the money and throw away the wallet':
  707. money += i
  708. pcs_mood += 10
  709. killvar 'i'
  710. gt 'pavtrain_market', 'start'
  711. end
  712. act 'Catch up with the woman and return her purse':
  713. *clr & cla
  714. pcs_mood += 5
  715. gs 'stat'
  716. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/proverka.jpg"></center>'
  717. 'You catch up with the woman and telling her she dropped something you hand her the purse. The woman checks her money is still there and seeing that everything is in place, she thanks you and walked away.'
  718. act 'Stop wandering': gt 'pavtrain_market', 'start'
  719. act 'Wander around the market': gt 'pavtrain_market','events'
  720. end
  721. end
  722. end
  723. if ARGS[0] = 14:
  724. *clr & cla
  725. menu_off = 1
  726. minut += 5
  727. gs 'stat'
  728. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/rebenok.jpg"></center>'
  729. 'You see a young mother and her crying baby.'
  730. act 'Stop wandering': gt 'pavtrain_market', 'start'
  731. act 'Wander around the market': gt 'pavtrain_market','events'
  732. end
  733. if ARGS[0] = 15:
  734. *clr & cla
  735. menu_off = 1
  736. minut += 5
  737. gs 'stat'
  738. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/rezba.jpg"></center>'
  739. 'You find a stall with beautiful things carved out of wood and metal.'
  740. act 'Stop wandering': gt 'pavtrain_market', 'start'
  741. act 'Wander around the market': gt 'pavtrain_market','events'
  742. end
  743. if ARGS[0] = 16:
  744. *clr & cla
  745. menu_off = 1
  746. minut += 5
  747. gs 'stat'
  748. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/gruzchik.jpg"></center>'
  749. 'Looking around, you almost collide with a man pulling a small cart.'
  750. act 'Stop wandering': gt 'pavtrain_market', 'start'
  751. act 'Wander around the market': gt 'pavtrain_market','events'
  752. end
  753. if ARGS[0] = 17:
  754. *clr & cla
  755. menu_off = 1
  756. minut += 5
  757. gs 'stat'
  758. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/meatlavka.jpg"></center>'
  759. 'You wander past a the meet seller and see a butcher working with an axe.'
  760. act 'Stop wandering': gt 'pavtrain_market', 'start'
  761. act 'Wander around the market': gt 'pavtrain_market','events'
  762. end
  763. if ARGS[0] = 18:
  764. *clr & cla
  765. menu_off = 1
  766. minut += 5
  767. gs 'stat'
  768. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dirka.jpg"></center>'
  769. 'As you walk past a stall you notice a small hole torn in the canvas.'
  770. act 'Stop wandering': gt 'pavtrain_market', 'start'
  771. act 'Wander around the market': gt 'pavtrain_market','events'
  772. act 'Look through the hole':
  773. *clr & cla
  774. if girl > 1: pcs_horny += 5
  775. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pereodev'+rand(1,15)+'.jpg"></center>'
  776. 'You look inside the tent and see ' + $pavtrain_marketrandtext[rand(3,7)]
  777. act 'Leave': gt 'pavtrain_market', 'start'
  778. end
  779. end
  780. if ARGS[0] = 19:
  781. *clr & cla
  782. menu_off = 1
  783. minut += 5
  784. gs 'stat'
  785. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/birthcontrolpills.jpg"></center>'
  786. tovpay = 1500
  787. 'You see a booth selling birth control pills for <<tovpay>> <b>₽</b>.'
  788. act 'Stop wandering': gt 'pavtrain_market', 'start'
  789. act 'Wander around the market': gt 'pavtrain_market','events'
  790. if money >= tovpay:
  791. act 'Buy birth control pills (1500 <b>₽</b>)':
  792. *clr & cla
  793. minut += 15
  794. tabletki += 1
  795. if rand(0,49) - (6*(8-tovpay/50)) <= 0:
  796. temp = rand(0,3)
  797. if temp = 0:
  798. tabletkiold += 1 & !Pills are expired and less effective
  799. elseif temp = 1:
  800. tabletkifake += 1 & !Pills are counterfeit and useless
  801. elseif temp = 2:
  802. tabletkirej += 1 & !Pills are factory rejects with variable strength
  803. else
  804. !Pills were tampered with
  805. if rand(0,100) = 0:
  806. tabletkifert += 1 & ! pills were replaced with fertility hormones
  807. else
  808. tabletkisug += 1 & ! pills were all replaced with sugar pills
  809. end
  810. end
  811. end
  812. money -= tovpay
  813. gt 'pavtrain_market', 'start'
  814. end
  815. end
  816. end
  817. --- pavtrain_market ---------------------------------