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

SchwarzKatze

Field Marshal
45 Badges
Nov 8, 2008
5.827
4.439
1. Same religion with the winner

Will they remain or also get nuked? I've been digging in the code but still I'm confused, mainly the red "holder_scope" part of the code, does that mean the coreligionists gets to keep their land or if the target title still remains in friendly hand the de jure owner will have it disregarding the contribution? If it's the latter then I'm a bit sad for these poor sods:(

The code:
Code:
	on_success_title = {
		if = {
			limit = {
				has_holder = yes
				holder_scope = {
					religion = ROOT
				}
			}
			[COLOR=red]holder_scope[/COLOR] = {
				gain_settlements_under_title = {
					title = PREV
					enemy = FROM
					is_crusade = yes # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants
				}
			}
		}
		
		if = {
			limit = {
				OR = {
					has_holder = no
					NOT = {
						holder_scope = {
							religion = ROOT
						}
					}
				}
			}
			
			most_participating_attacker = {
				gain_settlements_under_title = {
					title = PREV
					enemy = FROM
				}
				if  = {
					limit = {
						primary_title = { is_primary_type_title = no } # Mercs, the Pope, Holy Orders, etc
						PREV = { has_holder = no }
						OR = {
							NOT = { character = ROOT }
							independent = yes
							liege = {
								tier = EMPEROR
							}
						}
					}
					usurp_title = PREV
					
					if = {
						limit = {
							NOT = { culture = PREV }
						}
						hidden_tooltip = { PREV = { conquest_culture = THIS } }
					}
				}
			}
		}

2. Rebelling vassals(not claiming the same title)

Will they remain in war with their liege(provided that he's not destroyed), gain independence or get nuked?