pav_park_meet_kol_event.qsrc 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #pav_park_meet_kol_event
  2. $pav_park_meet_kol_event_type = $ARGS[0]
  3. !! string event
  4. if $pav_park_meet_kol_event_type = 'meet_start':
  5. pav_park_meet_kol_event_is_winter = (month = 1 or month = 2 or month = 12)
  6. pav_park_meet_kol_event_is_day = (daystage = 2 or daystage = 3)
  7. temprand = rand(1,3)
  8. if pav_park_meet_kol_event_is_winter = -1 and pav_park_meet_kol_event_is_day = 0:
  9. temprand = 1
  10. end
  11. if temprand = 1:
  12. if pav_park_meet_kol_event_is_winter = -1:
  13. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/skver_znacom_1.jpg"></center>'
  14. else
  15. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/gop/skver_znacom_3.jpg"></center>'
  16. end
  17. 'You see a group of teenagers sitting on a park bench, listening to some music.'
  18. if pcs_hotcat >= 5:
  19. gs 'placer', 'init'
  20. placerParameter['number_of_man'] = rand(2, 6)
  21. placerParameter['recognize_status'] = 1
  22. place = 1
  23. gs 'placer_man'
  24. 'You don''t think you''ve ever seen them before. The guys walk towards you as one of them says: "<<$placerStringParameter[''text_start_meet'']>>"'
  25. act 'Meet':gt 'placer_act'
  26. else
  27. 'The guys look at you for a second, but you see one of them shake his head before they turn their backs on you and pretend you''re not there.'
  28. act 'Finish your walk':gt 'pav_park', 'start'
  29. end
  30. else
  31. if (daystage = 2 or daystage = 3) and (month = 1 or month = 2 or month = 12):
  32. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/event/walk/walk_winter_day.jpg"></center>'
  33. elseif (month = 1 or month = 2 or month = 12):
  34. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/lake/skver.winter.night.jpg"></center>'
  35. elseif daystage = 2 or daystage = 3:
  36. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/event/walk/walk_day.jpg"></center>'
  37. else
  38. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/event/walk/walk_night.jpg"></center>'
  39. end
  40. 'You take a relaxing and refreshing walk through the park, trying to figure out the meaning of life.'
  41. end
  42. elseif $pav_park_meet_kol_event_type = 'meet_start_1':
  43. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/skver_znacom_1.jpg"></center>'
  44. 'Some gopniks are sitting on their haunches just off to the side of one of the main paths, drinking beer. The area around them is littered with empty bottles.'
  45. if pcs_hotcat >= 5:
  46. gs 'placer', 'init'
  47. placerParameter['number_of_man'] = rand(3, 6)
  48. placerParameter['recognize_status'] = 2
  49. place = 1
  50. gs 'placer_man'
  51. 'You don''t think you''ve ever seen them before. The guys walk towards you as one of them says: "<<$placerStringParameter[''text_start_meet'']>>"'
  52. act 'Meet':gt 'placer_act'
  53. else
  54. 'The guys look at you for a second, but you see one of them shake his head before they turn their backs on you and pretend you''re not there.'
  55. act 'Finish your walk': gt 'pav_park', 'deeper_park'
  56. end
  57. elseif $pav_park_meet_kol_event_type = 'meet_start_2':
  58. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/event/walk/walk_deep_day.jpg"></center>'
  59. 'You stroll through the park by yourself, enjoying its beauty.'
  60. if pcs_hotcat >= 6:
  61. 'You don''t think you''ve ever seen them before. The guys walk towards you as one of them says: "Hey there, good looking. Why don''t you come to hang out with us?"'
  62. gs 'placer', 'init'
  63. placerParameter['number_of_man'] = rand(3, 6)
  64. placerParameter['recognize_status'] = 2
  65. place = 1
  66. gs 'placer_man'
  67. act 'Agree to hang out': gt 'placer_act'
  68. else
  69. 'The guys look at you for a second, but you see one of them shake his head before they turn their backs on you and pretend you''re not there.'
  70. end
  71. else
  72. end
  73. --- pav_park_meet_kol_event ---------------------------------