Browse Source

[fixed] Rex variables in village where still old ones from the mod which created an endless loop

Kevin_Smarts 2 years ago
parent
commit
01e2ccb68f
1 changed files with 5 additions and 5 deletions
  1. 5 5
      locations/gaddvor.qsrc

+ 5 - 5
locations/gaddvor.qsrc

@@ -42,14 +42,14 @@ if $ARGS[0]='':
 	else
 		if grandmaQW['chore_feed_chickens'] = 1 or (hour >= 6 and hour < 20 and month >= 4 and month <= 10):'In the yard there are several <a href="exec:gt ''gaddvor'',''chickens''">chickens</a> running around.'
 		if curr_home = 14 and hour > 7 and hour < 20:
-			if swl_rex['status'] = 0:
+			if $status['dog'] = '':
 				gt 'pet_dog', 'name'
 			else
-				if swl_rex['gadukino_day'] ! daystart:
-					swl_rex['relationship'] += 2
-					swl_rex['gadukino_day'] = daystart
+				if rex['gadukino_day'] ! daystart:
+					rex['relationship'] += 2
+					rex['gadukino_day'] = daystart
 				end
-				'<br><a href="exec: gt ''pet_dog'', ''gadukino''"><<$swl_rex[''name'']>></a> is running around in the garden.'
+				'<br><a href="exec: gt ''pet_dog'', ''gadukino''"><<$rex[''name'']>></a> is running around in the garden.'
 			end
 		end
 	end