|
@@ -12,34 +12,73 @@ if $ARGS[0] = 'start':
|
|
|
gs 'themes', 'indoors'
|
|
|
'<center><b><font color="maroon">Fitness Center</font></b></center>'
|
|
|
'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/fit.jpg"></center>'
|
|
|
+ *nl
|
|
|
'This modern and well staffed fitness center provides all the latest equipment and trainers to help you make the most of them.'
|
|
|
*nl
|
|
|
- 'Buy subscription for 30 classes (3,000 <b>₽</b>), pool use is free to members.'
|
|
|
- 'You must wear sportswear for all classes.'
|
|
|
-
|
|
|
- if abonement > 0:'Subscription is valid for <<abonement>> more classes.'
|
|
|
+ 'At the reception you may buy '+iif(abonement > 0, 'a subscription package', 'an additional subscription package')+' for access to all available facilities.'
|
|
|
+ if abonement > 0:'Your existing subscription package is valid for <<abonement>> more classes.'
|
|
|
+ *nl
|
|
|
+ '<b>Available Packages:</b>'
|
|
|
+ '<a href="exec: abonement +=30">30 classes (3,000 <b>₽</b>)</a>'
|
|
|
+ '<a href="exec: abonement +=20">20 classes (2,250 <b>₽</b>)</a>'
|
|
|
+ '<a href="exec: abonement +=10">10 classes (1,500 <b>₽</b>)</a>'
|
|
|
+ *nl
|
|
|
+ '<b>Included classes:</b>'
|
|
|
+ 'Running'
|
|
|
+ 'Crossfit'
|
|
|
+ 'Aerobics'
|
|
|
+ 'Weights'
|
|
|
+ 'Cross Trainer'
|
|
|
+ 'Tennis'
|
|
|
+ 'Kickboxing'
|
|
|
+ 'Swimming pool.'
|
|
|
+ *nl
|
|
|
+ 'Sportswear is required for all available classes.'
|
|
|
|
|
|
act 'Leave': minut += 5 & gt 'down'
|
|
|
|
|
|
- if money >= 3000:
|
|
|
- act 'Buy a subscription (3,000 <b>₽</b>)':
|
|
|
+ if abonement > 0:
|
|
|
+ act 'Go to the dressing room':
|
|
|
+ gt 'fit', 'dressing room'
|
|
|
+ end
|
|
|
+ else
|
|
|
+ act 'Use the pool (100 <b>₽</b>)': gt 'fit', 'dressing room'
|
|
|
+ end
|
|
|
+
|
|
|
+ if money >= 3000 and abonement = 0:
|
|
|
+ act 'Buy 30 classes (3,000 <b>₽</b>)':
|
|
|
cla
|
|
|
menu_off = 1
|
|
|
money -= 3000
|
|
|
abonement += 30
|
|
|
- 'You bought a subscription for 30 lessons, including free use of the pool.'
|
|
|
+ 'You bought a subscription for 30 classes, and access to all facilities.'
|
|
|
|
|
|
act 'Move away from cashier':gt 'fit', 'start'
|
|
|
end
|
|
|
end
|
|
|
|
|
|
- if abonement > 0:
|
|
|
- act 'Go to the dressing room':
|
|
|
+ if money >= 2250 and abonement = 0:
|
|
|
+ act 'Buy 20 classes (2,250 <b>₽</b>)':
|
|
|
cla
|
|
|
- gt 'fit', 'dressing room'
|
|
|
+ menu_off = 1
|
|
|
+ money -= 2250
|
|
|
+ abonement += 20
|
|
|
+ 'You bought a subscription for 20 classes, and access to all facilities.'
|
|
|
+
|
|
|
+ act 'Move away from cashier':gt 'fit', 'start'
|
|
|
+ end
|
|
|
+ end
|
|
|
+
|
|
|
+ if money >= 1500 and abonement = 0:
|
|
|
+ act 'Buy 30 classes (1,500 <b>₽</b>)':
|
|
|
+ cla
|
|
|
+ menu_off = 1
|
|
|
+ money -= 1500
|
|
|
+ abonement += 10
|
|
|
+ 'You bought a subscription for 10 classes, and access to all facilities.'
|
|
|
+
|
|
|
+ act 'Move away from cashier':gt 'fit', 'start'
|
|
|
end
|
|
|
- else
|
|
|
- act 'Use the pool (100 <b>₽</b>)': gt 'fit', 'dressing room'
|
|
|
end
|
|
|
end
|
|
|
|
|
@@ -64,6 +103,16 @@ if $ARGS[0] = 'dressing room':
|
|
|
'In the locker room you notice <a href="exec:gt ''fit'', ''fitgirl''">a cute girl</a>.'
|
|
|
end
|
|
|
|
|
|
+ act 'Exit the locker room':
|
|
|
+ if $clothingworntype ! 'nude' and $clothingworntype ! 'swimwear':
|
|
|
+ gt 'fit', 'start'
|
|
|
+ else
|
|
|
+ cla
|
|
|
+ msg'<b><font color = red>You need to get dressed.</font></b>'
|
|
|
+ act 'Return': gt 'fit', 'dressing room'
|
|
|
+ end
|
|
|
+ end
|
|
|
+
|
|
|
act 'Take a shower (0:15)':
|
|
|
cla
|
|
|
*clr
|
|
@@ -134,16 +183,6 @@ if $ARGS[0] = 'dressing room':
|
|
|
end
|
|
|
end
|
|
|
end
|
|
|
-
|
|
|
- act 'Exit the locker room':
|
|
|
- if $clothingworntype ! 'nude' and $clothingworntype ! 'swimwear':
|
|
|
- gt 'fit', 'start'
|
|
|
- else
|
|
|
- cla
|
|
|
- msg'<b><font color = red>You need to get dressed.</font></b>'
|
|
|
- act 'Return': gt 'fit', 'dressing room'
|
|
|
- end
|
|
|
- end
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'fitgirl':
|