{
    "name": "Lunar Veil",
    "description": "As the sun dips below the horizon and darkness blankets the world, the vision of a Fae during the night becomes shrouded in a deep, mystical fog. Only the comforting glow of a nearby light source, within a radius of about five blocks, can pierce this veil and restore clarity to their sight.",
    "type": "origins:stacking_status_effect",
    "min_stacks": -3,
    "max_stacks": 1,
    "duration_per_stack": 100,
    "tick_rate": 20,
    "effect": {
        "effect": "minecraft:blindness",
        "duration": 100,
        "amplifier": 0,
        "is_ambient": true,
        "show_particles": true,
        "show_icon": true
    },
    "condition": {
        "type": "origins:and",
        "conditions": [
            {
                "type": "origins:daytime",
                "inverted": true
            },
            {      
                "type": "origins:block_in_radius",
                "block_condition": {
                    "type": "origins:in_tag",
                    "tag": "fairy:light_souces"
                },
                "radius": 5,
                "shape": "cube",
                "comparison": ">=",
                "compare_to": 1,
                "inverted": true
            }
        ]
    }
}