Maria1 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. *clr
  23. act 'Stay':
  24. cla
  25. '- I would like to stay'
  26. '- Well, what would you like?'
  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. cla
  55. *clr
  56. sto_nom = nom_o[nomer]
  57. '- You shoot a room for one night.'
  58. '- It will cost <<sto_nom>>'
  59. act 'Pay':
  60. if sto_nom > money:
  61. msg 'Not enough money'
  62. srokarend = 0
  63. nomer = 0
  64. nom_1 = 0
  65. gt 'maria1'
  66. end
  67. cla
  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. act 'Goodbye':gt 'rack'
  75. end
  76. act 'Change Your Mind':
  77. nomer = 0
  78. nom_1 = 0
  79. gt 'maria1'
  80. end
  81. end
  82. if nom_1 = 0:
  83. act 'Move away':gt 'rack'
  84. end
  85. --- Maria1 ---------------------------------