gaptek 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. # gaptek
  2. $location_type = 'public_indoors'
  3. if $ARGS[0] = 'start' or gaptek_loc = 1:
  4. cls
  5. CLOSE ALL
  6. if sound = 0:PLAY 'sound/shop.mp3',30
  7. gs 'stat'
  8. '<center><B><font color="maroon">Pharmacy</font></B></center>'
  9. '<center><img src="images/etogame/aptek.jpg"></center>'
  10. act 'Leave the pharmacy':gt 'pavCommercial'
  11. if Olu_pay > 0:
  12. minut += RAND(5,10)
  13. money += Olu_pay * RAND(500,700)
  14. Olu_pay = 0
  15. 'You go back to the pharmacy, and wait for a slow moment so you can talk to your aunt undisturbed.'
  16. 'Your aunt smiles happily as she gives you a small envelope. "Thank you so much <<$name>>, this is the only way I can get some sleep. I really appreciate it. Here, please accept this money, you''ve earned it."'
  17. act 'Thank her and leave the pharmacy':gt'pavCommercial'
  18. end
  19. if hour < 8 or hour > 20:
  20. 'The pharmacy is currently closed. There''s a sign on the door, that says it''s open between 8:00 and 20:00 every day.'
  21. exit
  22. end
  23. !! for original start we can just use stockitem, for alt start there are other plot elements involved
  24. if StoryLine = 0:
  25. gaptek_loc = 1
  26. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  27. *pl '<center><table align="center">' + _
  28. FUNC ('$stock_item', 5, 'condoms', 100, 'prezik', $CURLOC) + _
  29. FUNC ('$stock_item', 1, 'pregnancy test', 200, 'pregtest', $CURLOC) + _
  30. FUNC ('$stock_item', 28, 'birth control pills', 500, 'tabletki', $CURLOC) + _
  31. FUNC ('$single_stock_item', 1, 'enema kit', 500, 'klisma', $CURLOC) + _
  32. FUNC ('$stock_item', 10, 'antibiotics', 500, 'lekarstvo', $CURLOC) + _
  33. FUNC ('$stock_item', 20, 'vitamin tablets', 500, 'vitamin', $CURLOC) + _
  34. FUNC ('$stock_item', 16, 'painkillers', 500, 'painkiller', $CURLOC) + _
  35. FUNC ('$stock_item', 10, 'soothing ointment for chafed skin', 600, 'mosolmaz', $CURLOC) + _
  36. FUNC ('$stock_item', 25, 'lip balm', 100, 'lipbalm', $CURLOC) + _
  37. FUNC ('$stock_item', 1, 'weight loss pill', 2000, 'fatdel', $CURLOC) + _
  38. FUNC ('$stock_item', 20, 'Tampons', 200, 'tampon', $CURLOC) + _
  39. FUNC ('$stock_item', 20, 'Sanitary napkins', 200, 'sanpad', $CURLOC) + _
  40. '</table></center>'
  41. else
  42. 'Condoms - 100 <b>₽</b>'
  43. 'Pregnancy test - 200 <b>₽</b>'
  44. 'Lubricant - 300 <b>₽</b>'
  45. 'Birth control pills - 500 <b>₽</b>'
  46. if klisma = 0:'Enema kit - 500 <b>₽</b>'
  47. 'Antibiotics - 500 <b>₽</b>'
  48. 'Vitamin drinks - 500 <b>₽</b>'
  49. 'Painkillers - 500 <b>₽</b>'
  50. 'Soothing ointment for chafed skin - 600 <b>₽</b>'
  51. 'Moisturizing lip balm - 1000 <b>₽</b>'
  52. 'Fat burners - 1500 <b>₽</b>'
  53. if KandidNapr = 1:'Cure for yeast infection - 1,500 <b>₽</b>'
  54. 'Aunt Luda is sitting behind the counter, as usual. She gives you a friendly nod when she sees you: "Hi <<$name>>! How are you?"'
  55. if motherQW >= 2:
  56. act 'Ask about the ''garden''':
  57. cls
  58. gaptekfirst = 1
  59. gs 'stat'
  60. '<center><b><font color="maroon">Pharmacy</font></b></center>'
  61. '<center><img src="images/etogame/aptek.jpg"></center>'
  62. if motherQW = 2 and gaogorod < 40:
  63. if gaptekfirst = 0:
  64. gaptekfirst = 1
  65. minut += 5
  66. 'You pretend to look at the goods positioned on the shelves, while you consider how to best approach your aunt. Your aunt notices you staring at the shelves, and comes from behind the counter when she''s done helping her last customer.'
  67. '"Hi <<$name>>, are you looking for something?"'
  68. 'You take a deep breath and say: "Erm... yes aunt. My mother needs some things for her ''garden''?" putting extra emphasis on the word.'
  69. 'Your aunt pretends to be confused, and teases you: "<<$nickname>>, are you sure you''re in the right store? This is a pharmacy, not a gardening center!"'
  70. 'You''re slightly confused now, and try again: "I know, aunt... my mom said I should say ''garden''."'
  71. 'She just laughs: "Just teasing, <<$nickname>>. Your mother has such green thumbs, she comes here all the time! Come on, I''ll show you what we have." She takes you by the hand and takes you to the counter holding the contraceptives.'
  72. '"Here you go. All of your gardening needs, right here. What can I get you?"'
  73. gs 'gaptek', 'garden'
  74. else
  75. minut += rand(5, 15)
  76. if gaprezikday ! daystart or gatabletkiday ! daystart:
  77. 'You wait until the last customer leaves the pharmacy, and quickly dart over to the counter.'
  78. '"Hi aunt Luda, my mom needs a few more items for her garden."'
  79. '"Your mom, huh? Sure, sure... it''s right here, take your pick!" she chuckles, as you try to hide your blush.'
  80. 'You intently stare at the items, avoiding her gaze as you mutter: "Thank you, Aunt..."'
  81. '"No problem, <<$nickname>>. But seriously, tell Natasha she shouldn''t spend so much time gardening. We keep running low on stock."'
  82. gs 'gaptek', 'garden'
  83. else
  84. minut += RAND(5,15)
  85. 'You linger around the pharmacy, waiting for your aunt to become available. However, as time passes the pharmacy only becomes more and more crowded, and your aunt has a long line of customers to deal with. You decide you''ve wasted enough time, and to try again later.'
  86. end
  87. end
  88. elseif motherQW = 2 and gaogorod >= 20:
  89. gt'motherQW','motherQW_3'
  90. elseif motherQW >= 3 and galubri = 0:
  91. if gaprezikday ! daystart or gatabletkiday ! daystart:
  92. minut += RAND(5,15)
  93. gs'stat'
  94. if RAND(0,5) = 0 and oluuosegunday ! daystart:
  95. gt'motherQW','olu'
  96. else
  97. 'You wait for your turn and move to the counter, discretely nodding at the counter with the contraceptives. Your aunt gives you a small smile and asks what she can do for you today.'
  98. gs 'gaptek', 'garden'
  99. end
  100. elseif gaprezikday = daystart and gatabletkiday = daystart:
  101. minut += RAND(5,15)
  102. 'You wait for your turn and move up to the counter, discretely nodding at the counter with the contraceptives. She apologizes: "I''m sorry <<$name>>, those are all sold out." With some malice in her voice, she whispers: "Your stud will have to wait until tomorrow, unless you plan on entertaining him in some other way." Giving you a lewd grin, she ushers you away from the counter so she can help the next customer.'
  103. end
  104. elseif motherQW >= 3 and galubri = 1:
  105. if gaprezikday ! daystart or gatabletkiday ! daystart or galubriday ! daystart:
  106. minut += RAND(5,15)
  107. if RAND(0,5) = 0 and oluuosegunday ! daystart and tetyafirst < 3:
  108. gt'motherQW','olu'
  109. else
  110. 'You wait for your turn and move to the counter, discretely nodding at the counter with the contraceptives. Your aunt gives you a small smile and asks what she can do for you today.'
  111. gs 'gaptek', 'garden'
  112. end
  113. elseif gaprezikday = daystart and gatabletkiday = daystart and galubriday = daystart:
  114. minut += RAND(5,15)
  115. 'You wait for your turn and move up to the counter, discretely nodding at the counter with the contraceptives. She apologizes: "I''m sorry <<$name>>, those are all sold out." With some malice in her voice, she whispers: "Your stud will have to wait until tomorrow, unless you plan on entertaining him in some other way." Giving you a lewd grin, she ushers you away from the counter so she can help the next customer.'
  116. end
  117. end
  118. act 'Move away from the counter':gt 'gaptek', 'start'
  119. end
  120. end
  121. if money >= 500:
  122. if gatabletkiday ! daystart:
  123. act 'Buy birth control pills (500 <b>₽</b>) <<iif(tabletki > 0, ''[left:<b>'' + tabletki + ''</b>]'', '''')>>':
  124. cla
  125. *clr
  126. portion = input ("How many packages do you want to buy?")
  127. if portion <= 0:
  128. cla
  129. 'You change your mind and feel flustered,'
  130. act 'Move away from the counter':gt 'gaptek', 'start'
  131. exit
  132. elseif portion > 1 and motherQW < 3:
  133. portion = 1
  134. 'You quietly think to yourself, while you put most of the packages back on the shelf: "Just the one should be enough. It''s probably better if I don''t buy too many at once, otherwise aunt Luda might become suspicious."'
  135. end
  136. if portion * 500 <= money:
  137. tabletki += portion * 28
  138. minut += 5
  139. money -= portion * 500
  140. gatabletkiday = daystart
  141. '<center><img src="images/etogame/kassa.jpg"></center>'
  142. 'You pay for the birth control pills and quickly put the strips in your pocket, before anyone sees you buy them.'
  143. else
  144. 'You can''t afford to buy birth control pills.'
  145. end
  146. act 'Move away from the counter':gt 'gaptek', 'start'
  147. end
  148. end
  149. if klisma = 0 and motherQW >= 2 and gaptekfirst = 1:
  150. act 'Buy the enema kit (500 <b>₽</b>)':
  151. cla
  152. *clr
  153. klisma = 1
  154. minut += 5
  155. money -= 500
  156. '<center><img src="images/etogame/kassa.jpg"></center>'
  157. 'You pay for the enema kit and quickly ask your aunt to put it in a paper bag, before the other customers see it.'
  158. act 'Move away from the counter':gt 'gaptek', 'start'
  159. end
  160. end
  161. act 'Buy antibiotics (500 <b>₽</b>) <<iif(lekarstvo > 0, ''[left:<b>'' + lekarstvo + ''</b>]'', '''')>>':
  162. cla
  163. *clr
  164. portion = input("How many packages do you want to buy? (One package contains 10 pills)")
  165. if portion <= 0:
  166. cla
  167. 'You change your mind and feel flustered,'
  168. act 'Move away from the counter':gt 'gaptek', 'start'
  169. exit
  170. end
  171. if portion * 500 <= money:
  172. money -= portion * 500
  173. lekarstvo += portion * 10
  174. '<center><img src="images/etogame/kassa.jpg"></center>'
  175. 'You buy some antibiotics, and put the pills in your pocket.'
  176. else
  177. 'You can''t afford to buy the antibiotics.'
  178. end
  179. act 'Move away from the counter':gt 'gaptek', 'start'
  180. end
  181. act 'Buy vitamin tablets (500 <b>₽</b>) <<iif(vitamin > 0, ''[left:<b>'' + vitamin + ''</b>]'', '''')>>':
  182. cla
  183. *clr
  184. portion = input("How many packages do you want to buy? (One package contains 20 tablets)")
  185. if portion <= 0:
  186. cla
  187. 'You change your mind and feel flustered,'
  188. act 'Move away from the counter':gt 'gaptek', 'start'
  189. exit
  190. end
  191. if portion * 500 <= money:
  192. vitamin += portion * 20
  193. money -= portion * 500
  194. '<center><img src="images/etogame/kassa.jpg"></center>'
  195. 'You purchase the vitamin tablets and put them in your pocket.'
  196. else
  197. 'You can''t afford the vitamin tablets.'
  198. end
  199. act 'Move away from the counter':gt 'gaptek', 'start'
  200. end
  201. act 'Buy painkillers (500 <b>₽</b>) <<iif(painkiller > 0, ''[left:<b>'' + painkiller + ''</b>]'', '''')>>':
  202. cla
  203. *clr
  204. portion = input("How many packs do you want to buy? (One package contains 16 tablets)")
  205. if portion <= 0:
  206. cla
  207. 'You change your mind and feel flustered,'
  208. act 'Move away from the counter':gt 'gaptek', 'start'
  209. exit
  210. end
  211. if portion * 500 <= money:
  212. painkiller += portion * 16
  213. money -= portion * 500
  214. '<center><img src="images/etogame/kassa.jpg"></center>'
  215. 'You purchase the painkiller and put them in your pocket.'
  216. else
  217. 'You can''t afford the painkiller tablets.'
  218. end
  219. act 'Move away from the counter':gt 'gaptek', 'start'
  220. end
  221. end
  222. if money >= 600:
  223. act 'Buy soothing ointment (600 <b>₽</b>) <<iif(mosolmaz > 0, ''[left:<b>'' + mosolmaz + ''</b>]'', '''')>>':
  224. cla
  225. *clr
  226. portion = input("How many packages do you want to buy? (One package contains 10 treatments)")
  227. if portion <= 0:
  228. cla
  229. 'You change your mind and feel flustered,'
  230. act 'Move away from the counter':gt 'gaptek', 'start'
  231. exit
  232. end
  233. if money >= portion * 600:
  234. money -= portion * 600
  235. mosolmaz += portion * 10
  236. '<center><img src="images/etogame/kassa.jpg"></center>'
  237. 'You buy some ointment packages and quickly put them in your pocket. The next time your pussy feels sore, these should help.'
  238. else
  239. 'You can''t afford the ointment.'
  240. end
  241. act 'Move away from the counter':gt 'gaptek', 'start'
  242. end
  243. end
  244. if money >= 1000:
  245. act 'Buy moisturizing lip balm (1,000 <b>₽</b>) <<iif(lipbalm > 0, ''[left:<b>'' + lipbalm + ''</b>]'', '''')>>':
  246. cla
  247. *clr
  248. portion = input("How many lip balms do you want to buy? (One lip balm is good enough for 25 uses)")
  249. if portion <= 0:
  250. cla
  251. 'You change your mind and feel flustered,'
  252. act 'Move away from the counter':gt 'gaptek', 'start'
  253. exit
  254. end
  255. if portion * 1000 <= money:
  256. lipbalm += portion * 25
  257. money -= portion * 1000
  258. '<center><img src="images/etogame/kassa.jpg"></center>'
  259. 'You buy the lip balm and put it in your pocket.'
  260. else
  261. 'You can''t afford the lip balm.'
  262. end
  263. act 'Move away from the counter':gt 'gaptek', 'start'
  264. end
  265. end
  266. if money >= 1500:
  267. act 'Buy fat burners (1,500 <b>₽</b>) <<iif(fatdel > 0, ''[left:<b>'' + fatdel + ''</b>]'', '''')>>':
  268. cla
  269. *clr
  270. portion = input("How many fat burners do you want to buy?")
  271. if portion <= 0:
  272. cla
  273. 'You change your mind and feel flustered,'
  274. act 'Move away from the counter':gt 'gaptek', 'start'
  275. exit
  276. end
  277. if portion * 1500 <= money:
  278. fatdel += portion
  279. money -= portion * 1500
  280. '<center><img src="images/etogame/kassa.jpg"></center>'
  281. 'You buy some fat burning capsules and read the box; you have to take these with some water.'
  282. else
  283. 'You can''t afford the fat burning capsules. Looks like you''ll have to work for it if you want to lose some weight.'
  284. end
  285. act 'Move away from the counter':gt 'gaptek', 'start'
  286. end
  287. if KandidNapr = 1:
  288. act 'Buy s cure for your yeast infection (1,500 <b>₽</b>)':
  289. cla
  290. *clr
  291. money -= 1500
  292. Kandidoz = 0
  293. '<center><img src="images/etogame/kassa.jpg"></center>'
  294. 'You put the money on the counter and immediately open the package and swallow the tablet. A while later, you feel better.'
  295. act 'Move away from the counter':gt 'gaptek', 'start'
  296. end
  297. end
  298. end
  299. end
  300. end
  301. if $ARGS[0] = 'garden':
  302. if money >= 100 and motherQW >= 2 and gaptekfirst = 1 and gaprezikday ! daystart:
  303. act 'Buy condoms (100 <b>₽</b>) <<iif(prezik > 0, ''[left:<b>'' + prezik + ''</b>]'', '''')>>':
  304. cla
  305. *clr
  306. portion = input("How many packages you want to buy? (One package contains 5 condoms)")
  307. if portion <= 0:
  308. cla
  309. 'You change your mind and feel flustered,'
  310. act 'Move away from the counter':gt 'gaptek', 'start'
  311. exit
  312. end
  313. if portion > 2 and motherQW < 3:portion = 2 & 'You tell yourself: "Two packages should be enough". You shouldn''t buy too many at once, otherwise your aunt might get suspicious.'
  314. if portion > 5 and motherQW >= 3:portion = 5 & 'Your aunt laughs and shakes her head. "I''m sorry <<$name>>, I can only give you five. With the amounts you''re buying, the condom factory can barely keep up delivering new stock."'
  315. if portion * 100 <= money:
  316. prezik += portion * 5
  317. minut += 5
  318. money -= portion * 100
  319. gaprezikday = daystart
  320. '<center><img src="images/etogame/kassa.jpg"></center>'
  321. 'You pay for the condoms and quickly put them in your pocket, before anyone sees you buy them.'
  322. if motherQW < 3:gaogorod += portion
  323. else
  324. 'You can''t afford the condoms.'
  325. end
  326. act 'Move away from the counter':gt 'gaptek', 'start'
  327. end
  328. end
  329. if money >= 200 and motherQW >= 2 and gaptekfirst = 1:
  330. act 'Buy pregnancy tests (200 <b>₽</b>) <<iif(pregtest > 0, ''[left:<b>'' + pregtest + ''</b>]'', '''')>>':
  331. cla
  332. *clr
  333. portion = input("How many packages do you want to buy? (One package contains two testers)")
  334. if portion <= 0:
  335. cla
  336. 'You change your mind and feel flustered,'
  337. act 'Move away from the counter':gt 'gaptek', 'start'
  338. exit
  339. end
  340. if portion * 200 <= money:
  341. pregtest += portion * 2
  342. minut += 5
  343. money -= portion * 200
  344. '<center><img src="images/etogame/kassa.jpg"></center>'
  345. 'You pay for the pregnancy tests and quickly put them in your pocket, before anyone sees you buy them.'
  346. if motherQW < 3:gaogorod += portion
  347. else
  348. 'You can''t afford to buy the pregnancy tests, and have to put them back on the counter.'
  349. end
  350. act 'Move away from the counter':gt 'gaptek', 'start'
  351. end
  352. end
  353. !! you can only buy lube here if your aunt arranged for it and you haven''t bought any today yet
  354. if money >= 300 and galubri = 1 and motherQW >= 2 and gaptekfirst = 1 and galubriday ! daystart:
  355. act 'Buy <b>lubricant</b> (300 <b>₽</b>) <<iif(lubri > 0, ''[left:<b>'' + lubri + ''</b>]'', '''')>>':
  356. cla
  357. *clr
  358. portion = input ("How many tubes do you want to buy? (One tube lasts for 5 uses)")
  359. if portion <= 0:
  360. cla
  361. 'You change your mind and feel flustered,'
  362. act 'Move away from the counter':gt 'gaptek', 'start'
  363. exit
  364. end
  365. if portion > 3:portion = 3 & 'Your aunt shakes her head wearily: "Wow <<$nickname>>, you little vixen! You really love this stuff huh? I''m sorry but I can only sell you three, I need to keep a few in stock for other customers too. We don''t want the whole town to wonder where their supply of lubricant went."'
  366. if portion * 300 <= money:
  367. lubri += portion * 5
  368. minut += 5
  369. money -= portion * 300
  370. galubriday = daystart
  371. '<center><img src="images/etogame/kassa.jpg"></center>'
  372. 'You pay for the lubricant and quickly put the tubes in your pocket, before anyone sees you buy them.'
  373. if motherQW < 3:gaogorod += portion
  374. else
  375. 'You can''t afford to buy the lubricant.'
  376. end
  377. act 'Move away from the counter':gt 'gaptek', 'start'
  378. end
  379. end
  380. end
  381. --- gaptek ---------------------------------