欧陆风云4吧 关注:340,799贴子:10,507,378
  • 5回复贴,共1

【求教】来几个会做mission的人

只看楼主收藏回复

一直在研究做一个殖民一个地区的任务,但是任务的成功判断总是有问题,求解决方案。下面我放一个我自己的问题案例


IP属地:上海1楼2016-02-23 17:56回复
    chinese_colony_luzon_island = {
    type = country
    ai_mission = yes
    category = MIL
    allow = {
    normal_or_historical_nations = yes
    tag = CHN
    is_year = 1480
    owns = 738
    luzon_area = {
    is_empty = yes
    has_discovered = ROOT
    }
    great_moluccas_area = {
    is_empty = yes
    has_discovered = ROOT
    }
    num_of_colonists = 1
    NOT = { luzon_area = { owned_by = ROOT } }
    NOT = { great_moluccas_area = { owned_by = ROOT } }
    NOT = { has_country_modifier = indonesian_trade }
    NOT = { last_mission = chinese_colony_luzon_island }
    }
    abort = {
    OR = {
    NOT = { num_of_colonists = 1 }
    AND = {
    NOT = { luzon_area = { is_empty = yes } }
    NOT = { great_moluccas_area = { is_empty = yes } }
    NOT = { luzon_area = { owned_by = ROOT } }
    NOT = { great_moluccas_area = { owned_by = ROOT } }
    }
    }
    }
    success = {
    OR = {
    luzon_area = {
    owned_by = ROOT
    colonysize = 400
    }
    great_moluccas_area = {
    owned_by = ROOT
    colonysize = 400
    }
    }
    }
    chance = {
    factor = 2000
    modifier = {
    factor = 2
    adm = 4
    }
    modifier = {
    factor = 2
    taiwan_area = {
    owned_by = ROOT
    }
    }
    }
    effect = {
    set_country_flag = colonized_manila_CHI
    656 = {
    add_base_tax = 1
    add_base_production = 1
    add_base_manpower = 1
    add_building = fort_15th
    }
    652 = {
    add_base_tax = 1
    add_base_production = 1
    add_base_manpower = 1
    add_building = fort_15th
    }
    luzon_area = {
    change_culture = filipino
    }
    great_moluccas_area = {
    change_culture = filipino
    }
    add_country_modifier = {
    name = "indonesian_trade"
    duration = -1
    }
    }
    }


    IP属地:上海2楼2016-02-23 17:57
    回复
      上面这个任务只要有一个地方殖民到达400,他就达成任务了,我想弄成整个地区都殖民完毕才完成任务要咋么修改


      IP属地:上海3楼2016-02-23 17:58
      回复
        success = {
        OR = {
        luzon_area = {
        owned_by = ROOT
        colonysize = 400
        }
        great_moluccas_area = {
        owned_by = ROOT
        colonysize = 400
        }
        }
        改成这样
        success = {
        OR = {
        luzon_area = {
        tppe = all
        owned_by = ROOT
        is_city = yes
        }
        great_moluccas_area = {
        type = all
        owned_by = ROOT
        is_city = yes
        }
        }


        IP属地:广东4楼2016-02-23 18:16
        收起回复