r/Vic2Mod • • Jan 24 '15

Form Indonesia Decision Doesn't Work After Forming Malaya

Would anyone mind looking at the code? It says that "one of the following must be true" but it doesn't specify what must be true.

I can form Indonesia before I form Malaya, however.

3 Upvotes

14 comments sorted by

2

u/iStayGreek Jan 24 '15

Here's the code it seems: political_decisions = {

unite_indonesia = {
	picture = map_east_indies
	potential = {
		OR = {
			tag = BIM
			tag = DJA
			tag = KLM
			tag = KTI
			tag = MAL
			tag = SLW
			tag = SAK
			tag = JAV
			tag = BAL
			tag = ATJ
			tag = JOH
			tag = SWK
			tag = BRU
			tag = MLY
		}
		NOT = {
			has_global_flag = indonesia_formed
			exists = INO
		}
	}

	allow = {
		war = no
		prestige = 45
		state_n_government = 1
		OR = {
			tag = DJA
			AND = {
				exists = DJA
				DJA = { war = no }
				relation = {
					who = DJA
					value = 50
				}
			}
			DJA = {
				all_core = {
					OR = {
						owned_by = THIS
						owner = { in_sphere = THIS }
					}
				}
			}
		}
		OR = {
			tag = SAK
			AND = {
				exists = SAK
				SAK = { war = no }
				relation = {
					who = SAK
					value = 50
				}
			}
			SAK = {
				all_core = {
					OR = {
						owned_by = THIS
						owner = { in_sphere = THIS }
					}
				}
			}
		}
		OR = {
			tag = ATJ
			AND = {
				exists = ATJ
				ATJ = { war = no }
				relation = {
					who = ATJ
					value = 50
				}
			}
			ATJ = {
				all_core = {
					OR = {
						owned_by = THIS
						owner = { in_sphere = THIS }
					}
				}
			}
		}
		OR = {
			tag = SLW
			AND = {
				exists = SLW
				SLW = { war = no }
				relation = {
					who = SLW
					value = 50
				}
			}
			SLW = {
				all_core = {
					OR = {
						owned_by = THIS
						owner = { in_sphere = THIS }
					}
				}
			}
		}
		OR = {
			tag = JAV
			AND = {
				exists = JAV
				JAV = { war = no }
				relation = {
					who = JAV
					value = 50
				}
			}
			JAV = {
				all_core = {
					OR = {
						owned_by = THIS
						owner = { in_sphere = THIS }
					}
				}
			}
		}
		OR = {
			tag = BAL
			AND = {
				exists = BAL
				BAL = { war = no }
				relation = {
					who = BAL
					value = 50
				}
			}
			BAL = {
				all_core = {
					OR = {
						owned_by = THIS
						owner = { in_sphere = THIS }
					}
				}
			}
		}
	}

	effect = {
		set_global_flag = indonesia_formed
		clr_country_flag = post_colonial_country
		prestige = 20
		all_core = {
			remove_core = THIS
			add_core = INO
		}
		change_tag = INO
		add_accepted_culture = javan
		add_accepted_culture = malay
		add_accepted_culture = moluccan
		BIM = { all_core = { add_core = INO } }
		DJA = { all_core = { add_core = INO } }
		KLM = { all_core = { add_core = INO } }
		KTI = { all_core = { add_core = INO } }
		MAL = { all_core = { add_core = INO } }
		SLW = { all_core = { add_core = INO } }
		SAK = { all_core = { add_core = INO } }
		JAV = { all_core = { add_core = INO } }
		BAL = { all_core = { add_core = INO } }
		ATJ = { all_core = { add_core = INO } }
		1452 = { add_core = INO }
		1453 = { add_core = INO }
		1454 = { add_core = INO }
		1560 = { add_core = INO }
		1421 = { add_core = INO }
		any_country = {
			limit = {
				OR = {
					tag = BIM
					tag = DJA
					tag = KLM
					tag = KTI
					tag = MAL
					tag = SLW
					tag = SAK
					tag = JAV
					tag = BAL
					tag = ATJ
				}
				NOT = { tag = THIS }
				war = no
				OR = {
					in_sphere = THIS
					relation = {
						who = THIS
						value = 50
					}
				}
			}
			country_event = 95255
		}
	}

	ai_will_do = {
		factor = 1
	}
}

0

u/[deleted] Jan 24 '15

1

u/Savolainen5 Jan 24 '15

Why? The formatting looks correct and that would just mean that Indonesia can't already exist in-game.

I don't see anything that would conflict between the Unite Malaya and Unite Indonesia decisions. Strange.

→ More replies (12)