|
@@ -46,7 +46,7 @@ if $ARGS[0] = 'start' or $ARGS[0] = '':
|
|
|
if hotelRoom['city_hotel'] = 2:gt'hotelroom','better'
|
|
|
if hotelRoom['city_hotel'] = 3:gt'hotelroom','best'
|
|
|
end
|
|
|
-
|
|
|
+
|
|
|
end
|
|
|
|
|
|
act 'Go to the reception desk': gt 'city_hotel', 'reception'
|
|
@@ -63,7 +63,7 @@ if $ARGS[0] = 'reception':
|
|
|
'"How can I help you?" she asks.'
|
|
|
|
|
|
act 'Go back to the foyer': minut += 1 & gt 'city_hotel', 'start'
|
|
|
-
|
|
|
+
|
|
|
act 'See the room descriptions':
|
|
|
cla
|
|
|
minut += 1
|
|
@@ -108,13 +108,13 @@ if $ARGS[0] = 'reception':
|
|
|
'Standard room - 500 <b>₽</b> / night;'
|
|
|
'Luxury room - 1500 <b>₽</b> / night;'
|
|
|
'and the Royal Suite - 10000 <b>₽</b> / night.'
|
|
|
+
|
|
|
act'Standard room':
|
|
|
- *clr
|
|
|
- cla
|
|
|
+ *clr & cla
|
|
|
hotelRoomDays['city_hotel']=input ("For how long would you like to stay?")
|
|
|
totalCost = hotelRoomDays['city_hotel'] * 500
|
|
|
if hotelRoomDays['city_hotel'] <= 0:gt'city_hotel'
|
|
|
-
|
|
|
+
|
|
|
if totalCost<=money:
|
|
|
money-=totalCost
|
|
|
hotelRoom['city_hotel']=3
|
|
@@ -125,9 +125,9 @@ if $ARGS[0] = 'reception':
|
|
|
msg'You can''t afford to stay in the hotel for that long.'
|
|
|
gt'city_hotel'
|
|
|
end
|
|
|
- end '4. Presidential Suite, our most prized room with all the modern necessities. Free room service included.'
|
|
|
- *clr
|
|
|
- cla
|
|
|
+ end
|
|
|
+ act 'Luxury room':
|
|
|
+ *clr & cla
|
|
|
hotelRoomDays['city_hotel']=input ("For how long would you like to stay?")
|
|
|
totalCost = hotelRoomDays['city_hotel'] * 1500
|
|
|
if hotelRoomDays['city_hotel'] <= 0:gt'city_hotel'
|
|
@@ -150,7 +150,7 @@ if $ARGS[0] = 'reception':
|
|
|
hotelRoomDays['city_hotel']=input ("For how long would you like to stay?")
|
|
|
totalCost = hotelRoomDays['city_hotel'] * 10000
|
|
|
if hotelRoomDays['city_hotel'] <= 0:gt'city_hotel'
|
|
|
-
|
|
|
+
|
|
|
if totalCost<=money:
|
|
|
money-=totalCost
|
|
|
hotelRoom['city_hotel']=3
|