• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Rotten Venetic

Field Marshal
6 Badges
Jun 10, 2006
4.293
10
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Europa Universalis IV
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • 500k Club
For your viewing pleasure:

Code:
event = {
    id = 9123004
    random = no    
    country = JAP
    persistent = yes
    trigger = {
        not = { alliance = { country = GER country = JAP } }
        war = { country = SOV country = JAP }
        not = { flag = sepjapsovwar }
    }
    name = "Soviet-Japanese war!"
    desc = "Japan and the Soviet Union have been on a collision course since before there was a Soviet Union. It's time to teach them that the East is ours!"
    style = 2
      picture = "news_paper"
    action = {    
        ai_chance = 100
        name = "Tennoheika banzai!"
        command = { type = setflag which = sepjapsovwar }
    }
}
event = {
    id = 9123005
    random = no    
    country = JAP
    presistent = yes
    trigger = {
        not = { alliance = { country = GER country = JAP } }
        not = { war = { country = SOV country = JAP } }
        flag = sepjapsovwar
    }
    name = "Peace in the North"
    desc = "At leasf for now, we have peace in the North. But Siberia is by no means safe, let the Communists beware!"
    style = 2
      picture = "news_paper"
    action = {    
        ai_chance = 100
        name = "There is always more time"
        command = { type = clrflag which = sepjapsovwar }
    }
}
event = {
    id = 9123001
    random = no    
    country = JAP
    # persistent = yes    
    date = { hour = 0 day = 0 month = 0 year = 1940 }
    offset = 10
    deathdate = { hour = 0 day = 0 month = 0 year = 1943 }
    trigger = {
        not = { flag = sepjapsovwar }
        # not = { event = 9123001 }
        war = { country = SOV country = GER }
        alliance = { country = GER country = JAP }
        war = { country = SOV country = JAP }
        OR = { 
            war = { country = JAP country = USA }
            war = { country = JAP country = ENG }
            }
        not = { lost_VP = { country = SOV value = 25 } }    
        }
    name = "An awkward position"
    desc = "Our new alliance with Germany was directed at the United States and the Western Allies, and it puts us in an awkward position with regards the Soviet Union. We might not want to pursue a real war with them just now, in light of the disastrous border events of 1938-1939."
    style = 2
      picture = "news_paper"
    action = {
        name = "Pursue a separate war"
        ai_chance = 90
        command = { type = trigger which = 9123002 }
    }
    action = {
        }
        name = "We can crush any number of foes!"
        ai_chance = 10
        command = {}
    }
}
event = {
    id = 9123002
    random = no    
    country = SOV
    name = "German-Japanese Alliance"
    desc = "Japan, our pesky Eastern neighbour, is stirring more trouble: they've signed an alliance with Germany, technically putting them at war with us; however, they are inactive on our borders and have made it clear through discrete channels that, at least for now, they want peace with the Soviet Union, presumably so they can concentrate on the Western Allies, but in reality they just don't want to be erased from the map of the World."
    style = 2
      picture = "news_paper"    
    action = {
        name = "Let us concentrate on Germany"
        ai_chance = 70
        command = { type = peace which = JAP value = 1 }
        #command = { type = peace which = MAN value = 1 }
        #command = { type = peace which = MEN value = 1 } # Will Japan's puppets be included in the peace?
    }
    action = {
        name = "The Japanese need a lesson"
        ai_chance = 30
        command = {}
    }
}    
event = {
    id = 9123003
    random = no    
    country = JAP
    trigger = {
        # ai = yes
        war = { country = JAP country = USA }
        war = { country = GER country = ENG }
        alliance = { country = ENG country = USA}
        NOT = { alliance = { country = GER country = JAP }}
        NOT = { war = {country = JAP country = GER } }
    }
    name = "German-Japanese alliance"
    desc = "Japan declares on USA + allies -> USA joins allies -> JAP can join axis. AI event."
    style = 2
      picture = "news_paper"
    action = {
        name = "No alliance"
        ai_chance = 20
        command = {}
    }
    action = {
        trigger = { ai = GER}
        name = "Alliance with AI Germany"
        ai_chance = 40
        command = { type = trigger which = 9123006 }
    }
    action = {
        trigger = { not = {ai = GER} }
        name = "Propose to player's Germany"
        ai_chance = 40
        command = { type = trigger which = 9123000 }
    }
}
event = {
    id = 9123000
    random = no    
    country = GER
    name = "Japanese alliance proposal"
    desc = "The Japanese are at war with the Western Allies and the USA. We share enemies, war aims and ideologies. Should Japan be allowed into the Axis?"
    style = 2
      picture = "news_paper"
    action = {
        ai_chance = 99
        name = "Yes"
        command = { type = trigger which = 9123006 }
    }
    action = {
        ai_chance = 1
        name = "No"
        command = { type = relation which = JAP value = -100 }
    }
}
event = {
    id = 9123006
    random = no    
    country = JAP
    name = "We are in the Axis!"
    desc = "The New World order is that much closer now."
    style = 2
      picture = "news_paper"
    action = {
        ai_chance = 100
        name = "Excellent!"
        command = { type = leave_alliance }
        command = { type = alliance where = 1 }
    }
}
event = {
    id = 9123007
    random = no
    country = JAP
    date = { hour = 0 day = 0 month = 0 year = 1930 }
    offset = 100
    deathdate = { hour = 0 day = 0 month = 0 year = 1993 }
    trigger = {    
        not = { 
            participant = { country = JAP value = 1 } 
            participant = { country = JAP value = 2 } 
            participant = { country = JAP value = 3 } 
            participant = { country = GER value = 1 }
        }
        atwar = yes
        government = fascist
    }
    name = "A new Axis!"
    desc = "Germany has either fallen, or has passed into the Uncanny Valey. Japan is the Axis now!"
    style = 2
      picture = "news_paper"
    action = {    
        ai_chance = 100
        name = "OK"
        command = { type = alliance where = 1 }
    }
}

They deal with putting Japan into the Axis while keeping the possibility of peace with the Soviet Union. There's also a flag if they want a separate war.

Feel free to use, comment, and especially point out errors so I can fix them :p

Anyway, persistent = yes crashes the game... why?
 
Last edited: