gadmarket.qsrc 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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', 450, 'fashmag', 'gadmarket')
  21. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Computer magazine', 450, 'compmag', 'gadmarket')
  22. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Biographical magazine', 450, 'biomag', 'gadmarket')
  23. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Cooking magazine', 450, 'cookmag', 'gadmarket')
  24. $gadmarkettab += FUNC ('$single_stock_item', 1, 'Knitting magazine', 450, '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', 40, 'Razors', 700, '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. --- gadmarket ---------------------------------