1
0

portnoi2.qsrc 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. # portnoi2
  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. :ycats_dressmet
  10. if cats_dress[i] = 1 and ((cats_dress_b[i] > pcs_hips + 8) or (cats_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  11. i += 1
  12. if i <= ARRSIZE('cats_dress'):jump 'ycats_dressmet'
  13. i = 1
  14. :ycats_outfitsmet
  15. if cats_outfits[i] = 1 and ((cats_outfits_b[i] > pcs_hips + 8) or (cats_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  16. i += 1
  17. if i <= ARRSIZE('cats_outfits'):jump 'ycats_outfitsmet'
  18. i = 1
  19. :ycoco_dressmet
  20. if coco_dress[i] = 1 and ((coco_dress_b[i] > pcs_hips + 8) or (coco_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  21. i += 1
  22. if i <= ARRSIZE('coco_dress'):jump 'ycoco_dressmet'
  23. i = 1
  24. :ycoco_outfitsmet
  25. if coco_outfits[i] = 1 and ((coco_outfits_b[i] > pcs_hips + 8) or (coco_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  26. i += 1
  27. if i <= ARRSIZE('coco_outfits'):jump 'ycoco_outfitsmet'
  28. i = 1
  29. :yflamingos_dressmet
  30. if flamingos_dress[i] = 1 and ((flamingos_dress_b[i] > pcs_hips + 8) or (flamingos_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  31. i += 1
  32. if i <= ARRSIZE('flamingos_dress'):jump 'yflamingos_dressmet'
  33. i = 1
  34. :yflamingos_outfitsmet
  35. if flamingos_outfits[i] = 1 and ((flamingos_outfits_b[i] > pcs_hips + 8) or (flamingos_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  36. i += 1
  37. if i <= ARRSIZE('flamingos_outfits'):jump 'yflamingos_outfitsmet'
  38. i = 1
  39. :yfashionistamet
  40. if fashionista[i] = 1 and ((fashionista_b[i] > pcs_hips + 8) or (fashionista_b[i] < pcs_hips - 8)):poshvalldrop += 1
  41. i += 1
  42. if i <= ARRSIZE('fashionista'):jump 'yfashionistamet'
  43. i = 1
  44. :ymoncherimet
  45. if moncheri[i] = 1 and ((moncheri_b[i] > pcs_hips + 8) or (moncheri_b[i] < pcs_hips - 8)):poshvalldrop += 1
  46. i += 1
  47. if i <= ARRSIZE('moncheri'):jump 'ymoncherimet'
  48. i = 1
  49. :yofficemet
  50. if gm_office[i] = 1 and ((gm_office_b[i] > pcs_hips + 8) or (gm_office_b[i] < pcs_hips - 8)):poshvalldrop += 1
  51. i += 1
  52. if i <= ARRSIZE('gm_office'):jump 'yofficemet'
  53. i = 1
  54. :yschoolmet
  55. if gm_school[i] = 1 and ((gm_school_b[i] > pcs_hips + 8) or (gm_school_b[i] < pcs_hips - 8)):poshvalldrop += 1
  56. i += 1
  57. if i = 6: i = 7
  58. if i <= ARRSIZE('gm_school'):jump 'yschoolmet'
  59. i = 1
  60. :yfetishmet
  61. if fetish[i] = 1 and ((fetish_b[i] > pcs_hips + 8) or (fetish_b[i] < pcs_hips - 8)):poshvalldrop += 1
  62. i += 1
  63. if i <= ARRSIZE('fetish'):jump 'yfetishmet'
  64. i = 1
  65. :yexhibitmet
  66. if exhibit[i] = 1 and ((exhibit_b[i] > pcs_hips + 8) or (exhibit_b[i] < pcs_hips - 8)):poshvalldrop += 1
  67. i += 1
  68. if i <= ARRSIZE('exhibit'):jump 'yexhibitmet'
  69. i = 1
  70. :yuniformmet
  71. if gm_uniform[i] = 1 and ((gm_uniform_b[i] > pcs_hips + 8) or (gm_uniform_b[i] < pcs_hips - 8)):poshvalldrop += 1
  72. i += 1
  73. if i <= ARRSIZE('gm_uniform'):jump 'yuniformmet'
  74. i = 1
  75. :yswimwearmet
  76. if swimwear[i] = 1 and ((swimwear_b[i] > pcs_hips + 8) or (swimwear_b[i] < pcs_hips - 8)):poshvalldrop += 1
  77. i += 1
  78. if i <= ARRSIZE('swimwear'):jump 'yswimwearmet'
  79. i = 1
  80. :ybeachmet
  81. if beach[i] = 1 and ((beach_b[i] > pcs_hips + 8) or (beach_b[i] < pcs_hips - 8)):poshvalldrop += 1
  82. i += 1
  83. if i <= ARRSIZE('beach'):jump 'ybeachmet'
  84. i = 1
  85. :yfancy_burlesquemet
  86. if fancy_burlesque[i] = 1 and ((fancy_burlesque_b[i] > pcs_hips + 8) or (fancy_burlesque_b[i] < pcs_hips - 8)):poshvalldrop += 1
  87. i += 1
  88. if i <= ARRSIZE('fancy_burlesque'):jump 'yfancy_burlesquemet'
  89. i = 1
  90. :ydolls_outfitsmet
  91. if dolls_outfits[i] = 1 and ((dolls_outfits_b[i] > pcs_hips + 8) or (dolls_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  92. i += 1
  93. if i <= ARRSIZE('dolls_outfits'):jump 'ydolls_outfitsmet'
  94. i = 1
  95. :ydolls_dressmet
  96. if dolls_dress[i] = 1 and ((dolls_dress_b[i] > pcs_hips + 8) or (dolls_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  97. i += 1
  98. if i <= ARRSIZE('dolls_dress'):jump 'ydolls_dressmet'
  99. i = 1
  100. :ybomba_outfitsmet
  101. if bomba_outfits[i] = 1 and ((bomba_outfits_b[i] > pcs_hips + 8) or (bomba_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  102. i += 1
  103. if i <= ARRSIZE('bomba_outfits'):jump 'ybomba_outfitsmet'
  104. i = 1
  105. :ybomba_dressmet
  106. if bomba_dress[i] = 1 and ((bomba_dress_b[i] > pcs_hips + 8) or (bomba_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  107. i += 1
  108. if i <= ARRSIZE('bomba_dress'):jump 'ybomba_dressmet'
  109. poshvalldrop = 500 * poshvalldrop
  110. if money < poshvalldrop:
  111. 'You do not have enough money to resize all of your clothing. The total cost would be <<poshvalldrop>> <b>₽</b>.'
  112. elseif poshvalldrop = 0:
  113. 'You do not have any clothes that need tailoring currently,'
  114. elseif money >= poshvalldrop:
  115. money -= poshvalldrop
  116. i = 1
  117. :xgm_dressmet
  118. if gm_dress[i] = 1 and ((gm_dress_b[i] > pcs_hips + 8) or (gm_dress_b[i] < pcs_hips - 8)):gm_dress_b[i] = pcs_hips
  119. i += 1
  120. if i <= ARRSIZE('gm_dress'):jump 'xgm_dressmet'
  121. i = 1
  122. :xgm_outfitsmet
  123. if gm_outfits[i] = 1 and ((gm_outfits_b[i] > pcs_hips + 8) or (gm_outfits_b[i] < pcs_hips - 8)):gm_outfits_b[i] = pcs_hips
  124. i += 1
  125. if i <= ARRSIZE('gm_outfits'):jump 'xgm_outfitsmet'
  126. i = 1
  127. :xcats_dressmet
  128. if cats_dress[i] = 1 and ((cats_dress_b[i] > pcs_hips + 8) or (cats_dress_b[i] < pcs_hips - 8)):cats_dress_b[i] = pcs_hips
  129. i += 1
  130. if i <= ARRSIZE('cats_dress'):jump 'xcats_dressmet'
  131. i = 1
  132. :xcats_outfitsmet
  133. if cats_outfits[i] = 1 and ((cats_outfits_b[i] > pcs_hips + 8) or (cats_outfits_b[i] < pcs_hips - 8)):cats_outfits_b[i] = pcs_hips
  134. i += 1
  135. if i <= ARRSIZE('cats_outfits'):jump 'xcats_outfitsmet'
  136. i = 1
  137. :xcoco_dressmet
  138. if coco_dress[i] = 1 and ((coco_dress_b[i] > pcs_hips + 8) or (coco_dress_b[i] < pcs_hips - 8)):coco_dress_b[i] = pcs_hips
  139. i += 1
  140. if i <= ARRSIZE('coco_dress'):jump 'xcoco_dressmet'
  141. i = 1
  142. :xcoco_outfitsmet
  143. if coco_outfits[i] = 1 and ((coco_outfits_b[i] > pcs_hips + 8) or (coco_outfits_b[i] < pcs_hips - 8)):coco_outfits_b[i] = pcs_hips
  144. i += 1
  145. if i <= ARRSIZE('coco_outfits'):jump 'xcoco_outfitsmet'
  146. i = 1
  147. :xflamingos_dressmet
  148. if flamingos_dress[i] = 1 and ((flamingos_dress_b[i] > pcs_hips + 8) or (flamingos_dress_b[i] < pcs_hips - 8)):flamingos_dress_b[i] = pcs_hips
  149. i += 1
  150. if i <= ARRSIZE('flamingos_dress'):jump 'xflamingos_dressmet'
  151. i = 1
  152. :xflamingos_outfitsmet
  153. if flamingos_outfits[i] = 1 and ((flamingos_outfits_b[i] > pcs_hips + 8) or (flamingos_outfits_b[i] < pcs_hips - 8)):flamingos_outfits_b[i] = pcs_hips
  154. i += 1
  155. if i <= ARRSIZE('flamingos_outfits'):jump 'xflamingos_outfitsmet'
  156. i = 1
  157. :xfashionistamet
  158. if fashionista[i] = 1 and ((fashionista_b[i] > pcs_hips + 8) or (fashionista_b[i] < pcs_hips - 8)):fashionista_b[i] = pcs_hips
  159. i += 1
  160. if i <= ARRSIZE('fashionista'):jump 'xfashionistamet'
  161. i = 1
  162. :xmoncherimet
  163. if moncheri[i] = 1 and ((moncheri_b[i] > pcs_hips + 8) or (moncheri_b[i] < pcs_hips - 8)):moncheri_b[i] = pcs_hips
  164. i += 1
  165. if i <= ARRSIZE('moncheri'):jump 'xmoncherimet'
  166. i = 1
  167. :xofficemet
  168. if gm_office[i] = 1 and ((gm_office_b[i] > pcs_hips + 8) or (gm_office_b[i] < pcs_hips - 8)):gm_office_b[i] = pcs_hips
  169. i += 1
  170. if i <= ARRSIZE('gm_office'):jump 'xofficemet'
  171. i = 1
  172. :xschoolmet
  173. if gm_school[i] = 1 and ((gm_school_b[i] > pcs_hips + 8) or (gm_school_b[i] < pcs_hips - 8)):gm_school_b[i] = pcs_hips
  174. i += 1
  175. if i = 6: i = 7
  176. if i <= ARRSIZE('gm_school'):jump 'xschoolmet'
  177. i = 1
  178. :xfetishmet
  179. if fetish[i] = 1 and ((fetish_b[i] > pcs_hips + 8) or (fetish_b[i] < pcs_hips - 8)):fetish_b[i] = pcs_hips
  180. i += 1
  181. if i <= ARRSIZE('fetish'):jump 'xfetishmet'
  182. i = 1
  183. :xexhibitmet
  184. if exhibit[i] = 1 and ((exhibit_b[i] > pcs_hips + 8) or (exhibit_b[i] < pcs_hips - 8)):exhibit_b[i] = pcs_hips
  185. i += 1
  186. if i <= ARRSIZE('exhibit'):jump 'xexhibitmet'
  187. i = 1
  188. :xuniformmet
  189. if gm_uniform[i] = 1 and ((gm_uniform_b[i] > pcs_hips + 8) or (gm_uniform_b[i] < pcs_hips - 8)):gm_uniform_b[i] = pcs_hips
  190. i += 1
  191. if i <= ARRSIZE('gm_uniform'):jump 'xuniformmet'
  192. i = 1
  193. :xswimwearmet
  194. if swimwear[i] = 1 and ((swimwear_b[i] > pcs_hips + 8) or (swimwear_b[i] < pcs_hips - 8)):swimwear_b[i] = pcs_hips
  195. i += 1
  196. if i <= ARRSIZE('swimwear'):jump 'xswimwearmet'
  197. i = 1
  198. :xbeachmet
  199. if beach[i] = 1 and ((beach_b[i] > pcs_hips + 8) or (beach_b[i] < pcs_hips - 8)):beach_b[i] = pcs_hips
  200. i += 1
  201. if i <= ARRSIZE('beach'):jump 'xbeachmet'
  202. i = 1
  203. :xfancy_burlesquemet
  204. if fancy_burlesque[i] = 1 and ((fancy_burlesque_b[i] > pcs_hips + 8) or (fancy_burlesque_b[i] < pcs_hips - 8)):fancy_burlesque_b[i] = pcs_hips
  205. i += 1
  206. if i <= ARRSIZE('fancy_burlesque'):jump 'xfancy_burlesquemet'
  207. i = 1
  208. :xdolls_outfitsmet
  209. if dolls_outfits[i] = 1 and ((dolls_outfits_b[i] > pcs_hips + 8) or (dolls_outfits_b[i] < pcs_hips - 8)):dolls_outfits_b[i] = pcs_hips
  210. i += 1
  211. if i <= ARRSIZE('dolls_outfits'):jump 'xdolls_outfitsmet'
  212. i = 1
  213. :xdolls_dressmet
  214. if dolls_dress[i] = 1 and ((dolls_dress_b[i] > pcs_hips + 8) or (dolls_dress_b[i] < pcs_hips - 8)):dolls_dress_b[i] = pcs_hips
  215. i += 1
  216. if i <= ARRSIZE('dolls_dress'):jump 'xdolls_dressmet'
  217. i = 1
  218. :xbomba_outfitsmet
  219. if bomba_outfits[i] = 1 and ((bomba_outfits_b[i] > pcs_hips + 8) or (bomba_outfits_b[i] < pcs_hips - 8)):bomba_outfits_b[i] = pcs_hips
  220. i += 1
  221. if i <= ARRSIZE('bomba_outfits'):jump 'xbomba_outfitsmet'
  222. i = 1
  223. :xbomba_dressmet
  224. if bomba_dress[i] = 1 and ((bomba_dress_b[i] > pcs_hips + 8) or (bomba_dress_b[i] < pcs_hips - 8)):bomba_dress_b[i] = pcs_hips
  225. i += 1
  226. if i <= ARRSIZE('bomba_dress'):jump 'xbomba_dressmet'
  227. 'You resize all clothing for <<poshvalldrop>> <b>₽</b>.'
  228. end
  229. if $loc = 'pav_factory':
  230. act 'Leave': gt 'pav_industrial'
  231. else
  232. act 'Leave' :gt 'city_market', 'tailor'
  233. end
  234. --- portnoi2 ---------------------------------