restoran 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. # restoran
  2. if $ARGS[0] = 'start':
  3. cla
  4. clr
  5. *clr
  6. minut += 5
  7. gs 'stat'
  8. '<center><b><font color="maroon">Restaurant</font></b></center>'
  9. '<center><img src="images/etogame/restoran.jpg"></center>'
  10. fcolor = rgb(0, 0, 0)
  11. bcolor = rgb(255, 255, 255)
  12. lcolor = rgb(106, 90, 205)
  13. !!eto there_were glamur > 1 and vnesh > 50
  14. if $clothingworntype = 'formal' and mop > 1 and hapri = 1 and sweat < 20:
  15. 'A well-dressed man at the entrance politely asks you whether you prefer the VIP section or the common room'
  16. if money >= 5000:
  17. act 'VIP room (5,000 <b>₽</b>)':
  18. cla
  19. money -= 5000
  20. gt 'restoran', 'vip'
  21. end
  22. end
  23. act 'Common room':gt 'restoran', 'zal'
  24. else
  25. 'A man in a suit politely informs you that customers must look presentable and wear formal clothing if they wish to dine here.'
  26. end
  27. act 'Leave the restaurant':
  28. cla
  29. minut += 5
  30. gt 'down'
  31. end
  32. if vladimirday = daystart and vladimirQW = 21 and hour = 20:gt 'qwmeet'
  33. end
  34. if $ARGS[0] = 'zal':
  35. cla
  36. clr
  37. *clr
  38. minut += 5
  39. gs 'stat'
  40. fcolor = rgb(0, 0, 0)
  41. bcolor = rgb(255, 255, 255)
  42. lcolor = rgb(106, 90, 205)
  43. '<center><b><font color="maroon">restaurant, common room</font></b></center>'
  44. '<center><img src="images/etogame/restoran2.jpg"></center>'
  45. '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.'
  46. !!etogame
  47. nastjarand = rand(0, 100)
  48. if nastjarand > 80 and nastjaqw = 0 and energy > 15 and nastjaday ! daystart:
  49. cls
  50. nastjaday = daystart
  51. gs 'stat'
  52. '<center><img src="images/etogame/nastja1.jpg"></center>'
  53. '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.'
  54. act 'Look down':
  55. cla
  56. 'She turns away'
  57. act 'Leave':gt 'restoran', 'zal'
  58. end
  59. act 'Smile at her':gt 'nastja', 'pos1'
  60. end
  61. if money >= 5000:
  62. act 'Eat (5,000 <b>₽</b>)':
  63. cla
  64. minut += 60
  65. energy += 60
  66. fat += 2
  67. water = 100
  68. willpower += 30
  69. manna += 80
  70. health += 20
  71. money -= 5000
  72. 'You order a wonderful meal, recommended by the chef, and eat it with pleasure in the noisy restaurant hall.'
  73. act 'Leave':gt 'restoran', 'zal'
  74. end
  75. end
  76. act 'Leave':minut += 5 & gt 'restoran', 'start'
  77. end
  78. if $ARGS[0] = 'vip':
  79. cla
  80. clr
  81. *clr
  82. minut += 5
  83. gs 'stat'
  84. fcolor = rgb(0, 0, 0)
  85. bcolor = rgb(255, 255, 255)
  86. lcolor = rgb(106, 90, 205)
  87. '<center><b><font color="maroon">Restaurant, VIP room</font></b></center>'
  88. '<center><img src="images/etogame/restoran3.jpg"></center>'
  89. '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.'
  90. if money >= 5000:
  91. act 'Eat (5,000 <b>₽</b>)':
  92. cla
  93. minut += 60
  94. energy += 60
  95. fat += 2
  96. water = 100
  97. willpower += 30
  98. manna += 80
  99. health += 20
  100. money -= 5000
  101. gs 'stat'
  102. 'You order a wonderful meal, recommended by the chef, and eat it with pleasure in the VIP room of the restaurant.'
  103. act 'Leave':gt 'restoran', 'vip'
  104. end
  105. end
  106. act 'Leave':
  107. cla
  108. minut += 5
  109. gt 'restoran', 'start'
  110. end
  111. end
  112. --- restoran ---------------------------------