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

ph1959

Recruit
3 Badges
Oct 22, 2014
2
1
  • Crusader Kings II
  • Victoria 2
  • Victoria 2: A House Divided
Hi guys .. This code works but the province ever is randomic...

I just like to know how to make the randomic province have infrastructure< 99?

event = {
id = 90000
random = yes
trigger = {
NOT = {
alignment = communist
}
}
name = "Cheat"
desc = "Infra up"
style = 0

action_a = {
name = "Infra up"
command = { type = infrastructure which = -1 value = 99 }

}
}
 
What is infrastructure? What are all of those weird things like action_a, command, type, style = 0? I've never seen anything like that in modding Vic2.
 
Is this meant to be in the Victoria 3 forum?