1
0
فهرست منبع

Merge remote-tracking branch 'Derryth_Love/master'

Kevin_Smarts 2 سال پیش
والد
کامیت
b0d4c674af
2فایلهای تغییر یافته به همراه29 افزوده شده و 1 حذف شده
  1. 28 0
      locations/TV.qsrc
  2. 1 1
      locations/mey_home.qsrc

+ 28 - 0
locations/TV.qsrc

@@ -106,5 +106,33 @@ if $ARGS[0] = 'gad':
 	end
 end
 
+if $ARGS[0] = 'meyhome':
+	if tvtime = 0: 
+		*clr & cla
+		minut += 5
+		tvtime = 1
+		gs 'stat'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/meynolds/tvon.jpg"></center>'
+		'You turn on the TV and settle comfortably on the couch.'
+		'Your huge plasma comes to life, and you hear the crisp sound of some advert. It looks great in HD.'
+		'You have cable TV.'
+		act 'Watch Cable TV': gt 'TV', 'meyhome'
+	elseif tvtime = 1:
+		*clr & cla
+		pcs_mood += 12
+		gs 'stat'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/meynolds/tvon.jpg"></center>'
+		'You watch cable television. It''s really good these days.'
+		act 'Watch TV (1:00)': minut += 60 & gt 'TV', 'meyhome'
+		act 'Turn off the TV and get off the couch': 
+			*clr & cla
+			tvtime = 0 
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/meynolds/tvoff.jpg"></center>'
+			'You turn off the TV and the image blinks out of existence, while you stand up and stretch your legs.'
+			act 'Continue': gt $loc, $loc_arg
+		end
+	end
+end
+
 --- TV ---------------------------------
 

+ 1 - 1
locations/mey_home.qsrc

@@ -293,7 +293,7 @@ if $ARGS[0] = '4':
 	'<center><h4><font color="maroon">Lounge</font></h4></center>'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/meynolds/hall.jpg"></center>'
 	*nl
-	'Spacious room with a sofa and armchairs, on the wall hangs a large plasma TV, located next to the bookcase, and on the opposite side is the fireplace, from the hall there is access to a bright garden, overgrown with grapes'
+	'Spacious room with a sofa and armchairs, on the wall hangs a large <a href="exec:gt ''TV'',''meyhome''">Plasma TV</a>, located next to the bookcase, and on the opposite side is the fireplace, from the hall there is access to a bright garden, overgrown with grapes'
 
 	act 'Return to hallway': minut += 1 & gt 'mey_home', 'start'
 	act 'Garden': minut += 1 & gt 'mey_home', '8'