restoran 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. if night_mode = 1:
  11. fcolor = rgb(255, 255, 255)
  12. bcolor = rgb(0, 0, 0)
  13. lcolor = rgb(106, 90, 205)
  14. else
  15. fcolor = rgb(0, 0, 0)
  16. bcolor = rgb(255, 255, 255)
  17. lcolor = rgb(106, 90, 205)
  18. end
  19. '<center><img src="images/locations/city/citycenter/expensiverest/restoran.jpg"></center>'
  20. !!eto there_were glamur > 1 and pcs_apprnc > 50
  21. if $clothingworntype = 'formal' and pcs_makeup > 1 and pcs_hairbsh = 1 and pcs_sweat < 20:
  22. 'A well-dressed man at the entrance politely asks you whether you prefer the VIP section or the common room'
  23. if money >= 5000:
  24. act 'VIP room (5,000 <b>₽</b>)':
  25. cla
  26. money -= 5000
  27. gt 'restoran', 'vip'
  28. end
  29. end
  30. act 'Common room':gt 'restoran', 'zal'
  31. else
  32. 'A man in a suit politely informs you that customers must look presentable and wear formal clothing if they wish to dine here.'
  33. end
  34. ! mennolds ev
  35. if hour = 21 and minut < 30 and mey_vika['mey_vika_qw'] = 36:
  36. gs 'mey_tamara_events', 'wait_qw'
  37. exit
  38. end
  39. ! ---
  40. act 'Leave the restaurant':
  41. cla
  42. minut += 5
  43. gt 'down'
  44. end
  45. end
  46. if $ARGS[0] = 'zal':
  47. cla
  48. clr
  49. *clr
  50. minut += 5
  51. gs 'stat'
  52. if night_mode = 1:
  53. fcolor = rgb(255, 255, 255)
  54. bcolor = rgb(0, 0, 0)
  55. lcolor = rgb(106, 90, 205)
  56. else
  57. fcolor = rgb(0, 0, 0)
  58. bcolor = rgb(255, 255, 255)
  59. lcolor = rgb(106, 90, 205)
  60. end
  61. '<center><b><font color="maroon">restaurant, common room</font></b></center>'
  62. '<center><img src="images/locations/city/citycenter/expensiverest/restoran2.jpg"></center>'
  63. '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.'
  64. !!etogame
  65. if rand(0, 100) > 80 and npc_QW['A192'] = 0 and pcs_energy > 15 and nastjaday ! daystart:
  66. cls
  67. nastjaday = daystart
  68. gs 'stat'
  69. '<center><img src="images/characters/city/anastasia/nastja1.jpg"></center>'
  70. '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.'
  71. act 'Look down':
  72. cla
  73. 'She turns away'
  74. act 'Leave':gt 'restoran', 'zal'
  75. end
  76. act 'Smile at her':gt 'nastja', 'pos1'
  77. end
  78. if money >= 5000:
  79. act 'Eat (5,000 <b>₽</b>)':
  80. cla
  81. minut += 60
  82. pcs_energy += 60
  83. fat += 2
  84. water = 100
  85. pcs_willpwr += 30
  86. pcs_mood += 80
  87. pcs_health += 20
  88. money -= 5000
  89. 'You order a wonderful meal, recommended by the chef, and eat it with pleasure in the noisy restaurant hall.'
  90. act 'Leave':gt 'restoran', 'zal'
  91. end
  92. end
  93. act 'Leave':minut += 5 & gt 'restoran', 'start'
  94. end
  95. if $ARGS[0] = 'vip':
  96. cla
  97. clr
  98. *clr
  99. minut += 5
  100. gs 'stat'
  101. if night_mode = 1:
  102. fcolor = rgb(255, 255, 255)
  103. bcolor = rgb(0, 0, 0)
  104. lcolor = rgb(106, 90, 205)
  105. else
  106. fcolor = rgb(0, 0, 0)
  107. bcolor = rgb(255, 255, 255)
  108. lcolor = rgb(106, 90, 205)
  109. end
  110. '<center><b><font color="maroon">Restaurant, VIP room</font></b></center>'
  111. '<center><img src="images/locations/city/citycenter/expensiverest/restoran3.jpg"></center>'
  112. '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.'
  113. if money >= 5000:
  114. act 'Eat (5,000 <b>₽</b>)':
  115. cla
  116. minut += 60
  117. pcs_energy += 60
  118. fat += 2
  119. water = 100
  120. pcs_willpwr += 30
  121. pcs_mood += 80
  122. pcs_health += 20
  123. money -= 5000
  124. gs 'stat'
  125. 'You order a wonderful meal, recommended by the chef, and eat it with pleasure in the VIP room of the restaurant.'
  126. act 'Leave':gt 'restoran', 'vip'
  127. end
  128. end
  129. act 'Leave':
  130. cla
  131. minut += 5
  132. gt 'restoran', 'start'
  133. end
  134. end
  135. --- restoran ---------------------------------