1
0

pavtrain_market.qsrc 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927
  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 >= 100 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. minut += 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 ricewine ! 1 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. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  119. '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.'
  120. '"Onry 2 <b>₽</b>, hundred glam." she said in badly accented Russian, "You buy?"'
  121. '"No," you reply, "I need rice wine, rice wine."'
  122. 'She looks at you in confusion for a moment then suddenly brightened, "Ah!" she exclaims, "Come, come!"'
  123. '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.'
  124. '"Here," the old woman crowed handing you one of the pigs, "Nice swine, vely nice swine."'
  125. '"No, not nice swine," you sigh out in despair, "Rice! Wine."'
  126. '"Yes, yes," the woman counters, "Nice swine, only 5 <b>₽</b>."'
  127. *nl
  128. 'Just as you were about to give up, a young Chinese boy about your brother''s age arrives.'
  129. '"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.'
  130. '"My grandmother asks why you don''t like the piglets?" he translates as the old woman stops.'
  131. '"I don''t want a pig," you reply in relief as his Russian is quite good, "I am looking for rice wine, wang-goo."'
  132. '"Ah, huangjiu!" he exclaims as he turns to his grandmother and starts speaking in Chinese.'
  133. '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.'
  134. '"Why you not say wanted rice wine." she asked in aggrieved tones, "500 <b>₽</b>."'
  135. if money >= 500:
  136. act 'Buy the wine':
  137. *clr & cla
  138. money -= 500
  139. ricewine = 1
  140. 'You hand the woman the money and she gives you the wine.'
  141. act 'Leave': gt 'pavtrain_market', 'start'
  142. end
  143. else
  144. 'You are chocked by the high price and realize that you cannot afford the wine. You apologize and turn away.'
  145. act 'Leave the market': gt 'pavtrain_market', 'start'
  146. act 'Continue browsing the market':
  147. *clr & cla
  148. gs 'stat'
  149. minut += 15
  150. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/market_boy01.jpg"></center>'
  151. 'You continue to wander through the market for another 15 minutes when the boy from the Chinese stall comes up to you.'
  152. '"Hey, you really want that rice wine?" he asks after checking to make sure that no one is watching.'
  153. '"Yes," you answer him, "But it''s too expensive. I can''t afford it."'
  154. '"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."'
  155. if pornmarkonce = 0: pornmarkonce = 1 & '"Where can I find the porn dealer?" you ask and he happily gives you directions.'
  156. act 'Refuse':
  157. 'You decline his offer as he upsettingly walks away.'
  158. act 'Leave': gt 'pavtrain_market', 'start'
  159. end
  160. act 'Agree': porndeal = 1 & gt 'pavtrain_market', 4
  161. end
  162. end
  163. end
  164. elseif ShowerIvan = 5 and ricewine ! 1 and lookwine ! daystart:
  165. *clr & cla
  166. menu_off = 1
  167. gs 'stat'
  168. lookwine = daystart
  169. if month >= 11 or month <= 3:
  170. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinokw.jpg"></center>'
  171. else
  172. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinok.jpg"></center>'
  173. end
  174. 'You look around the market, but the Chinese vendors don''t seem to be here today.'
  175. act 'Leave': gt 'pavtrain_market', 'start'
  176. end
  177. if porndeal = 1 and ricewine ! 1 and porndealday ! daystart:
  178. *clr & cla
  179. menu_off = 1
  180. gs 'stat'
  181. porndealday = daystart
  182. lookboy = 0
  183. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/market_boy01.jpg"></center>'
  184. 'The boy from the Chinese stall comes up to you as you enter the market.'
  185. '"Do you have it?" he asks eagerly.'
  186. if haveporn = 1:
  187. porndeal = 2 & ! to close the ricewine event
  188. ricewine = 1
  189. '"Do you have the wine?" you counter.'
  190. 'He pulls the bottle out of his backpack and you trade items.'
  191. act 'Leave': gt 'pavtrain_market', 'start'
  192. else
  193. 'You tell him that you haven''t had time to pick up the magazine yet but you were working on it.'
  194. act 'Leave': gt 'pavtrain_market', 'start'
  195. end
  196. elseif porndeal = 1 and ricewine ! 1 and porndealday = daystart and lookboy = 0:
  197. *clr & cla
  198. menu_off = 1
  199. gs 'stat'
  200. lookboy = 1
  201. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  202. '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.'
  203. act 'Leave': gt 'pavtrain_market', 'start'
  204. end
  205. else
  206. 'The market stalls are empty. The market is only open between 08:00 and 19:00.'
  207. act 'Go back to the station': minut += 3 & gt 'pavtrain'
  208. end
  209. end
  210. if $ARGS[0] = 'events':
  211. *clr & cla
  212. minut += 10
  213. menu_off = 1
  214. gs 'stat'
  215. '<center><h2>Market</h2></center>'
  216. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/brodit'+rand(1,16)+'.jpg"></center>'
  217. 'You wander around the market taking in the sounds and colours but nothing catches your eye.'
  218. act 'Stop wandering': gt 'pavtrain_market', 'start'
  219. if hour >= 8 and hour <= 18:
  220. act 'Wander around the market': gt 'pavtrain_market','events'
  221. end
  222. if rand(0,3) = 0: gt 'pavtrain_market', rand(1,19)
  223. end
  224. if ARGS[0] = 1:
  225. *clr & cla
  226. menu_off = 1
  227. gs 'stat'
  228. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/poproshaika1.jpg"></center>'
  229. 'You are strolling through the market when a beggar asks you for some change.'
  230. act 'Don''t give money':
  231. *clr & cla
  232. gs 'stat'
  233. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/poproshaika2.jpg"></center>'
  234. 'You ignore the beggar and pretend not to hear him.'
  235. act 'Stop wandering': gt 'pavtrain_market', 'start'
  236. if hour >= 8 and hour <= 18:
  237. act 'Wander around the market': gt 'pavtrain_market','events'
  238. end
  239. end
  240. act 'Give some money':
  241. *clr & cla
  242. money -= rand(3,20)
  243. pcs_mood += 5
  244. gs 'stat'
  245. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/podaet.jpg"></center>'
  246. 'You give the beggar a few rubles which he kindly thanks you for.'
  247. act 'Stop wandering': gt 'pavtrain_market', 'start'
  248. if hour >= 8 and hour <= 18:
  249. act 'Wander around the market': gt 'pavtrain_market','events'
  250. end
  251. end
  252. end
  253. if ARGS[0] = 2:
  254. *clr & cla
  255. menu_off = 1
  256. minut += 5
  257. gs 'stat'
  258. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dedgitara.jpg"></center>'
  259. 'You see an old man playing the guitar. He''s trying to avert as much attention as he can to himself.'
  260. act 'Stop wandering': gt 'pavtrain_market', 'start'
  261. if hour >= 8 and hour <= 18:
  262. act 'Wander around the market': gt 'pavtrain_market','events'
  263. end
  264. end
  265. if ARGS[0] = 3:
  266. *clr & cla
  267. menu_off = 1
  268. pavtrain_book = 1
  269. gs 'stat'
  270. if month >= 11 or month <= 3:
  271. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/bookw.jpg"></center>'
  272. else
  273. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/book.jpg"></center>'
  274. end
  275. '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.'
  276. act 'Stop wandering': gt 'pavtrain_market', 'start'
  277. if hour >= 8 and hour <= 18:
  278. act 'Wander around the market': gt 'pavtrain_market','events'
  279. end
  280. if money >= 350:
  281. act 'Buy a fantasy book (350 <b>₽</b>)':
  282. *clr & cla
  283. minut += 15
  284. money -= 350
  285. f_book += 1
  286. gs 'stat'
  287. '<center><img <<$set_imgh>> src="images/shared/accessories/books/fantasy' + rand(1,9) + '.jpg"></center>'
  288. 'You bought a fantasy book for 350 <b>₽</b>.'
  289. act 'Leave':gt 'pavtrain_market', 'start'
  290. end
  291. end
  292. if money >= 350:
  293. act 'Buy a science fiction book (350 <b>₽</b>)':
  294. *clr & cla
  295. minut += 15
  296. money -= 350
  297. f_book += 1
  298. gs 'stat'
  299. '<center><img <<$set_imgh>> src="images/shared/accessories/books/scifi' + rand(1,6) + '.jpg"></center>'
  300. 'You bought a science ficiton book for 350 <b>₽</b>.'
  301. act 'Leave':gt 'pavtrain_market', 'start'
  302. end
  303. end
  304. if money >= 350:
  305. act 'Buy a romance novel (350 <b>₽</b>)':
  306. *clr & cla
  307. minut += 15
  308. money -= 350
  309. w_book += 1
  310. gs 'stat'
  311. '<center><img <<$set_imgh>> src="images/shared/accessories/books/romance' + rand(1,20) + '.jpg"></center>'
  312. 'You bought a romance novel for 350 <b>₽</b>.'
  313. act 'Leave':gt 'pavtrain_market', 'start'
  314. end
  315. end
  316. end
  317. if ARGS[0] = 4:
  318. *clr & cla
  319. menu_off = 1
  320. pavmarket_porn = 1
  321. gs 'stat'
  322. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  323. '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.'
  324. act 'Stop wandering': gt 'pavtrain_market', 'start'
  325. if hour >= 8 and hour <= 18:
  326. act 'Wander around the market': gt 'pavtrain_market','events'
  327. end
  328. if money >= 699 and card < 2:
  329. act 'Buy cards (699 <b>₽</b>)':
  330. *clr & cla
  331. minut += 5
  332. money -= 699
  333. card = 2
  334. TimesBuyPorno += 1
  335. delact 'Buy cards'
  336. gs 'stat'
  337. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  338. '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.'
  339. act 'Leave':gt 'pavtrain_market', 'start'
  340. act 'Buy something else':gt 'pavtrain_market', 4
  341. end
  342. end
  343. if porndeal = 1:
  344. if money >= 400:
  345. act 'Buy a porn magazine for the Chinese boy (400 <b>₽</b>)':
  346. *clr & cla
  347. minut += 5
  348. money -= 400
  349. haveporn = 1
  350. gs 'stat'
  351. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  352. '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.'
  353. act 'Leave':gt 'pavtrain_market', 'start'
  354. act 'Buy something else':gt 'pavtrain_market', 4
  355. end
  356. end
  357. else
  358. act 'Browse the porn magazines':
  359. *clr & cla
  360. gs 'arousal', 'voyeur', 5
  361. gs 'arousal', 'end'
  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. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  371. '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.'
  372. act 'Leave':gt 'pavtrain_market', 'start'
  373. act 'Look for something else':gt 'pavtrain_market', 4
  374. act 'Ask for the price':
  375. *clr & cla
  376. minut += 5
  377. gs 'stat'
  378. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  379. '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."'
  380. act 'Leave':gt 'pavtrain_market', 'start'
  381. act 'Look for something else':gt 'pavtrain_market', 4
  382. if money >= 400:
  383. act 'Buy magazine (400 <b>₽</b>)':
  384. *clr & cla
  385. minut += 5
  386. money -= 400
  387. pornMagazine = 40
  388. TimesBuyPorno += 1
  389. gs 'stat'
  390. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  391. '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.'
  392. act 'Leave':gt 'pavtrain_market', 'start'
  393. act 'Buy something else':gt 'pavtrain_market', 4
  394. end
  395. end
  396. end
  397. end
  398. elseif TimesBuyPorno > 0 and TimesBuyPorno < 5:
  399. 'The porn dealer notices you coming over and asks, "Looking to buy a magazine? They''re only 400 <b>₽</b> each."'
  400. act 'Look through a magazine':
  401. cla
  402. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  403. '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.'
  404. act 'Leave':gt 'pavtrain_market', 'start'
  405. act 'Look for something else':gt 'pavtrain_market', 4
  406. if money >= 400:
  407. act 'Buy magazine (400 <b>₽</b>)':
  408. *clr & cla
  409. minut += 5
  410. money -= 400
  411. pornMagazine = 40
  412. TimesBuyPorno += 1
  413. gs 'stat'
  414. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  415. '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.'
  416. act 'Leave':gt 'pavtrain_market', 'start'
  417. act 'Buy something else':gt 'pavtrain_market', 4
  418. end
  419. end
  420. end
  421. elseif TimesBuyPorno >= 5:
  422. 'The porn dealer sees you approaching the stall, "Ah, my best customer! Welcome back!"'
  423. act 'Look through a magazine':
  424. cla
  425. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  426. '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.'
  427. act 'Leave':gt 'pavtrain_market', 'start'
  428. act 'Look for something else':gt 'pavtrain_market', 4
  429. if money >= 400:
  430. act 'Buy magazine (400 <b>₽</b>)':
  431. *clr & cla
  432. minut += 5
  433. money -= 400
  434. pornMagazine = 40
  435. TimesBuyPorno += 1
  436. gs 'stat'
  437. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  438. '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.'
  439. act 'Leave':gt 'pavtrain_market', 'start'
  440. act 'Buy something else':gt 'pavtrain_market', 4
  441. end
  442. end
  443. end
  444. end
  445. end
  446. end
  447. act 'Ask to see the sex toys':
  448. *clr & cla
  449. gs 'stat'
  450. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/sextoys.jpg"></center>'
  451. '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."'
  452. act 'Leave':gt 'pavtrain_market', 'start'
  453. act 'Look for something else':gt 'pavtrain_market', 4
  454. if money >= 700 and middildo = 0:
  455. act 'Buy a 15cm dildo (700 <b>₽</b>)':
  456. cla
  457. minut += 5
  458. middildo = 1
  459. money -= 700
  460. pcs_horny += 10
  461. TimesBuyPorno += 1
  462. '<center><img <<$set_imgh>> src="images/pc/items/15cm.jpg"></center>'
  463. if pcs_horny >= 50 and pav_slut < 150:
  464. 'You buy a dildo and hastily hide it, while your face blushes with embarrassment.'
  465. else
  466. 'You buy a dildo and calmly hide it.'
  467. end
  468. act 'Leave':gt 'pavtrain_market', 'start'
  469. act 'Buy something else':gt 'pavtrain_market', 4
  470. end
  471. end
  472. if money >= 700 and vibrator = 0:
  473. act 'Buy vibrator (700 <b>₽</b>)':
  474. cla
  475. minut += 5
  476. vibrator = 1
  477. money -= 700
  478. pcs_horny += 10
  479. TimesBuyPorno += 1
  480. if pcs_horny >= 50 and pav_slut < 150:
  481. 'You buy a vibrator and hastily hide it, while your face blushes with embarrassment.'
  482. else
  483. 'You buy a vibrator and calmly hide it.'
  484. end
  485. act 'Leave':gt 'pavtrain_market', 'start'
  486. act 'Buy something else':gt 'pavtrain_market', 4
  487. end
  488. end
  489. if money >= 700 and analplug = 0:
  490. act 'Buy butt plug (700 <b>₽</b>)':
  491. cla
  492. minut += 5
  493. money -= 700
  494. analplug = 1
  495. !!this needs to be changed from analplug bought to smallbp for the smallone
  496. pcs_horny += 10
  497. TimesBuyPorno += 1
  498. '<center><img <<$set_imgh>> src="images/pc/items/smallbp.jpg"></center>'
  499. if pcs_horny >= 50 and pav_slut < 150:
  500. 'You buy a butt plug and hastily hide it, while your face blushes with embarrassment.'
  501. else
  502. 'You buy a butt plug and calmly hide it.'
  503. end
  504. act 'Leave':gt 'pavtrain_market', 'start'
  505. act 'Buy something else':gt 'pavtrain_market', 4
  506. end
  507. end
  508. if dildo = 1:
  509. if money >= 500 and strapon = 0:
  510. act 'Buy strap-on harness (500 <b>₽</b>)':
  511. cla
  512. minut += 5
  513. strapon = 1
  514. strapnumber = 1
  515. money -= 500
  516. pcs_horny += 10
  517. TimesBuyPorno += 1
  518. '<center><img <<$set_imgh>> src="images/pc/items/harness.jpg"></center>'
  519. if pcs_horny >= 50 and pav_slut < 150:
  520. 'You buy a strap-on harness and hastily hide it, while your face blushes with embarrassment.'
  521. else
  522. 'You buy a strap-on harness and calmly hide it.'
  523. end
  524. act 'Leave':gt 'pavtrain_market', 'start'
  525. act 'Buy something else':gt 'pavtrain_market', 4
  526. end
  527. end
  528. else
  529. if money >= 1200 and strapon = 0 and middildo = 0:
  530. act 'Buy strap-on harness with a 15cm dildo (1200 <b>₽</b>)':
  531. cla
  532. minut += 5
  533. strapon = 1
  534. middildo = 1
  535. strapnumber = 1
  536. money -= 1200
  537. pcs_horny += 10
  538. TimesBuyPorno += 1
  539. '<center><img <<$set_imgh>> src="images/pc/items/harness.jpg"></center>'
  540. if pcs_horny >= 50 and pav_slut < 150:
  541. 'You buy a strap-on harness and hastily hide it, while your face blushes with embarrassment.'
  542. else
  543. 'You buy a strap-on harness and calmly hide it.'
  544. end
  545. act 'Leave':gt 'pavtrain_market', 'start'
  546. act 'Buy something else':gt 'pavtrain_market', 4
  547. end
  548. end
  549. end
  550. end
  551. end
  552. if ARGS[0] = 5:
  553. *clr & cla
  554. menu_off = 1
  555. minut += 5
  556. gs 'stat'
  557. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dedgitara.jpg"></center>'
  558. 'You see an old man playing the guitar. He''s trying to avert as much attention as he can to himself.'
  559. act 'Stop wandering': gt 'pavtrain_market', 'start'
  560. if hour >= 8 and hour <= 18:
  561. act 'Wander around the market': gt 'pavtrain_market','events'
  562. end
  563. end
  564. if ARGS[0] = 6:
  565. *clr & cla
  566. menu_off = 1
  567. minut += 5
  568. gs 'stat'
  569. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/nenavizublyadcigan.jpg"></center>'
  570. 'You meet a Gypsy woman. She offers to tell your fortune.'
  571. act 'Decline': gt 'pavtrain_market', 'start'
  572. act 'Accept':
  573. *clr & cla
  574. minut += 5
  575. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/gadaet'+rand(1,2)+'.jpg"></center>'
  576. 'You agree and Gypsy takes your hand before she predicts you will have great happiness and lots of money. Afterwards, she promptly walks away.'
  577. act 'Something''s wrong':
  578. *clr & cla
  579. money = 0
  580. pcs_mood -= 50
  581. gs 'stat'
  582. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pusto.jpg"></center>'
  583. 'With a sneaking suspicion you start looking through your stuff. Your wallet is nowhere to be found!'
  584. act 'Find the Gypsy':
  585. *clr & cla
  586. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/okliknut.jpg"></center>'
  587. 'You search the area hoping to find the thief, but she has already disappeared into the crowd.'
  588. act 'Back': gt 'pavtrain_market', 'start'
  589. end
  590. end
  591. end
  592. end
  593. if ARGS[0] = 7:
  594. *clr & cla
  595. menu_off = 1
  596. minut += 5
  597. gs 'stat'
  598. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/kosmetic.jpg"></center>'
  599. tovpay = 800
  600. 'You see some cosmetics on sale for <<tovpay>> <b>₽</b>.'
  601. act 'Stop wandering': gt 'pavtrain_market', 'start'
  602. if hour >= 8 and hour <= 18:
  603. act 'Wander around the market': gt 'pavtrain_market','events'
  604. end
  605. if money >= tovpay:
  606. act 'Buy the cosmetics (800 <b>₽</b>)':
  607. minut += 15
  608. money -= tovpay
  609. kosmetica += 50
  610. gt 'pavtrain_market', 'start'
  611. end
  612. end
  613. end
  614. if ARGS[0] = 8:
  615. *clr & cla
  616. menu_off = 1
  617. minut += 5
  618. gs 'stat'
  619. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/vitaminki.jpg"></center>'
  620. tovpay = 105
  621. 'You see some vitamins on sale for <<tovpay>> <b>₽</b>.'
  622. act 'Stop wandering': gt 'pavtrain_market', 'start'
  623. if hour >= 8 and hour <= 18:
  624. act 'Wander around the market': gt 'pavtrain_market','events'
  625. end
  626. if money >= tovpay:
  627. act 'Buy vitamins (105 <b>₽</b>)':
  628. minut += 15
  629. vitamin += 20
  630. money -= tovpay
  631. gt 'pavtrain_market', 'start'
  632. end
  633. end
  634. end
  635. if ARGS[0] = 9:
  636. *clr & cla
  637. menu_off = 1
  638. minut += 5
  639. gs 'stat'
  640. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/condoms.jpg"></center>'
  641. tovpay = 80
  642. 'You see a booth selling condoms for <<tovpay>> <b>₽</b>.'
  643. act 'Stop wandering': gt 'pavtrain_market', 'start'
  644. if hour >= 8 and hour <= 18:
  645. act 'Wander around the market': gt 'pavtrain_market','events'
  646. end
  647. if money >= tovpay:
  648. act 'Buy condoms (80 <b>₽</b>)':
  649. minut += 15
  650. prezik += 5
  651. i = 5
  652. :cndmlp
  653. if rand(0,49)-6*(8-tovpay/10) <= 0:badprezik += 1
  654. if i > 0: i-= 1 & jump 'cndmlp'
  655. killvar 'i'
  656. money -= tovpay
  657. gt 'pavtrain_market', 'start'
  658. end
  659. end
  660. end
  661. if ARGS[0] = 10:
  662. *clr & cla
  663. menu_off = 1
  664. minut += 5
  665. gs 'stat'
  666. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/balzam.jpg"></center>'
  667. tovpay = 100
  668. 'There is lip balm on sale for <<tovpay>> <b>₽</b>.'
  669. act 'Stop wandering': gt 'pavtrain_market', 'start'
  670. if hour >= 8 and hour <= 18:
  671. act 'Wander around the market': gt 'pavtrain_market','events'
  672. end
  673. if money >= tovpay:
  674. act 'Buy lip balm (100 <b>₽</b>)':
  675. *clr & cla
  676. minut += 15
  677. lipbalm += 30
  678. money -= tovpay
  679. gt 'pavtrain_market', 'start'
  680. end
  681. end
  682. end
  683. if ARGS[0] = 11:
  684. *clr & cla
  685. menu_off = 1
  686. minut += 5
  687. gs 'stat'
  688. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/arthur/artur.jpg"></center>'
  689. if arturKnow = 0:
  690. 'Someone suddenly calls out to you, "Hey pretty girl, do you want a fresh, juicy tangerine?"'
  691. act 'Look': gt 'arturRinok','start'
  692. else
  693. 'Someone suddenly calls out to you, "Hey <<$pcs_nickname>>, do you want a fresh, juicy tangerine?"'
  694. act 'Go and see Arthur': gt 'arturRinok','start'
  695. end
  696. end
  697. if ARGS[0] = 12:
  698. *clr & cla
  699. menu_off = 1
  700. minut += 5
  701. gs 'stat'
  702. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/cheburek.jpg"></center>'
  703. 'Walking through the market, you came across an old woman selling pies.'
  704. act 'Stop wandering': gt 'pavtrain_market', 'start'
  705. if hour >= 8 and hour <= 18:
  706. act 'Wander around the market': gt 'pavtrain_market','events'
  707. end
  708. if pcs_energy <= 80:
  709. act 'Buy a pie for 20 <b>₽</b>':
  710. *clr & cla
  711. fat+=3
  712. frost = 0
  713. pcs_health += 5
  714. pcs_mood += 5
  715. pcs_hydra -= 5
  716. pcs_energy+=5
  717. money-=20
  718. minut+=10
  719. gs 'stat'
  720. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/eat.jpg"></center>'
  721. '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.'
  722. act 'Continue walking through the market': gt 'pavtrain_market','events'
  723. end
  724. else
  725. *p ', But you are not hungry right now.'
  726. end
  727. end
  728. if ARGS[0] = 13:
  729. *clr & cla
  730. menu_off = 1
  731. minut += 5
  732. gs 'stat'
  733. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dropwallet.jpg"></center>'
  734. 'You see a wallet fall out of a woman''s purse.'
  735. act 'Tell her':
  736. *clr & cla
  737. minut += 2
  738. gs 'stat'
  739. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/vernutwallet.jpg"></center>'
  740. '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.'
  741. act 'Continue walking through the market': gt 'pavtrain_market','events'
  742. end
  743. act 'Look through the purse':
  744. *clr & cla
  745. minut += 5
  746. i = rand(40,200)
  747. gs 'stat'
  748. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/zaglanut.jpg"></center>'
  749. 'You open the wallet and you see that there''s <<i>> <b>₽</b>'
  750. gs 'willpower', 'misc', 'self', 'easy'
  751. if will_cost <= pcs_willpwr:
  752. act 'Take the money and throw away the wallet (<<will_cost>> Willpower)':
  753. *clr & cla
  754. money += i
  755. pcs_mood += 10
  756. killvar 'i'
  757. gs 'willpower', 'pay', 'resist'
  758. gs 'stat'
  759. 'You just need the money.'
  760. act 'Continue': gt 'pavtrain_market','start'
  761. end
  762. else
  763. act 'Take the money and throw away the wallet (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  764. end
  765. act 'Catch up with the woman and return her purse':
  766. *clr & cla
  767. pcs_mood += 5
  768. gs 'stat'
  769. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/proverka.jpg"></center>'
  770. '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.'
  771. act 'Stop wandering': gt 'pavtrain_market', 'start'
  772. if hour >= 8 and hour <= 18:
  773. act 'Wander around the market': gt 'pavtrain_market','events'
  774. end
  775. end
  776. end
  777. end
  778. if ARGS[0] = 14:
  779. *clr & cla
  780. menu_off = 1
  781. minut += 5
  782. gs 'stat'
  783. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/rebenok.jpg"></center>'
  784. 'You see a young mother and her crying baby.'
  785. act 'Stop wandering': gt 'pavtrain_market', 'start'
  786. if hour >= 8 and hour <= 18:
  787. act 'Wander around the market': gt 'pavtrain_market','events'
  788. end
  789. end
  790. if ARGS[0] = 15:
  791. *clr & cla
  792. menu_off = 1
  793. minut += 5
  794. gs 'stat'
  795. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/rezba.jpg"></center>'
  796. 'You find a stall with beautiful things carved out of wood and metal.'
  797. act 'Stop wandering': gt 'pavtrain_market', 'start'
  798. if hour >= 8 and hour <= 18:
  799. act 'Wander around the market': gt 'pavtrain_market','events'
  800. end
  801. end
  802. if ARGS[0] = 16:
  803. *clr & cla
  804. menu_off = 1
  805. minut += 5
  806. gs 'stat'
  807. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/gruzchik.jpg"></center>'
  808. 'Looking around, you almost collide with a man pulling a small cart.'
  809. act 'Stop wandering': gt 'pavtrain_market', 'start'
  810. if hour >= 8 and hour <= 18:
  811. act 'Wander around the market': gt 'pavtrain_market','events'
  812. end
  813. end
  814. if ARGS[0] = 17:
  815. *clr & cla
  816. menu_off = 1
  817. minut += 5
  818. gs 'stat'
  819. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/meatlavka.jpg"></center>'
  820. 'You wander past a the meet seller and see a butcher working with an axe.'
  821. act 'Stop wandering': gt 'pavtrain_market', 'start'
  822. if hour >= 8 and hour <= 18:
  823. act 'Wander around the market': gt 'pavtrain_market','events'
  824. end
  825. end
  826. if ARGS[0] = 18:
  827. *clr & cla
  828. menu_off = 1
  829. minut += 5
  830. gs 'stat'
  831. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dirka.jpg"></center>'
  832. 'As you walk past a stall you notice a small hole torn in the canvas.'
  833. act 'Stop wandering': gt 'pavtrain_market', 'start'
  834. if hour >= 8 and hour <= 18:
  835. act 'Wander around the market': gt 'pavtrain_market','events'
  836. end
  837. gs 'willpower', 'voyeur', 'self', 'easy'
  838. if will_cost <= pcs_willpwr:
  839. act 'Look through the hole (<<will_cost>> Willpower)':
  840. *clr & cla
  841. gs 'arousal', 'voyeur', 2
  842. gs 'willpower', 'pay', 'resist'
  843. gs 'stat'
  844. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pereodev'+rand(1,15)+'.jpg"></center>'
  845. 'You look inside the tent and see ' + $pavtrain_marketrandtext[rand(3,7)]
  846. act 'Leave': gt 'pavtrain_market', 'start'
  847. end
  848. else
  849. act 'Look through the hole (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  850. end
  851. end
  852. if ARGS[0] = 19:
  853. *clr & cla
  854. menu_off = 1
  855. minut += 5
  856. gs 'stat'
  857. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/birthcontrolpills.jpg"></center>'
  858. tovpay = 1500
  859. 'You see a booth selling birth control pills for <<tovpay>> <b>₽</b>.'
  860. act 'Stop wandering': gt 'pavtrain_market', 'start'
  861. if hour >= 8 and hour <= 18:
  862. act 'Wander around the market': gt 'pavtrain_market','events'
  863. end
  864. if money >= tovpay:
  865. act 'Buy birth control pills (1500 <b>₽</b>)':
  866. *clr & cla
  867. minut += 15
  868. tabletki += 1
  869. if rand(0,49) - (6*(8-tovpay/50)) <= 0:
  870. temp = rand(0,3)
  871. if temp = 0:
  872. tabletkiold += 1 & !Pills are expired and less effective
  873. elseif temp = 1:
  874. tabletkifake += 1 & !Pills are counterfeit and useless
  875. elseif temp = 2:
  876. tabletkirej += 1 & !Pills are factory rejects with variable strength
  877. else
  878. !Pills were tampered with
  879. if rand(0,100) = 0:
  880. tabletkifert += 1 & ! pills were replaced with fertility hormones
  881. else
  882. tabletkisug += 1 & ! pills were all replaced with sugar pills
  883. end
  884. end
  885. end
  886. money -= tovpay
  887. gt 'pavtrain_market', 'start'
  888. end
  889. end
  890. end
  891. --- pavtrain_market ---------------------------------