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

Istaego

Private
32 Badges
Dec 20, 2019
15
20
  • Victoria 2: A House Divided
  • Imperator: Rome
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Magicka 2
  • Crusader Kings II: Way of Life
  • Victoria 2: Heart of Darkness
  • Crusader Kings II
  • Victoria 2
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • March of the Eagles
  • Magicka
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Darkest Hour
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
Hi everyone,
I am writing here to ask for help to introduce a new event. I would like it to be renewed every year. The idea is to produce two versions, for each country: in the first, when less than 40% of the poor population cannot afford the living needs, I would like the maximum taxation to be reduced by 20%, the imput of factory reduced by 10% and the output increased by 5%. In the second, when more than 60% of the poor population can afford the needs of life, I would like the opposite to happen. The maximum tax increased by 20%, the factory input increased by 10% and the output reduced by 5%.
I don't have the skills and the time to learn how to set up this event. I've tried to do something, which you can read below, but I think it's a failure. I thank any good man in advance for their help. Forgive me for the English, I know it's not that great.

This is my failed attempt:

# negative trade balance
country_event = {
id = 50480
title = "Negative trade balance"
desc = "You have a negative trade balance. To reach an equilibrium, we have to raise taxes"
picture = "Bankruptcy"

Trigger = {
year = 1836
civilized = yes
NOT { poor_strata_life_needs = 4 }
}
mean_time_to_happen = {
months = 12
modifier = {
factor = 10000 }
}

option = {
name = "It had to happen"
max_tariff = -0.20
factory_input = -0.10
factory_output = +0.05 }
}

#solve a -possible- positive balance
country_event = {
id = 50487
title = "Positive trade balance"
desc = "You have a positive trade balance. To reach an equilibrium, we have to lower taxes"
picture = "Bankruptcy"

trigger = {
year = 1836
civilized = yes
poor_strata_life_needs = 6
}
mean_time_to_happen = {
months = 12
modifier = {
factor = 10000 }
}

option = {
name = "It had to happen"
max_tariff = 0.20
factory_input = 0.10
factory_output = -0.05 }
}