shop_flamingos.qsrc 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. # shop_flamingos
  2. !2021/04/29
  3. if $ARGS[0] = 'start':
  4. $loc_arg = $ARGS[0]
  5. $loc = 'shop_flamingos'
  6. $location_type = 'public_indoors'
  7. $menu_loc = 'shop_flamingos'
  8. $menu_arg = 'start'
  9. menu_off = 0
  10. *clr & cla
  11. mag = 1
  12. gs 'stat'
  13. gs 'themes', 'indoors'
  14. '<center><b><font color="maroon">Flamingo''s</font></b></center>'
  15. '<center><img <<$set_imgh>> src="images/locations/city/island/flamingos/shop.jpg"></center>'
  16. *nl
  17. '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 it''s always busy.'
  18. act 'Leave the flamingos': minut += 3 & gt 'liames'
  19. act 'View dresses': minut += 5 & gt 'shop_flamingos', 'dresses'
  20. act 'View other clothing': minut += 5 & gt 'shop_flamingos', 'clothes'
  21. act 'View purses': minut += 5 & gt 'shop_flamingos', 'purses'
  22. end
  23. if $ARGS[0] = 'dresses':
  24. $loc_arg = 'dresses'
  25. $loc = 'shop_flamingos'
  26. $menu_loc = 'shop_flamingos'
  27. $menu_arg = 'dresses'
  28. menu_off = 0
  29. *clr & cla
  30. gs'stat'
  31. '<center><b><font color="maroon">Viewing Flamingo''s dresses</font></b></center>'
  32. *nl
  33. gs 'clothing_QV', 'shop_header'
  34. act 'Return': minut += 1 & gt 'shop_flamingos', 'start'
  35. clothingfilter['qualitycheck'] = 7
  36. :loopquality_dress
  37. if Clothingstock > 11:
  38. i = 1
  39. else
  40. i = 2
  41. end
  42. :loopflamingos_dress
  43. if flamingos_dress[i] = 0:
  44. gs 'clothing_attributes', 'flamingos_dress', i
  45. gs 'clothing_QV', 'shop_filter'
  46. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  47. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''shop_flamingos'', ''flamingos_dress''"><img src="images/pc/items/flamingos/dress/<<i>>.jpg" height="250" /></a>'
  48. end
  49. end
  50. i += 2
  51. if i <= 90:jump 'loopflamingos_dress'
  52. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality_dress'
  53. end
  54. if $ARGS[0] = 'flamingos_dress':
  55. cla
  56. menu_off = 1
  57. if flamingos_dress[i] ! 0:
  58. msg 'You already own this dress.'
  59. gt 'shop_flamingos', 'dresses'
  60. end
  61. gt 'clothing', 'view_clothing_item', 'shop', 'flamingos_dress',i, 3000
  62. end
  63. if $ARGS[0] = 'clothes':
  64. $loc_arg = 'clothes'
  65. $loc = 'shop_flamingos'
  66. $menu_loc = 'shop_flamingos'
  67. $menu_arg = 'clothes'
  68. menu_off = 0
  69. *clr & cla
  70. gs'stat'
  71. '<center><b><font color="maroon">Viewing Flamingo''s outfits</font></b></center>'
  72. *nl
  73. gs 'clothing_QV', 'shop_header'
  74. act 'Return': minut += 1 & gt 'shop_flamingos', 'start'
  75. clothingfilter['qualitycheck'] = 7
  76. :loopquality
  77. if Clothingstock > 11:
  78. i = 1
  79. else
  80. i = 2
  81. end
  82. :loopflamingos
  83. if flamingos_outfits[i] = 0:
  84. gs 'clothing_attributes', 'flamingos_outfits', i
  85. gs 'clothing_QV', 'shop_filter'
  86. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  87. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''shop_flamingos'', ''flamingos_outfits''"><img src="images/pc/items/flamingos/outfits/<<i>>.jpg" height="250" /></a>'
  88. end
  89. end
  90. i += 2
  91. if i <= 50:jump 'loopflamingos'
  92. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality'
  93. end
  94. if $ARGS[0] = 'flamingos_outfits':
  95. cla
  96. menu_off = 1
  97. if flamingos_outfits[i] ! 0:
  98. msg 'You already own this outfit.'
  99. gt 'shop_flamingos', 'clothes'
  100. end
  101. gt 'clothing', 'view_clothing_item', 'shop', 'flamingos_outfits',i, 3000
  102. end
  103. if $ARGS[0] = 'purses':
  104. $loc_arg = 'purses'
  105. $loc = 'shop_flamingos'
  106. $menu_arg = 'purses'
  107. $menu_loc = 'shop_flamingos'
  108. menu_off = 0
  109. *clr & cla
  110. gs'stat'
  111. act 'Return':
  112. cla
  113. minut += 5
  114. gt 'shop_flamingos', 'start'
  115. end
  116. i = 1
  117. :loopflamingos_purses
  118. if flamingos_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_flamingos'', ''purses2''"><img src="images/pc/items/flamingos/purses/<<i>>.jpg" height="250" /></a>'
  119. i += 1
  120. if i <= 20:jump 'loopflamingos_purses'
  121. end
  122. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'flamingos',i, 2000
  123. --- shop_flamingos ---------------------------------