# p35 Special Masks 
35 = {
     0 = { # blank
		factor = 100
		modifier = {
			factor = 0
			any_artifact = {
				OR = { #Different modifier since in this case being in command should not prevent you from wearing the mask.
					artifact_type = crown_african_mask_1
					artifact_type = crown_african_mask_2
					artifact_type = crown_african_mask_3
					artifact_type = crown_african_mask_4
					artifact_type = crown_african_mask_5
					artifact_type = crown_african_mask_6
					artifact_type = crown_african_mask_7
					artifact_type = crown_african_mask_8
				}
				is_artifact_equipped = yes 
			}
			AND = {
			in_command = yes 
				has_game_rule = {
					name = martial_headgear
					value = on
				}
				}
		}
	}
	

	1 = { 
		factor = 100
		hide_layers = { 12 = { } } #Hide layer 12 (disfigured masks) when this frame is picked.
		hide_layers = { 5 = { } } #Hide layer 5 (headgear) when this frame is picked.
		modifier = {
			factor = 0
			 
			 NAND = {
				in_command = yes 
				has_game_rule = {
					name = martial_headgear
					value = on
				}
				
				}
		}
				modifier = {
				factor = 0
				NOT = {
				
				any_artifact = {
					artifact_type = crown_african_mask_1
					is_artifact_equipped = yes 
				 }
			    }
			  
			 
			}
				
	 }
		
	
	2 = { 
		factor = 100
		hide_layers = { 12 = { } } #Hide layer 12 (disfigured masks) when this frame is picked.
		hide_layers = { 5 = { } } #Hide layer 5 (headgear) when this frame is picked.
		modifier = {
			factor = 0
		
			 NAND = { 
				in_command = yes 
				has_game_rule = {
					name = martial_headgear
					value = on
				}
			 }
		}
				modifier = {
				factor = 0
				NOT = {
				any_artifact = {
					artifact_type = crown_african_mask_2
					is_artifact_equipped = yes 
				}
				}
			   
			 }
			
				
	    }
		
	
	3 = { 
		factor = 100
		hide_layers = { 12 = { } } #Hide layer 12 (disfigured masks) when this frame is picked.
		hide_layers = { 5 = { } } #Hide layer 5 (headgear) when this frame is picked.
		modifier = {
			factor = 0
			
			 NAND = { 
				in_command = yes 
				has_game_rule = {
					name = martial_headgear
					value = on
				}
				}
		}
				modifier = {
				factor = 0
				NOT = {
				any_artifact = {
					artifact_type = crown_african_mask_3
					is_artifact_equipped = yes 
				}
			  }
			  
			 }
			 
			
				
	    }
		
	
	4 = { 
		factor = 100
		hide_layers = { 12 = { } } #Hide layer 12 (disfigured masks) when this frame is picked.
		hide_layers = { 5 = { } } #Hide layer 5 (headgear) when this frame is picked.
		modifier = {
			factor = 0
			
			 NAND = { 
				in_command = yes 
				has_game_rule = {
					name = martial_headgear
					value = on
				}
			}
		}
		 modifier = {
		   factor = 0
				NOT = {
				any_artifact = {
					artifact_type = crown_african_mask_4
					is_artifact_equipped = yes 
				}
			   
			 }
			 }
			
				
	    }
		
	
	5 = { 
		factor = 100
		hide_layers = { 12 = { } } #Hide layer 12 (disfigured masks) when this frame is picked.
		hide_layers = { 5 = { } } #Hide layer 5 (headgear) when this frame is picked.
		modifier = {
			factor = 0
			 NAND = { 
				in_command = yes 
				has_game_rule = {
					name = martial_headgear
					value = on
				}
			}
		}	
		modifier = {
		 factor = 0
				NOT = {
				any_artifact = {
					artifact_type = crown_african_mask_5
					is_artifact_equipped = yes 
				}
			  
			 }
			}
				
	    }
		
	
	6 = { 
		factor = 100
		hide_layers = { 12 = { } } #Hide layer 12 (disfigured masks) when this frame is picked.
		hide_layers = { 5 = { } } #Hide layer 5 (headgear) when this frame is picked
		modifier = {
			factor = 0
			 NAND = { 
				in_command = yes 
				has_game_rule = {
					name = martial_headgear
					value = on
				}
				}
		}		
		modifier = {
		 factor = 0
				NOT = {
				any_artifact = {
					artifact_type = crown_african_mask_6
					is_artifact_equipped = yes 
				}
			   
			 }
			}
				
	    }
		
	
	7 = { 
		factor = 100
		hide_layers = { 12 = { } } #Hide layer 12 (disfigured masks) when this frame is picked.
		hide_layers = { 5 = { } } #Hide layer 5 (headgear) when this frame is picked.
		modifier = {
			factor = 0
			 NAND = { 
				in_command = yes 
				has_game_rule = {
					name = martial_headgear
					value = on
				}
				}
		}
        modifier = {
         factor = 0		
				NOT = {
				any_artifact = {
					artifact_type = crown_african_mask_7
					is_artifact_equipped = yes 
				}
			   }
			 
			}
				
	    }
		
	
	8 = { 
		factor = 100
		hide_layers = { 12 = { } } #Hide layer 12 (disfigured masks) when this frame is picked.
		hide_layers = { 5 = { } } #Hide layer 5 (headgear) when this frame is picked.
		modifier = {
			factor = 0
			 NAND = { 
				in_command = yes 
				has_game_rule = {
					name = martial_headgear
					value = on
				}
				}
		}
        modifier = {
		factor = 0
				NOT = {
				any_artifact = {
					artifact_type = crown_african_mask_8
					is_artifact_equipped = yes 
				}
               }
			 
			 }
			
				
	    }
		
	}
