1
0

elevator 399 B

1234567891011121314151617181920212223242526
  1. # elevator
  2. act 'Back':gt 'hotel'
  3. end
  4. act 'Go to your room':
  5. msg 'Excuse_Me, but the elevator is not working'
  6. gt 'elevator'
  7. !'
  8. if nomer = 0:
  9. msg 'You have not paid for this hotel'
  10. gt 'elevator'
  11. elseif nomer = 1:
  12. gt 'number1'
  13. elseif nomer = 2:
  14. gt 'number2'
  15. elseif nomer = 3:
  16. gt 'number3'
  17. elseif nomer = 4:
  18. gt 'number4'
  19. end
  20. '!
  21. end
  22. --- elevator ---------------------------------