1
0

shop_tsar_bomba.qsrc 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. # shop_tsar_bomba
  2. !!2022/06/22
  3. if $ARGS[0] = 'start':
  4. killvar 'clothingfilter'
  5. gs 'shortgs', 'setloc', 'shop_tsar_bomba', 'start'
  6. $location_type = 'public_indoors'
  7. menu_off = 0
  8. gs 'stat'
  9. gs 'themes', 'indoors'
  10. '<center><b><font color="maroon">Tsar Bomba</font></b></center>'
  11. '<center><img <<$set_imgh>> src="images/locations/pushkin/bomba/shop.jpg"></center>'
  12. *nl
  13. 'Tsar Bomba, a small clothing shop in the Okhlopkov Square. The shop is unique and used to be very cool with punk fashion. These days it is much more generic and alternative, it could easily be mistaken for an alt. fashion chain store.'
  14. 'Simply put this place is very cool and most of the clothes are strange and wonderful.'
  15. act 'Leave the bomba': minut += 3 & gt 'pushkin_sq'
  16. act 'View dresses': minut += 5 & gt 'shop_tsar_bomba', 'dresses'
  17. act 'View outfits': minut += 5 & gt 'shop_tsar_bomba', 'clothes'
  18. act 'View shoes': minut += 5 & gt 'shop_tsar_bomba', 'shoes'
  19. act 'View purses': minut += 5 & gt 'shop_tsar_bomba', 'purses'
  20. act 'View coats': minut += 5 & gt 'shop_tsar_bomba', 'coats'
  21. end
  22. if $ARGS[0] = 'dresses':
  23. gs 'shortgs', 'setloc', 'shop_tsar_bomba', 'dresses'
  24. menu_off = 0
  25. gs 'stat'
  26. '<center><b><font color="maroon">Viewing Tsar Bomba dresses</font></b></center>'
  27. *nl
  28. act 'Return': minut += 1 & gt 'shop_tsar_bomba', 'start'
  29. gs 'clothing_QV', 'shop_filter_header'
  30. gs 'clothing', 'totals', 'bomba_dresses'
  31. !!To filter just this set
  32. clo_i = 0
  33. :loopbomba_dresses_filter
  34. i = 1 + Clothingstock mod 2
  35. :loopbomba_dresses
  36. if bomba_dress[i] = 0:
  37. gs 'clothing_attributes', 'bomba_dress', i
  38. gs 'clothing_QV', 'shop_filter'
  39. !!sort by filter
  40. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  41. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_tsar_bomba'', ''bomba_dresses''"><img src="images/pc/items/bomba/dress/<<i>>.jpg" height="250" /></a>'
  42. end
  43. end
  44. i += 2
  45. if i <= total: jump 'loopbomba_dresses'
  46. clo_i += 1
  47. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  48. jump 'loopbomba_dresses_filter'
  49. end
  50. end
  51. if $ARGS[0] = 'bomba_dresses':
  52. if bomba_dress[i] ! 0:
  53. msg 'You already own these clothes.'
  54. gt 'shop_tsar_bomba', 'clothes'
  55. end
  56. gt 'clothing', 'view_clothing_item', 'bomba_dress', i, 3500, 'shop'
  57. end
  58. if $ARGS[0] = 'clothes':
  59. gs 'shortgs', 'setloc', 'shop_tsar_bomba', 'clothes'
  60. menu_off = 0
  61. gs 'stat'
  62. '<center><b><font color="maroon">Viewing Tsar Bomba outfits</font></b></center>'
  63. *nl
  64. act 'Return': minut += 1 & gt 'shop_tsar_bomba', 'start'
  65. gs 'clothing_QV', 'shop_filter_header'
  66. gs 'clothing', 'totals', 'bomba_outfits'
  67. !!To filter just this set
  68. clo_i = 0
  69. :loopbomba_filter
  70. i = 1 + (Clothingstock / 2) mod 2
  71. :loopbomba
  72. if bomba_outfits[i] = 0:
  73. gs 'clothing_attributes', 'bomba_outfits', i
  74. gs 'clothing_QV', 'shop_filter'
  75. !!sort by filter
  76. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  77. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_tsar_bomba'', ''bomba_outfits''"><img src="images/pc/items/bomba/outfits/<<i>>.jpg" height="250" /></a>'
  78. end
  79. end
  80. i += 2
  81. if i <= total: jump 'loopbomba'
  82. clo_i += 1
  83. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  84. jump 'loopbomba_filter'
  85. end
  86. end
  87. if $ARGS[0] = 'bomba_outfits':
  88. if bomba_outfits[i] ! 0:
  89. msg 'You already own these clothes.'
  90. gt 'shop_tsar_bomba', 'clothes'
  91. end
  92. gt 'clothing', 'view_clothing_item', 'bomba_outfits', i, 3500, 'shop'
  93. end
  94. if $ARGS[0] = 'purses':
  95. gs 'shortgs', 'setloc', 'shop_tsar_bomba', 'purses'
  96. menu_off = 0
  97. gs 'stat'
  98. act 'Return': minut += 1 & gt 'shop_tsar_bomba', 'start'
  99. gs 'purses', 'totals', 'bomba_purses'
  100. i = 1
  101. :loopbomba_purses
  102. if bomba_purses[i] = 0: *p '<a href="exec: i = <<i>> & gt ''shop_tsar_bomba'', ''purses2''"><img src="images/pc/items/bomba/purses/<<i>>.jpg" height="250" /></a> '
  103. i += 1
  104. if i <= 20: jump 'loopbomba_purses'
  105. end
  106. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'bomba', i, 2000
  107. if $ARGS[0] = 'shoes':
  108. gs 'shortgs', 'setloc', 'shop_tsar_bomba', 'shoes'
  109. menu_off = 0
  110. gs 'stat'
  111. '<center><b><font color="maroon">Viewing G&M shoes</font></b></center>'
  112. *nl
  113. act 'Return': minut += 5 & gt 'shop_tsar_bomba', 'start'
  114. gs 'shoes', 'shop_filter_header'
  115. gs 'shoes', 'totals', 'bomba_shoes'
  116. !!To filter just this set
  117. clo_i = 0
  118. :loopshoequality_filter
  119. i = 1
  120. :loopbomba_shoes
  121. if bomba_shoe[i] = 0:
  122. gs 'shoe_attributes', 'bomba', i
  123. gs 'shoes', 'shoe_filter'
  124. if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
  125. if Shofilter['inc'] = 1 and Shofilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_tsar_bomba'', ''bomba_shoes''"><img src="images/pc/items/bomba/shoes/<<i>>.jpg" height="250" /></a>'
  126. end
  127. end
  128. i += 1
  129. if i <= 40: jump 'loopbomba_shoes'
  130. clo_i += 1
  131. if Shofilter['quality'] = 0 and clo_i <= 7:
  132. jump 'loopshoequality_filter'
  133. end
  134. end
  135. if $ARGS[0] = 'bomba_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'bomba', i, 2000
  136. if $ARGS[0] = 'coats':
  137. gs 'shortgs', 'setloc', 'shop_tsar_bomba', 'coats'
  138. menu_off = 0
  139. gs 'stat'
  140. act 'Return': minut += 1 & gt 'shop_tsar_bomba', 'start'
  141. gs 'coats', 'totals', 'bomba_coats'
  142. i = 1
  143. :loopbomba_coats
  144. if bomba_coats[i] = 0: *p '<a href="exec: i = <<i>> & gt ''shop_tsar_bomba'', ''coats2''"><img src="images/pc/items/bomba/coats/<<i>>.jpg" height="250" /></a> '
  145. i += 1
  146. if i <= 20: jump 'loopbomba_coats'
  147. end
  148. if $ARGS[0] = 'coats2': gt 'coats', 'view_coat_item', 'shop', 'bomba', i, 2000
  149. --- shop_tsar_bomba ---------------------------------