• 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.

LiamRiordan

The Rambling KR Player
70 Badges
Aug 4, 2008
2.184
137
  • 500k Club
  • Stellaris: Nemesis
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Holy Fury
  • The Showdown Effect
  • Warlock: Master of the Arcane
  • War of the Roses
  • Hearts of Iron IV: Colonel
  • Stellaris: Humanoids Species Pack
  • Stellaris: Lithoids
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Steel Division: Normandy 44 Deluxe Edition
  • Battle for Bosporus
  • Stellaris: Ancient Relics
  • Steel Division: Normandy 44
  • Crusader Kings II: Rajas of India
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Necroids
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV
  • Stellaris: Distant Stars
  • Stellaris: Federations
  • Hearts of Iron IV: Field Marshal
  • Semper Fi
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Dungeonland
  • Darkest Hour
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
After watching an anime called "Pumpkin Scissors" (pretty good btw), it gave me a better insight somewhat about the damage and scale of reconstruction needed to get a nation back on its feet. Especially for the large industrialized and populated nations. e.g. USA, West Europe, Japan.

In the KR forums I posted this code:

Code 0.31 (Working!)
Code:
event = {
    id = 850000
    random = no
    country = AST # Australasian Confederation
    style = 1
    picture = "AST_Surrender"
    date = { day = 1 month = january year = 1936 }
    offset = 7
    deathdate = { day = 31 month = december year = 1964 }
    
        trigger = {
            ispuppet = AST
        }
        
            name = "Australasian Economic Collapse"
            desc = "Our nation is battered militarily and our economy is smashed due to the loss of reliable trade partners and foreign companies leaving the nation for greener pastures.  We must do something very soon to get out of this mess.  But for now, we must count our losses and create a recovery plan of action.  It will take a week to prepare draft plans of recovery."
            
                action = {
                    ai_chance = 100
                    name = "Crikey! Draft the Recovery Plans!"
                        command = { type = dissent value = 35 } #People are angry
                        command = { type = relative_manpower value = -10 } #A lot less people signing up for the military
                        command = { type = peacetime_ic_mod value = -50 } #Economy has collapsed
                        command = { type = construct which = ic where = -1 value = -1 } #Initial factory losses
                        command = { type = construct which = ic where = -1 value = -1 }
                        command = { type = construct which = ic where = -1 value = -1 }
                        command = { type = extra_tc value = -10 } #Rail and naval services are damaged and disorganized
                        command = { type = construct which = infrastructure where = -1 value = -10 }
                        command = { type = construct which = infrastructure where = -1 value = -10 }
                        command = { type = construct which = infrastructure where = -1 value = -10 }
                        command = { type = construct which = infrastructure where = -1 value = -10 }
                        command = { type = max_organization which = land value = -15 } #To simulate known doctrines being ineffective and military reorganization
                        command = { type = morale which = land value = -20 } #To simulate low confidence and pride
                        command = { type = event which = 850001 where = -1 when = 7 }
                }
                action = {
                    ai_chance = 0
                    name = "Go walkabout! (TESTER)"
                        command = { }
                }
}
Improvements can be made in the triggers for the Internationale I know (for those who play KR).

With this in mind, what would be the best way to ensure reconstruction events fire for the next couple of years? Set a trigger event with an offset of 365? I think I can get this sort of event going at first, but making sure reconstruction progression events keep happening with the goal of normalcy being restored is awkward.

Can anyone give me some tips for this method?

EDIT:
Would this method work?


  1. Nation liberated, trigger reconstruction decision event within 45 days
  2. Reconstruction event fires, player/ai chooses path
  3. Repair path event fires, triggers repeating event that fires for 5 years offset of 365
  4. Final Repairs event fires and reconstruction is completed.


Is it possible to make a repeated event fire a new event after its been fired for a nation x amount of times?
 
Last edited:
You should also add some extra options like focusing on the Military and such things.

I don't think it's possible to have it repeated unless you make a descion where you can use it again and again. You can make it sleep for a year after use.
 
Hmm, could a nation refocus its military so soon after a defeat? I guess it could, but to some harsh penalties right?

Hmm, I've never done decision events before, how do you make it sleep for a year? I guess I could make it a "Re-investment into x" event chain.

EDIT: Added a new military action event, would something along those lines be feasible?

EDIT2: Ok, I've made my first ever decision event! I'm pretty chuffed, this one if for the UoB in KR if its ever liberated and get X amount of money.

