########################## 
# KUOMINTANG CHINA       # 
########################## 

# Rise of the Kuomintang 

event = { 
    country = CHI 
    id = 81001 
    random = no 
    style = 0 

    name = "EVT_81001_NAME" 
    desc = "EVT_81001_DESC" 

    # Triggered by Chinese 10012 

date = { day = 0 month = january year = 1914 } 
offset = 10 
deathdate = { day = 0 month = january year = 1925 } 

    action_a = { 
        name = "ACTIONNAME81001A" 
        command = { type = supplies value = 10000 } 
        command = { type = oilpool value = 5000 } 
        command = { type = steelpool value = 5000 } 
        command = { type = coalpool value = 5000 } 
        command = { type = rubberpool value = 5000 } 
        command = { type = manpowerpool value = 500 } 
        command = { type = addcore which = 1432 } 
        command = { type = addcore which = 1433 } 
        command = { type = addcore which = 1440 } 
        command = { type = addcore which = 1502 } 
        command = { type = addcore which = 1503 } 
        command = { type = addcore which = 1504 } 
        command = { type = addcore which = 1505 } 
        command = { type = addcore which = 1506 } 
        command = { type = addcore which = 1507 } 
        command = { type = addcore which = 1508 } 
        command = { type = addcore which = 1509 } 
        command = { type = addcore which = 1510 } 
        command = { type = addcore which = 1511 } 
        command = { type = addcore which = 1512 } 
        command = { type = addcore which = 1513 } 
        command = { type = addcore which = 1514 } 
        command = { type = addcore which = 1532 } 
        command = { type = addcore which = 1536 } 
        command = { type = addcore which = 1541 } 
        command = { type = addcore which = 1542 } 
        command = { type = addcore which = 1543 } 
        command = { type = addcore which = 1544 } 
        command = { type = addcore which = 1545 } 
        command = { type = addcore which = 1546 } 
        command = { type = addcore which = 1547 } 
        command = { type = addcore which = 1548 } 
        command = { type = addcore which = 1549 } 
        command = { type = addcore which = 1550 } 
        command = { type = addcore which = 1551 } 
        command = { type = addcore which = 1552 } 
        command = { type = addcore which = 1554 } 
        command = { type = addcore which = 1555 } 
        command = { type = addcore which = 1557 } 
        command = { type = addcore which = 1558 } 
        command = { type = addcore which = 1561 } 
        command = { type = addcore which = 1562 } 
        command = { type = addcore which = 1563 } 
        command = { type = addcore which = 1564 } 
        command = { type = addcore which = 1565 } 
        command = { type = addcore which = 1568 } 
        command = { type = addcore which = 1567 } 
        command = { type = addcore which = 1569 } 
        command = { type = addcore which = 1570 } 
        command = { type = addcore which = 1571 } 
        command = { type = addcore which = 1572 } 
        command = { type = addcore which = 1573 } 
        command = { type = addcore which = 1574 } 
        command = { type = addcore which = 1575 } 
        command = { type = addcore which = 1576 } 
        command = { type = addcore which = 1577 } 
        command = { type = addcore which = 1579 } 
        command = { type = addcore which = 1601 } 
        command = { type = addcore which = 1602 } 
        command = { type = addcore which = 1606 } 
        command = { type = addcore which = 1609 } 
        command = { type = addcore which = 1611 } 
        command = { type = addcore which = 1612 } 
        command = { type = addcore which = 1613 } 
        command = { type = addcore which = 1614 } 
        command = { type = addcore which = 1615 } 
        command = { type = addcore which = 1616 } 
        command = { type = addcore which = 1617 } 
        command = { type = addcore which = 1618 } 
        command = { type = addcore which = 1620 } 
        command = { type = addcore which = 1621 } 
        command = { type = addcore which = 1622 } 
        command = { type = addcore which = 1623 } 
        command = { type = addcore which = 1624 } 
        command = { type = addcore which = 1625 } 
        command = { type = addcore which = 1626 } 
        command = { type = addcore which = 1627 } 
        command = { type = addcore which = 1654 } 
        command = { type = addcore which = 1655 } 
        command = { type = addcore which = 1556 } 
        command = { type = addcore which = 1559 } 
        command = { type = addcore which = 1660 } 
        command = { type = addcore which = 1661 } 
        command = { type = addcore which = 1667 } 
        command = { type = addcore which = 1691 } 
        command = { type = addcore which = 1692 } 
        command = { type = addcore which = 1693 } 
        command = { type = addcore which = 1694 } 
        command = { type = addcore which = 1695 } 
        command = { type = addcore which = 1696 } 
        command = { type = addcore which = 1697 } 
        command = { type = addcore which = 1698 } 
        command = { type = addcore which = 1699 }
        command = { type = addcore which = 1700 }  
        command = { type = addcore which = 1705 } 
        command = { type = addcore which = 1706 } 
        command = { type = addcore which = 1707 } 
        command = { type = addcore which = 1708 } 
        command = { type = addcore which = 1709 } 
        command = { type = addcore which = 1710 } 
        command = { type = addcore which = 1711 } 
        command = { type = addcore which = 1712 }
	command = { type = addcore which = 1713 } 
        command = { type = addcore which = 1714 } 
        command = { type = addcore which = 1715 } 
        command = { type = addcore which = 1716 } 
        command = { type = addcore which = 1717 } 
        command = { type = addcore which = 1722 } 
        command = { type = addcore which = 2004 } 
	command = { type = add_division which = infantry } 
	command = { type = add_division which = infantry } 
	command = { type = add_division which = infantry } 
	command = { type = add_division which = infantry } 
	command = { type = add_division which = infantry }  
       	command = { type = add_division which = militia } 
        command = { type = add_division which = militia }  
        command = { type = add_division which = militia }  
        command = { type = add_division which = militia }
        command = { type = add_division which = militia }
       	} 
    } 
} 

