placer_gskver 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. # placer_gskver
  2. if hour >= 22 or hour < 8:
  3. encounter = 0
  4. else
  5. encounter = rand(0, 5)
  6. end
  7. if encounter = 0:$textEvent = 'In the park is quiet and deserted. No one in sight.' !!no one in the park
  8. if encounter = 1:
  9. !!people in the park 1mother walking with a baby 2old_man 3woman with shopping bags 4two young girls
  10. encrand = rand(0, 4)
  11. if encrand = 0:$textEvent = 'In the park on the sidewalk strolls a young mother with a stroller.'
  12. if encrand = 1:$textEvent = 'In the park on the sidewalk walks a lonely old man with a newspaper in his hand.'
  13. if encrand = 2:$textEvent = 'In the park on the sidewalk is a woman with shopping bags who decided to shorten the path passing through the square.'
  14. if encrand = 3:$textEvent = 'In the park on the sidewalk stroll two young girls.'
  15. if encrand = 4:
  16. kol_man = rand(1, 5)
  17. if kol_man = 1:$textSub = 'is a guy'
  18. if kol_man = 2:$textSub = 'are two guys'
  19. if kol_man = 3:$textSub = 'three guys go'
  20. if kol_man = 4:$textSub = 'four guys'
  21. if kol_man = 5:$textSub = 'five guys'
  22. $textEvent = 'In the park on the sidewalk <<$textSub>>.'
  23. mass_ver_zn = 1
  24. know_status = 1
  25. end
  26. end
  27. if encounter = 2:$textEvent = 'In the park is quiet and deserted only lonely dog ​​sniffs to something near the boardwalk.' !!dog in the park
  28. if encounter = 3:
  29. $textEvent = 'In the park on a bench sits youth campaign.' !!young people in the park company
  30. kol_man = rand(2, 6)
  31. mass_ver_zn = 1
  32. know_status = 1
  33. end
  34. if encounter = 4:
  35. !!Gopnik in the park
  36. kol_man = rand(3, 6)
  37. $textEvent = 'In the park sitting on his haunches Gopnik and drink beer.'
  38. mass_ver_zn = 1
  39. know_status = 2
  40. end
  41. if encounter = 5:$textEvent = 'In the park walks a couple in love.' !!couple in love in the park
  42. if encounter = 6: !!in the square of the familiar class
  43. if dickfrend > 0:ver_zn = 0
  44. gs 'placer_man'
  45. if hour >= 8 and hour < 22:'<center><img src="images/gevent/skver.jpg"></center>'
  46. if hour >= 22 or hour < 8:'<center><img src="images/gevent/skver.jpg"></center>'
  47. if Frend_num > 0:
  48. 'together with <<$ev_name_om>> you have come to a quiet garden square. <<$textEvent>>'
  49. if dickfrend > 0:
  50. !!your friend guy
  51. if kol_man = 1 and $text_znak = '':$kol_man_text_no = 'After the guy looked at you, he turned away.'
  52. if kol_man > 1 and $text_znak = '':$kol_man_text_no = 'Once you guys are inspected, they turned their backs.'
  53. if kol_man > 0:'You looked <<$kol_man_prefiks>> appreciatively <<$kol_man_text>>. <<$kol_man_text_no>>.'+$text_znak
  54. !!!!!!!!!!action with a guy whom came to the square
  55. end
  56. if dickfrend = 0:
  57. !!your friend girl
  58. if ver_zn = 1:
  59. 'At you with his girlfriend looked <<$kol_man_prefiks>> appreciatively <<$kol_man_text>>.'
  60. if kol_man = 1:'The guy came up to you and said, "<<$text_znak>>"'
  61. if kol_man > 1:'Guys come to you and one of the guys said "<<$text_znak>>"'
  62. act 'meet':
  63. cls
  64. if p_dom < 80:gt 'placer_act'
  65. if p_dom >= 80:
  66. gs 'stat'
  67. '<<$ev_name>> hissed in your ear "I`m not acquainted with someone on the street. If you want to, stay, and I will go."'
  68. act 'Go with a friend':gt 'placer_end'
  69. act 'can you go, and I`ll stay':
  70. Frend_num = 0
  71. gt 'placer_act'
  72. end
  73. end
  74. end
  75. end
  76. if ver_zn = 0 and kol_man > 0:
  77. if kol_man = 1:$kol_man_text_no = 'After the guy looked at you, he turned away.'
  78. if kol_man > 1:$kol_man_text_no = 'Once you guys are inspected, they turned their backs.'
  79. 'At you with his girlfriend looked <<$kol_man_prefiks>> appreciatively <<$kol_man_text>>. <<$kol_man_text_no>>.'
  80. end
  81. !!!!!!!!!!!!!acts with the girl you came
  82. end
  83. act 'Leave':gt 'gskver'
  84. end
  85. if Frend_num = 0:
  86. 'You stroll through the quiet park. <<$textEvent>>'
  87. if ver_zn = 1:
  88. 'You looked <<$kol_man_prefiks>> appreciatively <<$kol_man_text>>.'
  89. if kol_man = 1:'The guy came up to you and said, "<<$text_znak>>"'
  90. if kol_man > 1:'Guys come to you and one of the guys said "<<$text_znak>>"'
  91. act 'meet':gt 'placer_act'
  92. end
  93. if ver_zn = 0 and kol_man > 0:
  94. if kol_man = 1:$kol_man_text_no = 'After the guy looked at you, he turned away.'
  95. if kol_man > 1:$kol_man_text_no = 'Once you guys are inspected, they turned their backs.'
  96. 'You looked <<$kol_man_prefiks>> appreciatively <<$kol_man_text>>. <<$kol_man_text_no>>.'
  97. end
  98. act 'Leave':gt 'gskver'
  99. end
  100. gs 'stat'
  101. --- placer_gskver ---------------------------------