1
0

gadmarket.qsrc 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # gadmarket
  2. *clr & cla
  3. $loc = 'gadmarket'
  4. $metka = ''
  5. $menu_loc = 'gadmarket'
  6. $menu_arg = ''
  7. menu_off = 0
  8. $location_type = 'public_indoors'
  9. frost = 0
  10. *pl '<center><h1><font color="maroon">Village Shop</font></h1></center>'
  11. *pl '<center><img <<$set_imgh>> src="images/locations/gadukino/village/market.jpg"></center>'
  12. 'You walk into the small shop with four narrow aisles with chest high shelves crammed full of food and other household goods. There is little variety in the selections, just the most essential products.'
  13. 'Slowly you browse the aisles looking for something to buy.'
  14. *nl
  15. 'As you approach the teller, you notice a rack full of magazines, cigarettes, and a few hygienic items.'
  16. *nl
  17. $gadmarkettab = '<center><table align="center">'
  18. $gadmarkettab += FUNC ('$stock_item', 10, 'Package of tea biscuits', 400, 'pranik', 'gadmarket')
  19. $gadmarkettab += FUNC ('$stock_item', 20, 'Cigarettes', 150, 'siga', 'gadmarket')
  20. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Fashion magazine', 145, 'fashmag', 'gadmarket')
  21. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Computer magazine', 145, 'compmag', 'gadmarket')
  22. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Biographical magazine', 145, 'biomag', 'gadmarket')
  23. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Cooking magazine', 145, 'cookmag', 'gadmarket')
  24. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Knitting magazine', 145, 'knitmag', 'gadmarket')
  25. if preziktype = 0: $gadmarkettab += FUNC ('$stock_item', 5, 'Condoms', 600, 'prezik', 'gadmarket')
  26. if preziktype = 1 or preziktype = 2: $gadmarkettab += FUNC ('$stock_item', 5, 'Condoms', 600, 'prezikcount', 'gadmarket')
  27. $gadmarkettab += FUNC ('$stock_item', 20, 'Tampons', 250, 'tampon', 'gadmarket')
  28. $gadmarkettab += FUNC ('$stock_item', 25, 'Razors (number of shaves)', 350, 'stanok', 'gadmarket')
  29. $gadmarkettab += FUNC ('$stock_item', 30, 'Shampoo', 250, 'shampoo', 'gadmarket')
  30. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Bottle of water', 100, 'bottle', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')
  31. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Sandwich', 100, 'buterbrod', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')
  32. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Cheap Bottle of wine', 200, 'wine', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')
  33. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')
  34. $gadmarkettab += '</table></center>'
  35. *pl $gadmarkettab
  36. killvar '$gadmarkettab'
  37. gs 'stat'
  38. act 'Leave the market': minut += 5 & gt 'gadukino'
  39. if grandmaQW['chore_groceries'] = 1:
  40. act 'Gather the things on Grandma''s list (0:30)':
  41. *clr & cla
  42. minut += 30
  43. gs 'stat'
  44. grandmaQW['chore_groceries'] = 2
  45. grandmaQW['help_amount'] += 1
  46. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/market.jpg"></center>'
  47. 'You take out the list Grandma gave you and begin browsing the shelves for the items she needs. After about half an hour you have gotten everything on the list.'
  48. *nl
  49. 'You take your basket of goods up to the teller and explain that you are getting these things for your grandmother.'
  50. '"Of course! Go ahead and take these on home to her. Tell her I will be by this evening to pick up her payment. I know it''s hard for her to get out any more..."'
  51. act 'Thank him and leave': minut += 5 & gt 'gadukino'
  52. act 'Thank him and take the groceries back to your grandmother (0:10)':minut += 10 & gt 'gadhouse','grandma'
  53. end
  54. end
  55. --- gadmarket ---------------------------------