소스 검색

[change] Use array which maps $loc to int to keep track of where park dog was first encountered

oldentree 5 년 전
부모
커밋
85008dd4de
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      locations/mod_bestmod_park_dog.qsrc

+ 4 - 1
locations/mod_bestmod_park_dog.qsrc

@@ -3,6 +3,9 @@ menu_off = 1
 
 !! Set a default large volume of sperm for stray dog
 sexvolume = rand(100, 200)
+$bm_park_array['gskver'] = 1
+$bm_park_array['park'] = 2
+$bm_park_array['lug'] = 3
 
 !! Might be interesting to add calls to a function like "'gadforest', 'torncloth'"
 
@@ -46,7 +49,7 @@ if $ARGS[0] = 'first_follow':
 			*clr & cla
 			bm_know_parkdog = 1
 			bm_parkdog_QW += 1
-			bm_firstmet_parkdog = 1
+			bm_firstmet_parkdog = bm_park_array[$loc]
 			'You take the sandwich out from your bag and offer it to the dog. He sniffs at it for a bit, but seems hesitant to get very close to you.'
 			'You figure he might not trust you too much, so you put the sandwich down on the ground and step back. You guessed right, as the dog jumped forward after a moment''s pause and devoured the sandwich meat, leaving the bread behind.'
 			''