|
@@ -51,12 +51,16 @@ if $ARGS[0] = 'start':
|
|
|
|
|
|
if abonement > 0:
|
|
|
act 'Go to the dressing room': gt 'fit', 'dressing room'
|
|
|
- else
|
|
|
- act 'Use the pool (100 <b>₽</b>)': gt 'fit', 'dressing room'
|
|
|
+ elseif money > 100:
|
|
|
+ act 'Use the pool (100 <b>₽</b>)':
|
|
|
+ money -= 100
|
|
|
+ gs 'stat'
|
|
|
+ gt 'fit', 'dressing room'
|
|
|
+ end
|
|
|
end
|
|
|
|
|
|
if money >= 3000:
|
|
|
- act 'Buy 30 classes (3,000 <b>₽</b>)':
|
|
|
+ act ''+iif(abonement > 0, 'Buy an extra','Buy')+' 30 classes (3,000 <b>₽</b>)':
|
|
|
cla
|
|
|
menu_off = 1
|
|
|
money -= 3000
|
|
@@ -68,7 +72,7 @@ if $ARGS[0] = 'start':
|
|
|
end
|
|
|
|
|
|
if money >= 2250:
|
|
|
- act 'Buy 20 classes (2,250 <b>₽</b>)':
|
|
|
+ act ''+iif(abonement > 0, 'Buy an extra','Buy ')+' 20 classes (2,250 <b>₽</b>)':
|
|
|
cla
|
|
|
menu_off = 1
|
|
|
money -= 2250
|
|
@@ -80,7 +84,7 @@ if $ARGS[0] = 'start':
|
|
|
end
|
|
|
|
|
|
if money >= 1500:
|
|
|
- act 'Buy 10 classes (1,500 <b>₽</b>)':
|
|
|
+ act ''+iif(abonement > 0, 'Buy an extra','Buy ')+' 10 classes (1,500 <b>₽</b>)':
|
|
|
cla
|
|
|
menu_off = 1
|
|
|
money -= 1500
|