restoran.qsrc 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. # restoran
  2. $location_type = 'public_indoors'
  3. if $ARGS[0] = 'start':
  4. $menu_loc = 'restoran'
  5. $menu_arg = 'start'
  6. menu_off = 0
  7. minut += 5
  8. gs 'stat'
  9. '<center><b><font color="maroon">Babel</font></b></center>'
  10. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/restoran.jpg"></center>'
  11. 'You enter the restaurant and at the counter by the entrance, you see a well dressed man '
  12. ! mennolds ev
  13. if hour = 21 and minut < 30 and mey_vika['mey_vika_qw'] = 36: gt 'mey_tamara_events', 'wait_qw'
  14. if vladimirday = daystart and vladimirQW = 21 and hour = 20: gt 'qwmeet'
  15. act 'Leave the restaurant': minut += 5 & gt 'city_center'
  16. act 'Approach the maître d'' ': gt 'restoran', 'maitred'
  17. end
  18. if $ARGS[0] = 'maitred':
  19. $menu_loc = 'restoran'
  20. $menu_arg = 'maitred'
  21. menu_off = 0
  22. minut += 5
  23. !!eto there_were glamur > 1 and pcs_apprnc > 50
  24. if $clothingworntype = 'formal' and pcs_makeup > 1 and pcs_hairbsh = 1 and pcs_sweat < 20:
  25. '<center><b><font color="maroon">Babel</font></b></center>'
  26. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/maitredseat.jpg"></center>'
  27. 'The well-dressed maître d'' politely asks you whether you prefer the VIP section or the common room'
  28. else
  29. '<center><b><font color="maroon">Restaurant</font></b></center>'
  30. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/maitredrefuse.jpg"></center>'
  31. 'The maître d'' politely informs you that customers must look presentable and wear formal clothing if they wish to dine here.'
  32. end
  33. if $clothingworntype = 'formal' and pcs_makeup > 1 and pcs_hairbsh = 1 and pcs_sweat < 20 and money >= 5000:
  34. act 'Go to the VIP room (5,000 <b>₽</b>)':
  35. *clr & cla
  36. '<center><b><font color="maroon">Babel</font></b></center>'
  37. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/maitredvip.jpg"></center>'
  38. 'The maître d'' informs you that there will be a VIP charge of 5000 <b>₽</b>'
  39. act 'Follow the maître d'' ': money -= 5000 & gt 'restoran', 'vip' &
  40. act 'Change your mind': gt 'restoran', 'maitred'
  41. end
  42. end
  43. if $clothingworntype = 'formal' and pcs_makeup > 1 and pcs_hairbsh = 1 and pcs_sweat < 20:
  44. act 'Go to the Common Room': gt 'restoran', 'zal'
  45. end
  46. act 'Back to the foyer': gt 'restoran', 'start'
  47. end
  48. if $ARGS[0] = 'zal':
  49. menu_off = 1
  50. minut += 5
  51. gs 'stat'
  52. '<center><b><font color="maroon">Babel, Common Room</font></b></center>'
  53. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/restoran2.jpg"></center>'
  54. '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.'
  55. !!etogame
  56. if rand(0, 100) > 80 and npc_QW['A192'] = 0 and pcs_energy > 15 and nastjaday ! daystart:
  57. clr
  58. nastjaday = daystart
  59. gs 'stat'
  60. '<center><img <<$set_imgh>> src="images/characters/city/anastasia/nastja1.jpg"></center>'
  61. '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.'
  62. act 'Look down':
  63. cla
  64. 'She turns away'
  65. act 'Leave': gt 'restoran', 'zal'
  66. end
  67. gs 'willpower', 'misc', 'self', 'easy'
  68. if will_cost <= pcs_willpwr:
  69. act 'Smile at her (<<will_cost>> Willpower)':
  70. gs 'willpower', 'pay', 'self'
  71. gs 'stat'
  72. gt 'nastja', 'pos1'
  73. end
  74. else
  75. act 'Smile at her (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  76. end
  77. end
  78. act 'Be seated at a table': gt 'restoran', 'comtable'
  79. act 'Leave the Common Room':gt 'restoran', 'start'
  80. end
  81. if $ARGS[0] = 'vip':
  82. $menu_loc = 'restoran'
  83. $menu_arg = 'vip'
  84. menu_off = 0
  85. minut += 5
  86. gs 'stat'
  87. '<center><b><font color="maroon">Babel, VIP room</font></b></center>'
  88. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/restoran3.jpg"></center>'
  89. 'You are shown into the VIP room by the maître d'', and you 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. act 'Be seated at the VIP table': gt 'restoran', 'viptable'
  91. act 'Leave the VIP Room':gt 'restoran', 'start'
  92. end
  93. if $ARGS[0] = 'comtable':
  94. $menu_loc = 'restoran'
  95. $menu_arg = 'comtable'
  96. menu_off = 0
  97. $metka = 'comtable'
  98. $loc = 'restoran'
  99. minut += 5
  100. *clr & cla
  101. '<center><b><font color="maroon">Babel, Common Room</font></b></center>'
  102. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/maitredseat.jpg"></center>'
  103. 'You are escorted to your seat by the maître d''. You sit and prepare to order a wonderful meal in the busy restaurant.'
  104. act 'Order from the menu (0:05)': gs 'food_menu'
  105. act 'Get up from the table': gt 'restoran', 'zal'
  106. end
  107. if $ARGS[0] = 'viptable':
  108. $menu_loc = 'restoran'
  109. $menu_arg = 'viptable'
  110. menu_off = 0
  111. $metka = 'viptable'
  112. $loc = 'restoran'
  113. *clr & cla
  114. minut += 5
  115. '<center><b><font color="maroon">Babel, VIP room</font></b></center>'
  116. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/chefrecommends.jpg"></center>'
  117. 'You sit and prepare to order a wonderful meal, recommended by the chef. You''ll be dining with pleasure in the peaceful and luxurious VIP Room.'
  118. act 'Order from the menu (0:05)': gs 'food_menu'
  119. act 'Get up from the table': gt 'restoran', 'vip'
  120. end
  121. --- restoran ---------------------------------