restoran.qsrc 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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 see a well dressed man by the counter at the entrance.'
  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 = 'moncheri_dress' or $clothingworntype = 'moncheri_gown') 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 whether you would prefer the VIP section or the common room.'
  28. if money >= 5000:
  29. act 'Go to the VIP room (5,000 <b>₽</b>)':
  30. *clr & cla
  31. '<center><b><font color="maroon">Babel</font></b></center>'
  32. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/maitredvip.jpg"></center>'
  33. 'The maître d'' informs you that there will be a VIP charge of 5000 <b>₽</b>'
  34. act 'Follow the maître d'' ': money -= 5000 & gt 'restoran', 'vip' &
  35. act 'Change your mind': gt 'restoran', 'maitred'
  36. end
  37. end
  38. act 'Go to the Common Room': gt 'restoran', 'zal'
  39. else
  40. '<center><b><font color="maroon">Restaurant</font></b></center>'
  41. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/maitredrefuse.jpg"></center>'
  42. 'The maître d'' politely informs you that customers must look presentable and wear formal clothing if they wish to dine here.'
  43. if $clothingworntype ! 'moncheri_dress' and $clothingworntype ! 'moncheri_gown':
  44. 'He suggests you try shopping at Mon Chéri if you want to meet their dress code.'
  45. elseif pcs_makeup < 2:
  46. 'He tells you that it''s important for ladies to take the time to look their best and mimes applying make up.'
  47. elseif pcs_hairbsh ! 1:
  48. 'He tells you that one''s hair must be neat and tidy.'
  49. else
  50. 'He waves his hand in front of his nose and gives you a disgusted look. It might be time to have a shower.'
  51. end
  52. end
  53. act 'Return to the foyer': gt 'restoran', 'start'
  54. end
  55. if $ARGS[0] = 'zal':
  56. menu_off = 1
  57. minut += 5
  58. gs 'stat'
  59. '<center><b><font color="maroon">Babel, Common Room</font></b></center>'
  60. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/restoran2.jpg"></center>'
  61. '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.'
  62. !!etogame
  63. if rand(0, 100) > 80 and npc_QW['A192'] = 0 and pcs_energy > 15 and nastjaday ! daystart:
  64. clr
  65. nastjaday = daystart
  66. gs 'stat'
  67. '<center><img <<$set_imgh>> src="images/characters/city/anastasia/nastja1.jpg"></center>'
  68. 'You notice an attractive looking girl sitting alone. Your eyes linger on her for a bit and she seems to feel your gaze as she suddenly looks at you.'
  69. act 'Look down':
  70. cla
  71. 'She turns away from you.'
  72. act 'Leave': gt 'restoran', 'zal'
  73. end
  74. gs 'willpower', 'misc', 'self', 'easy'
  75. if will_cost <= pcs_willpwr:
  76. act 'Smile at her (<<will_cost>> Willpower)':
  77. gs 'willpower', 'pay', 'self'
  78. gs 'stat'
  79. gt 'nastja', 'pos1'
  80. end
  81. else
  82. 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>'
  83. end
  84. end
  85. act 'Be seated at a table': gt 'restoran', 'comtable'
  86. act 'Leave the Common Room':gt 'restoran', 'start'
  87. end
  88. if $ARGS[0] = 'vip':
  89. $menu_loc = 'restoran'
  90. $menu_arg = 'vip'
  91. menu_off = 0
  92. minut += 5
  93. gs 'stat'
  94. '<center><b><font color="maroon">Babel, VIP room</font></b></center>'
  95. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/restoran3.jpg"></center>'
  96. 'You are shown into the VIP room by the maître d'', and you can''t help but smile. 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.'
  97. act 'Be seated at the VIP table': gt 'restoran', 'viptable'
  98. act 'Leave the VIP Room':gt 'restoran', 'start'
  99. end
  100. if $ARGS[0] = 'comtable':
  101. $menu_loc = 'restoran'
  102. $menu_arg = 'comtable'
  103. menu_off = 0
  104. $loc_arg = 'comtable'
  105. $loc = 'restoran'
  106. minut += 5
  107. *clr & cla
  108. '<center><b><font color="maroon">Babel, Common Room</font></b></center>'
  109. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/maitredseat.jpg"></center>'
  110. 'You are escorted to your seat by the maître d''. You sit and prepare to order a wonderful meal in the busy restaurant.'
  111. act 'Order from the menu (0:05)': gs 'food_menu'
  112. act 'Get up from the table': gt 'restoran', 'zal'
  113. end
  114. if $ARGS[0] = 'viptable':
  115. $menu_loc = 'restoran'
  116. $menu_arg = 'viptable'
  117. menu_off = 0
  118. $loc_arg = 'viptable'
  119. $loc = 'restoran'
  120. *clr & cla
  121. minut += 5
  122. '<center><b><font color="maroon">Babel, VIP room</font></b></center>'
  123. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/chefrecommends.jpg"></center>'
  124. '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.'
  125. act 'Order from the menu (0:05)': gs 'food_menu'
  126. act 'Get up from the table': gt 'restoran', 'vip'
  127. end
  128. --- restoran ---------------------------------