sportShop 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. # sportShop
  2. if $ARGS[0] = 'start':
  3. $location_type = 'public_indoors'
  4. cla
  5. clr
  6. *clr
  7. minut += 5
  8. gs 'stat'
  9. if night_mode = 1:
  10. fcolor = rgb(255, 255, 255)
  11. bcolor = rgb(0, 0, 0)
  12. lcolor = rgb(106, 90, 205)
  13. else
  14. fcolor = rgb(0, 0, 0)
  15. bcolor = rgb(255, 255, 255)
  16. lcolor = rgb(106, 90, 205)
  17. end
  18. '<center><b><font color="maroon">Danilovich sporting goods</font></b></center>'
  19. '<center><img src="images/locations/city/citycenter/mall/sportshop/sportshop.jpg"></center>'
  20. act 'Leave':
  21. cla
  22. minut += 5
  23. gt 'torgcentr'
  24. end
  25. act 'View sports clothes':
  26. cla
  27. minut += 5
  28. gt 'sportshop', 'clo'
  29. end
  30. act 'View swimwear':
  31. cla
  32. minut += 5
  33. gt 'sportshop', 'swim'
  34. end
  35. if skak = 0 and money >= 500:
  36. act 'Buy skipping rope (500 <b>₽</b>)':
  37. cla
  38. minut += 5
  39. money -= 500
  40. skak = 1
  41. act 'Pick up a package':gt 'sportshop', 'start'
  42. end
  43. end
  44. if obruch = 0 and money >= 1500:
  45. act 'Buy hoop (1,500 <b>₽</b>)':
  46. cla
  47. minut += 5
  48. money -= 1500
  49. obruch = 1
  50. act 'Pick up a package':gt 'sportshop', 'start'
  51. end
  52. end
  53. if bookYog = 0 and money >= 1500:
  54. act 'Buy benefits of yoga (1,500 <b>₽</b>)':
  55. cla
  56. minut += 5
  57. money -= 1500
  58. bookYog = 1
  59. act 'Pick up a package':gt 'sportshop', 'start'
  60. end
  61. end
  62. end
  63. if $ARGS[0] = 'clo':
  64. $metka = 'clo'
  65. $loc = 'sportShop'
  66. cls
  67. gs'stat'
  68. '<center><b><font color="maroon">Sportswear - one size fits all</font></b></center>'
  69. *nl
  70. $Headerstring = '<TH>Prostitute clothing '
  71. if clothingfilter_prost = 0:
  72. $Headerstring += '<a href="exec:clothingfilter_prost = 1 & gt ''sportShop'', ''clo''">Included</a></TH>'
  73. else
  74. $Headerstring += '<a href="exec:clothingfilter_prost = 0 & gt ''sportShop'', ''clo''">Excluded</a></TH>'
  75. end
  76. $Headerstring += '<TH>Bimbo clothing '
  77. if clothingfilter_bimbo = 0:
  78. $Headerstring += '<a href="exec:clothingfilter_bimbo = 1 & gt ''sportShop'', ''clo''">Included</a></TH>'
  79. else
  80. $Headerstring += '<a href="exec:clothingfilter_bimbo = 0 & gt ''sportShop'', ''clo''">Excluded</a></TH>'
  81. end
  82. $Headerstring += '<TH>Clothing you are comfortable wearing '
  83. if clothingfilter_comf = 0:
  84. $Headerstring += '<a href="exec:clothingfilter_comf = 1 & gt ''sportShop'', ''clo''">Included</a></TH>'
  85. else
  86. $Headerstring += '<a href="exec:clothingfilter_comf = 0 & gt ''sportShop'', ''clo''">Excluded</a></TH>'
  87. end
  88. $Headerstring += '<TH>Daring clothing '
  89. if clothingfilter_daring = 0:
  90. $Headerstring += '<a href="exec:clothingfilter_daring = 1 & gt ''sportShop'', ''clo''">Included</a></TH>'
  91. else
  92. $Headerstring += 'g<a href="exec:clothingfilter_daring = 0 & gt ''sportShop'', ''clo''">Excluded</a></TH>'
  93. end
  94. $Headerstring += '<TH>Too daring for you clothing '
  95. if clothingfilter_too_daring = 0:
  96. $Headerstring += '<a href="exec:clothingfilter_too_daring = 1 & gt ''sportShop'', ''clo''">Included</a></TH>'
  97. else
  98. $Headerstring += '<a href="exec:clothingfilter_too_daring = 0 & gt ''sportShop'', ''clo''">Excluded</a></TH>'
  99. end
  100. act 'Return':
  101. cla
  102. minut += 5
  103. gt 'sportshop', 'start'
  104. end
  105. if Clothingstock > 16:
  106. i = 1
  107. elseif Clothingstock > 8:
  108. i = 2
  109. else
  110. i = 3
  111. end
  112. :loopexercise
  113. if exercise[i] = 0:
  114. gs 'clothing_attributes', 'exercise', i
  115. if clothingfilter_comf = 0 and CloExhibit + 10 < pcs_exhibition:
  116. if (clothingfilter_prost = 0 or CloStyle ! 4) and (clothingfilter_bimbo = 0 or CloBimbo = 0): *p '<a href="exec: i = <<i>> & gt ''sportshop'', ''exercise''"><img src="images/pc/clothing/7exercise/<<i>>.jpg" height="250" /></a>'
  117. elseif clothingfilter_daring = 0 and CloExhibit + 10 >= pcs_exhibition and CloExhibit <= pcs_exhibition:
  118. if (clothingfilter_prost = 0 or CloStyle ! 4) and (clothingfilter_bimbo = 0 or CloBimbo = 0): *p '<a href="exec: i = <<i>> & gt ''sportshop'', ''exercise''"><img src="images/pc/clothing/7exercise/<<i>>.jpg" height="250" /></a>'
  119. elseif clothingfilter_too_daring = 0 and CloExhibit > pcs_exhibition:
  120. if (clothingfilter_prost = 0 or CloStyle ! 4) and (clothingfilter_bimbo = 0 or CloBimbo = 0): *p '<a href="exec: i = <<i>> & gt ''sportshop'', ''exercise''"><img src="images/pc/clothing/7exercise/<<i>>.jpg" height="250" /></a>'
  121. end
  122. end
  123. i += 3
  124. if i <= 113:jump 'loopexercise'
  125. end
  126. if $ARGS[0] = 'exercise': gt 'clothing', 'view_clothing_item', 'shop', 'exercise',i, 4000
  127. if $ARGS[0] = 'swim':
  128. $metka = 'swim'
  129. $loc = 'sportShop'
  130. cls
  131. gs'stat'
  132. '<center><b><font color="maroon">Swimwear - one size fits all</font></b></center>'
  133. *nl
  134. $Headerstring = '<TH>Prostitute clothing '
  135. if clothingfilter_prost = 0:
  136. $Headerstring += '<a href="exec:clothingfilter_prost = 1 & gt ''sportShop'', ''swim''">Included</a></TH>'
  137. else
  138. $Headerstring += '<a href="exec:clothingfilter_prost = 0 & gt ''sportShop'', ''swim''">Excluded</a></TH>'
  139. end
  140. $Headerstring += '<TH>Bimbo clothing '
  141. if clothingfilter_bimbo = 0:
  142. $Headerstring += '<a href="exec:clothingfilter_bimbo = 1 & gt ''sportShop'', ''swim''">Included</a></TH>'
  143. else
  144. $Headerstring += '<a href="exec:clothingfilter_bimbo = 0 & gt ''sportShop'', ''swim''">Excluded</a></TH>'
  145. end
  146. $Headerstring += '<TH>Clothing you are comfortable wearing '
  147. if clothingfilter_comf = 0:
  148. $Headerstring += '<a href="exec:clothingfilter_comf = 1 & gt ''sportShop'', ''swim''">Included</a></TH>'
  149. else
  150. $Headerstring += '<a href="exec:clothingfilter_comf = 0 & gt ''sportShop'', ''swim''">Excluded</a></TH>'
  151. end
  152. $Headerstring += '<TH>Daring clothing '
  153. if clothingfilter_daring = 0:
  154. $Headerstring += '<a href="exec:clothingfilter_daring = 1 & gt ''sportShop'', ''swim''">Included</a></TH>'
  155. else
  156. $Headerstring += 'g<a href="exec:clothingfilter_daring = 0 & gt ''sportShop'', ''swim''">Excluded</a></TH>'
  157. end
  158. $Headerstring += '<TH>Too daring for you clothing '
  159. if clothingfilter_too_daring = 0:
  160. $Headerstring += '<a href="exec:clothingfilter_too_daring = 1 & gt ''sportShop'', ''swim''">Included</a></TH>'
  161. else
  162. $Headerstring += '<a href="exec:clothingfilter_too_daring = 0 & gt ''sportShop'', ''swim''">Excluded</a></TH>'
  163. end
  164. act 'Return':
  165. cla
  166. minut += 5
  167. gt 'sportshop', 'start'
  168. end
  169. !!4 is in he supermarket, so skipped
  170. if Clothingstock > 18:
  171. i = 1
  172. elseif Clothingstock > 12:
  173. i = 2
  174. elseif Clothingstock > 6:
  175. i = 3
  176. else
  177. i = 8
  178. end
  179. :loopswim
  180. if swimwear[i] = 0:
  181. gs 'clothing_attributes', 'swimwear', i
  182. if clothingfilter_comf = 0 and CloExhibit + 10 < pcs_exhibition:
  183. if (clothingfilter_prost = 0 or CloStyle ! 4) and (clothingfilter_bimbo = 0 or CloBimbo = 0): *p '<a href="exec: i = <<i>> & gt ''sportshop'', ''swim1''"><img src="images/pc/clothing/12swimwear/<<i>>.jpg" height="250" /></a>'
  184. elseif clothingfilter_daring = 0 and CloExhibit + 10 >= pcs_exhibition and CloExhibit <= pcs_exhibition:
  185. if (clothingfilter_prost = 0 or CloStyle ! 4) and (clothingfilter_bimbo = 0 or CloBimbo = 0): *p '<a href="exec: i = <<i>> & gt ''sportshop'', ''swim1''"><img src="images/pc/clothing/12swimwear/<<i>>.jpg" height="250" /></a>'
  186. elseif clothingfilter_too_daring = 0 and CloExhibit > pcs_exhibition:
  187. if (clothingfilter_prost = 0 or CloStyle ! 4) and (clothingfilter_bimbo = 0 or CloBimbo = 0): *p '<a href="exec: i = <<i>> & gt ''sportshop'', ''swim1''"><img src="images/pc/clothing/12swimwear/<<i>>.jpg" height="250" /></a>'
  188. end
  189. end
  190. i += 4
  191. if i <= 135:jump 'loopswim'
  192. end
  193. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'shop', 'swimwear',i, 4000
  194. --- sportShop ---------------------------------