# Sun publishes Three Principles of the People 

event = { 
    country = CHI 
    id = 81002 
    random = no 
    style = 0 

    name = "EVT_81002_NAME" 
    desc = "EVT_81002_DESC" 

    # Triggered by Soviet 74333 

    action_a = { 
        name = "ACTIONNAME81002A" 
        command = { type = dissent value = -10 } 
        command = { trigger which = 81003 } 
        command = { type = supplies value = 1000 } 
        command = { type = manpowerpool = 100 } 
        # We should also activate Michael Borodin as a leader for KMT China 
    } 
} 

# The Whampoa Military Academy 

event = { 
    country = CHI 
    id = 81003 
    random = no 
    style = 0 

    name = "EVT_81003_NAME" 
    desc = "EVT_81003_DESC" 

    # Triggered by Kuomintang 81002 

    action_a = { 
        name = "ACTIONNAME81003A" # Triggers Kuomintang 81003 
        command = { type = dissent value = -10 } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = cavalry } 
        command = { type = add_division which = cavalry } 
        command = { type = add_division which = cavalry } 
        command = { type = add_division which = cavalry } 
        command = { type = add_division which = cavalry } 
    } 
} 

# The Northern Expedition 

event = { 
    country = CHI 
    id = 81004 
    random = no 
    style = 0 

    name = "EVT_81004_NAME" 
    desc = "EVT_81004_DESC" 

    trigger = { 
        event = 81003 
        NOT = { 
            war = { country = CHI country = CHC } 
            war = { country = CHI country = U12 } 
            war = { country = CHI country = MAN } 
        } 
    } 

    date = { day = 0 month = july year = 1914 } 
    offset = 5 
    deathdate = { day = 0 month = january year = 2199 } 

    action_a = { 
        name = "ACTIONNAME81004A" 
        command = { type = dissent value = -5 } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = infantry } 
        command = { type = add_division which = cavalry } 
        command = { type = add_division which = cavalry } 
        command = { type = war which = CHC } 
        command = { type = war which = U12 } 
        command = { type = war which = MAN } 
    } 
} 

# Warlords defect to the nationalist cause 

event = { 
    country = CHI 
    id = 81005 
    random = no 
    style = 0 

    name = "EVT_81005_NAME" 
    desc = "EVT_81005_DESC" 

    date = { day = 1 month = july year = 1914 } 
    offset = 1 
    deathdate = { day = 30 month = december year = 2199 } 

    trigger = { 
	AND = {
        	war = { country = CHI country = CHC } 
        	control = { province = 1692 data = CHI } 
        	control = { province = 1695 data = CHI } 
        	control = { province = 1698 data = CHI } 
        	control = { province = 1703 data = CHI } 
        	control = { province = 1704 data = CHI } 
	}
    } 

    action_a = { 
        name = "ACTIONNAME81005A" 
        command = { type = dissent value = -5 } 
        command = { type = trigger which = 10023 }
    } 
} 

# Dr. Sun Yat Sen dies 

event = { 
    country = CHI 
    id = 81006 
    random = no 
    style = 0 

    name = "EVT_81006_NAME" 
    desc = "EVT_81006_DESC" 

    date = { day = 11 month = march year = 1924 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1925 } 

    action_a = { 
        name = "ACTIONNAME81006A" 
        command = { dissent value = -2 } 
        command = { type = headofstate which = 81011 } 
        command = { type = headofgovernment which = 81012 } 
        command = { type = sleepminister which = 81001 } 
        command = { type = sleepminister which = 81002 } 
    } 
} 

# The capital moves to Nanjing

event = { 
    country = CHI 
    id = 81007
    random = no 
    style = 0 

    name = "The capital moves to Nanjing" 
    desc = "After securing southern China up to the Yangtze, Chiang decided to move the capital to Nanjing.  This had also been the capital of the early Ming Dynasty as the Mongols were being driven out of China." 

    trigger = {
	owned = { province = 1695 = CHI } 
    }

    date = { day = 1 month = january year = 1914 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1925 } 

    action_a = { 
        name = "A new capital for us!" 
	command = { type = capital which = 1695 }
    } 
}

# The Nationalist Cause triumphant

event = { 
    country = CHI 
    id = 81008 
    random = no 
    style = 0 

    name = "The Nationalist Cause triumphant" 
    desc = "With the capture of central and northern China, all major warlords fell under the KMT banner.  Minor warlords, officially at least, also recognised Chiang Kai Shek's government as the sole legitimate representative of the Republic of China." 

    date = { day = 1 month = january year = 1914 } 
    offset = 1 
    deathdate = { day = 30 month = december year = 2199 } 

    trigger = { 
	AND = {
        	war = { country = CHI country = CHC } 
        	control = { province = 1692 data = CHI } # Wuhan
        	control = { province = 1695 data = CHI } # Nanjing
        	control = { province = 1698 data = CHI } # Shanghai
        	control = { province = 1703 data = CHI } # Kowloon
        	control = { province = 1704 data = CHI } # Guangzhou
        	control = { province = 1563 data = CHI } # Beijing
        	control = { province = 1618 data = CHI } # Loyang
        	control = { province = 1617 data = CHI } # Xian
        	control = { province = 1571 data = CHI } # Yanan
        	control = { province = 1625 data = CHI } # Tianjin
        	control = { province = 1558 data = CHI } # Mukden
        	control = { province = 1661 data = CHI } # Harbin
	}
    } 

    action_a = { 
        name = "China is united!" 
        command = { type = inherit which = CHC } 
        command = { type = inherit which = MAN } 
	command = { type = capital which = 1695 }
    } 
} 