shop_materinstvo.qsrc 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # shop_materinstvo
  2. if $shoplocation = 'items': gt 'shop_materinstvo', 'items'
  3. if $ARGS[0] = 'start':
  4. *clr & cla
  5. $loc = 'shop_materinstvo'
  6. $loc_arg = 'start'
  7. $location_type = 'public_indoors'
  8. $menu_loc = 'shop_materinstvo'
  9. $menu_arg = 'start'
  10. killvar '$shoplocation'
  11. menu_off = 0
  12. gs 'stat'
  13. gs 'themes', 'indoors'
  14. gs 'shop_materinstvo' , 'config'
  15. '<center><b><font color="maroon">Mommy Style</font></b></center>'
  16. '<center><img src="images/locations/city/citycenter/mall/mommy/shop.jpg"></center>'
  17. *nl
  18. 'This is a shop dedicated to all things pregnancy related. Here you can buy Pregnancy Clothing or items to aid the process of getting through the day.'
  19. act 'Leave the Shop':gt 'torgcentr'
  20. act 'View clothes': minut += 3 & gt 'shop_materinstvo', 'clothes'
  21. !! act 'View items': minut += 3 & gt 'shop_materinstvo', 'items'
  22. end
  23. if $ARGS[0] = 'items':
  24. $shoplocation = 'items'
  25. *clr & cla
  26. $loc = 'shop_materinstvo'
  27. $loc_arg = 'items'
  28. $menu_loc = 'shop_materinstvo'
  29. $menu_arg = 'items'
  30. menu_off = 0
  31. gs 'stat'
  32. '<center><b><font color="maroon">Mommy Style</font></b></center>'
  33. '<center><img src="images/locations/city/citycenter/mall/mommy/shop1.jpg"></center>'
  34. !! This section is commented out until we can add function
  35. *pl '<center><table align="center" width=80%>'
  36. *p func ('$stock_item', 12, 'Morning Sickness Pills', 80, 'ms_pill', $curloc)
  37. *p func ('$single_stock_item', 1, 'Pregnancy Ball', 2475, 'preg_ball', $curloc)
  38. *p func ('$single_stock_item', 1, 'Pregnancy Brace', 975, 'preg_brace', $curloc)
  39. *p func ('$single_stock_item', 1, 'Pregnancy Pillow', 2475, 'preg_pillow', $curloc)
  40. *p '</table></center>'
  41. gs 'stat'
  42. gs 'themes', 'indoors'
  43. act 'Return': gt 'shop_materinstvo', 'start'
  44. end
  45. if $ARGS[0] = 'clothes':
  46. $loc_arg = 'clothes'
  47. $loc = 'shop_materinstvo'
  48. $menu_loc = 'shop_materinstvo'
  49. $menu_arg = 'clothes'
  50. menu_off = 0
  51. *clr & cla
  52. gs'stat'
  53. '<center><b><font color="maroon">Viewing Mommy Style clothing</font></b></center>'
  54. *nl
  55. gs 'clothing_QV', 'shop_header'
  56. act 'Return': minut += 1 & gt 'shop_materinstvo', 'start'
  57. clothingfilter['qualitycheck'] = 7
  58. :loopquality
  59. i = 1
  60. :loopmaterinstvo
  61. if materinstvo_dress[i] = 0:
  62. gs 'clothing_attributes', 'materinstvo_dress', i
  63. gs 'clothing_QV', 'shop_filter'
  64. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  65. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''shop_materinstvo'', ''materinstvo_dress''"><img src="images/pc/items/mommy/<<i>>.jpg" height="250" /></a>'
  66. end
  67. end
  68. i += 1
  69. if i <= 10:jump 'loopmaterinstvo'
  70. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality'
  71. end
  72. if $ARGS[0] = 'materinstvo_dress': gt 'clothing', 'view_clothing_item', 'shop', 'materinstvo_dress',i, 2000
  73. --- shop_materinstvo ---------------------------------