shop_flamingos.qsrc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. # shop_flamingos
  2. if $ARGS[0] = 'start':
  3. $loc_arg = $ARGS[0]
  4. $loc = 'shop_flamingos'
  5. $location_type = 'public_indoors'
  6. $menu_loc = 'shop_flamingos'
  7. $menu_arg = 'start'
  8. menu_off = 0
  9. *clr & cla
  10. mag = 1
  11. gs 'stat'
  12. gs 'themes', 'indoors'
  13. '<center><b><font color="maroon">Flamingo''s</font></b></center>'
  14. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/flamingos/butik.jpg"></center>'
  15. *nl
  16. 'Flamingos is trendy and modern while still keeping the prices low enough for the large student population on the Island. It mimics the latest fashions for young adults but cuts costs on material and manufacturing. This suits the clients who are likely to grow bored of an outfit before it falls apart and that''s why its always busy.'
  17. act 'Leave the flamingos': minut += 3 & gt 'torgcentr'
  18. act 'View clothing': minut += 5 & gt 'shop_flamingos', 'clothes'
  19. act 'View shoes': minut += 5 & gt 'shop_flamingos', 'shoes'
  20. act 'View purses': minut += 5 & gt 'shop_flamingos', 'purses'
  21. end
  22. if $ARGS[0] = 'clothes':
  23. $loc_arg = 'clothes'
  24. $loc = 'shop_flamingos'
  25. $menu_loc = 'shop_flamingos'
  26. $menu_arg = 'clothes'
  27. menu_off = 0
  28. *clr & cla
  29. gs'stat'
  30. '<center><b><font color="maroon">Viewing Flamingo''s outfits</font></b></center>'
  31. *nl
  32. gs 'clothing_QV', 'shop_header'
  33. act 'Return': minut += 1 & gt 'shop_flamingos', 'start'
  34. clothingfilter['qualitycheck'] = 7
  35. :loopquality
  36. if Clothingstock > 11:
  37. i = 1
  38. else
  39. i = 2
  40. end
  41. :loopflamingos
  42. if flamingos[i] = 0:
  43. gs 'clothing_attributes', 'flamingos', i
  44. gs 'clothing_QV', 'shop_filter'
  45. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  46. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''shop_flamingos'', ''flamingos''"><img src="images/pc/clothing/flamingos/<<i>>.jpg" height="250" /></a>'
  47. end
  48. end
  49. i += 2
  50. if i <= 185:jump 'loopflamingos'
  51. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality'
  52. end
  53. if $ARGS[0] = 'flamingos':
  54. cla
  55. menu_off = 1
  56. if flamingos[i] ! 0:
  57. msg 'You already own these clothes.'
  58. gt 'shop_flamingos', 'clothes'
  59. end
  60. gt 'clothing', 'view_clothing_item', 'shop', 'flamingos',i, 20000
  61. end
  62. if $ARGS[0] = 'shoes':
  63. $loc_arg = $ARGS[0]
  64. $loc = 'shop_flamingos'
  65. $menu_loc = 'shop_flamingos'
  66. $menu_arg = 'shoes'
  67. menu_off = 0
  68. *clr & cla
  69. gs'stat'
  70. act 'Return': minut += 1 & gt 'shop_flamingos', 'start'
  71. if Clothingstock > 11:
  72. i = 1
  73. else
  74. i = 2
  75. end
  76. :loopflamingos_shoes
  77. if sflamingos[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_flamingos'', ''flamingos_shoes''"><img src="images/pc/shoes/flamingos/<<i>>.jpg" height="250" /></a>'
  78. i += 2
  79. if i <= 37:jump 'loopflamingos_shoes'
  80. end
  81. if $ARGS[0] = 'flamingos_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'flamingos',i, 5000
  82. if $ARGS[0] = 'purses':
  83. $loc_arg = 'purses'
  84. $loc = 'shop_flamingos'
  85. $menu_loc = 'shop_flamingos'
  86. $menu_arg = 'purses'
  87. menu_off = 0
  88. *clr & cla
  89. gs'stat'
  90. act 'Return': minut += 1 & gt 'shop_flamingos', 'start'
  91. i = 1
  92. :loopflamingos_purses
  93. if flamingos_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_flamingos'', ''purses2''"><img src="images/pc/purses/flamingos/<<i>>.jpg" height="150" /></a> '
  94. i += 1
  95. if i <= 17:jump 'loopflamingos_purses'
  96. end
  97. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'flamingos',i, 4000
  98. --- shop_flamingos ---------------------------------