gaptek.qsrc 19 KB

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