gaptek.qsrc 19 KB

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