﻿on_raid_action_completion = {
    on_actions = {
        mytm_on_raid_loot_delivered_auto
    }
}
# 自动上交战利品
mytm_on_raid_loot_delivered_auto = {
    effect = {
        if = {
            limit = {
                scope:raider = { is_ai = no }
                has_global_variable = mytm_global_variable_raid_loot_delivered_auto
            }
            mytm_on_raid_loot_delivered = yes
        }
    }
}