浏览代码

[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.'
 			''