shop_flamingos.qsrc 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. # shop_flamingos
  2. !!2022/03/12
  3. if $ARGS[0] = 'start':
  4. killvar 'clothingfilter'
  5. gs 'shortgs', 'setloc', 'shop_flamingos', 'start'
  6. $location_type = 'public_indoors'
  7. menu_off = 0
  8. gs 'stat'
  9. gs 'themes', 'indoors'
  10. '<center><b><font color="maroon">Flamingo''s</font></b></center>'
  11. '<center><img <<$set_imgh>> src="images/locations/city/island/flamingos/shop.jpg"></center>'
  12. *nl
  13. '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.'
  14. act 'Leave the flamingos': minut += 3 & gt 'pushkin_sq'
  15. act 'View dresses': minut += 5 & gt 'shop_flamingos', 'dresses'
  16. act 'View other clothing': minut += 5 & gt 'shop_flamingos', 'clothes'
  17. act 'View purses': minut += 5 & gt 'shop_flamingos', 'purses'
  18. end
  19. if $ARGS[0] = 'dresses':
  20. gs 'shortgs', 'setloc', 'shop_flamingos', 'dresses'
  21. menu_off = 0
  22. gs 'stat'
  23. '<center><b><font color="maroon">Viewing Flamingo''s dresses</font></b></center>'
  24. *nl
  25. act 'Return': minut += 1 & gt 'shop_flamingos', 'start'
  26. gs 'clothing_QV', 'shop_filter_header'
  27. gs 'clothing', 'totals', 'flamingos_dress'
  28. !!To filter just this set
  29. clo_i = 0
  30. :loopflamingos_dress_filter
  31. i = 1 + Clothingstock mod 3
  32. :loopflamingos_dress
  33. if flamingos_dress[i] = 0:
  34. gs 'clothing_attributes', 'flamingos_dress', i
  35. gs 'clothing_QV', 'shop_filter'
  36. !!sort by filter
  37. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  38. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_flamingos'', ''flamingos_dress''"><img src="images/pc/items/flamingos/dress/<<i>>.jpg" height="250" /></a>'
  39. end
  40. end
  41. i += 3
  42. if i <= total: jump 'loopflamingos_dress'
  43. clo_i += 1
  44. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  45. jump 'loopflamingos_dress_filter'
  46. end
  47. end
  48. if $ARGS[0] = 'flamingos_dress':
  49. if flamingos_dress[i] ! 0:
  50. msg 'You already own this dress.'
  51. gt 'shop_flamingos', 'dresses'
  52. end
  53. gt 'clothing', 'view_clothing_item', 'flamingos_dress', i, 3000, 'shop'
  54. end
  55. if $ARGS[0] = 'clothes':
  56. gs 'shortgs', 'setloc', 'shop_flamingos', 'clothes'
  57. menu_off = 0
  58. gs 'stat'
  59. '<center><b><font color="maroon">Viewing Flamingo''s outfits</font></b></center>'
  60. *nl
  61. gs 'clothing_QV', 'shop_filter_header'
  62. gs 'clothing', 'totals', 'flamingos_outfits'
  63. act 'Return': minut += 1 & gt 'shop_flamingos', 'start'
  64. !!To filter just this set
  65. clo_i = 0
  66. :loopflamingos_filter
  67. i = 1 + (Clothingstock / 3) mod 2
  68. :loopflamingos
  69. if flamingos_outfits[i] = 0:
  70. gs 'clothing_attributes', 'flamingos_outfits', i
  71. gs 'clothing_QV', 'shop_filter'
  72. !!sort by filter
  73. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  74. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_flamingos'', ''flamingos_outfits''"><img src="images/pc/items/flamingos/outfits/<<i>>.jpg" height="250" /></a>'
  75. end
  76. end
  77. i += 2
  78. if i <= total:jump 'loopflamingos'
  79. clo_i += 1
  80. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  81. jump 'loopflamingos_filter'
  82. end
  83. end
  84. if $ARGS[0] = 'flamingos_outfits':
  85. if flamingos_outfits[i] ! 0:
  86. msg 'You already own this outfit.'
  87. gt 'shop_flamingos', 'clothes'
  88. end
  89. gt 'clothing', 'view_clothing_item', 'flamingos_outfits', i, 3000, 'shop'
  90. end
  91. if $ARGS[0] = 'purses':
  92. gs 'shortgs', 'setloc', 'shop_flamingos', 'purses'
  93. menu_off = 0
  94. gs 'stat'
  95. act 'Return': minut += 5 & gt 'shop_flamingos', 'start'
  96. gs 'purses', 'totals', 'flamingos_purses'
  97. i = 1
  98. :loopflamingos_purses
  99. 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>'
  100. i += 1
  101. if i <= total: jump 'loopflamingos_purses'
  102. end
  103. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'flamingos', i, 2000
  104. --- shop_flamingos ---------------------------------