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

ash001

friend&foe
10 Badges
Jun 5, 2009
796
0
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III Complete
  • Rome Gold
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
Hi,

does anyone know how the scaled wealth works for decisions?

I can see it being used here, for instance:

Code:
hold_a_epic_tournament  = {
		potential = {
			NOT = {
				has_character_flag = epic_tournament
			}
			independent = yes
			NOT = { is_female = yes	}
			OR = {
				tier = king
				tier = emperor 
			}
		}
		allow = {
			war = no
			age = 16
			prestige = 500
			wealth = 200
		}
		effect = {
			set_character_flag = epic_tournament
			wealth = -200
			prestige = 100
			character_event = { id = 70033 tooltip = "tournament_invite" }
			hidden_tooltip = {
				character_event = { id = 70001 days = 60 } # Tournament start
				any_realm_character = {
					limit = {
						is_feudal = yes
						NOT = { has_job_title = job_spiritual }
						age = 16
						NOT = { trait = incapable }
						prisoner = no	
						NOT = { is_female = yes	}
					}
					character_event = { id = 70000 }
				}
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				NOT = {
					OR = {
						wealth = 1000
						[COLOR="#FFD700"]scaled_wealth = 3.0[/COLOR]
					}
				}
			}
		}
	}

I thought the scaling had to do with inscreasing the cost of something overtime...
Am I 'reading' this wrong?
 

Dutchling

General
58 Badges
Aug 17, 2011
1.797
5
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Magicka
  • Leviathan: Warships
  • King Arthur II
  • Impire
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Cities in Motion
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Divine Wind
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Age of Wonders III
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: Pre-order
  • Shadowrun Returns
  • 500k Club
  • The Showdown Effect
  • Stellaris: Apocalypse
  • Europa Universalis III Complete
  • Europa Universalis III Complete
This is just a wild guess, but I think scaled_wealth = 3.0 means that the character has three times his yearly income. So in this case it means that AI will only make the decision (and this give an epic tournament) if he has three times his yearly income, unless that is 333 or more as he will do it with just 1000 coins instead.
 

Fargham

Second Lieutenant
44 Badges
Feb 17, 2010
185
2
  • Crusader Kings II
  • Pillars of Eternity
  • Warlock: Master of the Arcane
  • Rome Gold
  • Magicka
  • Leviathan: Warships
  • Heir to the Throne
  • Hearts of Iron III
  • Gettysburg
  • Europa Universalis IV: Conquest of Paradise
  • A Game of Dwarves
  • Europa Universalis III Complete
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Divine Wind
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Crusader Kings III: Royal Edition
  • Steel Division: Normandy 44
  • Knights of Honor
  • Surviving Mars
  • Steel Division: Normandy 44 -  Back to Hell
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Imperator: Rome
  • Crusader Kings III
  • Tyranny: Archon Edition
  • Stellaris
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines
  • 500k Club
  • Rome: Vae Victis
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Stellaris: Apocalypse
Right, scaled wealth is based on the income of the ROOT of the event. Very useful in making things expensive for very rich players or cheap for very poor players. For instance, the invite holy man, noble or debutante is based on scaled wealth, so its cheaper to get them when you have very little income. Once you've fully upgraded your castles, scaled wealth will hit you much harder. (or give you a bigger reward as well if you are using it to give money :)
 

Fargham

Second Lieutenant
44 Badges
Feb 17, 2010
185
2
  • Crusader Kings II
  • Pillars of Eternity
  • Warlock: Master of the Arcane
  • Rome Gold
  • Magicka
  • Leviathan: Warships
  • Heir to the Throne
  • Hearts of Iron III
  • Gettysburg
  • Europa Universalis IV: Conquest of Paradise
  • A Game of Dwarves
  • Europa Universalis III Complete
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Divine Wind
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Crusader Kings III: Royal Edition
  • Steel Division: Normandy 44
  • Knights of Honor
  • Surviving Mars
  • Steel Division: Normandy 44 -  Back to Hell
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Imperator: Rome
  • Crusader Kings III
  • Tyranny: Archon Edition
  • Stellaris
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines
  • 500k Club
  • Rome: Vae Victis
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Stellaris: Apocalypse
Its tough to explain, but I find it a lot more fun to tear apart things that are already in place, tweak them around a bit, than to do much of anything constructive. I learn a lot this way, but produce very little that is shareable with the public.

As far as being on an active project, I find that I'd just rather not devote my time to anything in particular. I tend to guard free time as my most precious resource and sitting down to make something that is worthy for public consumption is just not something I am willing to devote much time to.