﻿house_num_of_members = {
    value = 0
    every_house_member = {
        add = 1
    }
}

non_hidden_trait_counter = {
	if = {
		limit = {
			exists = this
		}
		every_character_trait = {
			limit = {
				NOR = {
					has_trait_flag = hidden_trait
					has_trait_category = personality
					has_trait_category = childhood
				}
			}
			add = 1
		}
		add = {
			value = -4
			every_character_trait = {
				limit = {
					OR = {
						has_trait_category = personality
						has_trait_category = childhood
					}
				}
				add = 1
			}
			min = 0
		}
	}
}
