shop.qsrc 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. # shop
  2. !! This is the supermarket, located in several places
  3. !! Main entrance
  4. if $ARGS[0] = 'start':
  5. $menu_loc = 'shop'
  6. $menu_arg = 'start'
  7. menu_off = 0
  8. CLOSE ALL
  9. if sound = 0:PLAY 'sound/shop.mp3',30
  10. $shoplocation = 'main'
  11. end
  12. if $ARGS[0] = 'start' or $ARGS[0] = 'move': minut += 1
  13. !! Main area
  14. if $shoplocation = 'main':
  15. *clr & cla
  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. if $loc = 'shop': $loc = $loc_bak
  21. act 'Leave the store':minut += 3 & gt $loc
  22. exit
  23. end
  24. '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.'
  25. 'There is a branch of communication giants <a href="exec:$shoplocation = ''megafon'' & gt ''shop'', ''move''">MegaFon</a>.'
  26. '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.'
  27. '<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>.'
  28. gs 'stat'
  29. gs 'themes', 'indoors'
  30. !! The store in the town and in the altstart only
  31. if $loc = 'pavCommercial' and StoryLine = 1:
  32. if week < 6 and hour >= 8 and hour < 16:
  33. *nl
  34. 'Your sister <a href="exec:$shoplocation = ''Anya'' & gt ''shop'', ''move''">Anya</a> is sitting at the cash register.'
  35. end
  36. end
  37. !! Store in the residential district
  38. if $loc = 'street':
  39. if rand(1, 20) = 20:
  40. if dimaQW = 0:
  41. 'By the store entrance a man is looking at you appreciatively.'
  42. act 'Return the look':gt 'event', 'dima'
  43. elseif dimaQW = 1:
  44. '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.'
  45. 'Your heart is thumping in your chest, your vision narrows, you feel faint.'
  46. act 'Pass out':gt 'event', 'scoreslut1'
  47. else
  48. 'You meet the same Dima who''s friend fucked and abused you. Dima grins confidently and says, "Hello."'
  49. act 'Hello':
  50. cla
  51. '"Come with me, My wife''s away", says Dima.'
  52. gs 'willpower', 'sex', 'resist'
  53. if will_cost <= pcs_willpwr:
  54. act 'Fuck no (<<will_cost>> Willpower)':
  55. gs 'willpower', 'pay', 'resist'
  56. gt 'shop', 'start'
  57. end
  58. else
  59. act 'Fuck no (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  60. end
  61. act 'I deserve this':
  62. *clr & cla
  63. if rand(1, 2) = 1:
  64. cla
  65. oral += 1
  66. pcs_throat += 1
  67. spafinloc = 12
  68. gs 'cum_manage'
  69. swallow += 1
  70. '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.'
  71. '<center><img <<$set_imgh>> src="images/locations/city/residential/street/sex/gostdt2.jpg"></center>'
  72. 'Dima finally finishes in your mouth, you obediently swallow and lick the remnants of sperm off his big cock.'
  73. gs 'arousal', 'bj', 10, 'sub', 'deepthroat', 'humiliation'
  74. gs 'arousal', 'end'
  75. gs 'stat'
  76. act 'Leave': minut += 3 & gt 'street'
  77. else
  78. cla
  79. gs 'pain', 6, 'asscheeks', 'slap'
  80. spafinloc = 4
  81. gs 'cum_manage'
  82. spank += 1
  83. boom = 5
  84. '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.'
  85. 'There he unscrews the shower-head 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.'
  86. '<center><img <<$set_imgh>> src="images/locations/city/residential/street/sex/gostanal2.jpg"></center>'
  87. '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.'
  88. gs 'arousal', 'anal', 30, 'sub', 'rough', 'humiliation'
  89. gs 'arousal', 'end'
  90. gs 'stat'
  91. act 'Leave': minut += 3 & gt 'street'
  92. end
  93. end
  94. end
  95. end
  96. end
  97. end
  98. '<br>The store is crowded with shoppers.'
  99. !! This is connected to the trade mission
  100. if TorgPredZ > 0:
  101. !! the location of the shop hasn''t been done today
  102. if ($loc = 'street' and StreetShopTPday ! daystart) or ($loc = 'Nord' and nordShopTPday ! daystart) or ($loc = 'torgcentr' and downShopTPday ! daystart):
  103. act 'Arrange products':
  104. *clr & cla
  105. if $loc = 'street':StreetShopTPday = daystart
  106. if $loc = 'Nord':nordShopTPday = daystart
  107. if $loc = 'torgcentr':downShopTPday = daystart
  108. mtprand = rand(40, 130)
  109. minut += mtprand
  110. TorgPredZ -= 1
  111. TorgPredZV += 1
  112. gs 'stat'
  113. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop.jpg"></center>'
  114. 'You arranged the products for quite a while and when I finally managed, then went to the cashier and you check it struck.'
  115. act 'Exit':gt 'shop', 'start'
  116. end
  117. end
  118. end
  119. act 'Leave the store': minut += 3 & gt $loc
  120. exit
  121. end
  122. if $shoplocation = 'ATM':
  123. '<center><b><font color="maroon">ATM</font></b></center>'
  124. '<center><img <<$set_imgh>> src="images/locations/shared/store/atm.jpg"></center>'
  125. if bankAccount = 1:
  126. if karta >= 0:
  127. 'You have <<karta>> <b>₽</b> in your account.'
  128. 'You have an overdraft limit of <font color="blue"><<bankDebtLimit>></font>!'
  129. else
  130. 'You are overdrawn by <font color="red"><<-1 * karta>> <b>₽</b></font>.'
  131. 'You have a remaining credit limit of <font color="blue"><<bankDebtLimit + karta>></font>!'
  132. end
  133. '<br>ATM Deposit Fee: 100 <b>₽</b>'
  134. if atmDeposit = 0:
  135. act 'Deposit money':
  136. cla
  137. minut += 5
  138. 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.")
  139. if kartaINATM < 100 or kartaINATM > money:
  140. 'This is not a valid input.'
  141. else
  142. atmDeposit += kartaINATM - 100
  143. atmDepositDate = daystart + 2
  144. money -= kartaINATM
  145. '<br>You deposited <<kartaINATM>> <b>₽</b> into your account.'
  146. 'It will take 2 days for funds to be available. Your new balance will be <<karta+atmDeposit>> <b>₽</b>.'
  147. end
  148. gs 'stat'
  149. act 'Move away': gt 'shop'
  150. end
  151. else
  152. '<br>★ Processing deposit of <<atmDeposit>> <b>₽</b> in <<atmDepositDate - daystart>> days.'
  153. end
  154. if karta + bankDebtLimit > 0:
  155. act 'Withdraw money from the ATM':
  156. cla
  157. minut += 5
  158. kartaOUT = input ("How much money you want to withdraw?")
  159. if kartaOUT <= 0 or kartaOUT > karta + bankDebtLimit:
  160. '<br>Invalid operation.'
  161. else
  162. karta -= kartaOUT
  163. money += kartaOUT
  164. if karta > 0:
  165. '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have <<karta>> <b>₽</b> left in your bank account.'
  166. elseif karta = 0:
  167. '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have no money left in your bank account.'
  168. else
  169. '<br>You withdraw <<kartaOUT>> <b>₽</b>. <font color="red">Your bank account is overdrawn by <b><<karta>> ₽</b>.</font>'
  170. end
  171. end
  172. gs 'stat'
  173. act 'Move away': gt 'shop'
  174. end
  175. else
  176. 'You have maxed out your overdraft.'
  177. end
  178. else
  179. 'You don''t have a bank account yet!'
  180. end
  181. act 'Move away':gt 'shop', 'start'
  182. end
  183. if $shoplocation = 'grocery':
  184. *clr & cla
  185. '<center><b><font color="maroon">Grocery</font></b></center>'
  186. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop1.jpg"></center>'
  187. if hour < 8 or hour > 20:
  188. 'The grocery is currently closed.'
  189. act 'Leave the grocery':gt 'shop', 'start'
  190. exit
  191. end
  192. !! output from purchase
  193. if $message ! '':
  194. '<center>'+$message+'</center>'
  195. killvar '$message'
  196. else
  197. ''
  198. end
  199. *pl '<center><table align="center" width=80%>'
  200. *p func ('$stock_item', 1, 'Regular food', 80, 'eda', $curloc)
  201. *p func ('$stock_item', 10, 'Regular food', 800, 'eda', $curloc)
  202. *p func ('$stock_item', 1, 'Diet food', 300, 'edaD', $curloc)
  203. *p func ('$stock_item', 10, 'Diet food', 3000, 'edaD', $curloc)
  204. *p func ('$stock_item', 10, 'Tea biscuits', 400, 'pranik', $curloc)
  205. *p func ('$single_stock_item', 1, 'Bottle of water', 100, 'bottle', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
  206. *p func ('$single_stock_item', 1, 'Sandwich', 100, 'buterbrod', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
  207. *p func ('$single_stock_item', 1, 'Cheap Bottle of wine', 200, 'wine', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
  208. *p '</table></center>'
  209. gs 'stat'
  210. gs 'themes', 'indoors'
  211. act 'Leave the grocery':gt 'shop', 'start'
  212. end
  213. if $shoplocation= 'cosmetics':
  214. *clr & cla
  215. '<center><b><font color="maroon">Cosmetics Department</font></b></center>'
  216. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop2.jpg"></center>'
  217. if hour < 8 or hour > 20:
  218. 'The cosmetics department is currently closed.'
  219. act 'Leave the cosmetics department':gt 'shop', 'start'
  220. exit
  221. end
  222. !! output from purchase
  223. if $message ! '':
  224. '<center>'+$message+'</center>'
  225. killvar '$message'
  226. else
  227. ''
  228. end
  229. *pl '<center><table align="center" width=80%>'
  230. *p func ('$stock_item', 50, 'Cosmetics', 1300, 'kosmetica', $curloc)
  231. *p func ('$stock_item', 10, 'Plain false lashes', 1500, 'falselashesplain',$curloc)
  232. *p func ('$stock_item', 3, 'Mink false lashes', 900, 'falselashesmink',$curloc)
  233. *p func ('$stock_item', 40, 'Razors', 700, 'stanok', $curloc)
  234. *p func ('$stock_item', 20, 'Sunblock', 500, 'krem', $curloc)
  235. *p func ('$stock_item', 40, 'Deodorant', 200, 'deodorant', $curloc)
  236. *p func ('$stock_item', 20, 'Tampons', 200, 'tampon', $curloc)
  237. *p func ('$stock_item', 20, 'Sanitary napkins', 100, 'sanpad', $curloc)
  238. *p func ('$stock_item', 30, 'Shampoo', 250, 'shampoo', $curloc)
  239. *p func ('$stock_item', 10, 'Hair scrunchies', 80, 'hscrunch', $curloc)
  240. *p func ('$stock_item', 12, 'Hair pins', 100, 'hpingrip', $curloc)
  241. *p func ('$stock_item', 10, 'Wipes', 50, 'salfetka', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
  242. *p func ('$stock_item', 10, 'Portable makeup', 700, 'kosmetitka', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
  243. *p func ('$stock_item', 20, 'Mouthwash', 150, 'mouthwash', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
  244. *p func ('$single_stock_item', 1, 'Comb', 150, 'greben', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
  245. *p func ('$single_stock_item', 1, 'Compact Mirror', 1150, 'compact_mirror', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
  246. *p '</table></center>'
  247. gs 'stat'
  248. gs 'themes', 'indoors'
  249. act 'Leave the cosmetics department': gt 'shop', 'start'
  250. if $loc = 'torgcentr': gs 'shoplifting', 'city'
  251. end
  252. if $shoplocation = 'hardware':
  253. *clr & cla
  254. '<center><b><font color="maroon">Division of household goods</font></b></center>'
  255. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop3.jpg"></center>'
  256. if hour < 8 or hour > 20:
  257. 'The hardware department is currently closed.'
  258. act 'Leave the hardware department':gt 'shop', 'start'
  259. exit
  260. end
  261. !! output from purchase
  262. if $message ! '':
  263. '<center>'+$message+'</center>'
  264. killvar '$message'
  265. else
  266. ''
  267. end
  268. *pl '<center><table align="center" width=80%>'
  269. *p func ('$stock_item', 20, 'Dishwashing detergent', 500, 'fairy', $curloc)
  270. *p func ('$stock_item', 30, 'Clothing detergent', 500, 'poroshok', $curloc)
  271. *p func ('$stock_item', 5, 'Plates', 450, 'cltarelka', $curloc)
  272. *p func ('$stock_item', 5, 'Fabric', 250, 'tkan', $curloc)
  273. *p func ('$single_stock_item', 1, 'Sewing kit', 500, 'sewing_kit', $curloc)
  274. *p func ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', $curloc, '', iif(bag > 0, 0, 1), 'You need a purse')
  275. *p '</table></center>'
  276. *nl
  277. gs 'stat'
  278. gs 'themes', 'indoors'
  279. act 'Leave the hardware department':gt 'shop', 'start'
  280. 'On the counter you can see fabric suitable for sewing. It''s sold in large squares costing 50 <b>₽</b> each. You have <<tkan>> squares of fabric.'
  281. end
  282. if $shoplocation = 'clothing':
  283. *clr & cla
  284. '<center><b><font color="maroon">Department of Women''s Clothing</font></b></center>'
  285. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop4.jpg"></center>'
  286. if hour < 8 or hour > 20:
  287. 'The women''s clothing department is currently closed.'
  288. act 'Leave the women''s clothing department':gt 'shop', 'start'
  289. exit
  290. else
  291. if $message ! '':
  292. '<center>'+$message+'</center>'
  293. killvar '$message'
  294. else
  295. ''
  296. end
  297. 'Women''s clothing at unbeatable prices, panties and bras 300<b>₽</b> each'
  298. gs 'stat'
  299. gs 'themes', 'indoors'
  300. act 'Leave the women''s clothing department':gt 'shop', 'start'
  301. act 'View clothing': $shoplocation = 'clothing1' & gt 'shop'
  302. act 'View underwear': $shoplocation = 'underwear' & gt 'shop'
  303. if swimwear[4] = 0:
  304. act 'View swimwear':
  305. *clr & cla
  306. '<center><img <<$set_imgh>> src="images/pc/clothing/12swimwear/4.jpg"></center>'
  307. gs 'clothing_attributes', 'swimwear', 4
  308. 'Swimwear 4'
  309. func('$clothing_name', 'swimwear', 4)
  310. if CloInhibit > pcs_inhib:'You don''t feel daring enough to buy an outfit this revealing.'
  311. 'Costs 1,000 <b>₽</b>.'
  312. act 'Leave':gt 'shop'
  313. if money >= 1000 and CloInhibit <= pcs_inhib:
  314. act 'Buy':
  315. cla
  316. money -= 1000
  317. swimwear[4] = 1
  318. swimwearH[4] = 60
  319. swimwearB[4] = pcs_hips
  320. gt 'shop', '<font color="green">You bought <b>swimwear 4</b>.</font>'
  321. end
  322. end
  323. end
  324. end
  325. if coat[1] = 0:
  326. act 'View coats':
  327. *clr & cla
  328. '<center><img <<$set_imgh>> src="images/pc/clothing/11coat/1.jpg"></center>'
  329. gs 'clothing_attributes', 'coat', 1
  330. 'Coat 1'
  331. func('$clothing_name', 'coat', 1)
  332. if CloInhibit > pcs_inhib:'You don''t feel daring enough to buy an outfit this revealing.'
  333. 'Costs 1,400 <b>₽</b>.'
  334. act 'Leave':gt 'shop'
  335. if money >= 1400 and CloInhibit <= pcs_inhib:
  336. act 'Buy':
  337. cla
  338. money -= 1400
  339. coat[1] = 1
  340. coatH[1] = 60
  341. gt 'shop', '<font color="green">You bought <b>coat 1</b>.</font>'
  342. end
  343. end
  344. end
  345. end
  346. if konki!1:
  347. 'A pair of ice-skates are available for 3000 <b>₽</b>.'
  348. if money >= 3000:
  349. act 'Buy ice skates (3000 <b>₽</b>)':
  350. *clr & cla
  351. money -= 3000
  352. konki = 1
  353. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/lake/konki_shop.jpg"></center>'
  354. 'You buy a pair of skates.'
  355. act 'Move away from the counter':gt'shop'
  356. end
  357. end
  358. end
  359. end
  360. end
  361. if $shoplocation = 'clothing1':
  362. *clr & cla
  363. if $loc ! 'shop': $loc_bak = $loc
  364. $loc = 'shop'
  365. '<center><B>Click on an outfit to view details</B></center>'
  366. 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>'
  367. 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>'
  368. *nl
  369. 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>'
  370. 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>'
  371. 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>'
  372. 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>'
  373. 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>'
  374. 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>'
  375. *nl
  376. 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>'
  377. 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>'
  378. act 'Return':
  379. $loc = $loc_bak
  380. $shoplocation = 'clothing'
  381. gt 'shop'
  382. end
  383. end
  384. !! Women''s clothing underwear viewer
  385. if $shoplocation = 'underwear':
  386. *clr & cla
  387. if $loc ! 'shop': $loc_bak = $loc
  388. $loc = 'shop'
  389. '<center><B>Click on an item to view details</B></center>'
  390. 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>'
  391. 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>'
  392. 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>'
  393. 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>'
  394. 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>'
  395. *nl
  396. 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>'
  397. 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>'
  398. 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>'
  399. 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>'
  400. act 'Return':
  401. $loc = $loc_bak
  402. $shoplocation = 'clothing'
  403. gt 'shop'
  404. end
  405. end
  406. !! Household appliances
  407. if $shoplocation = 'tech':
  408. *clr & cla
  409. '<center><b><font color="maroon">Department of household appliances</font></b></center>'
  410. '<center><img <<$set_imgh>> src="images/locations/shared/store/shop5.jpg"></center>'
  411. if hour < 8 or hour > 20:
  412. 'The household appliance department is currently closed.'
  413. act 'Leave the appliance department':gt 'shop', 'start'
  414. exit
  415. end
  416. if $message ! '':
  417. '<center>'+$message+'</center>'
  418. killvar '$message'
  419. else
  420. ''
  421. end
  422. *pl '<center><table align="center" width=80%>'
  423. *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')
  424. *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')
  425. *p func ('$single_stock_item', 1, 'Computer', 40000, 'komp', $curloc)
  426. *p func ('$single_stock_item', 1, 'Computer game Dead Sunset', 800, 'GameCD2', $curloc, '', iif(komp > 0, 0, 1), 'You need a computer')
  427. *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')
  428. *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')
  429. *p func ('$single_stock_item', 1, 'Camera', 20000, 'zenit', $curloc)
  430. *p func ('$single_stock_item', 1, 'Mini camera disguised as a cigarette pack', 100000, 'minifoto', $curloc)
  431. *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')
  432. *p '</table></center>'
  433. gs 'stat'
  434. gs 'themes', 'indoors'
  435. act 'Leave the appliance department':gt 'shop', 'start'
  436. end
  437. !! Ice cream counter
  438. if $shoplocation = 'icecream':
  439. 'Ice cream is available for sale for 50 <b>₽</b>.'
  440. act 'Move away from the counter':gt 'shop', 'start'
  441. if money >= 50:
  442. act 'Buy ice cream':
  443. *clr & cla
  444. money -= 50
  445. fat += 3
  446. pcs_mood += 50
  447. pcs_hydra += 60
  448. pcs_energy += 30
  449. cumspclnt = 2
  450. gs 'cum_cleanup'
  451. pcs_breath = 0
  452. gs 'stat'
  453. '<center><img <<$set_imgh>> src="images/shared/food/icecreem.jpg"></center>'
  454. 'You bought ice cream and ate it not going far.'
  455. act 'Move away from the counter':gt 'shop', 'start'
  456. end
  457. end
  458. end
  459. if $shoplocation = 'megafon':
  460. *clr & cla
  461. minut+=3
  462. gs'stat'
  463. i = 0
  464. '<center><b><font color = maroon>MegaFon shop</font></B></center>'
  465. '<center><img src="images/system/phone/megafon2.jpg" ></center>'
  466. *pl '<center><table align="center">'
  467. :loopcard
  468. if i = 0:
  469. n = 5
  470. price = 60
  471. $buy_link = '<a' + iif(money >= 60, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  472. elseif i = 1:
  473. n = 10
  474. price = 115
  475. $buy_link = '<a' + iif(money >= 115, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  476. elseif i = 2:
  477. n = 20
  478. price = 220
  479. $buy_link = '<a' + iif(money >= 220, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  480. elseif i = 3:
  481. n = 50
  482. price = 520
  483. $buy_link = '<a' + iif(money >= 520, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  484. end
  485. i += 1
  486. '<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>'
  487. if i < 4:
  488. jump 'loopcard'
  489. end
  490. '</table></center>'
  491. act 'Return to the Supermarket':gt'shop','start'
  492. if money > 0:
  493. act 'Put the money on the phone':
  494. cla
  495. set minut = minut + 5
  496. obmennik = input ("How many <b>₽</b> do you want to deposit?")
  497. if obmennik <= 0:
  498. '<center><br><b>Do you want to think again?</b></center>'
  499. act 'Exit Department':gt'shop','start'
  500. else
  501. if money < obmennik:
  502. '<center><br>You do not have <b><<obmennik>></b> <b>₽</b>.</center>'
  503. act 'Exit Department':gt'shop','start'
  504. end
  505. if money >= obmennik:
  506. set balans = balans + obmennik
  507. set money = money - obmennik
  508. clr
  509. gs'stat'
  510. '<center><br>You put <b><<obmennik>></b> <b>₽</b> to the account.</center>'
  511. act 'Exit Department':gt'shop','start'
  512. end
  513. end
  514. end
  515. end
  516. end
  517. if $shoplocation = 'Anya':
  518. cla
  519. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/anya/sister.jpg"></center>'
  520. gs'dinsister'
  521. dynamic $sischecks
  522. '"<<$pcs_nickname>>, do not disturb me at work, can''t you see I have customers?""'
  523. act '<B>Move away</B>':gt'shop','start'
  524. end
  525. --- shop ---------------------------------