Browse Source

[fixed] code

rachels 1 year ago
parent
commit
5dfe068d1e
2 changed files with 11 additions and 10 deletions
  1. 1 1
      locations/pav_park.qsrc
  2. 10 9
      locations/treeCircActs.qsrc

+ 1 - 1
locations/pav_park.qsrc

@@ -703,7 +703,7 @@ if $ARGS[0] = 'deeper_park':
 	if tpKnown['PavlovskPark'] = 1:
         act 'Go to magic circle': gt 'treeCircEntry', 'PavlovskPark'
     else
-		act 'Investigate a mysterious copse of trees': gt 'treeCircle', 'PavlovskPark'"
+		act 'Investigate a mysterious copse of trees': gt 'treeCircle', 'PavlovskPark'
 	end
 	act 'Go for a walk (0:15)':
 		menu_off = 1

+ 10 - 9
locations/treeCircActs.qsrc

@@ -5,15 +5,16 @@
 
 
 if $EntryPoint = $ARGS[0]:
-        act 'Leave the circle':
-    if  $treeCircLoc['<<$ARGS[0]>>'] = 'pav_park'
-        act 'Park entrance': gt 'pav_park', 'start'
-		act 'Deeper into the park': gt 'pav_park', 'deeper_park'
-        elseif $treeCircArg['<<$ARGS[0]>>'] = '':
-        gt $treeCircLoc['<<$ARGS[0]>>']
-    else
-        gt $treeCircLoc['<<$ARGS[0]>>'], $treeCircArg['<<$ARGS[0]>>']
-    end
+	act 'Leave the circle':
+		if $treeCircLoc['<<$ARGS[0]>>'] = 'pav_park':
+			act 'Park entrance': gt 'pav_park', 'start'
+			act 'Deeper into the park': gt 'pav_park', 'deeper_park'
+		elseif $treeCircArg['<<$ARGS[0]>>'] = '':
+			gt $treeCircLoc['<<$ARGS[0]>>']
+		else
+			gt $treeCircLoc['<<$ARGS[0]>>'], $treeCircArg['<<$ARGS[0]>>']
+		end
+	end
 end