Browse Source

fix copy paste bug in purses

rachels 3 years ago
parent
commit
958a41d6ca
1 changed files with 6 additions and 6 deletions
  1. 6 6
      locations/purses.qsrc

+ 6 - 6
locations/purses.qsrc

@@ -165,7 +165,7 @@ if $ARGS[0] = 'view_purse_item':
 		if $currentpursetype = $ARGS[2] and currentpursenumber = ARGS[3]:
 			'You are using this purse.'
 		else
-			if sloc = 0:
+			if ploc = 0:
 				'This purse is in your wardrobe.'
 				
 				act 'Use this purse':
@@ -175,15 +175,15 @@ if $ARGS[0] = 'view_purse_item':
 
 					gt 'wardrobe', 'start'
 				end
-			elseif sloc = 1:
+			elseif ploc = 1:
 				'This purse is in storage.'
-			elseif sloc = 2:
+			elseif ploc = 2:
 				'This purse is unwanted.'
 			end
 			
-			if sloc ! 1:$RESULT += 'Move this purse to <a href="exec:gt ''purses'', ''dest1'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Storage</a><BR>'
-			if sloc ! 0:$RESULT += 'Move this purse to  <a href="exec:gt ''purses'', ''dest0'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Wardrobe</a><BR>'
-			if sloc ! 2:$RESULT += 'Move this purse to  <a href="exec:gt ''purses'', ''dest2'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Unwanted</a>'
+			if ploc ! 1:$RESULT += 'Move this purse to <a href="exec:gt ''purses'', ''dest1'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Storage</a><BR>'
+			if ploc ! 0:$RESULT += 'Move this purse to  <a href="exec:gt ''purses'', ''dest0'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Wardrobe</a><BR>'
+			if ploc ! 2:$RESULT += 'Move this purse to  <a href="exec:gt ''purses'', ''dest2'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Unwanted</a>'
 			if $ARGS[1] ! 'store':
 				act 'Move to storage': gt 'purses', 'dest1', $ARGS[1], $ARGS[2], ARGS[3]
 			end