gaptek.qsrc 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. # gaptek
  2. $location_type = 'public_indoors'
  3. if $ARGS[0] = 'start' or $message ! '':
  4. CLOSE ALL
  5. *clr & cla
  6. $loc = 'gaptek'
  7. $metka = 'start'
  8. $menu_loc = 'gaptek'
  9. $menu_arg = 'start'
  10. menu_off = 0
  11. if sound = 0:PLAY 'sound/shop.mp3',30
  12. gs 'stat'
  13. if gatabletkiday ! daystart: gap_bc_count = 0
  14. if galubriday ! daystart: gap_lub_count = 0
  15. if gapregday ! daystart: gap_preg_count = 0
  16. if gaprezikday ! daystart: gap_condom_count = 0
  17. if gabotsmlday ! daystart: gap_botsml_count = 0
  18. if gabotmedday ! daystart: gap_botmed_count = 0
  19. if (hour >= 14 and hour <= 20 and week < 6) or (hour >= 8 and hour < 12 and week >= 6):
  20. gaptek_aunt_hours = 1
  21. else
  22. gaptek_aunt_hours = 0
  23. end
  24. '<center><B><font color="maroon">Pharmacy</font></B></center>'
  25. if gaptek_aunt_hours = 1:
  26. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_aunt_1.jpg"></center>'
  27. else
  28. if pav_pharma_day ! daystart: pav_pharma_day = daystart & pav_pharma_picrand = rand(1,4)
  29. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_'+pav_pharma_picrand+'.jpg"></center>'
  30. end
  31. *nl
  32. if Olu_pay > 0 and gaptek_aunt_hours = 1:
  33. minut += rand(5,10)
  34. money += Olu_pay * rand(500,700)
  35. Olu_pay = 0
  36. 'You go back to the pharmacy, and wait for a slow moment so you can talk to your aunt undisturbed.'
  37. 'Your aunt smiles happily as she gives you a small envelope. "Thank you so much <<$pcs_firstname>>, this is the only way I can get some sleep. I really appreciate it. Here, please accept this money, you''ve earned it."'
  38. act 'Thank her and leave the counter': gt 'gaptek', 'start'
  39. exit
  40. end
  41. act 'Leave the pharmacy':gt 'pavCommercial'
  42. if $message ! '':
  43. $message
  44. killvar '$message'
  45. '"Do you need anything else?"'
  46. else
  47. if StoryLine = 0 or gaptek_aunt_hours = 0:
  48. 'The woman behind the counter in a white coat greets you, "Hello, what you need?"'
  49. else
  50. 'Aunt Luda is sitting behind the counter, as usual. She gives you a friendly nod when she sees you: "Hi <<$pcs_firstname>>! How are you?"'
  51. end
  52. end
  53. *nl
  54. *pl '<center><table align="center" width=80%>'
  55. if gaptek_aunt_hours = 0 or (home_owned[2] = 0 and StoryLine = 1):
  56. if preziktype = 0:
  57. *P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezik', 'gaptek', 'start')
  58. elseif preziktype = 1 or preziktype = 2:
  59. *P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezikcount', 'gaptek', 'start')
  60. end
  61. *P FUNC ('$stock_item', 1, 'Pregnancy test', 530, 'pregtest', 'gaptek', 'start')
  62. *P FUNC ('$stock_item', 1, 'Birth control pills', 1870, 'tabletki', 'gaptek', 'start')
  63. *P FUNC ('$stock_item', 10, 'Antibiotics', 580, 'lekarstvo', 'gaptek', 'start')
  64. *P FUNC ('$stock_item', 30, 'Vitamins', 130, 'vitamin', 'gaptek', 'start')
  65. *P FUNC ('$stock_item', 50, 'Painkillers', 435, 'painkiller', 'gaptek', 'start')
  66. *P FUNC ('$stock_item', 10, 'Ointments for chafing', 372, 'mosolmaz', 'gaptek', 'start')
  67. *P FUNC ('$stock_item', 20, 'Lubricant', 145, 'lubri', 'gaptek', 'start')
  68. *P FUNC ('$stock_item', 30, 'Lip balm', 127, 'lipbalm', 'gaptek', 'start')
  69. *P FUNC ('$stock_item', 12, 'Weight loss pill', 248, 'fatdel', 'gaptek', 'start')
  70. *P FUNC ('$stock_item', 20, 'Tampons', 200, 'tampon', 'gaptek', 'start')
  71. *P FUNC ('$stock_item', 20, 'Sanitary napkins', 100, 'sanpad', 'gaptek', 'start')
  72. *P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'start')
  73. *P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'start')
  74. *P FUNC ('$stock_item', 3, 'Breastmilk bottle S', 930, 'bpbottles', 'gaptek', 'start')
  75. *P FUNC ('$stock_item', 2, 'Breastmilk bottle M', 930, 'bpbottlem', 'gaptek', 'start')
  76. if pcs_knows_nipplecream = 1:
  77. *P FUNC ('$stock_item', 20, 'Nipplebalm', 600, 'bpnipplebalm', 'gaptek', 'start')
  78. end
  79. *P FUNC ('$single_stock_item', 1, 'Antifungal medication', 1050, 'Kandidoz', 'gaptek', 'start')
  80. *P '</table></center>'
  81. elseif gaptek_aunt_hours = 1:
  82. if preziktype = 0:
  83. *P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezik', 'gaptek', 'start', StoryLine, '(you have <<prezik>>)','<a href="exec:gs ''gaptek'', ''oops''">buy 5</a>')
  84. elseif preziktype = 1 or preziktype = 2:
  85. *P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezikcount', 'gaptek', 'start', StoryLine, '(you have <<prezikcount>>)','<a href="exec:gs ''gaptek'', ''oops''">buy 5</a>')
  86. end
  87. *P FUNC ('$stock_item', 1, 'Pregnancy test', 530, 'pregtest', 'gaptek', 'start', StoryLine, '(you have <<pregtest>>)','<a href="exec:gs ''gaptek'', ''oops''">buy 1</a>')
  88. *P FUNC ('$stock_item', 1, 'Birth control pills', 1870, 'tabletki', 'gaptek', 'start', StoryLine, '(you have <<tabletki>>)','<a href="exec:gs ''gaptek'', ''oops''">buy 1</a>')
  89. *P FUNC ('$stock_item', 10, 'Antibiotics', 580, 'lekarstvo', 'gaptek', 'start')
  90. *P FUNC ('$stock_item', 30, 'Vitamins', 130, 'vitamin', 'gaptek', 'start')
  91. *P FUNC ('$stock_item', 50, 'Painkillers', 435, 'painkiller', 'gaptek', 'start')
  92. *P FUNC ('$stock_item', 10, 'Ointments for chafing', 372, 'mosolmaz', 'gaptek', 'start')
  93. *P FUNC ('$stock_item', 20, 'Lubricant', 145, 'lubri', 'gaptek', 'start', StoryLine, '(you have <<lubri>>)','<a href="exec:gs ''gaptek'', ''oops''">buy 1</a>')
  94. *P FUNC ('$stock_item', 30, 'Lip balm', 127, 'lipbalm', 'gaptek', 'start')
  95. *P FUNC ('$stock_item', 12, 'Weight loss pill', 248, 'fatdel', 'gaptek', 'start')
  96. *P FUNC ('$stock_item', 20, 'Tampons', 200, 'tampon', 'gaptek', 'start')
  97. *P FUNC ('$stock_item', 20, 'Sanitary napkins', 100, 'sanpad', 'gaptek', 'start')
  98. if klisma > 0:
  99. *P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'start')
  100. else
  101. *P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'start', StoryLine, '(you have <<klisma>>)','<a href="exec:gs ''gaptek'', ''oops''">buy</a>')
  102. end
  103. if breastpump > 0:
  104. *P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'start')
  105. else
  106. *P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'start', StoryLine, '(you have <<breastpump>>)','<a href="exec:gs ''gaptek'', ''oops''">buy</a>')
  107. end
  108. *P FUNC ('$stock_item', 3, 'Breastmilk bottle S', 930, 'bpbottles', 'gaptek', 'start', StoryLine, '(you have <<bpbottles>>)','<a href="exec:gs ''gaptek'', ''oops''">buy</a>')
  109. *P FUNC ('$stock_item', 2, 'Breastmilk bottle M', 930, 'bpbottlem', 'gaptek', 'start', StoryLine, '(you have <<bpbottlem>>)','<a href="exec:gs ''gaptek'', ''oops''">buy</a>')
  110. if pcs_knows_nipplecream = 1:
  111. *P FUNC ('$stock_item', 20, 'Nipplebalm', 600, 'bpnipplebalm', 'gaptek', 'start')
  112. end
  113. if KandidNapr = 1: *P FUNC ('$single_stock_item', 1, 'Antifungal medication', 1050, 'Kandidoz', 'gaptek', 'start', StoryLine, '(you have 0)',''+iif(money >= 1050,'<a href="exec:gs ''gaptek'', ''buy_antifungal''">buy</a>','')+'')
  114. *P '</table></center>'
  115. end
  116. if npc_QW['A29'] >= 2 and gaptek_aunt_hours = 1: act 'Ask about the "garden"': gt 'gaptek', 'garden'
  117. end
  118. if $ARGS[0] = 'garden':
  119. $loc = 'gaptek'
  120. $metka = 'garden'
  121. $menu_loc = 'gaptek'
  122. $menu_arg = 'garden'
  123. menu_off = 0
  124. *clr & cla
  125. gs 'stat'
  126. '<center><B><font color="maroon">Pharmacy</font></B></center>'
  127. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_aunt_1.jpg"></center>'
  128. *nl
  129. if npc_QW['A29'] = 2 and gaogorod < 40:
  130. if gaptekfirst = 0:
  131. gaptekfirst = 1
  132. minut += 5
  133. '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.'
  134. '"Hi <<$pcs_nickname>>, are you looking for something?"'
  135. 'You take a deep breath and say: "Erm... yes aunt. My mother needs some things for her ''garden''?" putting extra emphasis on the word.'
  136. 'Your aunt pretends to be confused, and teases you: "<<$pcs_nickname>>, are you sure you''re in the right store? This is a pharmacy, not a gardening center!"'
  137. 'You''re slightly confused now, and try again: "I know, aunt... my <<$npc_nickname[''A29'']>> said I should say ''garden''."'
  138. 'She just laughs: "Just teasing, <<$pcs_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.'
  139. '"Here you go. All of your gardening needs, right here. What can I get you?"'
  140. else
  141. minut += rand(5, 15)
  142. if gaprezikday ! daystart or gatabletkiday ! daystart or gabotmedday ! daystart or gabotsmlday ! daystart or gapregday ! daystart:
  143. 'You wait until the last customer leaves the pharmacy, and quickly dart over to the counter.'
  144. '"Hi Aunt Luda, my <<$npc_nickname[''A29'']>> needs a few more items for her garden."'
  145. '"Your <<$npc_nickname[''A29'']>>, huh? Sure, sure... it''s right here, take your pick!" she chuckles, as you try to hide your blush.'
  146. 'You intently stare at the items, avoiding her gaze as you mutter: "Thank you, Aunt..."'
  147. '"No problem, <<$pcs_nickname>>. But seriously, tell Natasha she shouldn''t spend so much time gardening. We keep running low on stock."'
  148. else
  149. minut += rand(5,15)
  150. '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.'
  151. end
  152. end
  153. elseif npc_QW['A29'] = 2:
  154. gt 'motherQW','motherQW_3'
  155. elseif npc_QW['A29'] >= 3 and galubri = 0:
  156. if gaprezikday ! daystart or gatabletkiday ! daystart or gabotmedday ! daystart or gabotsmlday ! daystart or gapregday ! daystart:
  157. minut += rand(5,15)
  158. gs'stat'
  159. if rand(0,5) = 0 and oluuosegunday ! daystart:
  160. gt 'motherQW','olu'
  161. else
  162. '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.'
  163. end
  164. elseif gaprezikday = daystart and gatabletkiday = daystart:
  165. minut += rand(5,15)
  166. 'You wait for your turn and move up to the counter, discretely nodding at the counter with the contraceptives. She apologizes: "I''m sorry <<$pcs_nickname>>, 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.'
  167. end
  168. elseif npc_QW['A29'] >= 3 and galubri = 1:
  169. if gaprezikday ! daystart or gatabletkiday ! daystart or gabotmedday ! daystart or gabotsmlday ! daystart or gapregday ! daystart:
  170. minut += rand(5,15)
  171. if rand(0,5) = 0 and oluuosegunday ! daystart and tetyafirst < 3:
  172. gt 'motherQW','olu'
  173. else
  174. '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.'
  175. end
  176. elseif gaprezikday = daystart and gatabletkiday = daystart and galubriday = daystart:
  177. minut += rand(5,15)
  178. 'You wait for your turn and move up to the counter, discretely nodding at the counter with the contraceptives. She apologizes: "I''m sorry <<$pcs_nickname>>, 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.'
  179. end
  180. end
  181. if $gardmess ! '':
  182. $gardmess
  183. killvar '$gardmess'
  184. '"Do you need anything else?"'
  185. end
  186. *nl
  187. *pl '<center><table align="center" width=80%>'
  188. if preziktype = 0:
  189. *P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezik', 'gaptek', 'garden', StoryLine, '(you have <<prezik>>)',''+iif(money >= 500,'<a href="exec:gs ''gaptek'', ''buy_condoms''">buy 5</a>','')+'')
  190. elseif preziktype = 1 or preziktype = 2:
  191. *P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezikcount', 'gaptek', 'garden', StoryLine, '(you have <<prezikcount>>)',''+iif(money >= 500,'<a href="exec:gs ''gaptek'', ''buy_condoms''">buy 5</a>','')+'')
  192. end
  193. *P FUNC ('$stock_item', 1, 'Pregnancy test', 530, 'pregtest', 'gaptek', 'garden', StoryLine, '(you have <<pregtest>>)',''+iif(money >= 530,'<a href="exec:gs ''gaptek'', ''buy_preg_test''">buy 1</a>','')+'')
  194. *P FUNC ('$stock_item', 1, 'Birth control pills', 1870, 'tabletki', 'gaptek', 'garden', StoryLine, '(you have <<tabletki>>)',''+iif(money >= 1870,'<a href="exec:gs ''gaptek'', ''buy_birth_control''">buy 1</a>','')+'')
  195. *P FUNC ('$stock_item', 1, 'Lubricant', 145, 'lubri', 'gaptek', 'garden', StoryLine, '(you have <<lubri>>)',''+iif(money >= 145,'<a href="exec:gs ''gaptek'', ''buy_lube''">buy 1</a>','')+'')
  196. if klisma > 0:
  197. *P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'garden')
  198. else
  199. *P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'garden', StoryLine, '(you have <<klisma>>)',''+iif(money >= 1250,'<a href="exec:gs ''gaptek'', ''buy_enema''">buy</a>','')+'')
  200. end
  201. if breastpump > 0:
  202. *P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'garden')
  203. else
  204. *P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'garden', StoryLine, '(you have <<breastpump>>)',''+iif(money >= 2500,'<a href="exec:gs ''gaptek'', ''buy_breast_pump''">buy</a>','')+'')
  205. end
  206. *P FUNC ('$stock_item', 3, 'Breastmilk bottle S', 930, 'bpbottles', 'gaptek', 'garden', StoryLine, '(you have <<bpbottles>>)',''+iif(money >= 930,'<a href="exec:gs ''gaptek'', ''buy_bottle_sml''">buy</a>','')+'')
  207. *P FUNC ('$stock_item', 2, 'Breastmilk bottle M', 930, 'bpbottlem', 'gaptek', 'garden', StoryLine, '(you have <<bpbottlem>>)',''+iif(money >= 930,'<a href="exec:gs ''gaptek'', ''buy_bottle_med''">buy</a>','')+'')
  208. *P '</table></center>'
  209. act 'Move away from the counter':gt 'gaptek', 'start'
  210. end
  211. if $ARGS[0] = 'buy_condoms':
  212. if gap_condom_count >= 2 and npc_QW['A29'] < 3 and gaprezikday = daystart:
  213. $gardmess = 'You tell yourself: "Two packages should be enough". You shouldn''t buy too many at once, otherwise your aunt might get suspicious.'
  214. *nl
  215. gt 'gaptek', 'garden'
  216. elseif gap_condom_count >= 5 and npc_QW['A29'] >= 3 and gaprezikday = daystart:
  217. $gardmess = 'Your aunt laughs and shakes her head. "I''m sorry <<$pcs_nickname>>, I can only give you five. With the amounts you''re buying, the condom factory can barely keep up delivering new stock."'
  218. *nl
  219. gt 'gaptek', 'garden'
  220. else
  221. if preziktype = 0:
  222. prezik += 5
  223. elseif preziktype = 1 or preziktype = 2:
  224. prezikcount += 5
  225. end
  226. money -= 500
  227. gap_condom_count += 1
  228. gaprezikday = daystart
  229. gs 'stat'
  230. if npc_QW['A29'] < 3:gaogorod += 5
  231. $gardmess = '<center><font color="green">You bought 5 <b>Condoms</b>.</font></center><br>You pay for the condoms and quickly put them in your pocket, before anyone sees you buy them.'
  232. *nl
  233. gt 'gaptek', 'garden'
  234. end
  235. end
  236. if $ARGS[0] = 'buy_preg_test':
  237. if gap_preg_count >= 1 and npc_QW['A29'] < 3 and gapregday = daystart:
  238. $gardmess = 'It''s better if I don''t buy too many today, aunt Luda might get suspicious.'
  239. *nl
  240. gt 'gaptek', 'garden'
  241. else
  242. pregtest += 1
  243. money -= 530
  244. gap_preg_count += 1
  245. gapregday = daystart
  246. gs 'stat'
  247. if npc_QW['A29'] < 3:gaogorod += 5
  248. $gardmess = '<center><font color="green">You bought 1 <b>Pregnancy test</b>.</font></center><br>You pay for the pregnancy tests and quickly put them in your pocket, before anyone sees you buy them.'
  249. *nl
  250. gt 'gaptek', 'garden'
  251. end
  252. end
  253. if $ARGS[0] = 'buy_lube':
  254. !! you can only buy lube here if your aunt arranged for it and you haven''t bought any today yet
  255. if galubri = 1 and gap_lub_count >= 3 and galubriday = daystart:
  256. $gardmess = 'Your aunt shakes her head wearily: "Wow <<$pcs_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."'
  257. *nl
  258. gt 'gaptek', 'garden'
  259. else
  260. lubri += 20
  261. money -= 145
  262. gap_lub_count += 1
  263. galubriday = daystart
  264. gs 'stat'
  265. if npc_QW['A29'] < 3:gaogorod += 3
  266. $gardmess = '<center><font color="green">You bought 1 <b>Lubricant</b>.</font></center><br>You pay for the lubricant and quickly put the tube in your pocket, before anyone sees you buy them.'
  267. *nl
  268. gt 'gaptek', 'garden'
  269. end
  270. end
  271. if $ARGS[0] = 'buy_birth_control':
  272. if gap_bc_count >= 1 and npc_QW['A29'] < 3 and gatabletkiday = daystart:
  273. $gardmess = '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."'
  274. *nl
  275. gt 'gaptek', 'garden'
  276. else
  277. tabletki += 1
  278. money -= 1870
  279. gap_bc_count += 1
  280. gatabletkiday = daystart
  281. if npc_QW['A29'] < 3:gaogorod += 5
  282. gs 'stat'
  283. $gardmess = '<center><font color="green">You bought 1 <b>Birth control pills</b>.</font></center><br>You pay for the birth control pills and quickly put the strips in your pocket, before anyone sees you buy them.'
  284. *nl
  285. gt 'gaptek', 'garden'
  286. end
  287. end
  288. if $ARGS[0] = 'buy_enema':
  289. klisma = 1
  290. money -= 1250
  291. $gardmess = '<center><font color="green">You bought an Enema kit</font></center><br>You pay for the enema kit and quickly ask your aunt to put it in a paper bag, before the other customers see it.'
  292. *nl
  293. if npc_QW['A29'] < 3:gaogorod += 10
  294. gt 'gaptek', 'garden'
  295. end
  296. if $ARGS[0] = 'buy_breast_pump':
  297. breastpump = 1
  298. money -= 2500
  299. $gardmess = '<center><font color="green">You bought a Breast pump</font></center><br>You quickly ask your aunt to put the breat pump in a paper bag, before anyone notices.'
  300. *nl
  301. gt 'gaptek', 'garden'
  302. end
  303. if $ARGS[0] = 'buy_bottle_sml':
  304. if gap_botsml_count >= 1 and npc_QW['A29'] < 3 and gabotsmlday = daystart:
  305. $gardmess = 'It''s better if I don''t buy too many today, aunt Luda might get suspicious.'
  306. *nl
  307. gt 'gaptek', 'garden'
  308. else
  309. bpbottles += 1
  310. money -= 930
  311. gap_botsml_count += 1
  312. gabotsmlday = daystart
  313. gs 'stat'
  314. $gardmess = '<center><font color="green">You bought 3 <b>Small bottles</b>.</font></center><br>You quickly hide the small bottles before anyone sees them.'
  315. *nl
  316. gt 'gaptek', 'garden'
  317. end
  318. end
  319. if $ARGS[0] = 'buy_bottle_med':
  320. if gap_botmed_count >= 1 and npc_QW['A29'] < 3 and gabotmedday = daystart:
  321. $gardmess = 'It''s better if I don''t buy too many today, aunt Luda might get suspicious.'
  322. *nl
  323. gt 'gaptek', 'garden'
  324. else
  325. bpbottlem += 1
  326. money -= 930
  327. gap_botmed_count += 1
  328. gabotmedday = daystart
  329. gs 'stat'
  330. $gardmess = '<center><font color="green">You bought 2 <b>Medium bottles</b>.</font></center><br>You quickly hide the medium bottles before anyone notices.'
  331. *nl
  332. gt 'gaptek', 'garden'
  333. end
  334. end
  335. if $ARGS[0] = 'buy_antifungal':
  336. if Kandidoz >= 30:
  337. money -= 1050
  338. Kandidoz = 0
  339. gs 'stat'
  340. $gardmess = '<center><font color="green">You bought 1 <b>Antifungal medication</b>.</font></center><br>You put the money on the counter and immediately open the package and swallow the tablet. A while later, you feel better.'
  341. gt 'gaptek', 'start'
  342. elseif Kandidoz < 30 and KandidozOnce > 0:
  343. 'You don''t need the medication right now. Your thrush is currently in remission, taking vitamins will ensure that it stays that way.'
  344. else
  345. msg '<center>You don''t need any antifungal medication right now.</center>'
  346. *nl
  347. gt 'gaptek', 'start'
  348. end
  349. end
  350. if $ARGS[0] = 'oops':
  351. msg '<center>I better not buy this here, otherwise aunt will tell <<$npc_nickname[''A29'']>>!</center>'
  352. *nl
  353. gt 'gaptek', 'start'
  354. end
  355. --- gaptek ---------------------------------