portnoi2 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. # portnoi2
  2. poshvalldrop = 0
  3. c = 0
  4. :jensmet
  5. c += 1
  6. if jeans[c] = 1 and jeansB[c]!bedra:poshvalldrop += 1
  7. if c ! 5:jump 'jensmet'
  8. c = 0
  9. :shortmet
  10. c += 1
  11. if short[c] = 1 and shortB[c]!bedra:poshvalldrop += 1
  12. if c ! 5:jump 'shortmet'
  13. c = 0
  14. :skirtmet
  15. c += 1
  16. if skirt[c] = 1 and skirtB[c]!bedra:poshvalldrop += 1
  17. if c ! 5:jump 'skirtmet'
  18. c = 0
  19. :dressmet
  20. c += 1
  21. if dress[c] = 1 and dressB[c]!bedra:poshvalldrop += 1
  22. if c ! 24:jump 'dressmet'
  23. c = 0
  24. :profimet
  25. c += 1
  26. if profi[c] = 1 and profiB[c]!bedra:poshvalldrop += 1
  27. if c ! 2:jump 'profimet'
  28. c = 0
  29. :pantsmet
  30. c += 1
  31. if pants[c] = 1 and pantsB[c]!bedra:poshvalldrop += 1
  32. if c ! 5:jump 'pantsmet'
  33. c = 0
  34. :latexmet
  35. c += 1
  36. if latex[c] = 1 and latexB[c]!bedra:poshvalldrop += 1
  37. if c ! 2:jump 'latexmet'
  38. c = 0
  39. :hookermet
  40. c += 1
  41. if hooker[c] = 1 and hookerB[c]!bedra:poshvalldrop += 1
  42. if c ! 5:jump 'hookermet'
  43. c = 0
  44. :odekismet
  45. c += 1
  46. if odekis[c] = 1 and odekisB[c]!bedra:poshvalldrop += 1
  47. if c ! 10:jump 'odekismet'
  48. c = 0
  49. :newclomet
  50. c += 1
  51. if newclo[c] = 1 and newcloB[c]!bedra:poshvalldrop += 1
  52. if c ! 130:jump 'newclomet'
  53. if money < poshvalldrop * 500:
  54. 'You do not have enough money to resize all of your clothing. The total cost would be <<poshvalldrop * 500>> rubles.'
  55. act 'Leave':gt 'clener', 'start'
  56. exit
  57. elseif money >= poshvalldrop * 500:
  58. money -= poshvalldrop * 500
  59. c = 0
  60. :jensmet1
  61. c += 1
  62. if jeans[c] = 1 and jeansB[c]!bedra:jeansB[c] = bedra
  63. if c ! 5:jump 'jensmet1'
  64. c = 0
  65. :shortmet1
  66. c += 1
  67. if short[c] = 1 and shortB[c]!bedra:shortB[c] = bedra
  68. if c ! 5:jump 'shortmet1'
  69. c = 0
  70. :skirtmet1
  71. c += 1
  72. if skirt[c] = 1 and skirtB[c]!bedra:skirtB[c] = bedra
  73. if c ! 5:jump 'skirtmet1'
  74. c = 0
  75. :dressmet1
  76. c += 1
  77. if dress[c] = 1 and dressB[c]!bedra:dressB[c] = bedra
  78. if c ! 24:jump 'dressmet1'
  79. c = 0
  80. :profimet1
  81. c += 1
  82. if profi[c] = 1 and profiB[c]!bedra:profiB[c] = bedra
  83. if c ! 2:jump 'profimet1'
  84. c = 0
  85. :pantsmet1
  86. c += 1
  87. if pants[c] = 1 and pantsB[c]!bedra:pantsB[c] = bedra
  88. if c ! 5:jump 'pantsmet1'
  89. c = 0
  90. :latexmet1
  91. c += 1
  92. if latex[c] = 1 and latexB[c]!bedra:latexB[c] = bedra
  93. if c ! 2:jump 'latexmet1'
  94. c = 0
  95. :hookermet1
  96. c += 1
  97. if hooker[c] = 1 and hookerB[c]!bedra:hookerB[c] = bedra
  98. if c ! 5:jump 'hookermet1'
  99. c = 0
  100. :odekismet1
  101. c += 1
  102. if odekis[c] = 1 and odekisB[c]!bedra:odekisB[c] = bedra
  103. if c ! 10:jump 'odekismet1'
  104. c = 0
  105. :newclomet1
  106. c += 1
  107. if newclo[c] = 1 and newcloB[c]!bedra:newcloB[c] = bedra
  108. if c ! 130:jump 'newclomet1'
  109. 'You resize all clothing for <<poshvalldrop*500>> rubles.'
  110. act 'Leave':gt 'clener', 'start'
  111. exit
  112. end
  113. --- portnoi2 ---------------------------------