restoran 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. # restoran
  2. if $ARGS[0] = 'start':
  3. cla
  4. clr
  5. *clr
  6. minut += 5
  7. gs 'stat'
  8. if vladimirday = daystart and vladimirQW = 21 and hour = 20:gt 'qwmeet'
  9. '<center><b><font color="maroon">Restaurant</font></b></center>'
  10. '<center><img src="images/etogame/restoran.jpg"></center>'
  11. fcolor = rgb(0, 0, 0)
  12. bcolor = rgb(255, 255, 255)
  13. lcolor = rgb(106, 90, 205)
  14. !!eto there_were glamur > 1 and vnesh > 50
  15. if $clothingworntype = 'formal' and mop > 1 and hapri = 1 and sweat < 20:
  16. 'A well-dressed man at the entrance politely asks you whether you prefer the VIP section or the common room'
  17. if money >= 5000:
  18. act 'VIP room (5,000 <b>₽</b>)':
  19. cla
  20. money -= 5000
  21. gt 'restoran', 'vip'
  22. end
  23. end
  24. act 'Common room':gt 'restoran', 'zal'
  25. else
  26. 'A man in a suit politely informs you that customers must look presentable and wear formal clothing if they wish to dine here.'
  27. end
  28. ! mennolds ev
  29. if hour = 21 and minut < 30 and mey_vika['mey_vika_qw'] = 36:
  30. gs 'mey_tamara_events', 'wait_qw'
  31. exit
  32. end
  33. ! ---
  34. act 'Leave the restaurant':
  35. cla
  36. minut += 5
  37. gt 'down'
  38. end
  39. end
  40. if $ARGS[0] = 'zal':
  41. cla
  42. clr
  43. *clr
  44. minut += 5
  45. gs 'stat'
  46. fcolor = rgb(0, 0, 0)
  47. bcolor = rgb(255, 255, 255)
  48. lcolor = rgb(106, 90, 205)
  49. '<center><b><font color="maroon">restaurant, common room</font></b></center>'
  50. '<center><img src="images/etogame/restoran2.jpg"></center>'
  51. 'The room emits a good atmosphere with its soft lighting and light furniture. You hear the sounds of music, the clinks of glasses and female laughter. It seems you can finally relax a little.'
  52. !!etogame
  53. nastjarand = rand(0, 100)
  54. if nastjarand > 80 and nastjaqw = 0 and energy > 15 and nastjaday ! daystart:
  55. cls
  56. nastjaday = daystart
  57. gs 'stat'
  58. '<center><img src="images/etogame/nastja1.jpg"></center>'
  59. 'In the hall you notice a girl, sitting alone. She looks pretty attractive. Your eyes linger on her for a bit and she seems to feel your gaze as she suddenly looks at you.'
  60. act 'Look down':
  61. cla
  62. 'She turns away'
  63. act 'Leave':gt 'restoran', 'zal'
  64. end
  65. act 'Smile at her':gt 'nastja', 'pos1'
  66. end
  67. if money >= 5000:
  68. act 'Eat (5,000 <b>₽</b>)':
  69. cla
  70. minut += 60
  71. energy += 60
  72. fat += 2
  73. water = 100
  74. willpower += 30
  75. manna += 80
  76. health += 20
  77. money -= 5000
  78. 'You order a wonderful meal, recommended by the chef, and eat it with pleasure in the noisy restaurant hall.'
  79. act 'Leave':gt 'restoran', 'zal'
  80. end
  81. end
  82. act 'Leave':minut += 5 & gt 'restoran', 'start'
  83. end
  84. if $ARGS[0] = 'vip':
  85. cla
  86. clr
  87. *clr
  88. minut += 5
  89. gs 'stat'
  90. fcolor = rgb(0, 0, 0)
  91. bcolor = rgb(255, 255, 255)
  92. lcolor = rgb(106, 90, 205)
  93. '<center><b><font color="maroon">Restaurant, VIP room</font></b></center>'
  94. '<center><img src="images/etogame/restoran3.jpg"></center>'
  95. 'You go into the VIP room and can''t help but smile involuntarily. Soft lighting and empire style furniture provide a calm and friendly atmosphere. You hear soft music and finally feel safe enough to let your guard down a little.'
  96. if money >= 5000:
  97. act 'Eat (5,000 <b>₽</b>)':
  98. cla
  99. minut += 60
  100. energy += 60
  101. fat += 2
  102. water = 100
  103. willpower += 30
  104. manna += 80
  105. health += 20
  106. money -= 5000
  107. gs 'stat'
  108. 'You order a wonderful meal, recommended by the chef, and eat it with pleasure in the VIP room of the restaurant.'
  109. act 'Leave':gt 'restoran', 'vip'
  110. end
  111. end
  112. act 'Leave':
  113. cla
  114. minut += 5
  115. gt 'restoran', 'start'
  116. end
  117. end
  118. --- restoran ---------------------------------