init python:
    Event(**{
        "name": "harmony_event_02_vanilla_slutty_fix",
        "label": "harmony_event_02_vanilla_slutty_fix",
        "priority": 1500,
        "conditions": [
            Or(
                IsDone("harmony_event_02_vanilla"),
                IsDone("harmony_event_02_slutty"),
                ),
            ],
        "do_once": True
        })

    Event(**{
        "name": "harmony_event_02_religious_04_vanilla_fix",
        "label": "harmony_event_02_religious_04_vanilla_fix",
        "priority": 1500,
        "conditions": [
            Or(
                IsDone("harmony_event_04_vanilla"),
                And(
                    IsDone("harmony_event_02_religious"),
                    IsDone("harmony_event_02_vanilla"),                    ),
                ),
            ],
        "do_once": True
        })

    Event(**{
        "name": "harmony_event_04_religious_06_vanilla_fix",
        "label": "harmony_event_04_religious_06_vanilla_fix",
        "priority": 1500,
        "conditions": [
            Or(
                And(
                    IsDone("harmony_event_02_religious"),
                    IsDone("harmony_event_06_vanilla"),                    
                    ),
                And(
                    IsDone("harmony_event_04_religious"),
                    IsDone("harmony_event_04_vanilla"),                    
                    ),
                ),
            ],
        "do_once": True
        })

    Event(**{
        "name": "harmony_lose_religio_fix",
        "label": ("harmony_lose_religio_fix"),
        "priority": 2500,
        "conditions": [
            PersonTarget(harmony,
                HasTrait("religious"),
                MaxStat("purity", 70),
                ),
            ],
        "quit": False,
        })

label harmony_lose_religio_fix:
    $ harmony.flags.nokiss = False
    call loose_trait ("harmony", "religious") from _call_loose_trait
    return

label harmony_event_02_vanilla_slutty_fix:
    if "harmony_event_02_vanilla" in DONE:
        $ DONE["harmony_event_02_slutty"] = DONE["harmony_event_02_vanilla"]
    else:
        $ DONE["harmony_event_02_vanilla"] = DONE["harmony_event_02_slutty"]
    return

label harmony_event_02_religious_04_vanilla_fix:
    if "harmony_event_02_religious" in DONE:
        $ DONE["harmony_event_04_vanilla"] = DONE["harmony_event_02_religious"]
    else:
        $ DONE["harmony_event_02_religious"] = DONE["harmony_event_04_vanilla"]        
    return

label harmony_event_04_religious_06_vanilla_fix:
    if "harmony_event_04_religious" in DONE:
        $ DONE["harmony_event_06_vanilla"] = DONE["harmony_event_04_religious"]
    else:
        $ DONE["harmony_event_04_religious"] = DONE["harmony_event_06_vanilla"]                
    return