Browse Source

[fixed] missing image...?

hornguy6 2 weeks ago
parent
commit
9d0a92ceec
1 changed files with 13 additions and 0 deletions
  1. 13 0
      locations/pav_residential.qsrc

+ 13 - 0
locations/pav_residential.qsrc

@@ -203,6 +203,19 @@ end
 if mid($start_type,1,2) = 'sg' and (hour >= 8 or hour < 23) and cumloc[11] = 1 and rand(0, 3) = 0 and npcdaycheck[54] ! daystart:
 	menu_off = 1
 	*clr & cla
+	if month >= 11 or month <= 3:
+		if hour >= 8 and hour <= 21:
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavreswinter.jpg"></center>'
+		else
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavreswintern.jpg"></center>'
+		end
+	else
+		if hour >= 8 and hour <= 21:
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavres.jpg"></center>'
+		else
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavresn.jpg"></center>'
+		end
+	end
 	npcdaycheck[54] = daystart
 	gs 'stat'