restoran 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. # restoran
  2. if $ARGS[0] = 'start':
  3. cls
  4. minut += 5
  5. gs 'stat'
  6. ! mennolds ev
  7. if hour = 21 and minut < 30 and mey_vika['mey_vika_qw'] = 36:gt 'mey_tamara_events', 'wait_qw'
  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. 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. if night_mode = 1:
  47. fcolor = rgb(255, 255, 255)
  48. bcolor = rgb(0, 0, 0)
  49. lcolor = rgb(106, 90, 205)
  50. else
  51. fcolor = rgb(0, 0, 0)
  52. bcolor = rgb(255, 255, 255)
  53. lcolor = rgb(106, 90, 205)
  54. end
  55. '<center><b><font color="maroon">restaurant, common room</font></b></center>'
  56. '<center><img src="images/locations/city/citycenter/expensiverest/restoran2.jpg"></center>'
  57. '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.'
  58. !!etogame
  59. if rand(0, 100) > 80 and npc_QW['A192'] = 0 and pcs_energy > 15 and nastjaday ! daystart:
  60. cls
  61. nastjaday = daystart
  62. gs 'stat'
  63. '<center><img src="images/characters/city/anastasia/nastja1.jpg"></center>'
  64. '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.'
  65. act 'Look down':
  66. cla
  67. 'She turns away'
  68. act 'Leave':gt 'restoran', 'zal'
  69. end
  70. act 'Smile at her':gt 'nastja', 'pos1'
  71. end
  72. if money >= 5000:
  73. act 'Eat (5,000 <b>₽</b>)':
  74. cla
  75. minut += 60
  76. pcs_energy += 60
  77. fat += 2
  78. water = 100
  79. pcs_willpwr += 30
  80. pcs_mood += 80
  81. pcs_health += 20
  82. money -= 5000
  83. 'You order a wonderful meal, recommended by the chef, and eat it with pleasure in the noisy restaurant hall.'
  84. act 'Leave':gt 'restoran', 'zal'
  85. end
  86. end
  87. act 'Leave':minut += 5 & gt 'restoran', 'start'
  88. end
  89. if $ARGS[0] = 'vip':
  90. cla
  91. clr
  92. *clr
  93. minut += 5
  94. gs 'stat'
  95. if night_mode = 1:
  96. fcolor = rgb(255, 255, 255)
  97. bcolor = rgb(0, 0, 0)
  98. lcolor = rgb(106, 90, 205)
  99. else
  100. fcolor = rgb(0, 0, 0)
  101. bcolor = rgb(255, 255, 255)
  102. lcolor = rgb(106, 90, 205)
  103. end
  104. '<center><b><font color="maroon">Restaurant, VIP room</font></b></center>'
  105. '<center><img src="images/locations/city/citycenter/expensiverest/restoran3.jpg"></center>'
  106. '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.'
  107. if money >= 5000:
  108. act 'Eat (5,000 <b>₽</b>)':
  109. cla
  110. minut += 60
  111. pcs_energy += 60
  112. fat += 2
  113. water = 100
  114. pcs_willpwr += 30
  115. pcs_mood += 80
  116. pcs_health += 20
  117. money -= 5000
  118. gs 'stat'
  119. 'You order a wonderful meal, recommended by the chef, and eat it with pleasure in the VIP room of the restaurant.'
  120. act 'Leave':gt 'restoran', 'vip'
  121. end
  122. end
  123. act 'Leave':
  124. cla
  125. minut += 5
  126. gt 'restoran', 'start'
  127. end
  128. end
  129. --- restoran ---------------------------------