shop_coco_carmen.qsrc 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. # shop_coco_carmen
  2. !!2022/06/20
  3. if $ARGS[0] = 'start':
  4. killvar 'clothingfilter'
  5. $loc_arg = $ARGS[0]
  6. $loc = 'shop_coco_carmen'
  7. $location_type = 'public_indoors'
  8. $menu_loc = 'shop_coco_carmen'
  9. $menu_arg = 'start'
  10. menu_off = 0
  11. *clr & cla
  12. gs 'stat'
  13. gs 'themes', 'indoors'
  14. '<center><b><font color="maroon">Coco Carmen</font></b></center>'
  15. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/coco/shop.jpg"></center>'
  16. *nl
  17. 'If you are happy to push through the tourists Coco has everything a young adult might like to wear. It''s a step up from G&M and unless you can afford the boutiques in Old Town you''ll be spending some time buying outfits here.'
  18. act 'Leave the coco': minut += 3 & gt 'pav_commercial'
  19. act 'View dresses': minut += 5 & gt 'shop_coco_carmen', 'dress'
  20. act 'View other outfits': minut += 5 & gt 'shop_coco_carmen', 'outfits'
  21. act 'View purses': minut += 5 & gt 'shop_coco_carmen', 'purses'
  22. end
  23. if $ARGS[0] = 'dress':
  24. $loc_arg = 'dress'
  25. $loc = 'shop_coco_carmen'
  26. $menu_loc = 'shop_coco_carmen'
  27. $menu_arg = 'dress'
  28. menu_off = 0
  29. *clr & cla
  30. gs'stat'
  31. '<center><b><font color="maroon">Viewing Coco Carmen dresses</font></b></center>'
  32. *nl
  33. gs 'clothing_QV', 'shop_filter_header'
  34. gs 'clothing', 'coco_dress'
  35. act 'Return': minut += 1 & gt 'shop_coco_carmen', 'start'
  36. !!To filter just this set
  37. clo_i = 0
  38. :loopcoco_dress_filter
  39. if Clothingstock > 17:
  40. i = 1
  41. elseif Clothingstock > 11:
  42. i = 2
  43. elseif Clothingstock > 5:
  44. i = 3
  45. else
  46. i = 4
  47. end
  48. :loopcoco_dress
  49. if coco_dress[i] = 0:
  50. gs 'clothing_attributes', 'coco_dress', i
  51. gs 'clothing_QV', 'shop_filter'
  52. !!sort by filter
  53. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  54. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_coco_carmen'', ''coco_dress''"><img src="images/pc/items/coco/dress/<<i>>.jpg" height="250" /></a>'
  55. end
  56. end
  57. i += 2
  58. if i <= total:jump 'loopcoco_dress'
  59. clo_i += 1
  60. if clothingfilter['quality'] = 0 and clo_i <= 7:
  61. jump 'loopcoco_dress_filter'
  62. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  63. jump 'loopcoco_dress_filter'
  64. end
  65. end
  66. if $ARGS[0] = 'coco_dress':
  67. cla
  68. menu_off = 1
  69. if coco_dress[i] ! 0:
  70. msg 'You already own this dress.'
  71. gt 'shop_coco_carmen', 'dress'
  72. end
  73. gt 'clothing', 'view_clothing_item', 'coco_dress',i, 3000, 'shop'
  74. end
  75. if $ARGS[0] = 'outfits':
  76. $loc_arg = 'outfits'
  77. $loc = 'shop_coco_carmen'
  78. $menu_loc = 'shop_coco_carmen'
  79. $menu_arg = 'outfits'
  80. menu_off = 0
  81. *clr & cla
  82. gs'stat'
  83. '<center><b><font color="maroon">Viewing Coco Carmen outfits</font></b></center>'
  84. *nl
  85. gs 'clothing_QV', 'shop_filter_header'
  86. gs 'clothing', 'coco_outfits'
  87. act 'Return': minut += 1 & gt 'shop_coco_carmen', 'start'
  88. !!To filter just this set
  89. clo_i = 0
  90. :loopcoco_outfits_filter
  91. if Clothingstock > 11:
  92. i = 1
  93. else
  94. i = 2
  95. end
  96. :loopcoco_outfits
  97. if coco_outfits[i] = 0:
  98. gs 'clothing_attributes', 'coco_outfits', i
  99. gs 'clothing_QV', 'shop_filter'
  100. !!sort by filter
  101. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  102. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_coco_carmen'', ''coco_outfits''"><img src="images/pc/items/coco/outfits/<<i>>.jpg" height="250" /></a>'
  103. end
  104. end
  105. i += 2
  106. if i <= total:jump 'loopcoco_outfits'
  107. clo_i += 1
  108. if clothingfilter['quality'] = 0 and clo_i <= 7:
  109. jump 'loopcoco_outfits_filter'
  110. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  111. jump 'loopcoco_outfits_filter'
  112. end
  113. end
  114. if $ARGS[0] = 'coco_outfits':
  115. cla
  116. menu_off = 1
  117. if coco_outfits[i] ! 0:
  118. msg 'You already own this outfit.'
  119. gt 'shop_coco_carmen', 'outfits'
  120. end
  121. gt 'clothing', 'view_clothing_item', 'coco_outfits',i, 3000, 'shop'
  122. end
  123. if $ARGS[0] = 'purses':
  124. $loc_arg = 'purses'
  125. $loc = 'shop_coco_carmen'
  126. $menu_loc = 'shop_coco_carmen'
  127. $menu_arg = 'purses'
  128. menu_off = 0
  129. *clr & cla
  130. gs'stat'
  131. act 'Return': minut += 1 & gt 'shop_coco_carmen', 'start'
  132. i = 1
  133. :loopcoco_purses
  134. if coco_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_coco_carmen'', ''purses2''"><img src="images/pc/items/coco/purses/<<i>>.jpg" height="150" /></a> '
  135. i += 1
  136. if i <= 60:jump 'loopcoco_purses'
  137. end
  138. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'coco',i, 2000
  139. --- shop_coco_carmen ---------------------------------