Browse Source

Bug fixes

KevinSmarts 6 years ago
parent
commit
506afbb04c
2 changed files with 12 additions and 2 deletions
  1. 7 1
      locations/gdksport
  2. 5 1
      locations/shoes

+ 7 - 1
locations/gdksport

@@ -90,6 +90,9 @@ if $ARGS[0] = 'start':
 		act 'Wash in the shower':gt 'gdksport', 'shower'
 	end
 	if hour < 14 or hour >= 20: exit
+
+	*nl
+
 	if pcs_stam > 20 and $clothingworntype = 'exercise' and $shoeworntype = 'trainers':
 		if gsAboDance > 0 and albinaQWdance = 0 and pregTalkStarlets = 0:
 			act 'Take a dance lesson, you have <<gsAboDance>> lessons remaining':gt 'gdksport', 'dance2'
@@ -125,8 +128,11 @@ if $ARGS[0] = 'start':
 				act 'Play with the team':gt 'gdksport', 'vballreact'
 			end
 		end
+	elseif $clothingworntype ! 'exercise':
+		'You need to wear exercise clothing before you can take any lessons.'
+	elseif $shoeworntype ! 'trainers':
+		'You need to wear exercise shoes before you can take any lessons.'
 	else
-		*nl
 		'You are too tired to do any exercise. You need to rest and replenish your stamina.'
 	end
 end

+ 5 - 1
locations/shoes

@@ -216,7 +216,11 @@ if $ARGS[0] = 'view_shoe_item':
 			end
 		end
 	elseif $ARGS[1] = 'wardrobe':
-		act 'Leave in closet':gt 'shoes', 'view_shoe_list', $ARGS[1]
+		if $regularwornshoetype = '':
+			act 'Leave in closet':gt 'shoes', 'view_shoe_list', $ARGS[1]
+		else
+			act 'Return': gt 'shoes', 'gym'
+		end
 
 		act 'Wear':
 			gs 'shoes', 'wear', $ARGS[2], ARGS[3]