shop.qsrc 24 KB

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