gadmarket.tw 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. :: gadmarket[mod mod_gad]
  2. <<set $here = 'gadmarket'>>
  3. <<set $ARGS = $location_var[$here]>>
  4. <<set $loc = 'gadmarket'>>
  5. <<set $loc_arg = ''>>
  6. <<set $menu_loc = 'gadmarket'>>
  7. <<set $menu_arg = ''>>
  8. <<set $menu_off = 0>>
  9. <<set $location_type = 'public_indoors'>>
  10. <<set $pc.frost = 0>>
  11. <!-- FAILED TO CONVERT
  12. *pl '<center><h1><font color="maroon">Village Shop</font></h1></center>'
  13. -----
  14. <<set * ERROR: FAILED TO CONVERT LITERAL: """pl '<center><h1><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"maroon">Village Shop<""" / ERROR: FAILED TO CONVERT LITERAL: """font><""" / ERROR: FAILED TO CONVERT LITERAL: """h1><""" / ERROR: FAILED TO CONVERT LITERAL: """center>'""">>
  15. -->
  16. <<warn "CONVERSION ERROR d069e974285114347301aa23b4b425f7">>
  17. <!-- FAILED TO CONVERT
  18. *pl '<center><img <<$set_imgh>> src="images/locations/gadukino/village/market.jpg"></center>'
  19. -----
  20. <<set * ERROR: FAILED TO CONVERT LITERAL: """pl '<center><img $set_imgh src""" = "images / $locations / $gadukino / $village / ERROR: FAILED TO CONVERT LITERAL: """market.jpg"><""" / ERROR: FAILED TO CONVERT LITERAL: """center>'""">>
  21. -->
  22. <<warn "CONVERSION ERROR 8def1805f4ab54312ee6524b0f2dc0c2">>
  23. <p>You walk into the small shop with four narrow aisles with chest-high shelves full of food and other household goods. There is little variety in the selections, just the most essential products.</p>
  24. Slowly you browse the aisles, looking for something to buy.
  25. As you approach the teller, you notice a rack full of magazines, cigarettes, and a few hygienic items.
  26. <<set $gadmarkettab = '<center><table align="center">'>>
  27. <<set $gadmarkettab += FUNC ('$stock_item', 10, 'Package of tea biscuits', 400, 'pranik', 'gadmarket')>>
  28. <<set $gadmarkettab += FUNC ('$stock_item', 20, 'Cigarettes', 150, 'siga', 'gadmarket')>>
  29. <<set $gadmarkettab += FUNC ('$single_stock_item', 1, 'Fashion magazine', 145, 'fashmag', 'gadmarket')>>
  30. <<set $gadmarkettab += FUNC ('$single_stock_item', 1, 'Computer magazine', 145, 'compmag', 'gadmarket')>>
  31. <<set $gadmarkettab += FUNC ('$single_stock_item', 1, 'Biographical magazine', 145, 'biomag', 'gadmarket')>>
  32. <<set $gadmarkettab += FUNC ('$single_stock_item', 1, 'Cooking magazine', 145, 'cookmag', 'gadmarket')>>
  33. <<set $gadmarkettab += FUNC ('$single_stock_item', 1, 'Knitting magazine', 145, 'knitmag', 'gadmarket')>>
  34. <<if getvar("$preziktype") == 0>>
  35. <<set $gadmarkettab += FUNC ('$stock_item', 5, 'Condoms', 600, 'prezik', 'gadmarket')>>
  36. <</if>>
  37. <<if getvar("$preziktype") == 1 or getvar("$preziktype") == 2>>
  38. <<set $gadmarkettab += FUNC ('$stock_item', 5, 'Condoms', 600, 'prezikcount', 'gadmarket')>>
  39. <</if>>
  40. <<set $gadmarkettab += FUNC ('$stock_item', 20, 'Tampons', 250, 'tampon', 'gadmarket')>>
  41. <<set $gadmarkettab += FUNC ('$stock_item', 25, 'Razors (number of shaves)', 350, 'stanok', 'gadmarket')>>
  42. <<set $gadmarkettab += FUNC ('$stock_item', 30, 'Shampoo', 250, 'shampoo', 'gadmarket')>>
  43. <<set $gadmarkettab += FUNC ('$single_stock_item', 1, 'Bottle of water', 100, 'bottle', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')>>
  44. <<set $gadmarkettab += FUNC ('$single_stock_item', 1, 'Sandwich', 100, 'buterbrod', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')>>
  45. <<set $gadmarkettab += FUNC ('$single_stock_item', 1, 'Cheap Bottle of wine', 200, 'wine', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')>>
  46. <<set $gadmarkettab += FUNC ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')>>
  47. <<set $gadmarkettab += '</table></center>'>>
  48. * pl $gadmarkettab
  49. <<set $gadmarkettab to null>>
  50. <<actCLA 'Leave the market'>>
  51. <<set $time.minutes += 5>> <<gt 'gadukino'>>
  52. <</actCLA>>
  53. <<if getvar("$grandmaQW['chore_groceries']") == 1>>
  54. <<actCLA 'Gather the things on Grandma`s list (0:30)'>>
  55. <<set $time.minutes += 30>>
  56. <<setinit $grandmaQW['chore_groceries'] = 2>>
  57. <<setinit $grandmaQW['help_amount'] += 1>>
  58. <<image "locations/gadukino/village/market.jpg">>
  59. You take out the list Grandma gave you and begin browsing the shelves for the items she needs. Finally, after about half an hour, you have gotten everything on the list.
  60. You take your basket of goods to the teller and explain that you are getting these things for your grandmother.
  61. <p>"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 anymore..."</p>
  62. <<actCLA 'Thank him and leave'>>
  63. <<set $time.minutes += 5>> <<gt 'gadukino'>>
  64. <</actCLA>>
  65. <<actCLA 'Thank him and take the groceries back to your grandmother (0:10)'>>
  66. <<set $time.minutes += 10>> <<gt 'gadhouse' 'grandma'>>
  67. <</actCLA>>
  68. <</actCLA>>
  69. <</if>>