|
@@ -1470,8 +1470,7 @@ if $ARGS[0] = 'view_clothing_item':
|
|
|
!! ARGS 0 - view_clothing_item
|
|
|
!! ARGS 1 - clothing type
|
|
|
!! ARGS 2 - clothing index
|
|
|
- !! ARGS 3 - price for shop
|
|
|
- !! ARGS 4 = action type (wardrobe, shop, sell, resize)
|
|
|
+ !! ARGS 3 = action type (wardrobe, shop, sell, resize)
|
|
|
|
|
|
$swimwear_description = ''
|
|
|
|
|
@@ -1521,7 +1520,7 @@ if $ARGS[0] = 'view_clothing_item':
|
|
|
'This is sport clothing.'
|
|
|
end
|
|
|
|
|
|
- if $ARGS[4] ! 'shop' and ($ARGS[1] ! 'gm_school' or ARGS[2] ! 6):
|
|
|
+ if $ARGS[3] ! 'shop' and ($ARGS[1] ! 'gm_school' or ARGS[2] ! 6):
|
|
|
$RESULT = '(strength '
|
|
|
dynamic '$RESULT += <<$ARGS[1]>>_h[<<ARGS[2]>>]'
|
|
|
if $ARGS[1] ! 'danilovich_outfits' and $ARGS[1] ! 'coat' and CloStyle ! 5:
|
|
@@ -1532,15 +1531,15 @@ if $ARGS[0] = 'view_clothing_item':
|
|
|
'<<$RESULT>>'
|
|
|
end
|
|
|
|
|
|
- if $ARGS[4] = 'shop':
|
|
|
+ if $ARGS[3] = 'shop':
|
|
|
if dyneval('RESULT = <<$ARGS[1]>>[<<ARGS[2]>>]') = 1:
|
|
|
'You already own this item.'
|
|
|
act 'Leave': gt $loc, $loc_arg
|
|
|
else
|
|
|
if $ARGS[1] = 'coat' and ARGS[2] = 5:
|
|
|
- price = ARGS[3]
|
|
|
+ price = CloPrice
|
|
|
else
|
|
|
- price = (ARGS[3] * ((5 * CloQuality) + 100) / 100) * 1000 / (1250 - Clothingstock[ARGS[2]]) * 3 / 2
|
|
|
+ price = (CloPrice * ((5 * CloQuality) + 100) / 100) * 1000 / (1250 - Clothingstock[ARGS[2]]) * 3 / 2
|
|
|
price = price / 50 * 50
|
|
|
end
|
|
|
'Price: <<price>> <b>₽</b>'
|
|
@@ -1557,7 +1556,7 @@ if $ARGS[0] = 'view_clothing_item':
|
|
|
if CloStyle = 5:h = 20
|
|
|
h += (3 * CloQuality)
|
|
|
money -= price
|
|
|
- gs 'clothing', 'view_clothing_item_buy', $ARGS[4], $ARGS[1], ARGS[2], ARGS[3]
|
|
|
+ gs 'clothing', 'view_clothing_item_buy', $ARGS[3], $ARGS[1], ARGS[2]
|
|
|
end
|
|
|
end
|
|
|
if karta >= Price:
|
|
@@ -1567,12 +1566,12 @@ if $ARGS[0] = 'view_clothing_item':
|
|
|
if CloStyle = 5:h = 20
|
|
|
h += (3 * CloQuality)
|
|
|
karta -= price
|
|
|
- gs 'clothing', 'view_clothing_item_buy', $ARGS[4], $ARGS[1], ARGS[2], ARGS[3]
|
|
|
+ gs 'clothing', 'view_clothing_item_buy', $ARGS[3], $ARGS[1], ARGS[2]
|
|
|
end
|
|
|
end
|
|
|
end
|
|
|
end
|
|
|
- elseif $ARGS[4] = 'wardrobe':
|
|
|
+ elseif $ARGS[3] = 'wardrobe':
|
|
|
act 'Return':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
|
|
|
|
|
|
if $ARGS[1] ! 'gm_school' or ARGS[2] ! 6:
|
|
@@ -1667,7 +1666,7 @@ if $ARGS[0] = 'view_clothing_item':
|
|
|
end
|
|
|
end
|
|
|
end
|
|
|
- elseif $ARGS[4] = 'store' or $ARGS[4] = 'unwanted':
|
|
|
+ elseif $ARGS[3] = 'store' or $ARGS[3] = 'unwanted':
|
|
|
act 'Return':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
|
|
|
|
|
|
if $ARGS[1] ! 'coat':
|
|
@@ -1677,8 +1676,8 @@ if $ARGS[0] = 'view_clothing_item':
|
|
|
end
|
|
|
end
|
|
|
|
|
|
- elseif $ARGS[4] = 'sell':
|
|
|
- $ward_list_page = $ARGS[4]
|
|
|
+ elseif $ARGS[3] = 'sell':
|
|
|
+ $ward_list_page = $ARGS[3]
|
|
|
act 'Keep item':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
|
|
|
|
|
|
!! value is based on the strength remaining
|
|
@@ -1711,7 +1710,7 @@ if $ARGS[0] = 'view_clothing_item':
|
|
|
gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
|
|
|
end
|
|
|
end
|
|
|
- elseif $ARGS[4] = 'resize':
|
|
|
+ elseif $ARGS[3] = 'resize':
|
|
|
act 'Leave item alone':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
|
|
|
|
|
|
if $ARGS[1] ! 'danilovich_outfits' and $ARGS[1] ! 'coat' and CloStyle ! 5:
|