123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- # portnoi2
- poshvalldrop = 0
- i = 1
- :ycheapmet
- if cheap[i] = 1 and ((cheapB[i] > pcs_hips + 8) or (cheapB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('cheap'):jump 'ycheapmet'
- i = 1
- :yaveragemet
- if average[i] = 1 and ((averageB[i] > pcs_hips + 8) or (averageB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('average'):jump 'yaveragemet'
- i = 1
- :yexpensivemet
- if expensive[i] = 1 and ((expensiveB[i] > pcs_hips + 8) or (expensiveB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('expensive'):jump 'yexpensivemet'
- i = 1
- :yformalmet
- if formal[i] = 1 and ((formalB[i] > pcs_hips + 8) or (formalB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('formal'):jump 'yformalmet'
- i = 1
- :yofficemet
- if office[i] = 1 and ((officeB[i] > pcs_hips + 8) or (officeB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('office'):jump 'yofficemet'
- i = 1
- :yschoolmet
- if school[i] = 1 and ((schoolB[i] > pcs_hips + 8) or (schoolB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i = 6: i = 7
- if i <= ARRSIZE('school'):jump 'yschoolmet'
- i = 1
- :yfetishmet
- if fetish[i] = 1 and ((fetishB[i] > pcs_hips + 8) or (fetishB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('fetish'):jump 'yfetishmet'
- i = 1
- :yexhibitmet
- if exhibit[i] = 1 and ((exhibitB[i] > pcs_hips + 8) or (exhibitB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('exhibit'):jump 'yexhibitmet'
- i = 1
- :yuniformmet
- if uniform[i] = 1 and ((uniformB[i] > pcs_hips + 8) or (uniformB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('uniform'):jump 'yuniformmet'
- i = 1
- :yswimwearmet
- if swimwear[i] = 1 and ((swimwearB[i] > pcs_hips + 8) or (swimwearB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('swimwear'):jump 'yswimwearmet'
- i = 1
- :yburlesquemet
- if burlesque[i] = 1 and ((burlesqueB[i] > pcs_hips + 8) or (burlesqueB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('burlesque'):jump 'yburlesquemet'
- i = 1
- :yalternativemet
- if alternative[i] = 1 and ((alternativeB[i] > pcs_hips + 8) or (alternativeB[i] < pcs_hips - 8)):poshvalldrop += 1
- i += 1
- if i <= ARRSIZE('alternative'):jump 'yalternativemet'
- poshvalldrop = 500 * poshvalldrop
- if money < poshvalldrop:
- 'You do not have enough money to resize all of your clothing. The total cost would be <<poshvalldrop>> <b>₽</b>.'
- elseif poshvalldrop = 0:
- 'You do not have any clothes that need tailoring currently,'
- elseif money >= poshvalldrop:
- money -= poshvalldrop
- i = 1
- :xcheapmet
- if cheap[i] = 1 and ((cheapB[i] > pcs_hips + 8) or (cheapB[i] < pcs_hips - 8)):cheapB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('cheap'):jump 'xcheapmet'
- i = 1
- :xaveragemet
- if average[i] = 1 and ((averageB[i] > pcs_hips + 8) or (averageB[i] < pcs_hips - 8)):averageB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('average'):jump 'xaveragemet'
- i = 1
- :xexpensivemet
- if expensive[i] = 1 and ((expensiveB[i] > pcs_hips + 8) or (expensiveB[i] < pcs_hips - 8)):expensiveB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('expensive'):jump 'xexpensivemet'
- i = 1
- :xformalmet
- if formal[i] = 1 and ((formalB[i] > pcs_hips + 8) or (formalB[i] < pcs_hips - 8)):formalB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('formal'):jump 'xformalmet'
- i = 1
- :xofficemet
- if office[i] = 1 and ((officeB[i] > pcs_hips + 8) or (officeB[i] < pcs_hips - 8)):officeB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('office'):jump 'xofficemet'
- i = 1
- :xschoolmet
- if school[i] = 1 and ((schoolB[i] > pcs_hips + 8) or (schoolB[i] < pcs_hips - 8)):schoolB[i] = pcs_hips
- i += 1
- if i = 6: i = 7
- if i <= ARRSIZE('school'):jump 'xschoolmet'
- i = 1
- :xfetishmet
- if fetish[i] = 1 and ((fetishB[i] > pcs_hips + 8) or (fetishB[i] < pcs_hips - 8)):fetishB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('fetish'):jump 'xfetishmet'
- i = 1
- :xexhibitmet
- if exhibit[i] = 1 and ((exhibitB[i] > pcs_hips + 8) or (exhibitB[i] < pcs_hips - 8)):exhibitB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('exhibit'):jump 'xexhibitmet'
- i = 1
- :xuniformmet
- if uniform[i] = 1 and ((uniformB[i] > pcs_hips + 8) or (uniformB[i] < pcs_hips - 8)):uniformB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('uniform'):jump 'xuniformmet'
- i = 1
- :xswimwearmet
- if swimwear[i] = 1 and ((swimwearB[i] > pcs_hips + 8) or (swimwearB[i] < pcs_hips - 8)):swimwearB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('swimwear'):jump 'xswimwearmet'
- i = 1
- :xburlesquemet
- if burlesque[i] = 1 and ((burlesqueB[i] > pcs_hips + 8) or (burlesqueB[i] < pcs_hips - 8)):burlesqueB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('burlesque'):jump 'xburlesquemet'
- i = 1
- :xalternativemet
- if alternative[i] = 1 and ((alternativeB[i] > pcs_hips + 8) or (alternativeB[i] < pcs_hips - 8)):alternativeB[i] = pcs_hips
- i += 1
- if i <= ARRSIZE('alternative'):jump 'xalternativemet'
- 'You resize all clothing for <<poshvalldrop>> <b>₽</b>.'
- end
- if $loc = 'Gshveyfab':
- act 'Leave': gt 'pavIndustrial'
- else
- act 'Leave' :gt 'rinok', 'tailor'
- end
- --- portnoi2 ---------------------------------
|