pavtrain_market.qsrc 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  1. # pavtrain_market
  2. !{change log
  3. March 31, 2016
  4. Added rice wine quest
  5. April 20, 2016
  6. Fixed Rice wine event
  7. }
  8. $location_type = 'public_outdoors'
  9. if $ARGS[0] = 'start':
  10. $metka = 'start'
  11. $loc = 'pavtrain_market'
  12. $menu_loc = 'pavtrain_market'
  13. $menu_arg = 'start'
  14. menu_off = 0
  15. CLOSE ALL
  16. if sound = 0:
  17. if month >=11 and month <= 12 or month >=1 and month <=3:
  18. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/zima.mp3',30
  19. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  20. else
  21. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/street_leto.mp3',30
  22. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  23. end
  24. end
  25. clr
  26. gs 'stat'
  27. '<center><h2>Market</h2></center>'
  28. if month >= 11 or month <= 3:
  29. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinokw.jpg"></center>'
  30. else
  31. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinok.jpg"></center>'
  32. end
  33. *nl
  34. 'This small open air market is located near the train station.'
  35. if arturQW = 1 and (week = 6 or week = 7) and hour < 12:
  36. act 'Wait for Aurel to arrive':hour = 12 & gt 'pavtrain_market', 'start'
  37. end
  38. *nl
  39. if hour >= 8 and hour <= 18:
  40. '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.'
  41. if pav_slut >= 50 and rand(0,9) = 0:
  42. '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."'
  43. act 'Go with him':gt 'gevent', '3'
  44. act 'Reject him':
  45. menu_off = 1
  46. *clr & cla
  47. 'You pretend not to understand what he is saying, smiling and shaking your head as you move away from him.'
  48. act 'Return':gt 'pavtrain_market', 'start'
  49. end
  50. exit
  51. end
  52. act 'Wander through the market': gt 'pavtrain_market','events'
  53. act 'Go back to the station': minut += 3 & gt 'pavtrain'
  54. !expand market events from 1.2.4
  55. if arturKnow = 1 and arturQW = 0:
  56. act 'Look for Aurel':gt 'arturRinok', 'start'
  57. elseif arturQW = 1 and (week = 6 or week = 7):
  58. if hour = 12 or hour = 13:
  59. act 'Look for Aurel':gt 'arturRinok', 'work_1'
  60. end
  61. elseif arturQW = 2:
  62. if hour = 16 and minut <= 30:
  63. act 'Look for Aurel':gt 'arturRinok', 'work_2'
  64. elseif hour < 16:
  65. act 'Wait for Aurel to arrive':hour = 16 & minut = 0 & gt 'pavtrain_market', 'start'
  66. end
  67. end
  68. if gobelen > 0 and gobQW = 0:
  69. act'Sell ​​tapestry':
  70. menu_off = 1
  71. *clr & cla
  72. gobQW = 1
  73. minut += 15
  74. gs'stat'
  75. '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."'
  76. '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.'
  77. act 'Leave':gt 'pavtrain_market', 'start'
  78. end
  79. end
  80. if gobelen > 0 and gobQW >= 1:
  81. act'Sell ​​tapestry':
  82. menu_off = 1
  83. *clr & cla
  84. minut += 15
  85. gs'stat'
  86. 'You go to the man who offered to buy your tapestries for 1000 <b>₽</b>. You find him by his stall, smiling.'
  87. if gobQW = 2:
  88. 'Roman welcomes you. He is interested and businesslike as he asks what you have for sale.'
  89. end
  90. if gobQW = 1:
  91. gobQW = 2
  92. minute + 5
  93. '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.'
  94. end
  95. act'Show your tapestry':
  96. *clr & cla
  97. gobelen -= 1
  98. money += 1000
  99. gs'stat'
  100. 'You show your tapestry to Roman and he gives you five hundred for it. You take the money and give him the tapestry.'
  101. act 'Leave':gt 'pavtrain_market', 'start'
  102. end
  103. if gobelen > 1:
  104. act'Sell all of your tapestries':
  105. *clr & cla
  106. kolgob = gobelen
  107. gobelen = 0
  108. moneyGob = kolgob*1000
  109. money += moneyGob
  110. gs'stat'
  111. 'You show Roman your tapestries and he gives you <<moneyGob>> <b>₽</b> for them. You take the money and give him the tapestries.'
  112. act 'Leave':gt 'pavtrain_market', 'start'
  113. end
  114. end
  115. act 'Leave':gt 'pavtrain_market', 'start'
  116. end
  117. end
  118. if ShowerIvan = 5 and porndeal = 0 and rand(1,10) <= 4 and lookwine ! daystart:
  119. *clr & cla
  120. gs 'stat'
  121. minut += 20
  122. menu_off = 1
  123. lookwine = daystart
  124. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  125. '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.'
  126. act 'Ask about wang-goo':
  127. cla
  128. '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.'
  129. '"Onry 2 <b>₽</b>, hundred glam." she said in badly accented Russian, "You buy?"'
  130. '"No," you reply, "I need rice wine, rice wine."'
  131. 'She looks at you in confusion for a moment then suddenly brightened, "Ah!" she exclaims, "Come, come!"'
  132. '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.'
  133. '"Here," the old woman crowed handing you one of the pigs, "Nice swine, vely nice swine."'
  134. '"No, not nice swine," you sigh out in despair, "Rice! Wine."'
  135. '"Yes, yes," the woman counters, "Nice swine, only 5 <b>₽</b>."'
  136. *nl
  137. 'Just as you were about to give up, a young Chinese boy about your brother''s age arrives.'
  138. '"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.'
  139. '"My grandmother asks why you don''t like the piglets?" he translates as the old woman stops.'
  140. '"I don''t want a pig," you reply in relief as his Russian is quite good, "I am looking for rice wine, wang-goo."'
  141. '"Ah, huangjiu!" he exclaims as he turns to his grandmother and starts speaking in Chinese.'
  142. '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.'
  143. '"Why you not say wanted lice wine." she asked in aggrieved tones, "500 <b>₽</b>."'
  144. if money >= 500:
  145. act 'Buy the wine':
  146. *clr & cla
  147. money -= 500
  148. ricewine = 1
  149. 'You hand the woman the money and she gives you the wine.'
  150. act 'Leave': gt 'pavtrain_market', 'start'
  151. end
  152. else
  153. 'You are chocked by the high price and realize that you cannot afford the wine. You apologize and turn away.'
  154. act 'Leave the market': gt 'pavtrain_market', 'start'
  155. act 'Continue browsing the market':
  156. *clr & cla
  157. gs 'stat'
  158. minut += 15
  159. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/market_boy01.jpg"></center>'
  160. 'You continue to wander through the market for another 15 minutes when the boy from the Chinese stall comes up to you.'
  161. '"Hey, you really want that rice wine?" he asks after checking to make sure that no one is watching.'
  162. '"Yes," you answer him, "But it''s too expensive. I can''t afford it."'
  163. '"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."'
  164. if pornmarkonce = 0: pornmarkonce = 1 & '"Where can I find the porn dealer?" you ask and he happily gives you directions.'
  165. act 'Agree': porndeal = 1 & gt 'pavtrain_market', 4
  166. act 'Refuse':
  167. 'You decline his offer as he upsettingly walks away.'
  168. act 'Leave': gt 'pavtrain_market', 'start'
  169. end
  170. end
  171. end
  172. end
  173. elseif ShowerIvan = 5 and lookwine ! daystart:
  174. *clr & cla
  175. menu_off = 1
  176. gs 'stat'
  177. lookwine = daystart
  178. if month >= 11 or month <= 3:
  179. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinokw.jpg"></center>'
  180. else
  181. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinok.jpg"></center>'
  182. end
  183. 'You look around the market, but the Chinese vendors don''t seem to be here today.'
  184. act 'Leave': gt 'pavtrain_market', 'start'
  185. end
  186. if porndeal = 1 and porndealday ! daystart:
  187. *clr & cla
  188. menu_off = 1
  189. gs 'stat'
  190. porndealday = daystart
  191. lookboy = 0
  192. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/market_boy01.jpg"></center>'
  193. 'The boy from the Chinese stall comes up to you as you enter the market.'
  194. '"Do you have it?" he asks eagerly.'
  195. if haveporn = 1:
  196. porndeal = 2 & ! to close the ricewine event
  197. ricewine = 1
  198. '"Do you have the wine?" you counter.'
  199. 'He pulls the bottle out of his backpack and you trade items.'
  200. act 'Leave': gt 'pavtrain_market', 'start'
  201. else
  202. 'You tell him that you haven''t had time to pick up the magazine yet but you were working on it.'
  203. act 'Leave': gt 'pavtrain_market', 'start'
  204. end
  205. end
  206. if porndeal = 1 and porndealday = daystart and lookboy = 0:
  207. *clr & cla
  208. menu_off = 1
  209. gs 'stat'
  210. lookboy = 1
  211. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  212. '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.'
  213. act 'Leave': gt 'pavtrain_market', 'start'
  214. end
  215. else
  216. act 'Wander through the market': gt 'pavtrain_market','events'
  217. act 'Go back to the station': minut += 3 & gt 'pavtrain'
  218. end
  219. end
  220. if $ARGS[0] = 'events':
  221. '<center><h2>Market</h2></center>'
  222. *clr & cla
  223. minut += 10
  224. menu_off = 1
  225. gs 'stat'
  226. rinevrand = rand(1,19)
  227. act 'Wander around the market': gt 'pavtrain_market','events'
  228. act 'Stop wandering': gt 'pavtrain_market', 'start'
  229. if rand(0,3) ! 0:
  230. gs 'pavtrain_market', rinevrand
  231. else
  232. $pavtrain_market_text[3]='you pass a stall, it is selling children''s clothes.'
  233. $pavtrain_market_text[4]='you see a woman looking for underwear.'
  234. $pavtrain_market_text[5]='you notice a half-naked girl trying on clothes.'
  235. $pavtrain_market_text[6]='you look away as a woman tries on a bra.'
  236. $pavtrain_market_text[7]='you don''t see anything unusual, just the usual vegetables and tasteless clothes.'
  237. $pavtrain_market_text[8]='you just see old women in dressing gowns and slippers. Stupid crappy market.'
  238. $pavtrain_market_text[9]='you don''t find anything interesting.'
  239. $pavtrain_market_text[10]='you just see cheap Chinese goods and nothing more.'
  240. $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.'
  241. $pavtrain_market_text[12]='you have to be careful as its so busy. The hustle and bustle makes it hard to find anything worthwhile.'
  242. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/brodit'+rand(1,8)+'.jpg"></center>'
  243. *nl
  244. 'As you are strolling through the market, ' + $pavtrain_market_text[rand(3,12)]
  245. killvar '$pavtrain_market_text'
  246. end
  247. end
  248. if ARGS[0] = 1:
  249. *clr & cla
  250. menu_off = 1
  251. gs 'stat'
  252. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/poproshaika1.jpg"></center>'
  253. 'You are strolling through the market when a beggar asks you for some change.'
  254. act 'Don''t give money':
  255. *clr & cla
  256. gs 'stat'
  257. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/poproshaika2.jpg"></center>'
  258. 'You ignore the beggar and pretend not to hear him.'
  259. act 'Wander around the market': gt 'pavtrain_market','events'
  260. end
  261. act 'Give some money':
  262. *clr & cla
  263. money -= rand(3,20)
  264. pcs_willpwr += 5
  265. pcs_mood += 5
  266. gs 'stat'
  267. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/podaet.jpg"></center>'
  268. 'You give the beggar a few rubles which he kindly thanks you for.'
  269. act 'Wander around the market': gt 'pavtrain_market','events'
  270. end
  271. end
  272. if ARGS[0] = 2:
  273. *clr & cla
  274. menu_off = 1
  275. minut += 5
  276. gs 'stat'
  277. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dedgitara.jpg"></center>'
  278. 'You see an old man playing the guitar. He''s trying to avert as much attention as he can to himself.'
  279. end
  280. if ARGS[0] = 3:
  281. *clr & cla
  282. menu_off = 1
  283. gs 'stat'
  284. if month >= 11 or month <= 3:
  285. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/bookw.jpg"></center>'
  286. else
  287. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/book.jpg"></center>'
  288. end
  289. '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.'
  290. act 'Leave':gt 'pavtrain_market', 'start'
  291. if money >= 350:
  292. act 'Buy a fantasy book (350 <b>₽</b>)':
  293. cls
  294. minut += 15
  295. money -= 350
  296. f_book += 1
  297. gs 'stat'
  298. 'You bought a fantasy book for 350 <b>₽</b>.'
  299. act 'Leave':gt 'pavtrain_market', 'start'
  300. end
  301. end
  302. if money >= 350:
  303. act 'Buy a science fiction book (350 <b>₽</b>)':
  304. cls
  305. minut += 15
  306. money -= 350
  307. f_book += 1
  308. gs 'stat'
  309. 'You bought a science ficiton book for 350 <b>₽</b>.'
  310. act 'Leave':gt 'pavtrain_market', 'start'
  311. end
  312. end
  313. if money >= 350:
  314. act 'Buy a romance novel (350 <b>₽</b>)':
  315. cls
  316. minut += 15
  317. money -= 350
  318. w_book += 1
  319. gs 'stat'
  320. 'You bought a romance novel for 350 <b>₽</b>.'
  321. act 'Leave':gt 'pavtrain_market', 'start'
  322. end
  323. end
  324. end
  325. if ARGS[0] = 4:
  326. *clr & cla
  327. menu_off = 1
  328. gs 'stat'
  329. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  330. '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.'
  331. act 'Leave':gt 'pavtrain_market', 'start'
  332. if money >= 699 and card < 2:
  333. act 'Buy cards (699 <b>₽</b>)':
  334. cls
  335. minut += 5
  336. money -= 699
  337. card = 2
  338. TimesBuyPorno += 1
  339. delact 'Buy cards'
  340. gs 'stat'
  341. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  342. '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.'
  343. act 'Leave':gt 'pavtrain_market', 'start'
  344. act 'Buy something else':gt 'pavtrain_market', 4
  345. end
  346. end
  347. if porndeal = 1:
  348. if money >= 400:
  349. act 'Buy a porn magazine for the Chinese boy (400 <b>₽</b>)':
  350. cls
  351. minut += 5
  352. money -= 400
  353. haveporn = 1
  354. gs 'stat'
  355. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  356. '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.'
  357. act 'Leave':gt 'pavtrain_market', 'start'
  358. act 'Buy something else':gt 'pavtrain_market', 4
  359. end
  360. end
  361. else
  362. act 'Browse the porn magazines':
  363. cls
  364. pcs_horny += 10
  365. gs 'stat'
  366. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  367. act 'Leave':gt 'pavtrain_market', 'start'
  368. act 'Look for something else':gt 'pavtrain_market', 4
  369. if TimesBuyPorno = 0:
  370. '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.'
  371. act 'Look through a magazine':
  372. cla
  373. '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.'
  374. act 'Leave':gt 'pavtrain_market', 'start'
  375. act 'Look for something else':gt 'pavtrain_market', 4
  376. act 'Ask for the price':
  377. cls
  378. minut += 5
  379. gs 'stat'
  380. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  381. '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."'
  382. act 'Leave':gt 'pavtrain_market', 'start'
  383. act 'Look for something else':gt 'pavtrain_market', 4
  384. if money >= 400:
  385. act 'Buy magazine (400 <b>₽</b>)':
  386. cls
  387. minut += 5
  388. money -= 400
  389. pornMagazine = 40
  390. TimesBuyPorno += 1
  391. gs 'stat'
  392. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  393. '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.'
  394. act 'Leave':gt 'pavtrain_market', 'start'
  395. act 'Buy something else':gt 'pavtrain_market', 4
  396. end
  397. end
  398. end
  399. end
  400. elseif TimesBuyPorno > 0 and TimesBuyPorno < 5:
  401. 'The porn dealer notices you coming over and asks, "Looking to buy a magazine? They''re only 400 <b>₽</b> each."'
  402. act 'Look through a magazine':
  403. cla
  404. '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.'
  405. act 'Leave':gt 'pavtrain_market', 'start'
  406. act 'Look for something else':gt 'pavtrain_market', 4
  407. if money >= 400:
  408. act 'Buy magazine (400 <b>₽</b>)':
  409. cls
  410. minut += 5
  411. money -= 400
  412. pornMagazine = 40
  413. TimesBuyPorno += 1
  414. gs 'stat'
  415. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  416. '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.'
  417. act 'Leave':gt 'pavtrain_market', 'start'
  418. act 'Buy something else':gt 'pavtrain_market', 4
  419. end
  420. end
  421. end
  422. elseif TimesBuyPorno >= 5:
  423. 'The porn dealer sees you approaching the stall, "Ah, my best customer! Welcome back!"'
  424. act 'Look through a magazine':
  425. cla
  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. cls
  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. cls
  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. "Only 1000 <b>₽</b>each."'
  452. act 'Leave':gt 'pavtrain_market', 'start'
  453. act 'Look for something else':gt 'pavtrain_market', 4
  454. act 'Buy dildo (700 <b>₽</b>)':
  455. cla
  456. if money >= 700 and dildo = 0:
  457. minut += 5
  458. dildo = 1
  459. money -= 700
  460. pcs_horny += 10
  461. TimesBuyPorno += 1
  462. if pcs_horny >= 50 and pav_slut < 75:
  463. 'You buy a dildo and hastily hide it, while your face blushes with embarrassment.'
  464. else
  465. 'You buy a dildo and calmly hide it.'
  466. end
  467. end
  468. act 'Leave':gt 'pavtrain_market', 'start'
  469. act 'Buy something else':gt 'pavtrain_market', 4
  470. end
  471. act 'Buy vibrator (700 <b>₽</b>)':
  472. cla
  473. if money >= 700 and vibrator = 0:
  474. minut += 5
  475. vibrator = 1
  476. money -= 700
  477. pcs_horny += 10
  478. TimesBuyPorno += 1
  479. if pcs_horny >= 50 and pav_slut < 75:
  480. 'You buy a vibrator and hastily hide it, while your face blushes with embarrassment.'
  481. else
  482. 'You buy a vibrator and calmly hide it.'
  483. end
  484. end
  485. act 'Leave':gt 'pavtrain_market', 'start'
  486. act 'Buy something else':gt 'pavtrain_market', 4
  487. end
  488. act 'Buy butt plug (700 <b>₽</b>)':
  489. cla
  490. if money >= 700 and analplug = 0:
  491. minut += 5
  492. money -= 700
  493. analplug = 1
  494. pcs_horny += 10
  495. TimesBuyPorno += 1
  496. if pcs_horny >= 50 and pav_slut < 75:
  497. 'You buy a butt plug and hastily hide it, while your face blushes with embarrassment.'
  498. else
  499. 'You buy a butt plug and calmly hide it.'
  500. end
  501. end
  502. act 'Leave':gt 'pavtrain_market', 'start'
  503. act 'Buy something else':gt 'pavtrain_market', 4
  504. end
  505. act 'Buy strap-on harness (1000 <b>₽</b>)':
  506. cla
  507. if money >= 1000 and strapon = 0:
  508. minut += 5
  509. strapon = 1
  510. money -= 1000
  511. pcs_horny += 10
  512. TimesBuyPorno += 1
  513. if pcs_horny >= 50 and pav_slut < 75:
  514. 'You buy a strap-on harness and hastily hide it, while your face blushes with embarrassment.'
  515. else
  516. 'You buy a strap-on harness and calmly hide it.'
  517. end
  518. end
  519. act 'Leave':gt 'pavtrain_market', 'start'
  520. act 'Buy something else':gt 'pavtrain_market', 4
  521. end
  522. end
  523. end
  524. if ARGS[0] = 5:
  525. *clr & cla
  526. menu_off = 1
  527. minut += 5
  528. gs 'stat'
  529. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dedgitara.jpg"></center>'
  530. 'You see an old man playing the guitar. He''s trying to avert as much attention as he can to himself.'
  531. end
  532. if ARGS[0] = 6:
  533. *clr & cla
  534. menu_off = 1
  535. minut += 5
  536. gs 'stat'
  537. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/nenavizublyadcigan.jpg"></center>'
  538. 'You meet a Gypsy woman. She offers to tell your fortune.'
  539. act 'Agree':
  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. cla
  553. *clr
  554. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/okliknut.jpg"></center>'
  555. 'You search the area hoping to find the thief, but she has already disappeared into the crowd.'
  556. act 'Back': gt 'pavtrain_market', 'start'
  557. end
  558. end
  559. end
  560. end
  561. if ARGS[0] = 7:
  562. *clr & cla
  563. menu_off = 1
  564. minut += 5
  565. gs 'stat'
  566. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/kosmetic.jpg"></center>'
  567. tovpay = 800
  568. 'You see some cosmetics on sale for <<tovpay>> <b>₽</b>.'
  569. if money >= tovpay:
  570. act 'Buy the cosmetics (800 <b>₽</b>)':
  571. cls
  572. minut += 15
  573. money -= tovpay
  574. kosmetica += 50
  575. gs 'stat'
  576. gt 'pavtrain_market', 'start'
  577. end
  578. end
  579. end
  580. if ARGS[0] = 8:
  581. *clr & cla
  582. menu_off = 1
  583. minut += 5
  584. gs 'stat'
  585. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/vitaminki.jpg"></center>'
  586. tovpay = 105
  587. 'You see some vitamins on sale for <<tovpay>> <b>₽</b>.'
  588. if money >= tovpay:
  589. act 'Buy vitamins (105 <b>₽</b>)':
  590. cls
  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. !!Normal price 500/5, Market price is 50-250
  605. tempdiscount = rand(0,20)
  606. tovpay = 250 - (tempdiscount*10)
  607. 'You see a booth selling condoms for <<tovpay>> <b>₽</b>.'
  608. if money >= tovpay:
  609. act 'Buy condoms (<<tovpay>> <b>₽</b>)':
  610. cls
  611. minut += 15
  612. prezik += 5
  613. i = 5
  614. !!Increasing risk of bad condom with higher discount; 5% at 250, max 75% at 100 (or less)
  615. if tempdiscount > 15: tempdiscount = 15
  616. :cndmlp
  617. if rand(0,20) <= tempdiscount:badprezik += 1
  618. if i > 0: i-= 1 & jump 'cndmlp'
  619. killvar 'i'
  620. money -= tovpay
  621. gt 'pavtrain_market', 'start'
  622. end
  623. end
  624. end
  625. if ARGS[0] = 10:
  626. *clr & cla
  627. menu_off = 1
  628. minut += 5
  629. gs 'stat'
  630. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/balzam.jpg"></center>'
  631. tovpay = 100
  632. 'There is lip balm on sale for <<tovpay>> <b>₽</b>.'
  633. if money >= tovpay:
  634. act 'Buy lip balm (100 <b>₽</b>)':
  635. cls
  636. minut += 15
  637. lipbalm += 30
  638. money -= tovpay
  639. gt 'pavtrain_market', 'start'
  640. end
  641. end
  642. end
  643. if ARGS[0] = 11:
  644. *clr & cla
  645. menu_off = 1
  646. minut += 5
  647. gs 'stat'
  648. if arturKnow = 0:
  649. 'Someone suddenly calls out to you, "Hey pretty girl, do you want a fresh, juicy tangerine?"'
  650. act 'Look': gt 'arturRinok','start'
  651. else
  652. 'Someone suddenly calls out to you, "Hey <<$pcs_nickname>>, do you want a fresh, juicy tangerine?"'
  653. act 'Go and see Aurel': gt 'arturRinok','start'
  654. end
  655. end
  656. if ARGS[0] = 12:
  657. *clr & cla
  658. menu_off = 1
  659. minut += 5
  660. gs 'stat'
  661. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/cheburek.jpg"></center>'
  662. 'Walking through the market, you came across an old woman selling pies.'
  663. if pcs_energy <= 80:
  664. act 'Buy a pie for 20 <b>₽</b>':
  665. cla
  666. *clr
  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. cla
  692. act 'Tell her':
  693. *clr & cla
  694. minut += 2
  695. gs 'stat'
  696. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/vernutwallet.jpg"></center>'
  697. '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.'
  698. act 'Continue walking through the market': gt 'pavtrain_market','events'
  699. end
  700. act 'Look through the purse':
  701. *clr & cla
  702. minut += 5
  703. gs 'stat'
  704. i = rand(40,200)
  705. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/zaglanut.jpg"></center>'
  706. 'You open the wallet and you see that there''s <<i>> <b>₽</b>'
  707. act 'Take the money and throw away the wallet':
  708. *clr & cla
  709. money += i
  710. pcs_mood += 10
  711. gs 'stat'
  712. gt 'pavtrain_market', 'start'
  713. end
  714. act 'Catch up with the woman and return her purse':
  715. *clr & cla
  716. pcs_mood += 5
  717. gs 'stat'
  718. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/proverka.jpg"></center>'
  719. '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.'
  720. act 'Continue walking through the market': gt 'pavtrain_market','events'
  721. end
  722. end
  723. end
  724. if ARGS[0] = 14:
  725. *clr & cla
  726. menu_off = 1
  727. minut += 5
  728. gs 'stat'
  729. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/rebenok.jpg"></center>'
  730. 'You see a young mother and her crying baby.'
  731. end
  732. if ARGS[0] = 15:
  733. *clr & cla
  734. menu_off = 1
  735. minut += 5
  736. gs 'stat'
  737. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/rezba.jpg"></center>'
  738. 'You find a stall with beautiful things carved out of wood and metal.'
  739. end
  740. if ARGS[0] = 16:
  741. *clr & cla
  742. menu_off = 1
  743. minut += 5
  744. gs 'stat'
  745. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/gruzchik.jpg"></center>'
  746. 'Looking around, you almost collide with a man pulling a small cart.'
  747. end
  748. if ARGS[0] = 17:
  749. *clr & cla
  750. menu_off = 1
  751. minut += 5
  752. gs 'stat'
  753. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/meatlavka.jpg"></center>'
  754. 'You wander past a the meet seller and see a butcher working with an axe.'
  755. end
  756. if ARGS[0] = 18:
  757. *clr & cla
  758. menu_off = 1
  759. minut += 5
  760. gs 'stat'
  761. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dirka.jpg"></center>'
  762. 'As you walk past a stall you notice a small hole torn in the canvas.'
  763. act 'Look through the hole':
  764. *clr & cla
  765. if girl > 1: pcs_horny += 5
  766. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pereodev'+rand(1,15)+'.jpg"></center>'
  767. 'You look inside the tent and see ' + $pavtrain_marketrandtext[rand(3,7)]
  768. act 'Leave': gt 'pavtrain_market', 'start'
  769. end
  770. end
  771. if ARGS[0] = 19:
  772. *clr & cla
  773. menu_off = 1
  774. minut += 5
  775. gs 'stat'
  776. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/birthcontrolpills.jpg"></center>'
  777. !Normal price 1870, Market price is 750-1750/pack
  778. tempdiscount = rand(0,40)
  779. tovpay = 1750 - (tempdiscount*50)
  780. 'You see a booth selling birth control pills for <<tovpay>> <b>₽</b>.'
  781. if money >= tovpay:
  782. act 'Buy birth control pills (<<tovpay>> <b>₽</b>)':
  783. cls
  784. minut += 15
  785. tabletki += 1
  786. !Rising chance of bad pills based on price: 2% at 1750/pack, 80% at 750/pack
  787. if rand(0,50) <= tempdiscount:
  788. temp = rand(0,3)
  789. if temp = 0:
  790. tabletkiold += 1 & !Pills are expired and less effective
  791. elseif temp = 1:
  792. tabletkifake += 1 & !Pills are counterfeit and useless
  793. elseif temp = 2:
  794. tabletkirej += 1 & !Pills are factory rejects with variable strength
  795. else
  796. !Pills were tampered with
  797. if rand(0,100) = 0:
  798. tabletkifert += 1 & ! pills were replaced with fertility hormones
  799. else
  800. tabletkisug += 1 & ! pills were all replaced with sugar pills
  801. end
  802. end
  803. end
  804. money -= tovpay
  805. gt 'pavtrain_market', 'start'
  806. end
  807. end
  808. end
  809. --- pavtrain_market ---------------------------------