Преглед изворни кода

[added] different images for walk

Lusticon пре 8 месеци
родитељ
комит
c84c5ad668
1 измењених фајлова са 9 додато и 1 уклоњено
  1. 9 1
      locations/pav_park_meet_kol_event.qsrc

+ 9 - 1
locations/pav_park_meet_kol_event.qsrc

@@ -30,7 +30,15 @@ if $pav_park_meet_kol_event_type = 'meet_start':
             act 'Finish your walk':gt 'pav_park', 'start'
         end
     else
-        '<center><img <<$set_imgh>> src="images/locations/pavlovsk/lake/skver.winter.night.jpg"></center>'
+        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':