gaptek.qsrc 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  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:
  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', 1, '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', 1, '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. if npc_QW['A29'] >= 2:
  116. act 'Ask about the "garden"': gt 'gaptek', 'garden'
  117. end
  118. end
  119. end
  120. if $ARGS[0] = 'garden':
  121. $loc = 'gaptek'
  122. $metka = 'garden'
  123. $menu_loc = 'gaptek'
  124. $menu_arg = 'garden'
  125. menu_off = 0
  126. *clr & cla
  127. gs 'stat'
  128. '<center><B><font color="maroon">Pharmacy</font></B></center>'
  129. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_aunt_1.jpg"></center>'
  130. *nl
  131. if npc_QW['A29'] = 2 and gaogorod < 40:
  132. if gaptekfirst = 0:
  133. gaptekfirst = 1
  134. minut += 5
  135. '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.'
  136. '"Hi <<$pcs_nickname>>, are you looking for something?"'
  137. 'You take a deep breath and say: "Erm... yes aunt. My mother needs some things for her ''garden''?" putting extra emphasis on the word.'
  138. '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!"'
  139. 'You''re slightly confused now, and try again: "I know, aunt... my <<$npc_nickname[''A29'']>> said I should say ''garden''."'
  140. '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.'
  141. '"Here you go. All of your gardening needs, right here. What can I get you?"'
  142. else
  143. minut += rand(5, 15)
  144. if gaprezikday ! daystart or gatabletkiday ! daystart or gabotmedday ! daystart or gabotsmlday ! daystart or gapregday ! daystart:
  145. 'You wait until the last customer leaves the pharmacy, and quickly dart over to the counter.'
  146. '"Hi aunt Luda, my <<$npc_nickname[''A29'']>> needs a few more items for her garden."'
  147. '"Your <<$npc_nickname[''A29'']>>, huh? Sure, sure... it''s right here, take your pick!" she chuckles, as you try to hide your blush.'
  148. 'You intently stare at the items, avoiding her gaze as you mutter: "Thank you, Aunt..."'
  149. '"No problem, <<$pcs_nickname>>. But seriously, tell Natasha she shouldn''t spend so much time gardening. We keep running low on stock."'
  150. else
  151. minut += rand(5,15)
  152. '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.'
  153. end
  154. end
  155. elseif npc_QW['A29'] = 2:
  156. gt 'motherQW','motherQW_3'
  157. elseif npc_QW['A29'] >= 3 and galubri = 0:
  158. if gaprezikday ! daystart or gatabletkiday ! daystart or gabotmedday ! daystart or gabotsmlday ! daystart or gapregday ! daystart:
  159. minut += rand(5,15)
  160. gs'stat'
  161. if rand(0,5) = 0 and oluuosegunday ! daystart:
  162. gt 'motherQW','olu'
  163. else
  164. '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.'
  165. end
  166. elseif gaprezikday = daystart and gatabletkiday = daystart:
  167. minut += rand(5,15)
  168. '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.'
  169. end
  170. elseif npc_QW['A29'] >= 3 and galubri = 1:
  171. if gaprezikday ! daystart or gatabletkiday ! daystart or gabotmedday ! daystart or gabotsmlday ! daystart or gapregday ! daystart:
  172. minut += rand(5,15)
  173. if rand(0,5) = 0 and oluuosegunday ! daystart and tetyafirst < 3:
  174. gt 'motherQW','olu'
  175. else
  176. '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.'
  177. end
  178. elseif gaprezikday = daystart and gatabletkiday = daystart and galubriday = daystart:
  179. minut += rand(5,15)
  180. '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.'
  181. end
  182. end
  183. if $gardmess ! '':
  184. $gardmess
  185. killvar '$gardmess'
  186. '"Do you need anything else?"'
  187. end
  188. *nl
  189. *pl '<center><table align="center" width=80%>'
  190. if preziktype = 0:
  191. *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>','')+'')
  192. elseif preziktype = 1 or preziktype = 2:
  193. *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>','')+'')
  194. end
  195. *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>','')+'')
  196. *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>','')+'')
  197. *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>','')+'')
  198. if klisma > 0:
  199. *P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'garden')
  200. else
  201. *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>','')+'')
  202. end
  203. if breastpump > 0:
  204. *P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'garden')
  205. else
  206. *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>','')+'')
  207. end
  208. *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>','')+'')
  209. *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>','')+'')
  210. *P '</table></center>'
  211. act 'Move away from the counter':gt 'gaptek', 'start'
  212. end
  213. if $ARGS[0] = 'buy_condoms':
  214. if gap_condom_count >= 2 and npc_QW['A29'] < 3 and gaprezikday = daystart:
  215. $gardmess = 'You tell yourself: "Two packages should be enough". You shouldn''t buy too many at once, otherwise your aunt might get suspicious.'
  216. *nl
  217. gt 'gaptek', 'garden'
  218. elseif gap_condom_count >= 5 and npc_QW['A29'] >= 3 and gaprezikday = daystart:
  219. $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."'
  220. *nl
  221. gt 'gaptek', 'garden'
  222. else
  223. if preziktype = 0:
  224. prezik += 5
  225. elseif preziktype = 1 or preziktype = 2:
  226. prezikcount += 5
  227. end
  228. money -= 500
  229. gap_condom_count += 1
  230. gaprezikday = daystart
  231. gs 'stat'
  232. if npc_QW['A29'] < 3:gaogorod += 5
  233. $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.'
  234. *nl
  235. gt 'gaptek', 'garden'
  236. end
  237. end
  238. if $ARGS[0] = 'buy_preg_test':
  239. if gap_preg_count >= 1 and npc_QW['A29'] < 3 and gapregday = daystart:
  240. $gardmess = 'It''s better if I don''t buy too many today, aunt Luda might get suspicious.'
  241. *nl
  242. gt 'gaptek', 'garden'
  243. else
  244. pregtest += 1
  245. money -= 530
  246. gap_preg_count += 1
  247. gapregday = daystart
  248. gs 'stat'
  249. if npc_QW['A29'] < 3:gaogorod += 5
  250. $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.'
  251. *nl
  252. gt 'gaptek', 'garden'
  253. end
  254. end
  255. if $ARGS[0] = 'buy_lube':
  256. !! you can only buy lube here if your aunt arranged for it and you haven''t bought any today yet
  257. if galubri = 1 and gap_lub_count >= 3 and galubriday = daystart:
  258. $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."'
  259. *nl
  260. gt 'gaptek', 'garden'
  261. else
  262. lubri += 1
  263. money -= 145
  264. gap_lub_count += 1
  265. galubriday = daystart
  266. gs 'stat'
  267. if npc_QW['A29'] < 3:gaogorod += 3
  268. $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.'
  269. *nl
  270. gt 'gaptek', 'garden'
  271. end
  272. end
  273. if $ARGS[0] = 'buy_birth_control':
  274. if gap_bc_count >= 1 and npc_QW['A29'] < 3 and gatabletkiday = daystart:
  275. $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."'
  276. *nl
  277. gt 'gaptek', 'garden'
  278. else
  279. tabletki += 1
  280. money -= 1870
  281. gap_bc_count += 1
  282. gatabletkiday = daystart
  283. if npc_QW['A29'] < 3:gaogorod += 5
  284. gs 'stat'
  285. $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.'
  286. *nl
  287. gt 'gaptek', 'garden'
  288. end
  289. end
  290. if $ARGS[0] = 'buy_enema':
  291. klisma = 1
  292. money -= 1250
  293. $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.'
  294. *nl
  295. if npc_QW['A29'] < 3:gaogorod += 10
  296. gt 'gaptek', 'garden'
  297. end
  298. if $ARGS[0] = 'buy_breast_pump':
  299. breastpump = 1
  300. money -= 2500
  301. $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.'
  302. *nl
  303. gt 'gaptek', 'garden'
  304. end
  305. if $ARGS[0] = 'buy_bottle_sml':
  306. if gap_botsml_count >= 1 and npc_QW['A29'] < 3 and gabotsmlday = daystart:
  307. $gardmess = 'It''s better if I don''t buy too many today, aunt Luda might get suspicious.'
  308. *nl
  309. gt 'gaptek', 'garden'
  310. else
  311. bpbottles += 1
  312. money -= 930
  313. gap_botsml_count += 1
  314. gabotsmlday = daystart
  315. gs 'stat'
  316. $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.'
  317. *nl
  318. gt 'gaptek', 'garden'
  319. end
  320. end
  321. if $ARGS[0] = 'buy_bottle_med':
  322. if gap_botmed_count >= 1 and npc_QW['A29'] < 3 and gabotmedday = daystart:
  323. $gardmess = 'It''s better if I don''t buy too many today, aunt Luda might get suspicious.'
  324. *nl
  325. gt 'gaptek', 'garden'
  326. else
  327. bpbottlem += 1
  328. money -= 930
  329. gap_botmed_count += 1
  330. gabotmedday = daystart
  331. gs 'stat'
  332. $gardmess = '<center><font color="green">You bought 2 <b>Medium bottles</b>.</font></center><br>You quickly hide the medium bottles before anyone notices.'
  333. *nl
  334. gt 'gaptek', 'garden'
  335. end
  336. end
  337. if $ARGS[0] = 'buy_antifungal':
  338. if Kandidoz >= 30:
  339. money -= 1050
  340. Kandidoz = 0
  341. gs 'stat'
  342. $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.'
  343. gt 'gaptek', 'start'
  344. elseif Kandidoz < 30 and KandidozOnce > 0:
  345. 'You don''t need the medication right now. Your thrush is currently in remission, taking vitamins will ensure that it stays that way.'
  346. else
  347. msg '<center>You don''t need any antifungal medication right now.</center>'
  348. *nl
  349. gt 'gaptek', 'start'
  350. end
  351. end
  352. if $ARGS[0] = 'oops':
  353. msg '<center>I better not buy this here, otherwise aunt will tell <<$npc_nickname[''A29'']>>!</center>'
  354. *nl
  355. gt 'gaptek', 'start'
  356. end
  357. --- gaptek ---------------------------------