Jelajahi Sumber

[changed] use $loc instead of 'park' in park_dog to reuse location in any park

oldentree 5 tahun lalu
induk
melakukan
b714206606
1 mengubah file dengan 5 tambahan dan 5 penghapusan
  1. 5 5
      locations/mod_bestmod_park_dog.qsrc

+ 5 - 5
locations/mod_bestmod_park_dog.qsrc

@@ -14,14 +14,14 @@ if $ARGS[0] = 'start':
 
 	if bm_know_parkdog = 1:
 		'Under construction!'
-		act 'Go back to the park': gt 'park', 'start'
+		act 'Go back to the park': gt $loc, 'start'
 	else
 		'<center><img <<$set_imgh>> src="mod/bestmod/images/locations/gadukino/village/baddog.jpg"></center>'
 		'It''s a rather large dog and you''re not sure what breed it is. But you figure something that size must be hungry if it hasn''t had something to eat in a while.'
 		''
 		'"Poor thing," you think to yourself, and walk towards it. As you approach, the dog looks up. You must have scared it because it turns around as soon as it sees you, and trots off into the darkness among the trees.'
 		act 'Follow him': gt 'mod_bestmod_park_dog', 'first_follow'
-		act 'Leave him be': gt 'park', 'start'
+		act 'Leave him be': gt $loc, 'start'
 	end
 end
 
@@ -38,7 +38,7 @@ if $ARGS[0] = 'first_follow':
 			'You wonder why you even followed this dog. He looks like he is comfortable where he is and you don''t even have any food to give him.'
 			'Even worse, you realize that you have no idea where you are in the park and should probably get out as soon as you can. You don''t want to be known as "that girl who got lost in the park".'
 			'You finally find your way out, but you''re not sure you could find your way back to the dog. If you ever want to go back to his den, you''ll have to run into him somewhere in the park again.'
-			act 'Go back to the park': gt 'park', 'start'
+			act 'Go back to the park': gt $loc, 'start'
 		end
 	else
 		buterbrod = 0
@@ -68,13 +68,13 @@ if $ARGS[0] = 'first_follow':
 				'You don''t have another place to stay, but you also weren''t looking to spend the night out somewhere in the middle of the park.'
 				'"Sorry, boy. I can''t stay here. But I hope I see you again. I''ll be sure to bring something better than a sandwich next time, too," you say, smiling at the dog. He happily wags his tail and keeps looking at you as you walk back through the trees.'
 			end
-			act 'Go back to the park': gt 'park', 'start'
+			act 'Go back to the park': gt $loc, 'start'
 		end
 		act 'Leave':
 			*clr & cla
 			'You realize that you have no idea where you are in the park and should probably get out as soon as you can. You don''t want to be known as "that girl who got lost in the park".'
 			'You finally find your way out, but you''re not sure you could find your way back to the dog. If you ever want to go back to his den, you''ll have to run into him somewhere in the park again.'
-			act 'Go back to the park': gt 'park', 'start'
+			act 'Go back to the park': gt $loc, 'start'
 		end
 	end
 end