Browse Source

Update mirror

KevinSmarts 9 năm trước cách đây
mục cha
commit
7af5924625
1 tập tin đã thay đổi với 23 bổ sung0 xóa
  1. 23 0
      locations/mirror

+ 23 - 0
locations/mirror

@@ -3,6 +3,11 @@ if $ARGS[0] = 'start':
 	cla
 	clr
 	gs 'stat'
+	if mirror_steam ! hour: mirror_steam = 100
+	if $loc = 'vanrPar' and mirror_steam = hour or $loc = 'vanr' and mirror_steam = hour or $loc = 'yvan'and mirror_steam = hour: gt'mirror','steam'
+	if player_avatar = 1:
+		'<center><img src="avatar.jpg"></center>'
+	end
 	gs 'portmirror'
 	$gt1 = 'mirror'
 	$gt2 = 'fin'
@@ -68,5 +73,23 @@ if $ARGS[0] = 'fin':
 '!
 end
 
+if $ARGS[0] = 'steam':
+	cla
+	clr
+	gs'stat'
+	'<center><img src="images/pic/mirror1.jpg"></center>'
+	'<center>Mirror heavily misted. It must wipe or leave to cool.</center>'
+	act 'Wipe the mirror':
+		cls
+		minut+=1
+		mirror_steam = 100
+		gs'stat'
+		'<center><img src="images/pic/mirror2.jpg"></center>'
+		'<center>You wiped the mirror with a towel.</center>'
+		act 'Look in the mirror':gt'mirror','start'
+	end
+	act '<b>Move away from the mirror</b>':gt'mirror','fin'
+end
+
 --- mirror ---------------------------------