123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #pav_park_meet_kol_event
- $pav_park_meet_kol_event_type = $ARGS[0]
- !! string event
- if $pav_park_meet_kol_event_type = 'meet_start':
- pav_park_meet_kol_event_is_winter = (month = 1 or month = 2 or month = 12)
- pav_park_meet_kol_event_is_day = (daystage = 2 or daystage = 3)
- temprand = rand(1,3)
- if pav_park_meet_kol_event_is_winter = -1 and pav_park_meet_kol_event_is_day = 0:
- temprand = 1
- end
- if temprand = 1:
- if pav_park_meet_kol_event_is_winter = -1:
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/skver_znacom_1.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/gop/skver_znacom_3.jpg"></center>'
- end
- 'You see a group of teenagers sitting on a park bench, listening to some music.'
- if pcs_hotcat >= 5:
- gs 'placer', 'init'
- placerParameter['number_of_man'] = rand(2, 6)
- placerParameter['recognize_status'] = 1
- place = 1
- gs 'placer_man'
- 'You don''t think you''ve ever seen them before. The guys walk towards you as one of them says: "<<$placerStringParameter[''text_start_meet'']>>"'
- act 'Meet':gt 'placer_act'
- else
- '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.'
- act 'Finish your walk':gt 'pav_park', 'start'
- end
- else
- if (daystage = 2 or daystage = 3) and (month = 1 or month = 2 or month = 12):
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/event/walk/walk_winter_day.jpg"></center>'
- elseif (month = 1 or month = 2 or month = 12):
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/lake/skver.winter.night.jpg"></center>'
- elseif daystage = 2 or daystage = 3:
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/event/walk/walk_day.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/event/walk/walk_night.jpg"></center>'
- end
- 'You take a relaxing and refreshing walk through the park, trying to figure out the meaning of life.'
- end
- elseif $pav_park_meet_kol_event_type = 'meet_start_1':
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/skver_znacom_1.jpg"></center>'
- '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.'
- if pcs_hotcat >= 5:
- gs 'placer', 'init'
- placerParameter['number_of_man'] = rand(3, 6)
- placerParameter['recognize_status'] = 2
- place = 1
- gs 'placer_man'
- 'You don''t think you''ve ever seen them before. The guys walk towards you as one of them says: "<<$placerStringParameter[''text_start_meet'']>>"'
- act 'Meet':gt 'placer_act'
- else
- '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.'
- act 'Finish your walk': gt 'pav_park', 'deeper_park'
- end
- elseif $pav_park_meet_kol_event_type = 'meet_start_2':
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/park/event/walk/walk_deep_day.jpg"></center>'
- 'You stroll through the park by yourself, enjoying its beauty.'
- if pcs_hotcat >= 6:
- '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?"'
- gs 'placer', 'init'
- placerParameter['number_of_man'] = rand(3, 6)
- placerParameter['recognize_status'] = 2
- place = 1
- gs 'placer_man'
- act 'Agree to hang out': gt 'placer_act'
- else
- '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.'
- end
- else
- end
- --- pav_park_meet_kol_event ---------------------------------
|