Maria1 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # Maria1
  2. '- How can I help you?'
  3. act 'Move away':gt 'rack'
  4. if nom_1 = 0:
  5. act 'Ask about plans for the evening':
  6. cla
  7. '- What are you doing tonight?'
  8. '- Meeting with her husband. Anything else?'
  9. act 'Move away':gt 'rack'
  10. end
  11. if tobiQW = 2000:
  12. act 'Why in the hotel so crowded?':
  13. cla
  14. tobiQW = 2001
  15. '- Why so crowded in the hotel?'
  16. '- Then stop members of Congress rare languages, as they call themselves quack.'
  17. act 'Move away':gt 'rack'
  18. end
  19. end
  20. end
  21. if nomer = 0:
  22. *clear
  23. act 'Stay':
  24. '- I would like to stay'
  25. '- Well, what would you like?'
  26. cla
  27. act 'Cheap room':
  28. '- Cheap room'
  29. nomer = 1
  30. nom_1 = 1
  31. gt 'maria1'
  32. end
  33. act 'Standard Room':
  34. '- Standard Room'
  35. nomer = 2
  36. nom_1 = 1
  37. gt 'maria1'
  38. end
  39. act 'Suite':
  40. '- Suite'
  41. nomer = 3
  42. nom_1 = 1
  43. gt 'maria1'
  44. end
  45. act 'Presidential Suite':
  46. '- Presidential Suite'
  47. nomer = 4
  48. nom_1 = 1
  49. gt 'maria1'
  50. end
  51. end
  52. end
  53. if nom_1 = 1 and flag = 0:
  54. *clear
  55. cla
  56. '- You shoot a room for one night.'
  57. sto_nom = nom_o[nomer]
  58. '- It will cost <<sto_nom>>'
  59. cla
  60. act 'Pay':
  61. if sto_nom > money:
  62. msg 'Not enough money'
  63. srokarend = 0
  64. nomer = 0
  65. nom_1 = 0
  66. gt 'maria1'
  67. end
  68. money -= sto_nom
  69. flag = 1
  70. nom_1 = 0
  71. nom_nom = rand(1, 1000)
  72. 'Thank you for using our services'
  73. 'Your room <<nom_nom>>'
  74. cla
  75. act 'Goodbye':gt 'rack'
  76. end
  77. act 'Change Your Mind':
  78. nomer = 0
  79. nom_1 = 0
  80. gt 'maria1'
  81. end
  82. end
  83. if nom_1 = 0:
  84. act 'Move away':gt 'rack'
  85. end
  86. --- Maria1 ---------------------------------