pav_train_market.qsrc 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025
  1. # pav_train_market
  2. !2021/04/29
  3. $location_type = 'public_outdoors'
  4. if $ARGS[0] = 'start':
  5. killvar 'clothingfilter'
  6. $loc_arg = 'start'
  7. $loc = 'pav_train_market'
  8. $menu_loc = 'pav_train_market'
  9. $menu_arg = 'start'
  10. menu_off = 0
  11. CLOSE ALL
  12. if sound = 0:
  13. if month >=11 and month <= 12 or month >=1 and month <=3:
  14. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/zima.mp3',30
  15. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  16. else
  17. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/street_leto.mp3',30
  18. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  19. end
  20. end
  21. clr
  22. gs 'stat'
  23. '<center><h2>Market</h2></center>'
  24. if month >= 11 or month <= 3:
  25. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinokw.jpg"></center>'
  26. else
  27. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinok.jpg"></center>'
  28. end
  29. *nl
  30. 'This small open-air market is located near the train station.'
  31. *nl
  32. 'A sign on one of the stalls says, "Cash paid for secondhand clothes"; you can sell <a href="exec:gs ''portnoi''">all your unwanted clothes here</a>.'
  33. if arturQW = 1 and (week = 6 or week = 7) and hour < 12: act 'Wait for Arthur to arrive':hour = 12 & gt 'pav_train_market', 'start'
  34. *nl
  35. if hour >= 8 and hour <= 18:
  36. '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.'
  37. if fame['pav_slut'] >= 100 and rand(0,9) = 0:
  38. menu_off = 1
  39. gs 'stat'
  40. '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."'
  41. act 'Reject him':
  42. *clr & cla
  43. 'You pretend not to understand what he is saying, smiling and shaking your head as you move away from him.'
  44. act 'Return':gt 'pav_train_market', 'start'
  45. end
  46. act 'Go with him':gt 'gevent', '3'
  47. exit
  48. end
  49. act 'Go back to the market entrance': minut += 3 & gt 'pav_market'
  50. act 'Wander through the market': gt 'pav_train_market','events'
  51. if pavtrain_book = 1: act 'Go to the book stall': minut += 5 & gt 'pav_train_market', 3
  52. if pavmarket_porn = 1: act 'Go to the porn stall': minut += 5 & gt 'pav_train_market', 4
  53. if arturKnow = 1 and arturQW = 0:
  54. act 'Look for Arthur':gt 'arturRinok', 'start'
  55. elseif arturQW = 1 and (week = 6 or week = 7):
  56. if hour = 12 or hour = 13:
  57. act 'Look for Arthur':gt 'arturRinok', 'work_1'
  58. end
  59. elseif arturQW = 2:
  60. if hour = 16 and minut <= 30:
  61. act 'Look for Arthur':gt 'arturRinok', 'work_2'
  62. elseif hour < 16:
  63. act 'Wait for Arthur to arrive':hour = 16 & minut = 0 & gt 'pav_train_market', 'start'
  64. end
  65. end
  66. if mc_inventory['tapestry'] > 0 and gobQW = 0:
  67. act'Sell tapestry':
  68. menu_off = 1
  69. *clr & cla
  70. gobQW = 1
  71. minut += 15
  72. gs'stat'
  73. '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 interested in buying your tapestries, 1000<b>₽</b> apiece. So come and see me at my stall."'
  74. '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.'
  75. act 'Leave':gt 'pav_train_market', 'start'
  76. end
  77. elseif mc_inventory['tapestry'] > 0 and gobQW >= 1:
  78. act'Sell tapestry':
  79. menu_off = 1
  80. *clr & cla
  81. minut += 15
  82. gs'stat'
  83. 'You go to the man who offered to buy your tapestries for 1000<b>₽</b>. You find him by his stall, smiling.'
  84. if gobQW = 2:
  85. 'Roman welcomes you. He is interested and businesslike as he asks what you have for sale.'
  86. elseif gobQW = 1:
  87. gobQW = 2
  88. minut += 5
  89. 'The man greets you and introduces himself as Roman. You tell him that your name is <<$pcs_nickname>>. After a brief chat, Roman says he wants to see what you have for sale.'
  90. end
  91. act 'Leave':gt 'pav_train_market', 'start'
  92. act'Show your tapestry':
  93. *clr & cla
  94. mc_inventory['tapestry'] -= 1
  95. money += 1000
  96. gs'stat'
  97. 'You show your tapestry to Roman, and he gives you 1000 <b>₽</b>. You take the money and give him the tapestry.'
  98. act 'Leave':gt 'pav_train_market', 'start'
  99. end
  100. if mc_inventory['tapestry'] > 1:
  101. act'Sell all of your tapestries':
  102. *clr & cla
  103. 'You show Roman your tapestries, and he gives you <<mc_inventory['tapestry'] * 1000>> <b>₽</b> for them. You take the money and give him the tapestries.'
  104. money += mc_inventory['tapestry'] * 1000
  105. mc_inventory['tapestry'] = 0
  106. gs'stat'
  107. act 'Leave':gt 'pav_train_market', 'start'
  108. end
  109. end
  110. end
  111. end
  112. if ShowerIvan = 5 and porndeal = 0 and rand(1,10) <= 4 and ricewine ! 1 and lookwine ! daystart:
  113. *clr & cla
  114. gs 'stat'
  115. minut += 20
  116. menu_off = 1
  117. lookwine = daystart
  118. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  119. 'You were looking through the market when you found a stall selling Chinese foods. There are several bottles on a shelf behind the old woman minding the stall.'
  120. act 'Ask about wang-goo':
  121. cla
  122. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  123. '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.'
  124. '"Onry 2 <b>₽</b>, hundred glam." she said in badly accented Russian, "You buy?"'
  125. '"No," you reply, "I need rice wine, rice wine."'
  126. 'She looks at you in confusion for a moment, then suddenly brightens, "Ah!" she exclaims, "Come, come!"'
  127. 'The old woman hurries to the other side of the stall as you follow her to where several smoked piglets are hung in a row.'
  128. '"Here," the old woman crowed, handing you one of the pigs, "Nice swine, vely nice swine."'
  129. '"No, not nice swine," you sigh in despair, "Rice! Wine."'
  130. '"Yes, yes," the woman counters, "Nice swine, only 5 <b>₽</b>."'
  131. *nl
  132. 'Just as you are about to give up, a young Chinese boy about your brother''s age arrives.'
  133. '"My grandmother asks why you don''t like the piglets?" he translates as the old woman stops.'
  134. '"I don''t want a pig," you reply in relief as his Russian is quite good, "I am looking for rice wine, wang-goo."'
  135. '"Ah, huangjiu!" he exclaims as he turns to his grandmother and starts speaking in Chinese.'
  136. '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.'
  137. '"Why you not say wanted rice wine." she asked in aggrieved tones, "500<b>₽</b>."'
  138. if money >= 500:
  139. act 'Buy the wine':
  140. *clr & cla
  141. money -= 500
  142. ricewine = 1
  143. 'You hand the woman the money, and she gives you the wine.'
  144. act 'Leave': gt 'pav_train_market', 'start'
  145. end
  146. else
  147. 'You are shocked by the high price and realize you cannot afford the wine. You apologize and turn away.'
  148. act 'Leave the market': gt 'pav_train_market', 'start'
  149. act 'Continue browsing the market':
  150. *clr & cla
  151. gs 'stat'
  152. minut += 15
  153. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/market_boy01.jpg"></center>'
  154. 'You continue to wander through the market for another 15 minutes when the boy from the Chinese stall comes up to you.'
  155. '"Hey, you really want that rice wine?" he asks after checking to ensure no one is watching.'
  156. '"Yes," you answer him, "But it''s too expensive. I can''t afford it."'
  157. '"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."'
  158. if pornmarkonce = 0: pornmarkonce = 1 & '"Where can I find the porn dealer?" you ask, and he happily gives you directions.'
  159. act 'Refuse':
  160. 'You decline his offer as he upsettingly walks away.'
  161. act 'Leave': gt 'pav_train_market', 'start'
  162. end
  163. act 'Agree': porndeal = 1 & gt 'pav_train_market', 4
  164. end
  165. end
  166. end
  167. elseif ShowerIvan = 5 and ricewine ! 1 and lookwine ! daystart:
  168. *clr & cla
  169. menu_off = 1
  170. gs 'stat'
  171. lookwine = daystart
  172. if month >= 11 or month <= 3:
  173. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinokw.jpg"></center>'
  174. else
  175. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinok.jpg"></center>'
  176. end
  177. 'You look around the market, but the Chinese vendors don''t seem to be here today.'
  178. act 'Leave': gt 'pav_train_market', 'start'
  179. end
  180. if porndeal = 1 and ricewine ! 1 and porndealday ! daystart:
  181. *clr & cla
  182. menu_off = 1
  183. gs 'stat'
  184. porndealday = daystart
  185. lookboy = 0
  186. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/market_boy01.jpg"></center>'
  187. 'The boy from the Chinese stall comes up to you as you enter the market.'
  188. '"Do you have it?" he asks eagerly.'
  189. if haveporn = 1:
  190. porndeal = 2 & ! to close the ricewine event
  191. ricewine = 1
  192. '"Do you have the wine?" you counter.'
  193. 'He pulls the bottle out of his backpack, and you trade items.'
  194. act 'Leave': gt 'pav_train_market', 'start'
  195. else
  196. 'You tell him you haven''t had time to pick up the magazine yet, but you were working on it.'
  197. act 'Leave': gt 'pav_train_market', 'start'
  198. end
  199. elseif porndeal = 1 and ricewine ! 1 and porndealday = daystart and lookboy = 0:
  200. *clr & cla
  201. menu_off = 1
  202. gs 'stat'
  203. lookboy = 1
  204. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  205. 'You look around the market for the boy from the Chinese stall, but you can''t find him. So you decide to look for him another day.'
  206. act 'Leave': gt 'pav_train_market', 'start'
  207. end
  208. act 'View clothing':
  209. cla
  210. minut += 5
  211. gt 'pav_train_market', 'clo'
  212. end
  213. else
  214. 'The market stalls are empty. The market is only open between 08:00 and 19:00.'
  215. act 'Leave the market': minut += 3 & gt 'pav_market'
  216. end
  217. end
  218. if $ARGS[0] = 'clo':
  219. $loc_arg = 'clo'
  220. $loc = 'pav_train_market'
  221. cls
  222. gs'stat'
  223. gs 'themes', 'indoors'
  224. '<center><b><font color="maroon">Clothes.</font></b></center>'
  225. 'Cheap clothing on the market stall.'
  226. gs 'clothing_QV', 'shop_filter_header'
  227. gs 'clothing', 'totals', 'market_outfits'
  228. act 'Return':
  229. cla
  230. minut += 5
  231. gt 'pav_train_market', 'start'
  232. end
  233. !!To filter just this set
  234. clo_i = 0
  235. :loopmarket_outfits_filter
  236. i = 1
  237. :loopmarket_outfits
  238. if market_outfits[i] = 0:
  239. gs 'clothing_attributes', 'market_outfits', i
  240. gs 'clothing_QV', 'shop_filter'
  241. !!sort by filter
  242. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  243. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1:*p '<a href="exec: i = <<i>> & gt ''pav_train_market'', ''marketclo''"><img <<$set_imgh>> src="images/pc/items/market/clothes/<<i>>.jpg" height="250" /></a>'
  244. end
  245. end
  246. i += 1
  247. if i <= total:jump 'loopmarket_outfits'
  248. clo_i += 1
  249. if clothingfilter['quality'] = 0 and clo_i <= 7:
  250. jump 'loopmarket_outfits_filter'
  251. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  252. jump 'loopmarket_outfits_filter'
  253. end
  254. end
  255. if $ARGS[0] = 'marketclo':
  256. cla
  257. if market_outfits[i] ! 0:
  258. msg 'You already own these clothes.'
  259. gt 'pav_train_market', 'clo'
  260. end
  261. gt 'clothing', 'view_clothing_item', 'market_outfits',i, 750, 'shop'
  262. end
  263. if $ARGS[0] = 'events':
  264. *clr & cla
  265. minut += 10
  266. menu_off = 1
  267. gs 'stat'
  268. '<center><h2>Market</h2></center>'
  269. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/brodit'+rand(1,16)+'.jpg"></center>'
  270. 'You wander around the market, taking in the sounds and colours, but nothing catches your eye.'
  271. act 'Stop wandering': gt 'pav_train_market', 'start'
  272. if hour >= 8 and hour <= 18:
  273. act 'Wander around the market': gt 'pav_train_market','events'
  274. end
  275. if rand(0,3) = 0: gt 'pav_train_market', rand(1,19)
  276. end
  277. if ARGS[0] = 1:
  278. *clr & cla
  279. menu_off = 1
  280. gs 'stat'
  281. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/poproshaika1.jpg"></center>'
  282. 'You are strolling through the market when a beggar asks you for some change.'
  283. act 'Don''t give money':
  284. *clr & cla
  285. gs 'stat'
  286. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/poproshaika2.jpg"></center>'
  287. 'You ignore the beggar and pretend not to hear him.'
  288. act 'Stop wandering': gt 'pav_train_market', 'start'
  289. if hour >= 8 and hour <= 18:
  290. act 'Wander around the market': gt 'pav_train_market','events'
  291. end
  292. end
  293. act 'Give some money':
  294. *clr & cla
  295. money -= rand(3,20)
  296. pcs_mood += 5
  297. gs 'stat'
  298. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/podaet.jpg"></center>'
  299. 'You give the beggar a few rubles, which he kindly thanks you for.'
  300. act 'Stop wandering': gt 'pav_train_market', 'start'
  301. if hour >= 8 and hour <= 18:
  302. act 'Wander around the market': gt 'pav_train_market','events'
  303. end
  304. end
  305. end
  306. if ARGS[0] = 2:
  307. *clr & cla
  308. menu_off = 1
  309. minut += 5
  310. gs 'stat'
  311. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dedgitara.jpg"></center>'
  312. 'You see an old man playing the guitar. He''s trying to avert as much attention as he can to himself.'
  313. act 'Stop wandering': gt 'pav_train_market', 'start'
  314. if hour >= 8 and hour <= 18:
  315. act 'Wander around the market': gt 'pav_train_market','events'
  316. end
  317. end
  318. if ARGS[0] = 3:
  319. *clr & cla
  320. menu_off = 1
  321. pavtrain_book = 1
  322. gs 'stat'
  323. if month >= 11 or month <= 3:
  324. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/bookw.jpg"></center>'
  325. else
  326. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/book.jpg"></center>'
  327. end
  328. 'You find a stall selling various books. There are fantasy, science fiction and romance novels, all of which cost only 350<b>₽</b> each.'
  329. act 'Stop wandering': gt 'pav_train_market', 'start'
  330. if hour >= 8 and hour <= 18:
  331. act 'Wander around the market': gt 'pav_train_market','events'
  332. end
  333. if money >= 350:
  334. act 'Buy a fantasy book (350<b>₽</b>)':
  335. *clr & cla
  336. minut += 15
  337. money -= 350
  338. f_book += 1
  339. gs 'stat'
  340. '<center><img <<$set_imgh>> src="images/pc/items/accessories/books/fantasy' + rand(1,9) + '.jpg"></center>'
  341. 'You bought a fantasy book for 350<b>₽</b>.'
  342. act 'Leave':gt 'pav_train_market', 'start'
  343. end
  344. end
  345. if money >= 350:
  346. act 'Buy a science fiction book (350<b>₽</b>)':
  347. *clr & cla
  348. minut += 15
  349. money -= 350
  350. f_book += 1
  351. gs 'stat'
  352. '<center><img <<$set_imgh>> src="images/pc/items/accessories/books/scifi' + rand(1,6) + '.jpg"></center>'
  353. 'You bought a science ficiton book for 350<b>₽</b>.'
  354. act 'Leave':gt 'pav_train_market', 'start'
  355. end
  356. end
  357. if money >= 350:
  358. act 'Buy a romance novel (350<b>₽</b>)':
  359. *clr & cla
  360. minut += 15
  361. money -= 350
  362. w_book += 1
  363. gs 'stat'
  364. '<center><img <<$set_imgh>> src="images/pc/items/accessories/books/romance' + rand(1,20) + '.jpg"></center>'
  365. 'You bought a romance novel for 350 <b>₽</b>.'
  366. act 'Leave':gt 'pav_train_market', 'start'
  367. end
  368. end
  369. end
  370. if ARGS[0] = 4:
  371. *clr & cla
  372. menu_off = 1
  373. pavmarket_porn = 1
  374. gs 'stat'
  375. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  376. 'You find a small stall with many shelves, a large variety of porn magazines, and a pack of brand-new porn playing cards. In addition, you can see several sex toys just behind the counter. The salesman watches over his stall with shifty eyes.'
  377. act 'Stop wandering': gt 'pav_train_market', 'start'
  378. if hour >= 8 and hour <= 18:
  379. act 'Wander around the market': gt 'pav_train_market','events'
  380. end
  381. if money >= 699 and card < 2:
  382. act 'Buy cards (699 <b>₽</b>)':
  383. *clr & cla
  384. minut += 5
  385. money -= 699
  386. mc_inventory['card'] = 2
  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 eyes of the porn dealer as you count the money. You quickly grab the cards and shove them in your purse.'
  391. act 'Leave':gt 'pav_train_market', 'start'
  392. act 'Buy something else':gt 'pav_train_market', 4
  393. end
  394. end
  395. if porndeal = 1:
  396. if money >= 400:
  397. act 'Buy a porn magazine for the Chinese boy (400<b>₽</b>)':
  398. *clr & cla
  399. minut += 5
  400. money -= 400
  401. haveporn = 1
  402. gs 'stat'
  403. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  404. '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.'
  405. act 'Leave':gt 'pav_train_market', 'start'
  406. act 'Buy something else':gt 'pav_train_market', 4
  407. end
  408. end
  409. else
  410. act 'Browse the porn magazines':
  411. *clr & cla
  412. gs 'arousal', 'erotic', 5
  413. gs 'arousal', 'end'
  414. gs 'stat'
  415. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  416. act 'Leave':gt 'pav_train_market', 'start'
  417. act 'Look for something else':gt 'pav_train_market', 4
  418. if TimesBuyPorno = 0:
  419. '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.'
  420. act 'Look through a magazine':
  421. cla
  422. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  423. 'You pick up one of the magazines and flip through the pages. Inside the magazines, you see men with sizeable erect penis engaging in sexual acts with either half-naked or fully naked women. Most of them look close to your own age. You feel yourself getting aroused looking at the images.'
  424. act 'Leave':gt 'pav_train_market', 'start'
  425. act 'Look for something else':gt 'pav_train_market', 4
  426. act 'Ask for the price':
  427. *clr & cla
  428. minut += 5
  429. gs 'stat'
  430. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  431. 'Blushing profusely down to your roots, you approach the porn dealer and stammeringly ask him the price of the magazines. The porn dealer smiles at you and says, "All magazines are <b>400₽</b> each."'
  432. act 'Leave':gt 'pav_train_market', 'start'
  433. act 'Look for something else':gt 'pav_train_market', 4
  434. if money >= 400:
  435. act 'Buy magazine (400 <b>₽</b>)':
  436. *clr & cla
  437. minut += 5
  438. money -= 400
  439. mc_inventory['mag_porn'] = 40
  440. TimesBuyPorno += 1
  441. gs 'stat'
  442. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  443. 'You try not to look into the porn dealer''s eyes as you hand him the money. You take the magazine and quickly hide it under your shirt.'
  444. act 'Leave':gt 'pav_train_market', 'start'
  445. act 'Buy something else':gt 'pav_train_market', 4
  446. end
  447. end
  448. end
  449. end
  450. elseif TimesBuyPorno > 0 and TimesBuyPorno < 5:
  451. 'The porn dealer notices you coming over and asks, "Looking to buy a magazine? They''re only 400 <b>₽</b> each."'
  452. act 'Look through a magazine':
  453. cla
  454. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  455. 'You pick up one of the magazines and flip through the pages. Inside the magazines, you see men with sizeable erect penis engaging in sexual acts with either half-naked or fully naked women. Most of them look close to your own age. You feel yourself getting aroused looking at the images.'
  456. act 'Leave':gt 'pav_train_market', 'start'
  457. act 'Look for something else':gt 'pav_train_market', 4
  458. if money >= 400:
  459. act 'Buy magazine (400 <b>₽</b>)':
  460. *clr & cla
  461. minut += 5
  462. money -= 400
  463. mc_inventory['mag_porn'] = 40
  464. TimesBuyPorno += 1
  465. gs 'stat'
  466. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  467. 'You try not to look into the porn dealer''s eyes as you hand him the money. You take the magazine and quickly hide it under your shirt.'
  468. act 'Leave':gt 'pav_train_market', 'start'
  469. act 'Buy something else':gt 'pav_train_market', 4
  470. end
  471. end
  472. end
  473. elseif TimesBuyPorno >= 5:
  474. 'The porn dealer sees you approaching the stall, "Ah, my best customer! Welcome back!"'
  475. act 'Look through a magazine':
  476. cla
  477. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  478. 'You pick up one of the magazines and flip through the pages. Inside the magazines, you see men with sizeable erect penis engaging in sexual acts with either half-naked or fully naked women. Most of them look close to your own age. You feel yourself getting aroused looking at the images.'
  479. act 'Leave':gt 'pav_train_market', 'start'
  480. act 'Look for something else':gt 'pav_train_market', 4
  481. if money >= 400:
  482. act 'Buy magazine (400 <b>₽</b>)':
  483. *clr & cla
  484. minut += 5
  485. money -= 400
  486. mc_inventory['mag_porn'] = 40
  487. TimesBuyPorno += 1
  488. gs 'stat'
  489. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  490. 'You try not to look into the porn dealer''s eyes as you hand him the money. You take the magazine and quickly hide it under your shirt.'
  491. act 'Leave':gt 'pav_train_market', 'start'
  492. act 'Buy something else':gt 'pav_train_market', 4
  493. end
  494. end
  495. end
  496. end
  497. end
  498. end
  499. act 'Ask to see the sex toys':
  500. *clr & cla
  501. gs 'stat'
  502. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/sextoys.jpg"></center>'
  503. 'He lets you step behind the counter to 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 colours, 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 are several strap-on harnesses without a dildo. "Only 500<b>₽</b> each."'
  504. act 'Leave':gt 'pav_train_market', 'start'
  505. act 'Look for something else':gt 'pav_train_market', 4
  506. if money >= 700 and mc_inventory['dildo_normal'] = 0:
  507. act 'Buy a 15cm dildo (700 <b>₽</b>)':
  508. cla
  509. minut += 5
  510. mc_inventory['dildo_normal'] = 1
  511. money -= 700
  512. pcs_horny += 10
  513. TimesBuyPorno += 1
  514. '<center><img <<$set_imgh>> src="images/pc/items/sextoys/15cm.jpg"></center>'
  515. if pcs_inhib < 35:
  516. 'You buy a dildo and hastily hide it while your face blushes with embarrassment.'
  517. else
  518. 'You buy a dildo and calmly hide it.'
  519. end
  520. act 'Leave':gt 'pav_train_market', 'start'
  521. act 'Buy something else':gt 'pav_train_market', 4
  522. end
  523. end
  524. if money >= 1000 and mc_inventory['dildo_suction'] = 0:
  525. act 'Buy a 15cm suction dildo (1000 <b>₽</b>)':
  526. cla
  527. minut += 5
  528. mc_inventory['dildo_suction'] += 1
  529. money -= 1000
  530. pcs_horny += 10
  531. TimesBuyPorno += 1
  532. '<center><img <<$set_imgh>> src="images/pc/items/sextoys/15cm.jpg"></center>'
  533. if pcs_inhib < 35:
  534. 'You buy the dildo and hastily hide it while your face blushes with embarrassment.'
  535. else
  536. 'You buy the dildo and calmly hide it.'
  537. end
  538. act 'Leave':gt 'pav_train_market', 'start'
  539. act 'Buy something else':gt 'pav_train_market', 4
  540. end
  541. elseif money >= 1000 and mc_inventory['dildo_suction'] > 0:
  542. act 'Buy another 15cm suction dildo (1000<b>₽</b>)':
  543. cla
  544. minut += 5
  545. mc_inventory['dildo_suction'] += 1
  546. money -= 1000
  547. pcs_horny += 10
  548. TimesBuyPorno += 1
  549. '<center><img <<$set_imgh>> src="images/pc/items/sextoys/15cm.jpg"></center>'
  550. if pcs_inhib < 35:
  551. 'You buy the dildo and hastily hide it while your face blushes with embarrassment.'
  552. else
  553. 'You buy the dildo and calmly hide it.'
  554. end
  555. act 'Leave':gt 'pav_train_market', 'start'
  556. act 'Buy something else':gt 'pav_train_market', 4
  557. end
  558. end
  559. if money >= 700 and mc_inventory['vibe'] = 0:
  560. act 'Buy vibrator (700<b>₽</b>)':
  561. cla
  562. minut += 5
  563. mc_inventory['vibe'] = 1
  564. money -= 700
  565. pcs_horny += 10
  566. TimesBuyPorno += 1
  567. if pcs_horny >= 50 and fame['pav_slut'] < 150:
  568. 'You buy a vibrator and hastily hide it while your face blushes with embarrassment.'
  569. else
  570. 'You buy a vibrator and calmly hide it.'
  571. end
  572. act 'Leave':gt 'pav_train_market', 'start'
  573. act 'Buy something else':gt 'pav_train_market', 4
  574. end
  575. end
  576. if money >= 700 and mc_inventory['buttplug'] = 0:
  577. act 'Buy butt plug (700<b>₽</b>)':
  578. cla
  579. minut += 5
  580. money -= 700
  581. mc_inventory['buttplug'] = 1
  582. !!this needs to be changed from analplug bought to smallbp for the smallone
  583. pcs_horny += 10
  584. TimesBuyPorno += 1
  585. '<center><img <<$set_imgh>> src="images/pc/items/sextoys/bp_small.jpg"></center>'
  586. if pcs_horny >= 50 and fame['pav_slut'] < 150:
  587. 'You buy a butt plug and hastily hide it while your face blushes with embarrassment.'
  588. else
  589. 'You buy a butt plug and calmly hide it.'
  590. end
  591. act 'Leave':gt 'pav_train_market', 'start'
  592. act 'Buy something else':gt 'pav_train_market', 4
  593. end
  594. end
  595. if mc_inventory['dildo_normal'] > 0:
  596. if money >= 500 and mc_inventory['strapon'] = 0:
  597. act 'Buy strap-on harness (500<b>₽</b>)':
  598. cla
  599. minut += 5
  600. mc_inventory['strapon'] = 1
  601. strapnumber = 2
  602. money -= 500
  603. pcs_horny += 10
  604. TimesBuyPorno += 1
  605. '<center><img <<$set_imgh>> src="images/pc/items/sextoys/harness.jpg"></center>'
  606. if pcs_horny >= 50 and fame['pav_slut'] < 150:
  607. 'You buy a strap-on harness and hastily hide it while your face blushes with embarrassment.'
  608. else
  609. 'You buy a strap-on harness and calmly hide it.'
  610. end
  611. act 'Leave':gt 'pav_train_market', 'start'
  612. act 'Buy something else':gt 'pav_train_market', 4
  613. end
  614. end
  615. else
  616. if money >= 1200 and mc_inventory['strapon'] = 0 and mc_inventory['dildo_normal'] = 0:
  617. act 'Buy strap-on harness with a 15cm dildo (1200<b>₽</b>)':
  618. cla
  619. minut += 5
  620. mc_inventory['strapon'] = 1
  621. mc_inventory['dildo_normal'] = 1
  622. strapnumber = 2
  623. money -= 1200
  624. pcs_horny += 10
  625. TimesBuyPorno += 1
  626. '<center><img <<$set_imgh>> src="images/pc/items/sextoys/harness.jpg"></center>'
  627. if pcs_horny >= 50 and fame['pav_slut'] < 150:
  628. 'You buy a strap-on harness and hastily hide it while your face blushes with embarrassment.'
  629. else
  630. 'You buy a strap-on harness and calmly hide it.'
  631. end
  632. act 'Leave':gt 'pav_train_market', 'start'
  633. act 'Buy something else':gt 'pav_train_market', 4
  634. end
  635. end
  636. end
  637. end
  638. end
  639. if ARGS[0] = 5:
  640. *clr & cla
  641. menu_off = 1
  642. minut += 5
  643. gs 'stat'
  644. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dedgitara.jpg"></center>'
  645. 'You see an old man playing the guitar. He''s trying to avert as much attention as he can to himself.'
  646. act 'Stop wandering': gt 'pav_train_market', 'start'
  647. if hour >= 8 and hour <= 18:
  648. act 'Wander around the market': gt 'pav_train_market','events'
  649. end
  650. end
  651. if ARGS[0] = 6:
  652. *clr & cla
  653. menu_off = 1
  654. minut += 5
  655. gs 'stat'
  656. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/nenavizublyadcigan.jpg"></center>'
  657. 'You meet a Gypsy woman. She offers to tell your fortune.'
  658. act 'Decline': gt 'pav_train_market', 'start'
  659. act 'Accept':
  660. *clr & cla
  661. minut += 5
  662. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/gadaet'+rand(1,2)+'.jpg"></center>'
  663. 'You agree, and Gypsy takes your hand before she predicts you will have great happiness and lots of money. Afterwards, she promptly walks away.'
  664. act 'Something''s wrong':
  665. *clr & cla
  666. money = 0
  667. pcs_mood -= 50
  668. gs 'stat'
  669. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pusto.jpg"></center>'
  670. 'With a sneaking suspicion, you start looking through your stuff. Unfortunately, your wallet is nowhere to be found!'
  671. act 'Find the Gypsy':
  672. *clr & cla
  673. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/okliknut.jpg"></center>'
  674. 'You search the area hoping to find the thief, but she has already disappeared into the crowd.'
  675. act 'Back': gt 'pav_train_market', 'start'
  676. end
  677. end
  678. end
  679. end
  680. if ARGS[0] = 7:
  681. *clr & cla
  682. menu_off = 1
  683. minut += 5
  684. gs 'stat'
  685. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/kosmetic.jpg"></center>'
  686. tovpay = 800
  687. 'You see some cosmetics on sale for <<tovpay>> <b>₽</b>.'
  688. act 'Stop wandering': gt 'pav_train_market', 'start'
  689. if hour >= 8 and hour <= 18:
  690. act 'Wander around the market': gt 'pav_train_market','events'
  691. end
  692. if money >= tovpay:
  693. act 'Buy the cosmetics (800<b>₽</b>)':
  694. minut += 15
  695. money -= tovpay
  696. mc_inventory['cosmetics'] += 50
  697. gt 'pav_train_market', 'start'
  698. end
  699. end
  700. end
  701. if ARGS[0] = 8:
  702. *clr & cla
  703. menu_off = 1
  704. minut += 5
  705. gs 'stat'
  706. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/vitaminki.jpg"></center>'
  707. tovpay = 105
  708. 'You see some vitamins on sale for <<tovpay>> <b>₽</b>.'
  709. act 'Stop wandering': gt 'pav_train_market', 'start'
  710. if hour >= 8 and hour <= 18:
  711. act 'Wander around the market': gt 'pav_train_market','events'
  712. end
  713. if money >= tovpay:
  714. act 'Buy vitamins (105<b>₽</b>)':
  715. minut += 15
  716. mc_inventory['vitamins'] += 20
  717. money -= tovpay
  718. gt 'pav_train_market', 'start'
  719. end
  720. end
  721. end
  722. if ARGS[0] = 9:
  723. *clr & cla
  724. menu_off = 1
  725. minut += 5
  726. gs 'stat'
  727. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/condoms.jpg"></center>'
  728. tovpay = 80
  729. 'You see a booth selling condoms for <<tovpay>> <b>₽</b>.'
  730. act 'Stop wandering': gt 'pav_train_market', 'start'
  731. if hour >= 8 and hour <= 18:
  732. act 'Wander around the market': gt 'pav_train_market','events'
  733. end
  734. if money >= tovpay:
  735. act 'Buy condoms (80<b>₽</b>)':
  736. minut += 15
  737. mc_inventory['equipped_condoms'] += 5
  738. i = 5
  739. :cndmlp
  740. if rand(0,49)-6*(8-tovpay/10) <= 0:mc_inventory['bad_condoms'] += 1
  741. if i > 0: i-= 1 & jump 'cndmlp'
  742. killvar 'i'
  743. money -= tovpay
  744. gt 'pav_train_market', 'start'
  745. end
  746. end
  747. end
  748. if ARGS[0] = 10:
  749. *clr & cla
  750. menu_off = 1
  751. minut += 5
  752. gs 'stat'
  753. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/balzam.jpg"></center>'
  754. tovpay = 100
  755. 'There is lip balm on sale for <<tovpay>> <b>₽</b>.'
  756. act 'Stop wandering': gt 'pav_train_market', 'start'
  757. if hour >= 8 and hour <= 18:
  758. act 'Wander around the market': gt 'pav_train_market','events'
  759. end
  760. if money >= tovpay:
  761. act 'Buy lip balm (100<b>₽</b>)':
  762. *clr & cla
  763. minut += 15
  764. mc_inventory['lipbalm'] += 30
  765. money -= tovpay
  766. gt 'pav_train_market', 'start'
  767. end
  768. end
  769. end
  770. if ARGS[0] = 11:
  771. *clr & cla
  772. menu_off = 1
  773. minut += 5
  774. gs 'stat'
  775. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/arthur/artur.jpg"></center>'
  776. if arturKnow = 0:
  777. 'Someone suddenly calls out, "Hey, pretty girl, do you want a fresh, juicy tangerine?"'
  778. act 'Look': gt 'arturRinok','start'
  779. else
  780. 'Someone suddenly calls out, "Hey, <<$pcs_nickname>>, do you want a fresh, juicy tangerine?"'
  781. act 'Go and see Arthur': gt 'arturRinok','start'
  782. end
  783. end
  784. if ARGS[0] = 12:
  785. *clr & cla
  786. menu_off = 1
  787. minut += 5
  788. gs 'stat'
  789. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/cheburek.jpg"></center>'
  790. 'Walking through the market, you came across an old woman selling pies.'
  791. act 'Stop wandering': gt 'pav_train_market', 'start'
  792. if hour >= 8 and hour <= 18:
  793. act 'Wander around the market': gt 'pav_train_market','events'
  794. end
  795. if pcs_energy <= 80:
  796. act 'Buy a pie for 20 <b>₽</b>':
  797. *clr & cla
  798. fat+=3
  799. frost = 0
  800. pcs_health += 5
  801. pcs_mood += 5
  802. pcs_hydra -= 5
  803. pcs_energy+=5
  804. money-=20
  805. minut+=10
  806. gs 'stat'
  807. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/eat.jpg"></center>'
  808. 'The pie is still warm as the woman hands it over to you. Then, barely able to keep yourself away from it, you find a place to sit and enjoy the pie.'
  809. act 'Continue walking through the market': gt 'pav_train_market','events'
  810. end
  811. else
  812. *p ', But you are not hungry right now.'
  813. end
  814. end
  815. if ARGS[0] = 13:
  816. *clr & cla
  817. menu_off = 1
  818. minut += 5
  819. gs 'stat'
  820. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dropwallet.jpg"></center>'
  821. 'You see a wallet fall out of a woman''s purse.'
  822. act 'Tell her':
  823. *clr & cla
  824. minut += 2
  825. gs 'stat'
  826. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/vernutwallet.jpg"></center>'
  827. 'You call the woman and hold out her wallet. She looks at you and, realising, gratefully takes her wallet back and walks away.'
  828. act 'Continue walking through the market': gt 'pav_train_market','events'
  829. end
  830. act 'Look through the purse':
  831. *clr & cla
  832. minut += 5
  833. gs 'stat'
  834. i = rand(40,200)
  835. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/zaglanut.jpg"></center>'
  836. 'You open the wallet and you see that there''s <<i>><b>₽</b>'
  837. gs 'willpower', 'misc', 'self', 'easy'
  838. if will_cost <= pcs_willpwr:
  839. act 'Take the money and throw away the wallet (<<will_cost>> Willpower)':
  840. *clr & cla
  841. money += i
  842. pcs_mood += 10
  843. killvar 'i'
  844. gs 'willpower', 'pay', 'resist'
  845. gs 'stat'
  846. 'You just need the money.'
  847. act 'Continue': gt 'pav_train_market','start'
  848. end
  849. else
  850. 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>'
  851. end
  852. act 'Catch up with the woman and return her purse':
  853. *clr & cla
  854. pcs_mood += 5
  855. gs 'stat'
  856. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/proverka.jpg"></center>'
  857. 'You catch up with the woman, and telling her she dropped something, you hand her the purse. The woman checks that her money is still there, and seeing everything in place, she thanks you and walks away.'
  858. act 'Stop wandering': gt 'pav_train_market', 'start'
  859. if hour >= 8 and hour <= 18:
  860. act 'Wander around the market': gt 'pav_train_market','events'
  861. end
  862. end
  863. end
  864. end
  865. if ARGS[0] = 14:
  866. *clr & cla
  867. menu_off = 1
  868. minut += 5
  869. gs 'stat'
  870. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/rebenok.jpg"></center>'
  871. 'You see a young mother and her crying baby.'
  872. act 'Stop wandering': gt 'pav_train_market', 'start'
  873. if hour >= 8 and hour <= 18:
  874. act 'Wander around the market': gt 'pav_train_market','events'
  875. end
  876. end
  877. if ARGS[0] = 15:
  878. *clr & cla
  879. menu_off = 1
  880. minut += 5
  881. gs 'stat'
  882. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/rezba.jpg"></center>'
  883. 'You find a stall with beautiful things carved out of wood and metal.'
  884. act 'Stop wandering': gt 'pav_train_market', 'start'
  885. if hour >= 8 and hour <= 18:
  886. act 'Wander around the market': gt 'pav_train_market','events'
  887. end
  888. end
  889. if ARGS[0] = 16:
  890. *clr & cla
  891. menu_off = 1
  892. minut += 5
  893. gs 'stat'
  894. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/gruzchik.jpg"></center>'
  895. 'Looking around, you almost collide with a man pulling a small cart.'
  896. act 'Stop wandering': gt 'pav_train_market', 'start'
  897. if hour >= 8 and hour <= 18:
  898. act 'Wander around the market': gt 'pav_train_market','events'
  899. end
  900. end
  901. if ARGS[0] = 17:
  902. *clr & cla
  903. menu_off = 1
  904. minut += 5
  905. gs 'stat'
  906. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/meatlavka.jpg"></center>'
  907. 'You wander past the meat seller and see a butcher working with an axe.'
  908. act 'Stop wandering': gt 'pav_train_market', 'start'
  909. if hour >= 8 and hour <= 18:
  910. act 'Wander around the market': gt 'pav_train_market','events'
  911. end
  912. end
  913. if ARGS[0] = 18:
  914. *clr & cla
  915. menu_off = 1
  916. minut += 5
  917. gs 'stat'
  918. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dirka.jpg"></center>'
  919. 'As you walk past a stall, you notice a small hole torn in the canvas.'
  920. act 'Stop wandering': gt 'pav_train_market', 'start'
  921. if hour >= 8 and hour <= 18:
  922. act 'Wander around the market': gt 'pav_train_market','events'
  923. end
  924. gs 'willpower', 'voyeur', 'self', 'easy'
  925. if will_cost <= pcs_willpwr:
  926. act 'Look through the hole (<<will_cost>> Willpower)':
  927. *clr & cla
  928. gs 'arousal', 'voyeur', 2
  929. gs 'willpower', 'pay', 'resist'
  930. gs 'stat'
  931. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pereodev'+rand(1,15)+'.jpg"></center>'
  932. 'You look inside the tent and see ' + $pavtrain_marketrandtext[rand(3,7)]
  933. act 'Leave': gt 'pav_train_market', 'start'
  934. end
  935. else
  936. 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>'
  937. end
  938. end
  939. if ARGS[0] = 19:
  940. *clr & cla
  941. menu_off = 1
  942. minut += 5
  943. gs 'stat'
  944. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/birthcontrolpills.jpg"></center>'
  945. tovpay = 1500
  946. 'You see a booth selling birth control pills for <<tovpay>> <b>₽</b>.'
  947. act 'Stop wandering': gt 'pav_train_market', 'start'
  948. if hour >= 8 and hour <= 18:
  949. act 'Wander around the market': gt 'pav_train_market','events'
  950. end
  951. if money >= tovpay and therapistFuckedPussyStage < 2:
  952. act 'Buy birth control pills (1500 <b>₽</b>)':
  953. *clr & cla
  954. minut += 15
  955. mc_inventory['contraceptive_pill'] += 1
  956. temp = rand(0,3)
  957. if temp = 0:
  958. tabletkiold += 1 & !Pills are expired and less effective
  959. elseif temp = 1:
  960. tabletkifert += 1 & ! pills were replaced with fertility hormones
  961. elseif temp = 2:
  962. tabletkirej += 1 & !Pills are factory rejects with variable strength
  963. else
  964. !Pills were tampered with
  965. if rand(0,1) = 1:
  966. tabletkifake += 1 & !Pills are counterfeit and useless
  967. else
  968. tabletkisug += 1 & ! pills were all replaced with sugar pills
  969. end
  970. end
  971. money -= tovpay
  972. gt 'pav_train_market', 'start'
  973. end
  974. end
  975. end
  976. --- pav_train_market ---------------------------------