瀏覽代碼

[fixed] Link alt text if uni student and removed capital letter from sub-location

Kevin_Smarts 7 月之前
父節點
當前提交
302a14775c
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 3 2
      locations/mother_chats.qsrc
  2. 1 1
      locations/pod_ezd.qsrc

+ 3 - 2
locations/mother_chats.qsrc

@@ -338,8 +338,9 @@ if $ARGS[0] = 'reconciliation_replies':
 end
 
 
-if $ARGS[0] = 'Knock':
+if $ARGS[0] = 'knock':
 	gs 'homes_properties', 'give_access', 'parents_home'
+	if university['student'] = 1: gt 'mother_chats', 'knock_uni'
 	*clr & cla
 	minut += 5
 	'You have decided to return home and unfortunately when you arrive you find that the door is locked. After a moment''s consideration you decide to knock and see if your parents are in and if they''ll let you return. After all, what have you got to lose? Worst case they turn you away.'
@@ -369,7 +370,7 @@ if $ARGS[0] = 'Knock':
 	end
 end
 
-if $ARGS[0] = 'Knock_uni':
+if $ARGS[0] = 'knock_uni':
 	*clr & cla
 	minut += 30
 	'You have decided to return home to visit and unfortunately when you arrive you find that the door is locked. After a moment''s consideration you decide to knock and see if your parents are in.'

+ 1 - 1
locations/pod_ezd.qsrc

@@ -101,7 +101,7 @@ if $ARGS[0] = 'etaj_2':
 	if func('homes_properties', 'has_access', 'parents_home'):
 		act '<b>Apartment 7: Your parents</b>': pavhome_enter = 1 & gt 'korrPar'
 	elseif mother['kickedout_pending'] = 1:
-		act '<b>Apartment 7: Your parents (knock)</b>': gt 'mother_chats', 'Knock'
+		act '<b>Apartment 7: Your parents (knock)</b>': gt 'mother_chats', 'knock'
 	else
 		act '<b>Apartment 7: Your parents</b>': msg 'Your knock is unanswered, and you no longer have a key.<br>It''s obvious you are no longer welcome here.'
 	end