shop.qsrc 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732
  1. # shop
  2. !! This is the supermarket, located in several places
  3. !! Main entrance
  4. if $ARGS[0] = 'start':
  5. CLOSE ALL
  6. if sound = 0:PLAY 'sound/shop.mp3',30
  7. $shoplocation = 'main'
  8. end
  9. if $ARGS[0] = 'start' or $ARGS[0] = 'move':
  10. minut += 1
  11. end
  12. !! Main area
  13. if $shoplocation = 'main':
  14. cla
  15. *clr
  16. '<center><b><font color="maroon">Supermarket</font></b></center>'
  17. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop.jpg"></center>'
  18. if hour < 8 or hour > 20:
  19. 'The supermarket is currently closed.'
  20. act 'Leave the store':minut += 1 & gt $loc
  21. exit
  22. end
  23. 'In the hall stands an <a href="exec:$shoplocation = ''ATM'' & gt ''shop'', ''move''">ATM</a>, from which you can withdraw money from your bank account.'
  24. 'There is a branch of communication giants <a href="exec:$shoplocation = ''megafon'' & gt ''shop'', ''move''">MegaFon</a>.'
  25. 'On the other side is on the wall <a href="exec: gs ''noticeboard'',''start''">Public notice board</a>, where you can check various private and official advertisement.'
  26. '<br>Most of the space in the supermarket is taken up by the <a href="exec:$shoplocation = ''grocery'' & gt ''shop'', ''move''">grocery department</a>, but the store has many smaller departments as well. <a href="exec:$shoplocation=''cosmetics'' & gt ''shop'', ''move''">Cosmetics</a>, <a href="exec:$shoplocation = ''hardware'' & gt ''shop'', ''move''">hardware</a>, <a href="exec:$shoplocation = ''clothing'' & gt ''shop'', ''move''">clothing</a> and the department of <a href="exec:$shoplocation = ''tech'' & gt ''shop'', ''move''">household appliances</a>. Not far from the entrance is a <a href="exec:$shoplocation = ''icecream'' & gt ''shop'', ''move''">counter selling ice cream</a>.'
  27. clr
  28. gs 'stat'
  29. if night_mode = 1:
  30. fcolor = rgb(255, 255, 255)
  31. bcolor = rgb(0, 0, 0)
  32. lcolor = rgb(106, 90, 205)
  33. elseif night_mode = 2:
  34. fcolor = rgb(255, 255, 255)
  35. bcolor = rgb(20, 20, 20)
  36. lcolor = rgb(106, 90, 205)
  37. else
  38. fcolor = rgb(0, 0, 0)
  39. bcolor = rgb(255, 255, 255)
  40. lcolor = rgb(106, 90, 205)
  41. end
  42. !! The store in the town and in the altstart only
  43. if $loc = 'pavCommercial' and StoryLine = 1:
  44. if week < 6 and hour >= 8 and hour < 16:
  45. 'Your sister <a href="exec:$shoplocation = ''Anya'' & gt ''shop'', ''move''">Anya</a> is sitting at the cash register.'
  46. end
  47. end
  48. !! Store in the residential district
  49. if $loc = 'street':
  50. if rand(1, 20) = 20:
  51. if dimaQW = 0:
  52. 'By the store entrance a man is looking at you appreciatively.'
  53. act 'Return the look':gt 'event', 'dima'
  54. elseif dimaQW = 1:
  55. 'In the lobby of the store you notice Dima and you are frozen with fear, you want to run, but your legs won''t respond.'
  56. 'Your heart is thumping in your chest, your vision narrows, you feel faint.'
  57. act 'Pass out':gt 'event', 'scoreslut1'
  58. else
  59. 'You meet the same Dima whos friend fucked and abused you. Dima grins confidently and says, "Hello."'
  60. act 'Hello':
  61. cla
  62. '"Come with me, My wife''s away", says Dima.'
  63. act 'Fuck no':gt 'shop', 'start'
  64. act 'I deserve this':
  65. cla
  66. *clr
  67. if rand(1, 2) = 1:
  68. cla
  69. stat['vaginal'] += 1
  70. oral += 1
  71. pcs_throat += 1
  72. spafinloc = 12
  73. gs 'cum_manage'
  74. swallow += 1
  75. pcs_horny = 0
  76. minut += 10
  77. 'Dima takes you to his house and orders you to lie across the sofa. You get on into position, he calls you a bitch and a starts fucking you in the mouth.'
  78. '<center><img <<$set_imgh>> src="images/locations/city/residential/street/sex/gostdt2.jpg"></center>'
  79. 'Dima finally finishes in your mouth, you obediently swallow and lick the remnants of sperm off his big cock.'
  80. act 'Leave': minut += 3 & gt 'street'
  81. else
  82. cla
  83. stat['vaginal'] += 1
  84. stat['anal'] += 1
  85. spafinloc = 4
  86. gs 'cum_manage'
  87. spank += 1
  88. boom = 5
  89. pcs_horny = 0
  90. minut += 30
  91. 'Dima has brings you to his house and right in the corridor begins to kiss and undress you. When you are naked he takes you to the bathroom.'
  92. 'There he unscrews the showerhead and puts the hose in your ass. Quickly you feel the fullness and Dima sits you on the toilet. After the rough enema, he bends you over and puts his big dick in your ass.'
  93. '<center><img <<$set_imgh>> src="images/locations/city/residential/street/sex/gostanal2.jpg"></center>'
  94. 'Dima fucks you in the ass whilst slapping your butt, at first it is painful, but gradually you get it and it feels amazing. Finally, your ass fills with hot liquid and Dima moans and grabs your buttocks.'
  95. act 'Leave': minut += 3 & gt 'street'
  96. end
  97. end
  98. end
  99. end
  100. end
  101. end
  102. '<br>The store is crowded with shoppers.'
  103. !! This is connected to the trade mission
  104. if TorgPredZ > 0:
  105. !! the location of the shop hasn''t been done today
  106. if ($loc = 'street' and StreetShopTPday ! daystart) or ($loc = 'Nord' and nordShopTPday ! daystart) or ($loc = 'torgcentr' and downShopTPday ! daystart):
  107. act 'Arrange products':
  108. if $loc = 'street':StreetShopTPday = daystart
  109. if $loc = 'Nord':nordShopTPday = daystart
  110. if $loc = 'torgcentr':downShopTPday = daystart
  111. cls
  112. mtprand = rand(40, 130)
  113. minut += mtprand
  114. TorgPredZ -= 1
  115. TorgPredZV += 1
  116. gs 'stat'
  117. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop.jpg"></center>'
  118. 'You arranged the products for quite a while and when I finally managed, then went to the cashier and you check it struck.'
  119. act 'Exit':gt 'shop', 'start'
  120. end
  121. end
  122. end
  123. act 'Leave the store': minut += 3 & gt $loc
  124. exit
  125. end
  126. !! ATM
  127. if $shoplocation = 'ATM':
  128. '<center><b><font color="maroon">ATM</font></b></center>'
  129. '<center><img <<$set_imgh>> src="images/locations/shared/store/atm.jpg"></center>'
  130. if bankAccount = 1:
  131. if karta >= 0:
  132. 'You have <<karta>> <b>₽</b> in your account.'
  133. 'You have an overdraft limit of <font color="blue"><<bankDebtLimit>></font>!'
  134. else
  135. 'You are overdrawn by <font color="red"><<-1 * karta>> <b>₽</b></font>.'
  136. 'You have a remaining credit limit of <font color="blue"><<bankDebtLimit + karta>></font>!'
  137. end
  138. '<br>ATM Deposit Fee: 100 <b>₽</b>'
  139. if atmDeposit = 0:
  140. act 'Deposit money':
  141. cla
  142. minut += 5
  143. kartaINATM = input ("How much money you want to deposit into the account? Note: A service charge of 100 <b>₽</b> will be deducted from the amount deposited.")
  144. if kartaINATM < 100 or kartaINATM > money:
  145. 'This is not a valid input.'
  146. else
  147. atmDeposit += kartaINATM - 100
  148. atmDepositDate = daystart + 2
  149. money -= kartaINATM
  150. '<br>You deposited <<kartaINATM>> <b>₽</b> into your account.'
  151. 'It will take 2 days for funds to be available. Your new balance will be <<karta+atmDeposit>> <b>₽</b>.'
  152. end
  153. gs 'stat'
  154. act 'Move away': gt 'shop'
  155. end
  156. else
  157. '<br>★ Processing deposit of <<atmDeposit>> <b>₽</b> in <<atmDepositDate - daystart>> days.'
  158. end
  159. if karta + bankDebtLimit > 0:
  160. act 'Withdraw money from the ATM':
  161. cla
  162. minut += 5
  163. kartaOUT = input ("How much money you want to withdraw?")
  164. if kartaOUT <= 0 or kartaOUT > karta + bankDebtLimit:
  165. '<br>Invalid operation.'
  166. else
  167. karta -= kartaOUT
  168. money += kartaOUT
  169. if karta > 0:
  170. '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have <<karta>> <b>₽</b> left in your bank account.'
  171. elseif karta = 0:
  172. '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have no money left in your bank account.'
  173. else
  174. '<br>You withdraw <<kartaOUT>> <b>₽</b>. <font color="red">Your bank account is overdrawn by <b><<karta>> ₽</b>.</font>'
  175. end
  176. end
  177. gs 'stat'
  178. act 'Move away': gt 'shop'
  179. end
  180. else
  181. 'You have maxed out your overdraft.'
  182. end
  183. else
  184. 'You don''t have a bank account yet!'
  185. end
  186. act 'Move away':gt 'shop', 'start'
  187. end
  188. !! Grocery
  189. if $shoplocation = 'grocery':
  190. cla
  191. *clr
  192. '<center><b><font color="maroon">Grocery</font></b></center>'
  193. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop1.jpg"></center>'
  194. if hour < 8 or hour > 20:
  195. 'The grocery is currently closed.'
  196. act 'Leave the grocery':gt 'shop', 'start'
  197. exit
  198. end
  199. !! output from purchase
  200. if $message ! '':
  201. '<center>'+$message+'</center>'
  202. killvar '$message'
  203. else
  204. ''
  205. end
  206. *pl '<center><table align="center" width=80%>'
  207. *P FUNC ('$stock_item', 1, 'Regular food', 80, 'eda', $CURLOC)
  208. *P FUNC ('$stock_item', 10, 'Regular food', 800, 'eda', $CURLOC)
  209. *P FUNC ('$stock_item', 1, 'Diet food', 300, 'edaD', $CURLOC)
  210. *P FUNC ('$stock_item', 10, 'Diet food', 3000, 'edaD', $CURLOC)
  211. *P FUNC ('$stock_item', 10, 'Tea biscuits', 400, 'pranik', $CURLOC)
  212. *P FUNC ('$single_stock_item', 1, 'Bottle of water', 100, 'bottle', $CURLOC, '', iif(bag > 0, 0, 1), 'You need a handbag')
  213. *P FUNC ('$single_stock_item', 1, 'Sandwich', 100, 'buterbrod', $CURLOC, '', iif(bag > 0, 0, 1), 'You need a handbag')
  214. *P FUNC ('$single_stock_item', 1, 'Cheap Bottle of wine', 200, 'wine', $CURLOC, '', iif(bag > 0, 0, 1), 'You need a handbag')
  215. *P '</table></center>'
  216. gs 'stat'
  217. if night_mode = 1:
  218. fcolor = rgb(255, 255, 255)
  219. bcolor = rgb(0, 0, 0)
  220. lcolor = rgb(106, 90, 205)
  221. elseif night_mode = 2:
  222. fcolor = rgb(255, 255, 255)
  223. bcolor = rgb(20, 20, 20)
  224. lcolor = rgb(106, 90, 205)
  225. else
  226. fcolor = rgb(0, 0, 0)
  227. bcolor = rgb(255, 255, 255)
  228. lcolor = rgb(106, 90, 205)
  229. end
  230. act 'Leave the grocery':gt 'shop', 'start'
  231. end
  232. !! Cosmetics
  233. !! The scrunchies and hairpins sold here are from the Maruda Hair Mod
  234. if $shoplocation= 'cosmetics':
  235. cla
  236. *clr
  237. '<center><b><font color="maroon">Cosmetics Department</font></b></center>'
  238. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop2.jpg"></center>'
  239. if hour < 8 or hour > 20:
  240. 'The cosmetics department is currently closed.'
  241. act 'Leave the cosmetics department':gt 'shop', 'start'
  242. exit
  243. end
  244. !! output from purchase
  245. if $message ! '':
  246. '<center>'+$message+'</center>'
  247. killvar '$message'
  248. else
  249. ''
  250. end
  251. *pl '<center><table align="center" width=80%>'
  252. *P FUNC ('$stock_item', 50, 'Cosmetics', 1300, 'kosmetica', $CURLOC)
  253. *P FUNC ('$stock_item', 10, 'Plain false lashes', 1500, 'falselashesplain',$CURLOC)
  254. *P FUNC ('$stock_item', 3, 'Mink false lashes', 900, 'falselashesmink',$CURLOC)
  255. *P FUNC ('$stock_item', 40, 'Razors', 700, 'stanok', $CURLOC)
  256. *P FUNC ('$stock_item', 20, 'Sunblock', 500, 'krem', $CURLOC)
  257. *P FUNC ('$stock_item', 20, 'Tampons', 200, 'tampon', $CURLOC)
  258. *P FUNC ('$stock_item', 20, 'Sanitary napkins', 100, 'sanpad', $CURLOC)
  259. *P FUNC ('$stock_item', 30, 'Shampoo', 250, 'shampoo', $CURLOC)
  260. *P FUNC ('$stock_item', 10, 'Hair scrunchies', 80, 'hscrunch', $CURLOC)
  261. *P FUNC ('$stock_item', 12, 'Hair pins', 100, 'hpingrip', $CURLOC)
  262. *P FUNC ('$stock_item', 10, 'Wipes', 50, 'salfetka', $CURLOC, '', iif(bag > 0, 0, 1), 'You need a handbag')
  263. *P FUNC ('$stock_item', 10, 'Portable makeup', 700, 'kosmetitka', $CURLOC, '', iif(bag > 0, 0, 1), 'You need a handbag')
  264. *P FUNC ('$stock_item', 20, 'Mouthwash', 150, 'mouthwash', $CURLOC, '', iif(bag > 0, 0, 1), 'You need a handbag')
  265. *P FUNC ('$single_stock_item', 1, 'Comb', 150, 'greben', $CURLOC, '', iif(bag > 0, 0, 1), 'You need a handbag')
  266. *P '</table></center>'
  267. gs 'stat'
  268. if night_mode = 1:
  269. fcolor = rgb(255, 255, 255)
  270. bcolor = rgb(0, 0, 0)
  271. lcolor = rgb(106, 90, 205)
  272. elseif night_mode = 2:
  273. fcolor = rgb(255, 255, 255)
  274. bcolor = rgb(20, 20, 20)
  275. lcolor = rgb(106, 90, 205)
  276. else
  277. fcolor = rgb(0, 0, 0)
  278. bcolor = rgb(255, 255, 255)
  279. lcolor = rgb(106, 90, 205)
  280. end
  281. act 'Leave the cosmetics department':
  282. gt 'shop', 'start'
  283. end
  284. if $loc = 'torgcentr': gs 'shoplifting', 'city'
  285. end
  286. !! Hardware
  287. if $shoplocation = 'hardware':
  288. cla
  289. *clr
  290. '<center><b><font color="maroon">Division of household goods</font></b></center>'
  291. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop3.jpg"></center>'
  292. if hour < 8 or hour > 20:
  293. 'The hardware department is currently closed.'
  294. act 'Leave the hardware department':gt 'shop', 'start'
  295. exit
  296. end
  297. !! output from purchase
  298. if $message ! '':
  299. '<center>'+$message+'</center>'
  300. killvar '$message'
  301. else
  302. ''
  303. end
  304. *pl '<center><table align="center" width=80%>'
  305. *P FUNC ('$stock_item', 20, 'Dishwashing detergent', 500, 'fairy', $CURLOC)
  306. *P FUNC ('$stock_item', 30, 'Clothing detergent', 500, 'poroshok', $CURLOC)
  307. *P FUNC ('$stock_item', 5, 'Plates', 450, 'cltarelka', $CURLOC)
  308. *P '</table></center>'
  309. *nl
  310. gs 'stat'
  311. if night_mode = 1:
  312. fcolor = rgb(255, 255, 255)
  313. bcolor = rgb(0, 0, 0)
  314. lcolor = rgb(106, 90, 205)
  315. elseif night_mode = 2:
  316. fcolor = rgb(255, 255, 255)
  317. bcolor = rgb(20, 20, 20)
  318. lcolor = rgb(106, 90, 205)
  319. else
  320. fcolor = rgb(0, 0, 0)
  321. bcolor = rgb(255, 255, 255)
  322. lcolor = rgb(106, 90, 205)
  323. end
  324. act 'Leave the hardware department':gt 'shop', 'start'
  325. if sewing_kit = 0 and money >= 500:
  326. act'Buy sewing kit for 500 <b>₽</b>':
  327. cla & *clr
  328. sewing_kit = 1
  329. money -= 500
  330. 'You buy a sewing kit'
  331. act'Move away from the counter':gt'shop'
  332. end
  333. end
  334. '<left>On the counter you can see fabric suitable for sewing. It''s sold in large squares costing 50 <b>₽</b> each.</left>'
  335. if tkan <= 0:'You have <<tkan>> squares of fabric.'
  336. if tkan > 0:'You have <<tkan>> squares of fabric.'
  337. if money >= 50:
  338. act'Buy fabric':
  339. cls
  340. portion = input ("How much do you want to buy?")
  341. if portion <= 0:portion = 1
  342. if portion*50 > money:'You do not have enough money.'
  343. if portion*50 <= money:
  344. tkan += portion
  345. money = money - portion*50
  346. '<center><img <<$set_imgh>> src="images/locations/shared/store/kassa.jpg"></center>'
  347. 'You paid the cashier and bought cloth.'
  348. end
  349. gs'stat'
  350. act 'Move away from the counter':gt'shop'
  351. end
  352. end
  353. end
  354. !! Women''s clothing
  355. if $shoplocation = 'clothing':
  356. cla
  357. *clr
  358. '<center><b><font color="maroon">Department of Women''s Clothing</font></b></center>'
  359. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop4.jpg"></center>'
  360. if hour < 8 or hour > 20:
  361. 'The women''s clothing department is currently closed.'
  362. act 'Leave the women''s clothing department':gt 'shop', 'start'
  363. exit
  364. else
  365. if $message ! '':
  366. '<center>'+$message+'</center>'
  367. killvar '$message'
  368. else
  369. ''
  370. end
  371. 'Women''s clothing at unbeatable prices, panties and bras 300<b>₽</b> each'
  372. gs 'stat'
  373. if night_mode = 1:
  374. fcolor = rgb(255, 255, 255)
  375. bcolor = rgb(0, 0, 0)
  376. lcolor = rgb(106, 90, 205)
  377. elseif night_mode = 2:
  378. fcolor = rgb(255, 255, 255)
  379. bcolor = rgb(20, 20, 20)
  380. lcolor = rgb(106, 90, 205)
  381. else
  382. fcolor = rgb(0, 0, 0)
  383. bcolor = rgb(255, 255, 255)
  384. lcolor = rgb(106, 90, 205)
  385. end
  386. act 'Leave the women''s clothing department':gt 'shop', 'start'
  387. act 'View clothing': $shoplocation = 'clothing1' & gt 'shop'
  388. act 'View underwear': $shoplocation = 'underwear' & gt 'shop'
  389. if swimwear[4] = 0:
  390. act 'View swimwear':
  391. cla
  392. *clr
  393. '<center><img <<$set_imgh>> src="images/pc/clothing/12swimwear/4.jpg"></center>'
  394. gs 'clothing_attributes', 'swimwear', 4
  395. 'Swimwear 4'
  396. FUNC('$clothing_name', 'swimwear', 4)
  397. if CloInhibit > pcs_inhib:'You don''t feel daring enough to buy an outfit this revealing.'
  398. 'Costs 1,000 <b>₽</b>.'
  399. act 'Leave':gt 'shop'
  400. if money >= 1000 and CloInhibit <= pcs_inhib:
  401. act 'Buy':
  402. cla
  403. money -= 1000
  404. swimwear[4] = 1
  405. swimwearH[4] = 60
  406. swimwearB[4] = pcs_hips
  407. gt 'shop', '<font color="green">You bought <b>swimwear 4</b>.</font>'
  408. end
  409. end
  410. end
  411. end
  412. if coat[1] = 0:
  413. act 'View coats':
  414. cla
  415. *clr
  416. '<center><img <<$set_imgh>> src="images/pc/clothing/11coat/1.jpg"></center>'
  417. gs 'clothing_attributes', 'coat', 1
  418. 'Coat 1'
  419. FUNC('$clothing_name', 'coat', 1)
  420. if CloInhibit > pcs_inhib:'You don''t feel daring enough to buy an outfit this revealing.'
  421. 'Costs 5,000 <b>₽</b>.'
  422. act 'Leave':gt 'shop'
  423. if money >= 5000 and CloInhibit <= pcs_inhib:
  424. act 'Buy':
  425. cla
  426. money -= 5000
  427. coat[1] = 1
  428. coatH[1] = 60
  429. gt 'shop', '<font color="green">You bought <b>coat 1</b>.</font>'
  430. end
  431. end
  432. end
  433. end
  434. if konki!1:
  435. 'A pair of ice-skates are available for 3000 <b>₽</b>.'
  436. if money >= 3000:
  437. act 'Buy ice skates (3000 <b>₽</b>)':
  438. cla
  439. *clr
  440. money = money - 3000
  441. konki = 1
  442. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/lake/konki_shop.jpg"></center>'
  443. 'You buy a pair of skates.'
  444. act 'Move away from the counter':gt'shop'
  445. end
  446. end
  447. end
  448. end
  449. end
  450. !! Women''s clothing outfit viewer
  451. if $shoplocation = 'clothing1':
  452. *clr
  453. cla
  454. if $loc ! 'shop': $loc_bak = $loc
  455. $loc = 'shop'
  456. '<center><B>Click on an outfit to view details</B></center>'
  457. if office[1] = 0: *p '<a href="exec:gt ''clothing'', ''view_clothing_item'', ''shop'', ''office'', 1, 3000"><img src="images/pc/clothing/5office/1.jpg" height="250" /></a>'
  458. if office[2] = 0: *p '<a href="exec:gt ''clothing'', ''view_clothing_item'', ''shop'', ''office'', 2, 3000"><img src="images/pc/clothing/5office/2.jpg" height="250" /></a>'
  459. *nl
  460. if cheap[68] = 0: *p '<a href="exec:gt ''clothing'', ''view_clothing_item'', ''shop'', ''cheap'', 68, 1500"><img src="images/pc/clothing/1cheap/68.jpg" height="250" /></a>'
  461. if cheap[3] = 0: *p '<a href="exec:gt ''clothing'', ''view_clothing_item'', ''shop'', ''cheap'', 3, 1500"><img src="images/pc/clothing/1cheap/3.jpg" height="250" /></a>'
  462. if cheap[80] = 0: *p '<a href="exec:gt ''clothing'', ''view_clothing_item'', ''shop'', ''cheap'', 80, 1500"><img src="images/pc/clothing/1cheap/80.jpg" height="250" /></a>'
  463. if cheap[10] = 0: *p '<a href="exec:gt ''clothing'', ''view_clothing_item'', ''shop'', ''cheap'', 10, 1500"><img src="images/pc/clothing/1cheap/10.jpg" height="250" /></a>'
  464. if cheap[45] = 0: *p '<a href="exec:gt ''clothing'', ''view_clothing_item'', ''shop'', ''cheap'', 45, 1500"><img src="images/pc/clothing/1cheap/45.jpg" height="250" /></a>'
  465. if cheap[51] = 0: *p '<a href="exec:gt ''clothing'', ''view_clothing_item'', ''shop'', ''cheap'', 51, 1500"><img src="images/pc/clothing/1cheap/51.jpg" height="250" /></a>'
  466. *nl
  467. if exercise[4] = 0: *p '<a href="exec:gt ''clothing'', ''view_clothing_item'', ''shop'', ''exercise'', 4, 3000"><img src="images/pc/clothing/7exercise/4.jpg" height="250" /></a>'
  468. if exercise[20] = 0: *p '<a href="exec:gt ''clothing'', ''view_clothing_item'', ''shop'', ''exercise'', 20, 3000"><img src="images/pc/clothing/7exercise/20.jpg" height="250" /></a>'
  469. act 'Return':
  470. $loc = $loc_bak
  471. $shoplocation = 'clothing'
  472. gt 'shop'
  473. end
  474. end
  475. !! Women''s clothing underwear viewer
  476. if $shoplocation = 'underwear':
  477. *clr
  478. cla
  479. if $loc ! 'shop': $loc_bak = $loc
  480. $loc = 'shop'
  481. '<center><B>Click on an item to view details</B></center>'
  482. if basic_panties[7] = 0:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''cheap'', 7, 300"><img src="images/pc/panties/basic/7.jpg" height="250" /></a>'
  483. if basic_panties[9] = 0:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''cheap'', 9, 300"><img src="images/pc/panties/basic/9.jpg" height="250" /></a>'
  484. if basic_panties[12] = 0:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''cheap'', 12, 300"><img src="images/pc/panties/basic/12.jpg" height="250" /></a>'
  485. if basic_panties[21] = 0:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''cheap'', 21, 300"><img src="images/pc/panties/basic/21.jpg" height="250" /></a>'
  486. if basic_panties[37] = 0:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''cheap'', 37, 300"><img src="images/pc/panties/basic/37.jpg" height="250" /></a>'
  487. *nl
  488. if basic_bras[11] = 0:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''cheap'', 11, 300"><img src="images/pc/bras/basic/11.jpg" height="250" /></a>'
  489. if basic_bras[12] = 0:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''cheap'', 12, 300"><img src="images/pc/bras/basic/12.jpg" height="250" /></a>'
  490. if basic_bras[16] = 0:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''cheap'', 16, 300"><img src="images/pc/bras/basic/16.jpg" height="250" /></a>'
  491. if basic_bras[18] = 0:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''cheap'', 18, 300"><img src="images/pc/bras/basic/18.jpg" height="250" /></a>'
  492. act 'Return':
  493. $loc = $loc_bak
  494. $shoplocation = 'clothing'
  495. gt 'shop'
  496. end
  497. end
  498. !! Household appliances
  499. if $shoplocation = 'tech':
  500. cla
  501. *clr
  502. '<center><b><font color="maroon">Department of household appliances</font></b></center>'
  503. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop5.jpg"></center>'
  504. if hour < 8 or hour > 20:
  505. 'The household appliance department is currently closed.'
  506. act 'Leave the appliance department':gt 'shop', 'start'
  507. exit
  508. end
  509. if $message ! '':
  510. '<center>'+$message+'</center>'
  511. killvar '$message'
  512. else
  513. ''
  514. end
  515. *pl '<center><table align="center" width=80%>'
  516. *P FUNC ('$single_stock_item', 1, 'Small TV', 15000, 'TV', $CURLOC, '', iif(home_owned[1] > 0 or home_owned[3] > 0 or home_owned[4] = 1 or home_owned[5] > 2, 0, 1), 'You need your own home')
  517. *P FUNC ('$single_stock_item', 2, 'Large Plasma TV', 30000, 'TV', $CURLOC, '', iif(home_owned[1] > 0 or home_owned[3] > 0 or home_owned[4] = 1 or home_owned[5] > 2, 0, 1), 'You need your own home')
  518. *P FUNC ('$single_stock_item', 1, 'Computer', 40000, 'komp', $CURLOC)
  519. *p FUNC ('$single_stock_item', 1, 'Computer game Dead Sunset', 800, 'GameCD2', $CURLOC, '', iif(komp > 0, 0, 1), 'You need a computer')
  520. *P FUNC ('$single_stock_item', 1, 'Dishwasher', 28000, 'posudomashina', $CURLOC, '', iif(home_owned[1] > 0 or home_owned[3] > 0 or home_owned[4] = 1 or home_owned[5] > 2, 0, 1), 'You need your own home')
  521. *P FUNC ('$single_stock_item', 1, 'Washing machine', 30000, 'stiralka', $CURLOC, '', iif(home_owned[1] > 0 or home_owned[3] > 0 or home_owned[4] = 1 or home_owned[5] > 2, 0, 1), 'You need your own home')
  522. *P FUNC ('$single_stock_item', 1, 'Camera', 20000, 'zenit', $CURLOC)
  523. *P FUNC ('$single_stock_item', 1, 'Mini camera disguised as a cigarette pack', 100000, 'minifoto', $CURLOC)
  524. *P FUNC ('$single_stock_item', 1, 'Webcam', 2000, 'webcamera', $CURLOC, '', iif((npc_rel['A11']>=30 and webcamera = 0) or (camwhore = 1 and webcamera = 0), 0, 1), 'You have no use for this')
  525. *P '</table></center>'
  526. gs 'stat'
  527. if night_mode = 1:
  528. fcolor = rgb(255, 255, 255)
  529. bcolor = rgb(0, 0, 0)
  530. lcolor = rgb(106, 90, 205)
  531. elseif night_mode = 2:
  532. fcolor = rgb(255, 255, 255)
  533. bcolor = rgb(20, 20, 20)
  534. lcolor = rgb(106, 90, 205)
  535. else
  536. fcolor = rgb(0, 0, 0)
  537. bcolor = rgb(255, 255, 255)
  538. lcolor = rgb(106, 90, 205)
  539. end
  540. act 'Leave the appliance department':gt 'shop', 'start'
  541. end
  542. !! Ice cream counter
  543. if $shoplocation = 'icecream':
  544. 'Ice cream is available for sale for 50 <b>₽</b>.'
  545. act 'Move away from the counter':gt 'shop', 'start'
  546. if money >= 50:
  547. act 'Buy ice cream':
  548. cls
  549. money -= 50
  550. fat += 3
  551. pcs_mood += 50
  552. pcs_hydra += 60
  553. pcs_energy += 30
  554. cumspclnt = 2
  555. gs 'cum_cleanup'
  556. pcs_breath = 0
  557. gs 'stat'
  558. '<center><img <<$set_imgh>> src="images/shared/food/icecreem.jpg"></center>'
  559. 'You bought ice cream and ate it not going far.'
  560. act 'Move away from the counter':gt 'shop', 'start'
  561. end
  562. end
  563. end
  564. if $shoplocation = 'megafon':
  565. cls
  566. minut+=3
  567. gs'stat'
  568. i = 0
  569. '<center><b><font color = maroon>MegaFon shop</font></B></center>'
  570. '<center><img src="images/system/phone/megafon2.jpg" ></center>'
  571. *pl '<center><table align="center">'
  572. :loopcard
  573. if i = 0:
  574. n = 5
  575. price = 60
  576. $buy_link = '<a' + iif(money >= 60, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  577. elseif i = 1:
  578. n = 10
  579. price = 115
  580. $buy_link = '<a' + iif(money >= 115, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  581. elseif i = 2:
  582. n = 20
  583. price = 220
  584. $buy_link = '<a' + iif(money >= 220, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  585. elseif i = 3:
  586. n = 50
  587. price = 520
  588. $buy_link = '<a' + iif(money >= 520, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  589. end
  590. i += 1
  591. '<tr><td align="center"><<n>> hour internet card </td><td align="right">(you have <<internet>> hours of internet access) </td><td align="right"><<$buy_link>> </td><td align="left">for <<price>> <b>₽</b></td></tr>'
  592. if i < 4:
  593. jump 'loopcard'
  594. end
  595. '</table></center>'
  596. act 'Return to the Supermarket':gt'shop','start'
  597. if money > 0:
  598. act 'Put the money on the phone':
  599. cla
  600. set minut = minut + 5
  601. obmennik = input ("How many <b>₽</b> do you want to deposit?")
  602. if obmennik <= 0:
  603. '<center><br><b>Do you want to think again?</b></center>'
  604. act 'Exit Department':gt'shop','start'
  605. else
  606. if money < obmennik:
  607. '<center><br>You do not have <b><<obmennik>></b> <b>₽</b>.</center>'
  608. act 'Exit Department':gt'shop','start'
  609. end
  610. if money >= obmennik:
  611. set balans = balans + obmennik
  612. set money = money - obmennik
  613. clr
  614. gs'stat'
  615. '<center><br>You put <b><<obmennik>></b> <b>₽</b> to the account.</center>'
  616. act 'Exit Department':gt'shop','start'
  617. end
  618. end
  619. end
  620. end
  621. end
  622. if $shoplocation = 'Anya':
  623. cla
  624. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/anya/sister.jpg"></center>'
  625. gs'dinsister'
  626. dynamic $sischecks
  627. '"<<$pcs_nickname>>, do not disturb me at work, can''t you see I have customers?""'
  628. act '<B>Move away</B>':gt'shop','start'
  629. end
  630. --- shop ---------------------------------