Browse Source

Contingency to stop default school uniform from being evaluated in the outfit system

KevinSmarts 6 years ago
parent
commit
793ed24d3f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      locations/wardrobe

+ 3 - 1
locations/wardrobe

@@ -122,7 +122,9 @@ if $ARGS[0] = 'default_entry_wear':
 	default_entry = ARGS[1]
 	
 	gs 'clothing_attributes', $defclothingtype[default_entry], defclothingnumber[default_entry]
-	if dyneval('RESULT = <<$defclothingtype[default_entry]>>[<<defclothingnumber[default_entry]>>]') = 0:
+	if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0 and dynamic '$defclothingtype[default_entry]' = 'school' and dynamic 'defclothingnumber[default_entry]' = 6:
+		' '
+	elseif dyneval('RESULT = <<$defclothingtype[default_entry]>>[<<defclothingnumber[default_entry]>>]') = 0:
 		$defclothingtype[default_entry] = 'none' & defclothingnumber[default_entry] = 0
 	elseif dyneval('RESULT = <<$defclothingtype[default_entry]>>H[<<defclothingnumber[default_entry]>>]') <= 0 or CloExhibit > pcs_exhibition:
 		$defclothingtype[default_entry] = 'none' & defclothingnumber[default_entry] = 0