1
0

portnoi2.qsrc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  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. :yeroto_outfitsmet
  61. if eroto_outfits[i] = 1 and ((eroto_outfits_b[i] > pcs_hips + 8) or (eroto_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  62. i += 1
  63. if i <= ARRSIZE('eroto_outfits'):jump 'yeroto_outfitsmet'
  64. i = 1
  65. :yeroto_dressmet
  66. if eroto_dress[i] = 1 and ((eroto_dress_b[i] > pcs_hips + 8) or (eroto_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  67. i += 1
  68. if i <= ARRSIZE('eroto_dress'):jump 'yeroto_dressmet'
  69. i = 1
  70. :yeroto_stripmet
  71. if eroto_strip[i] = 1 and ((eroto_strip_b[i] > pcs_hips + 8) or (eroto_strip_b[i] < pcs_hips - 8)):poshvalldrop += 1
  72. i += 1
  73. if i <= ARRSIZE('eroto_strip'):jump 'yeroto_stripmet'
  74. i = 1
  75. :yexhibitmet
  76. if exhibit[i] = 1 and ((exhibit_b[i] > pcs_hips + 8) or (exhibit_b[i] < pcs_hips - 8)):poshvalldrop += 1
  77. i += 1
  78. if i <= ARRSIZE('exhibit'):jump 'yexhibitmet'
  79. i = 1
  80. :yuniformmet
  81. if gm_uniform[i] = 1 and ((gm_uniform_b[i] > pcs_hips + 8) or (gm_uniform_b[i] < pcs_hips - 8)):poshvalldrop += 1
  82. i += 1
  83. if i <= ARRSIZE('gm_uniform'):jump 'yuniformmet'
  84. i = 1
  85. :ydanilovich_swimsuitmet
  86. if danilovich_swimsuit[i] = 1 and ((danilovich_swimsuit_b[i] > pcs_hips + 8) or (danilovich_swimsuit_b[i] < pcs_hips - 8)):poshvalldrop += 1
  87. i += 1
  88. if i <= ARRSIZE('danilovich_swimsuit'):jump 'ydanilovich_swimsuitmet'
  89. i = 1
  90. :yallure_bikinismet
  91. if allure_bikinis[i] = 1 and ((allure_bikinis_b[i] > pcs_hips + 8) or (allure_bikinis_b[i] < pcs_hips - 8)):poshvalldrop += 1
  92. i += 1
  93. if i <= ARRSIZE('allure_bikinis'):jump 'yallure_bikinismet'
  94. i = 1
  95. :yallure_swimsuitmet
  96. if allure_swimsuit[i] = 1 and ((allure_swimsuit_b[i] > pcs_hips + 8) or (allure_swimsuit_b[i] < pcs_hips - 8)):poshvalldrop += 1
  97. i += 1
  98. if i <= ARRSIZE('allure_swimsuit'):jump 'yallure_swimsuitmet'
  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. :yfancy_burlesquemet
  111. if fancy_burlesque[i] = 1 and ((fancy_burlesque_b[i] > pcs_hips + 8) or (fancy_burlesque_b[i] < pcs_hips - 8)):poshvalldrop += 1
  112. i += 1
  113. if i <= ARRSIZE('fancy_burlesque'):jump 'yfancy_burlesquemet'
  114. i = 1
  115. :ydolls_outfitsmet
  116. if dolls_outfits[i] = 1 and ((dolls_outfits_b[i] > pcs_hips + 8) or (dolls_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  117. i += 1
  118. if i <= ARRSIZE('dolls_outfits'):jump 'ydolls_outfitsmet'
  119. i = 1
  120. :ydolls_dressmet
  121. if dolls_dress[i] = 1 and ((dolls_dress_b[i] > pcs_hips + 8) or (dolls_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  122. i += 1
  123. if i <= ARRSIZE('dolls_dress'):jump 'ydolls_dressmet'
  124. i = 1
  125. :ybomba_outfitsmet
  126. if bomba_outfits[i] = 1 and ((bomba_outfits_b[i] > pcs_hips + 8) or (bomba_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  127. i += 1
  128. if i <= ARRSIZE('bomba_outfits'):jump 'ybomba_outfitsmet'
  129. i = 1
  130. :ybomba_dressmet
  131. if bomba_dress[i] = 1 and ((bomba_dress_b[i] > pcs_hips + 8) or (bomba_dress_b[i] < pcs_hips - 8)):poshvalldrop += 1
  132. i += 1
  133. if i <= ARRSIZE('bomba_dress'):jump 'ybomba_dressmet'
  134. i = 1
  135. :ymarket_outfitsmet
  136. if market_outfits[i] = 1 and ((market_outfits_b[i] > pcs_hips + 8) or (market_outfits_b[i] < pcs_hips - 8)):poshvalldrop += 1
  137. i += 1
  138. if i <= ARRSIZE('market_outfits'):jump 'ymarket_outfitsmet'
  139. poshvalldrop = 500 * poshvalldrop
  140. if money < poshvalldrop:
  141. 'You do not have enough money to resize all of your clothing. The total cost would be <<poshvalldrop>> <b>₽</b>.'
  142. elseif poshvalldrop = 0:
  143. 'You do not have any clothes that need tailoring currently,'
  144. elseif money >= poshvalldrop:
  145. money -= poshvalldrop
  146. i = 1
  147. :xgm_dressmet
  148. 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
  149. i += 1
  150. if i <= ARRSIZE('gm_dress'):jump 'xgm_dressmet'
  151. i = 1
  152. :xgm_outfitsmet
  153. 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
  154. i += 1
  155. if i <= ARRSIZE('gm_outfits'):jump 'xgm_outfitsmet'
  156. i = 1
  157. :xcats_dressmet
  158. 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
  159. i += 1
  160. if i <= ARRSIZE('cats_dress'):jump 'xcats_dressmet'
  161. i = 1
  162. :xcats_outfitsmet
  163. 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
  164. i += 1
  165. if i <= ARRSIZE('cats_outfits'):jump 'xcats_outfitsmet'
  166. i = 1
  167. :xcoco_dressmet
  168. 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
  169. i += 1
  170. if i <= ARRSIZE('coco_dress'):jump 'xcoco_dressmet'
  171. i = 1
  172. :xcoco_outfitsmet
  173. 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
  174. i += 1
  175. if i <= ARRSIZE('coco_outfits'):jump 'xcoco_outfitsmet'
  176. i = 1
  177. :xflamingos_dressmet
  178. 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
  179. i += 1
  180. if i <= ARRSIZE('flamingos_dress'):jump 'xflamingos_dressmet'
  181. i = 1
  182. :xflamingos_outfitsmet
  183. 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
  184. i += 1
  185. if i <= ARRSIZE('flamingos_outfits'):jump 'xflamingos_outfitsmet'
  186. i = 1
  187. :xfashionistamet
  188. if fashionista[i] = 1 and ((fashionista_b[i] > pcs_hips + 8) or (fashionista_b[i] < pcs_hips - 8)):fashionista_b[i] = pcs_hips
  189. i += 1
  190. if i <= ARRSIZE('fashionista'):jump 'xfashionistamet'
  191. i = 1
  192. :xmoncherimet
  193. if moncheri[i] = 1 and ((moncheri_b[i] > pcs_hips + 8) or (moncheri_b[i] < pcs_hips - 8)):moncheri_b[i] = pcs_hips
  194. i += 1
  195. if i <= ARRSIZE('moncheri'):jump 'xmoncherimet'
  196. i = 1
  197. :xofficemet
  198. 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
  199. i += 1
  200. if i <= ARRSIZE('gm_office'):jump 'xofficemet'
  201. i = 1
  202. :xschoolmet
  203. 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
  204. i += 1
  205. if i = 6: i = 7
  206. if i <= ARRSIZE('gm_school'):jump 'xschoolmet'
  207. i = 1
  208. :xeroto_dressmet
  209. if eroto_dress[i] = 1 and ((eroto_dress_b[i] > pcs_hips + 8) or (eroto_dress_b[i] < pcs_hips - 8)):eroto_dress_b[i] = pcs_hips
  210. i += 1
  211. if i <= ARRSIZE('eroto_dress'):jump 'xeroto_dressmet'
  212. i = 1
  213. :xeroto_outfitsmet
  214. if eroto_outfits[i] = 1 and ((eroto_outfits_b[i] > pcs_hips + 8) or (eroto_outfits_b[i] < pcs_hips - 8)):eroto_outfits_b[i] = pcs_hips
  215. i += 1
  216. if i <= ARRSIZE('eroto_outfits'):jump 'xeroto_outfitsmet'
  217. i = 1
  218. :xeroto_stripmet
  219. if eroto_strip[i] = 1 and ((eroto_strip_b[i] > pcs_hips + 8) or (eroto_strip_b[i] < pcs_hips - 8)):eroto_strip_b[i] = pcs_hips
  220. i += 1
  221. if i <= ARRSIZE('eroto_strip'):jump 'xeroto_stripmet'
  222. i = 1
  223. :xexhibitmet
  224. if exhibit[i] = 1 and ((exhibit_b[i] > pcs_hips + 8) or (exhibit_b[i] < pcs_hips - 8)):exhibit_b[i] = pcs_hips
  225. i += 1
  226. if i <= ARRSIZE('exhibit'):jump 'xexhibitmet'
  227. i = 1
  228. :xuniformmet
  229. 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
  230. i += 1
  231. if i <= ARRSIZE('gm_uniform'):jump 'xuniformmet'
  232. i = 1
  233. :xdanilovich_swimsuitmet
  234. if danilovich_swimsuit[i] = 1 and ((danilovich_swimsuit_b[i] > pcs_hips + 8) or (danilovich_swimsuit_b[i] < pcs_hips - 8)):danilovich_swimsuit_b[i] = pcs_hips
  235. i += 1
  236. if i <= ARRSIZE('danilovich_swimsuit'):jump 'xdanilovich_swimsuitmet'
  237. i = 1
  238. :xallure_bikinismet
  239. if allure_bikinis[i] = 1 and ((allure_bikinis_b[i] > pcs_hips + 8) or (allure_bikinis_b[i] < pcs_hips - 8)):allure_bikinis_b[i] = pcs_hips
  240. i += 1
  241. if i <= ARRSIZE('allure_bikinis'):jump 'xallure_bikinismet'
  242. i = 1
  243. :xallure_swimsuitmet
  244. if allure_swimsuit[i] = 1 and ((allure_swimsuit_b[i] > pcs_hips + 8) or (allure_swimsuit_b[i] < pcs_hips - 8)):allure_swimsuit_b[i] = pcs_hips
  245. i += 1
  246. if i <= ARRSIZE('allure_swimsuit'):jump 'xallure_swimsuitmet'
  247. i = 1
  248. :xscandalicious_swimsuitmet
  249. if scandalicious_swimsuit[i] = 1 and ((scandalicious_swimsuit_b[i] > pcs_hips + 8) or (scandalicious_swimsuit_b[i] < pcs_hips - 8)):scandalicious_swimsuit_b[i] = pcs_hips
  250. i += 1
  251. if i <= ARRSIZE('scandalicious_swimsuit'):jump 'xscandalicious_swimsuitmet'
  252. i = 1
  253. :xscandalicious_bikinismet
  254. if scandalicious_bikinis[i] = 1 and ((scandalicious_bikinis_b[i] > pcs_hips + 8) or (scandalicious_bikinis_b[i] < pcs_hips - 8)):scandalicious_bikinis_b[i] = pcs_hips
  255. i += 1
  256. if i <= ARRSIZE('scandalicious_bikinis'):jump 'xscandalicious_bikinismet'
  257. i = 1
  258. :xfancy_burlesquemet
  259. 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
  260. i += 1
  261. if i <= ARRSIZE('fancy_burlesque'):jump 'xfancy_burlesquemet'
  262. i = 1
  263. :xdolls_outfitsmet
  264. 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
  265. i += 1
  266. if i <= ARRSIZE('dolls_outfits'):jump 'xdolls_outfitsmet'
  267. i = 1
  268. :xdolls_dressmet
  269. 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
  270. i += 1
  271. if i <= ARRSIZE('dolls_dress'):jump 'xdolls_dressmet'
  272. i = 1
  273. :xbomba_outfitsmet
  274. 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
  275. i += 1
  276. if i <= ARRSIZE('bomba_outfits'):jump 'xbomba_outfitsmet'
  277. i = 1
  278. :xbomba_dressmet
  279. 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
  280. i += 1
  281. if i <= ARRSIZE('bomba_dress'):jump 'xbomba_dressmet'
  282. i = 1
  283. :xmarket_outfitsmet
  284. if market_outfits[i] = 1 and ((market_outfits_b[i] > pcs_hips + 8) or (market_outfits_b[i] < pcs_hips - 8)):market_outfits_b[i] = pcs_hips
  285. i += 1
  286. if i <= ARRSIZE('market_outfits'):jump 'xmarket_outfitsmet'
  287. 'You resize all clothing for <<poshvalldrop>> <b>₽</b>.'
  288. end
  289. if $loc = 'pav_factory':
  290. act 'Leave': gt 'pav_industrial'
  291. else
  292. act 'Leave' :gt 'city_market', 'tailor'
  293. end
  294. --- portnoi2 ---------------------------------