restoran 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. # restoran
  2. $location_type = 'public_indoors'
  3. if $ARGS[0] = 'start':
  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. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/restoran.jpg"></center>'
  11. !!eto there_were glamur > 1 and pcs_apprnc > 50
  12. if $clothingworntype = 'formal' and pcs_makeup > 1 and pcs_hairbsh = 1 and pcs_sweat < 20:
  13. 'A well-dressed man at the entrance politely asks you whether you prefer the VIP section or the common room'
  14. if money >= 5000:
  15. act 'VIP room (5,000 <b>₽</b>)':
  16. money -= 5000
  17. gt 'restoran', 'vip'
  18. end
  19. end
  20. act 'Common room':gt 'restoran', 'zal'
  21. else
  22. 'A man in a suit politely informs you that customers must look presentable and wear formal clothing if they wish to dine here.'
  23. end
  24. act 'Leave the restaurant':
  25. minut += 5
  26. gt 'down'
  27. end
  28. end
  29. if $ARGS[0] = 'zal':
  30. minut += 5
  31. gs 'stat'
  32. '<center><b><font color="maroon">restaurant, common room</font></b></center>'
  33. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/restoran2.jpg"></center>'
  34. '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.'
  35. !!etogame
  36. if rand(0, 100) > 80 and npc_QW['A192'] = 0 and pcs_energy > 15 and nastjaday ! daystart:
  37. *clr & cla
  38. nastjaday = daystart
  39. gs 'stat'
  40. '<center><img <<$set_imgh>> src="images/characters/city/anastasia/nastja1.jpg"></center>'
  41. '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.'
  42. act 'Look down':
  43. cla
  44. 'She turns away'
  45. act 'Leave':gt 'restoran', 'zal'
  46. end
  47. act 'Smile at her':gt 'nastja', 'pos1'
  48. end
  49. if money >= 5000:
  50. act 'Eat (5,000 <b>₽</b>)':
  51. cla
  52. minut += 60
  53. pcs_energy += 60
  54. fat += 2
  55. water = 100
  56. pcs_willpwr += 30
  57. pcs_mood += 80
  58. pcs_health += 20
  59. money -= 5000
  60. gs 'stat'
  61. 'You order a wonderful meal, recommended by the chef, and eat it with pleasure in the noisy restaurant hall.'
  62. act 'Leave':gt 'restoran', 'zal'
  63. end
  64. end
  65. act 'Leave':minut += 5 & gt 'restoran', 'start'
  66. end
  67. if $ARGS[0] = 'vip':
  68. minut += 5
  69. gs 'stat'
  70. '<center><b><font color="maroon">Restaurant, VIP room</font></b></center>'
  71. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/expensiverest/restoran3.jpg"></center>'
  72. '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.'
  73. if money >= 5000:
  74. act 'Eat (5,000 <b>₽</b>)':
  75. cla
  76. minut += 60
  77. pcs_energy += 60
  78. fat += 2
  79. water = 100
  80. pcs_willpwr += 30
  81. pcs_mood += 80
  82. pcs_health += 20
  83. money -= 5000
  84. gs 'stat'
  85. 'You order a wonderful meal, recommended by the chef, and eat it with pleasure in the VIP room of the restaurant.'
  86. act 'Leave':gt 'restoran', 'vip'
  87. end
  88. end
  89. act 'Leave': minut += 5 & gt 'restoran', 'start'
  90. end
  91. --- restoran ---------------------------------