|
@@ -1520,31 +1520,31 @@ if $ARGS[0] = 'view_clothing_item':
|
|
|
'This item is too large for you to wear.'
|
|
|
end
|
|
|
|
|
|
- if (pcs_sewng >= 50 and tkan > 0) or $loc_arg = 'tailor':
|
|
|
+ if pcs_sewng >= 50 and tkan > 0:
|
|
|
cla & *nl
|
|
|
- if $loc_arg = 'tailor':
|
|
|
- 'You can pay to have this resized for (500 <b>₽</b>).'
|
|
|
- else
|
|
|
- 'You can resize this thanks to your sewing skill.'
|
|
|
- end
|
|
|
-
|
|
|
- act 'Return': gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
|
|
|
-
|
|
|
+ 'You can resize this thanks to your sewing skill.'
|
|
|
act 'Resize item':
|
|
|
cla
|
|
|
- if $loc_arg = 'tailor':
|
|
|
+ tkan -= 1
|
|
|
+ minut += 30
|
|
|
+ dynamic $ARGS[1] + '_b[<<ARGS[2]>>] = pcs_hips'
|
|
|
+ 'You spend 30 minutes resizing the outfit.'
|
|
|
+ act 'Return':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
|
|
|
+ end
|
|
|
+ elseif $loc_arg = 'tailor':
|
|
|
+ cla & *nl
|
|
|
+ if money >= 500:
|
|
|
+ 'You can pay to have this resized for (500 <b>₽</b>).'
|
|
|
+ act 'Resize item':
|
|
|
minut += 15
|
|
|
money -= 500
|
|
|
dynamic $ARGS[1] + '_b[<<ARGS[2]>>] = pcs_hips'
|
|
|
*nl
|
|
|
'You hand the clothing over to the tailor who takes it into the back. Fifteen minutes later, he presents your clothing back to you, adjusted to fit you perfectly.'
|
|
|
- else
|
|
|
- tkan -= 1
|
|
|
- minut += 30
|
|
|
- dynamic $ARGS[1] + '_b[<<ARGS[2]>>] = pcs_hips'
|
|
|
- 'You spend 30 minutes resizing the outfit.'
|
|
|
+ act 'Return':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
|
|
|
end
|
|
|
- act 'Return':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
|
|
|
+ else
|
|
|
+ 'You cannot afford to have this resized.'
|
|
|
end
|
|
|
end
|
|
|
exit
|