Browse Source

[fixed] default outfits not using the correct remove code if failing the strength or ownership checks

Kevin_Smarts 2 năm trước cách đây
mục cha
commit
ed5c083ec0
1 tập tin đã thay đổi với 3 bổ sung5 xóa
  1. 3 5
      locations/wardrobe.qsrc

+ 3 - 5
locations/wardrobe.qsrc

@@ -488,7 +488,7 @@ if $ARGS[0] = 'default_entry_wear':
 		'Your <<$def_clothing_name[default_entry]>> outfit has worn out and can''t be used anymore. Guess you will have to find something else to wear.'
 		act 'Strip out of worn out clothing':
 			gs 'clothing', 'strip'
-			killvar 'default_entry'
+			gs 'wardrobe', 'default_entry_delete'
 			gs 'stat'
 			act 'Return': gt 'wardrobe', $wloc
 		end
@@ -499,7 +499,6 @@ if $ARGS[0] = 'default_entry_wear':
 		'You don''t feel daring enough to wear your <<$def_clothing_name[default_entry]>> outfit. Maybe you will be confident enough in the future? Guess you will have to find something else to wear.'
 		act 'Strip out of revealing clothing':
 			gs 'clothing', 'strip'
-			killvar 'default_entry'
 			gs 'stat'
 			act 'Return': gt 'wardrobe', $wloc
 		end
@@ -513,7 +512,6 @@ if $ARGS[0] = 'default_entry_wear':
 			'As you put on your <<$def_clothing_name[default_entry]>> outfit you notice it doesn''t fit correctly anymore. It''s ' + iif(RESULT < pcs_hips - 8,'unbearably tight and uncomfortable to wear.','extremely loose and won''t stay in place no matter how hard you try.') + ' You must have ' + iif(RESULT < pcs_hips - 8,'gained','lost') + ' some weight since this was purchased or last tailored. You will have to get this clothing resized before you can wear it again.'
 			act 'Strip out of ill-fitting clothing':
 				gs 'clothing', 'strip'
-				killvar 'default_entry'
 				gs 'stat'
 				act 'Return': gt 'wardrobe', $wloc
 			end
@@ -801,7 +799,7 @@ if $ARGS[0] = 'sports_entry_wear':
 		cls
 		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/niko/nikoev/school/strip/strip2.jpg"></center>'
 		'As you go to pull your sports outfit out of your wardrobe you remember you don''t own that piece of clothing anymore. Maybe you should buy it again? Guess you will have to find something else to wear.'
-		!gs 'wardrobe', 'prev_entry_set' this does not exist
+		gs 'wardrobe', 'sports_entry_delete'
 		gs 'clothing', 'strip'
 		gs 'stat'
 	!! strength of clothing is less than or equal to 0
@@ -809,7 +807,7 @@ if $ARGS[0] = 'sports_entry_wear':
 		cls
 		'<center><video autoplay loop src="images/characters/pavlovsk/school/girl/vicky/event/vika_game_strip16.mp4"></video></center>'
 		'Your sports outfit has worn out and can''t be used anymore. Guess you will have to find something else to wear.'
-		!gs 'wardrobe', 'prev_entry_set' this does not exist
+		gs 'wardrobe', 'sports_entry_delete'
 		gs 'clothing', 'strip'
 		gs 'stat'
 	!! clothing exhibition is greater than player exhibition