tailor.qsrc 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. # tailor
  2. poshvalldrop = 0
  3. i = 1
  4. :ygm_outfitsmet
  5. if gm_outfits[i] = 1 and ((gm_outfits_b[i] > pcs_hips + 8) or (gm_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  6. i += 1
  7. if i <= ARRSIZE('gm_outfits'):jump 'ygm_outfitsmet'
  8. i = 1
  9. :ygm_dressmet
  10. if gm_dress[i] = 1 and ((gm_dress_b[i] > pcs_hips + 8) or (gm_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  11. i += 1
  12. if i <= ARRSIZE('gm_dress'):jump 'ygm_dressmet'
  13. i = 1
  14. :yofficemet
  15. if gm_office[i] = 1 and ((gm_office_b[i] > pcs_hips + 8) or (gm_office_b[i] < pcs_hips - 8)):poshvalldrop += 1
  16. i += 1
  17. if i <= ARRSIZE('gm_office'):jump 'yofficemet'
  18. i = 1
  19. :ygm_maidmet
  20. if gm_maid[i] = 1 and ((gm_maid_b[i] > pcs_hips + 8) or (gm_maid_b[i] < pcs_hips - 8)):poshvalldrop += 1
  21. i += 1
  22. if i <= ARRSIZE('gm_maid'):jump 'ygm_maidmet'
  23. i = 1
  24. :ygm_servermet
  25. if gm_server[i] = 1 and ((gm_server_b[i] > pcs_hips + 8) or (gm_server_b[i] < pcs_hips - 8)):poshvalldrop += 1
  26. i += 1
  27. if i <= ARRSIZE('gm_server'):jump 'ygm_servermet'
  28. i = 1
  29. :yschoolmet
  30. if gm_school[i] = 1 and ((gm_school_b[i] > pcs_hips + 8) or (gm_school_b[i] < pcs_hips - 8)):poshvalldrop += 1
  31. i += 1
  32. if i = 6: i = 7
  33. if i <= ARRSIZE('gm_school'):jump 'yschoolmet'
  34. i = 1
  35. :ymisc_outfitsmet
  36. if misc_outfits[i] = 1 and ((misc_outfits_b[i] > pcs_hips + 8) or (misc_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  37. i += 1
  38. if i <= ARRSIZE('misc_outfits'):jump 'ymisc_outfitsmet'
  39. i = 1
  40. :ycats_outfitsmet
  41. if cats_outfits[i] = 1 and ((cats_outfits_b[i] > pcs_hips + 8) or (cats_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  42. i += 1
  43. if i <= ARRSIZE('cats_outfits'):jump 'ycats_outfitsmet'
  44. i = 1
  45. :ycats_dressmet
  46. if cats_dress[i] = 1 and ((cats_dress_b[i] > pcs_hips + 8) or (cats_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  47. i += 1
  48. if i <= ARRSIZE('cats_dress'):jump 'ycats_dressmet'
  49. i = 1
  50. :yflamingos_dressmet
  51. if flamingos_dress[i] = 1 and ((flamingos_dress_b[i] > pcs_hips + 8) or (flamingos_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  52. i += 1
  53. if i <= ARRSIZE('flamingos_dress'):jump 'yflamingos_dressmet'
  54. i = 1
  55. :yflamingos_outfitsmet
  56. if flamingos_outfits[i] = 1 and ((flamingos_outfits_b[i] > pcs_hips + 8) or (flamingos_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  57. i += 1
  58. if i <= ARRSIZE('flamingos_outfits'):jump 'yflamingos_outfitsmet'
  59. i = 1
  60. :ycoco_dressmet
  61. if coco_dress[i] = 1 and ((coco_dress_b[i] > pcs_hips + 8) or (coco_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  62. i += 1
  63. if i <= ARRSIZE('coco_dress'):jump 'ycoco_dressmet'
  64. i = 1
  65. :ycoco_outfitsmet
  66. if coco_outfits[i] = 1 and ((coco_outfits_b[i] > pcs_hips + 8) or (coco_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  67. i += 1
  68. if i <= ARRSIZE('coco_outfits'):jump 'ycoco_outfitsmet'
  69. i = 1
  70. :yfashionista_dressmet
  71. if fashionista_dress[i] = 1 and ((fashionista_dress_b[i] > pcs_hips + 8) or (fashionista_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  72. i += 1
  73. if i <= ARRSIZE('fashionista_dress'):jump 'yfashionista_dressmet'
  74. i = 1
  75. :yfashionista_outfitsmet
  76. if fashionista_outfits[i] = 1 and ((fashionista_outfits_b[i] > pcs_hips + 8) or (fashionista_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  77. i += 1
  78. if i <= ARRSIZE('fashionista_outfits'):jump 'yfashionista_outfitsmet'
  79. i = 1
  80. :ymoncheri_dressmet
  81. if moncheri_dress[i] = 1 and ((moncheri_dress_b[i] > pcs_hips + 8) or (moncheri_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  82. i += 1
  83. if i <= ARRSIZE('moncheri_dress'):jump 'ymoncheri_dressmet'
  84. i = 1
  85. :ymoncheri_gownmet
  86. if moncheri_gown[i] = 1 and ((moncheri_gown_b[i] > pcs_hips + 8) or (moncheri_gown_b[i] < pcs_hips - 8)):poshvalldrop += 1
  87. i += 1
  88. if i <= ARRSIZE('moncheri_gown'):jump 'ymoncheri_gownmet'
  89. i = 1
  90. :yscandalicious_dressmet
  91. if scandalicious_dress[i] = 1 and ((scandalicious_dress_b[i] > pcs_hips + 8) or (scandalicious_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  92. i += 1
  93. if i <= ARRSIZE('scandalicious_dress'):jump 'yscandalicious_dressmet'
  94. i = 1
  95. :yscandalicious_outfitsmet
  96. if scandalicious_outfits[i] = 1 and ((scandalicious_outfits_b[i] > pcs_hips + 8) or (scandalicious_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  97. i += 1
  98. if i <= ARRSIZE('scandalicious_outfits'):jump 'yscandalicious_outfitsmet'
  99. i = 1
  100. :yscandalicious_swimsuitmet
  101. if scandalicious_swimsuit[i] = 1 and ((scandalicious_swimsuit_b[i] > pcs_hips + 8) or (scandalicious_swimsuit_b[i] < pcs_hips - 8)):poshvalldrop += 1
  102. i += 1
  103. if i <= ARRSIZE('scandalicious_swimsuit'):jump 'yscandalicious_swimsuitmet'
  104. i = 1
  105. :yscandalicious_bikinismet
  106. if scandalicious_bikinis[i] = 1 and ((scandalicious_bikinis_b[i] > pcs_hips + 8) or (scandalicious_bikinis_b[i] < pcs_hips - 8)):poshvalldrop += 1
  107. i += 1
  108. if i <= ARRSIZE('scandalicious_bikinis'):jump 'yscandalicious_bikinismet'
  109. i = 1
  110. :yallure_bikinismet
  111. if allure_bikinis[i] = 1 and ((allure_bikinis_b[i] > pcs_hips + 8) or (allure_bikinis_b[i] < pcs_hips - 8)):poshvalldrop += 1
  112. i += 1
  113. if i <= ARRSIZE('allure_bikinis'):jump 'yallure_bikinismet'
  114. i = 1
  115. :yallure_swimsuitmet
  116. if allure_swimsuit[i] = 1 and ((allure_swimsuit_b[i] > pcs_hips + 8) or (allure_swimsuit_b[i] < pcs_hips - 8)):poshvalldrop += 1
  117. i += 1
  118. if i <= ARRSIZE('allure_swimsuit'):jump 'yallure_swimsuitmet'
  119. i = 1
  120. :yfancy_burlesquemet
  121. if fancy_burlesque[i] = 1 and ((fancy_burlesque_b[i] > pcs_hips + 8) or (fancy_burlesque_b[i] < pcs_hips - 8)):poshvalldrop += 1
  122. i += 1
  123. if i <= ARRSIZE('fancy_burlesque'):jump 'yfancy_burlesquemet'
  124. i = 1
  125. :yeroto_dressmet
  126. if eroto_dress[i] = 1 and ((eroto_dress_b[i] > pcs_hips + 8) or (eroto_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  127. i += 1
  128. if i <= ARRSIZE('eroto_dress'):jump 'yeroto_dressmet'
  129. i = 1
  130. :yeroto_outfitsmet
  131. if eroto_outfits[i] = 1 and ((eroto_outfits_b[i] > pcs_hips + 8) or (eroto_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  132. i += 1
  133. if i <= ARRSIZE('eroto_outfits'):jump 'yeroto_outfitsmet'
  134. i = 1
  135. :yeroto_stripmet
  136. if eroto_strip[i] = 1 and ((eroto_strip_b[i] > pcs_hips + 8) or (eroto_strip_b[i] < pcs_hips - 8)):poshvalldrop += 1
  137. i += 1
  138. if i <= ARRSIZE('eroto_strip'):jump 'yeroto_stripmet'
  139. i = 1
  140. :ysalacious_dressmet
  141. if salacious_dress[i] = 1 and ((salacious_dress_b[i] > pcs_hips + 8) or (salacious_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  142. i += 1
  143. if i <= ARRSIZE('salacious_dress'):jump 'ysalacious_dressmet'
  144. i = 1
  145. :ysalacious_outfitsmet
  146. if salacious_outfits[i] = 1 and ((salacious_outfits_b[i] > pcs_hips + 8) or (salacious_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  147. i += 1
  148. if i <= ARRSIZE('salacious_outfits'):jump 'ysalacious_outfitsmet'
  149. i = 1
  150. :ydolls_outfitsmet
  151. if dolls_outfits[i] = 1 and ((dolls_outfits_b[i] > pcs_hips + 8) or (dolls_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  152. i += 1
  153. if i <= ARRSIZE('dolls_outfits'):jump 'ydolls_outfitsmet'
  154. i = 1
  155. :ydolls_dressmet
  156. if dolls_dress[i] = 1 and ((dolls_dress_b[i] > pcs_hips + 8) or (dolls_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  157. i += 1
  158. if i <= ARRSIZE('dolls_dress'):jump 'ydolls_dressmet'
  159. i = 1
  160. :ybomba_outfitsmet
  161. if bomba_outfits[i] = 1 and ((bomba_outfits_b[i] > pcs_hips + 8) or (bomba_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  162. i += 1
  163. if i <= ARRSIZE('bomba_outfits'):jump 'ybomba_outfitsmet'
  164. i = 1
  165. :ybomba_dressmet
  166. if bomba_dress[i] = 1 and ((bomba_dress_b[i] > pcs_hips + 8) or (bomba_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  167. i += 1
  168. if i <= ARRSIZE('bomba_dress'):jump 'ybomba_dressmet'
  169. i = 1
  170. :ynerdvana_outfitsmet
  171. if nerdvana_outfits[i] = 1 and ((nerdvana_outfits_b[i] > pcs_hips + 8) or (nerdvana_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  172. i += 1
  173. if i <= ARRSIZE('nerdvana_outfits'):jump 'ynerdvana_outfitsmet'
  174. i = 1
  175. :ynerdvana_cosplaymet
  176. if nerdvana_cosplay[i] = 1 and ((nerdvana_cosplay_b[i] > pcs_hips + 8) or (nerdvana_cosplay_b[i] < pcs_hips - 8)):poshvalldrop += 1
  177. i += 1
  178. if i <= ARRSIZE('nerdvana_cosplay'):jump 'ynerdvana_cosplaymet'
  179. i = 1
  180. :ynerdvana_bikinismet
  181. if nerdvana_bikinis[i] = 1 and ((nerdvana_bikinis_b[i] > pcs_hips + 8) or (nerdvana_bikinis_b[i] < pcs_hips - 8)):poshvalldrop += 1
  182. i += 1
  183. if i <= ARRSIZE('nerdvana_bikinis'):jump 'ynerdvana_bikinismet'
  184. i = 1
  185. :ynerdvana_swimsuitmet
  186. if nerdvana_swimsuit[i] = 1 and ((nerdvana_swimsuit_b[i] > pcs_hips + 8) or (nerdvana_swimsuit_b[i] < pcs_hips - 8)):poshvalldrop += 1
  187. i += 1
  188. if i <= ARRSIZE('nerdvana_swimsuit'):jump 'ynerdvana_swimsuitmet'
  189. i = 1
  190. :ydanilovich_swimsuitmet
  191. if danilovich_swimsuit[i] = 1 and ((danilovich_swimsuit_b[i] > pcs_hips + 8) or (danilovich_swimsuit_b[i] < pcs_hips - 8)):poshvalldrop += 1
  192. i += 1
  193. if i <= ARRSIZE('danilovich_swimsuit'):jump 'ydanilovich_swimsuitmet'
  194. i = 1
  195. :ymarket_outfitsmet
  196. if market_outfits[i] = 1 and ((market_outfits_b[i] > pcs_hips + 8) or (market_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  197. i += 1
  198. if i <= ARRSIZE('market_outfits'):jump 'ymarket_outfitsmet'
  199. i = 1
  200. :ymaterinstvo_dressmet
  201. if materinstvo_dress[i] = 1 and ((materinstvo_dress_b[i] > pcs_hips + 8) or (materinstvo_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  202. i += 1
  203. if i <= ARRSIZE('materinstvo_dress'):jump 'ymaterinstvo_dressmet'
  204. poshvalldrop = 500 * poshvalldrop
  205. if money < poshvalldrop:
  206. 'You do not have enough money to resize all of your clothing. The total cost would be <<poshvalldrop>> <b>₽</b>.'
  207. elseif poshvalldrop = 0:
  208. 'You do not have any clothes that need tailoring currently,'
  209. elseif money >= poshvalldrop:
  210. money -= poshvalldrop
  211. 'You resize all clothing for <<poshvalldrop>> <b>₽</b>.'
  212. gs 'tailor2'
  213. end
  214. killvar 'poshvalldrop'
  215. if $loc = 'pav_factory':
  216. act 'Continue': gt 'pav_factory', 'tailor'
  217. else
  218. act 'Continue' :gt 'city_market', 'tailor'
  219. end
  220. --- tailor ---------------------------------