Code:
event = {
    id = 850001
    random = no
    country = ENG # Union of Britain
    style = 1
    picture = "Industry"
    
    decision = { 
        money = 100
            }

    decision_trigger = {
        money = 600
        atwar = no
    }
    
    date = { day = 1 month = January year = 1936 }
    deathdate = { day = 30 month = december year = 1950 }
    
        trigger = {
            NOT = { war = { country = GER } }
            NOT = { war = { country = CAN } }
            }
            
    
            name = "The After Effects of War"
            desc = "With the end of the war in Britain, it is time to take count of our losses and rebuild.  It will be a long and hard road, but eventually we will stand tall and strong once more, as a pillar of the modern world.  What direction should the government focus on to rebuild our nation?"
            
            action = {
                ai_chance = 40
                name = "Focus on the population, they need food and medicine!"
                command = { type = money value = -200 } #cost for initiation the healthcare program
                command = { type = supplies value = -500 }
                command = { type = free_money value = -10 } #cost for maintaining the healthcare program
                command = { type = free_supplies value = -25 } #food and medicine supplies
                command = { type = peacetime_ic_mod value = -20 } #the industry is badly damaged, and focus is shifted away from it
                command = { type = dissent value = -10} #the people really appreciate this program
                command = { type = manpowerpool value = 50} #more fighting fit people are available due to the program
                command = { type = relative_manpower value = 5 } #more soldiers are available more quickly
                command = { type = construct which = ic where = -1 value = -1 } #some factories lose out on repairs
                command = { type = construct which = ic where = -1 value = -1 }
                command = { type = construct which = ic where = -1 value = -1 }
                command = { type = construct which = ic where = -1 value = -1 }
                command = { type = construct which = ic where = -1 value = -1 }
                command = { type = construct which = ic where = -1 value = -1 }
                }
                
            action = {
                ai_chance = 40
                name = "Focus on the industry! We must build our way out of this!"
                command = { type = money value = -350 }
                command = { type = supplies value = -650 }
                command = { type = free_money value = -10 }
                command = { type = free_supplies value = -50 } #more hardware needed compared to food and medicine
                command = { type = peacetime_ic_mod value = -5 } #industry is still in need of repair, but damage is limited with repair focus
                command = { type = dissent value = 10 } #the people are angry that factories are being helped over themselves, seeing the short picture
                command = { type = manpowerpool value = -50 } #disease takes hold and a lot of people leave the military
                command = { type = relative_manpower value = -10 }
                }
                
            action = {
                ai_chance = 20
                name = "Focus on the Armed Forces! We must repel invaders!"
                command = { type = money value = -500 }
                command = { type = supplies value = -1000 }
                command = { type = free_money value = -10 }
                command = { type = peacetime_ic_mod value = -25 } #due to less active workers and engineers repairing the industry and being cared for
                command = { type = dissent value = 25 } #the people are furious that their needs are put second over possible quick revenge
                command = { type = manpowerpool value = 150 } #drafts all over the place
                command = { type = relative_manpower value = 5 } #minor boost due to drafts, but many still in poverty
                command = { type = domestic which = professional_army value = -5 } #mass drafts represented by drafts of the populuce.
                command = { type = construct which = ic where = -1 value = -1 } #some factories lose out on repairs
                command = { type = construct which = ic where = -1 value = -1 }
                command = { type = construct which = ic where = -1 value = -1 }
                command = { type = construct which = ic where = -1 value = -1 }
                command = { type = construct which = ic where = -1 value = -1 }
                command = { type = construct which = ic where = -1 value = -1 }
                command = { type = add_division which = "1st Peoples Reserves" value = militia when = 5 }
                command = { type = add_division which = "2nd Peoples Reserves" value = militia when = 5 }
                command = { type = add_division which = "3rd Peoples Reserves" value = militia when = 5 }
                command = { type = add_division which = "1st Peoples Garrison" value = garrison when = 5 }
                command = { type = add_division which = "2nd Peoples Garrison" value = garrison when = 5 }
                }
    }

I think I best add more triggers in, though I'll need to coordinate with the KR crew about 'liberation triggers' so these events can fire. Maybe just add puppet of X? Who knows.
 
Last edited:
Should you also add some Badboy as well? After all, if a nation suddenly starts to re-arm right after it was defeated then wouldn't the victorious nation be threatened?
 
I TOTALY agree with this maybe DH should add some Arma things so DH can be the leading Pdox game. and i made usa conquere th wworld in Kaiserriech in 9 years only enemies left are Mexico with 537 Divisons
 
command = { type = construct which = ic where = -1 value = -1 } #some factories lose out on repairs
command = { type = construct which = ic where = -1 value = -1 }
command = { type = construct which = ic where = -1 value = -1 }
command = { type = construct which = ic where = -1 value = -1 }
command = { type = construct which = ic where = -1 value = -1 }
command = { type = construct which = ic where = -1 value = -1 }
You permanently lose 6 ic every time this event fires? You want it to fire 8 times each year? So, minus 48 ic each year? For how long? This actually seems about as bad as the Versailles treaty. LOL.
 
You permanently lose 6 ic every time this event fires? You want it to fire 8 times each year? So, minus 48 ic each year? For how long? This actually seems about as bad as the Versailles treaty. LOL.
That particular event is not annual, it is just the start, other drop offs may occur, but not permanently.