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

But wouldn't this trigger work? :

Code:
trigger = {
	condition = { type = ruler }
	condition = { type = gender value = male }
	condition = { type = is_married }
	condition = { type = spouse	condition = { type = is_alive }}
	condition = { type = any_child 
           condition = { type = and
	        condition = { type = gender value = male }
		condition = { type = is_alive }
		condition = { type = not value = { type = trait value = bastard } }
		condition = { type = mother 
                   condition = { type = not value = { type = is_alive }}}
	   }  
	}
}
 
Hello,

It works:

Code:
character_event = { # TEST EVIL WIFE
    id = 8888908
    picture = "event_law" 
    trigger = {
      condition = { type = ruler }
      condition = { type = gender value = male }
      condition = { type = is_married }
      condition = { type = spouse	 condition = { type = is_alive }}
      condition = { type = any_child 
         condition = { type = and
           condition = { type = gender value = male }
           condition = { type = is_alive }
           condition = { type = not value = { type = trait value = bastard } }
           condition = { type = mother 
                condition = { type = not value = { type = is_alive }}}
           condition = { type = save_target }
         }  
      }
      condition = { type = has_target } 
    }  
    mean_time_to_happen = { 
        days = 100 
    } 
    action_a = {  
        ai_chance = 100 
        effect = { type = trigger for = load_target value = 7777908 } 
    } 
}

character_event = { 

	id = 7777908
	picture = "event_crime"

	action_a = { 
		  ai_chance = 100
			effect = { type = add_trait value = bastard }
		}
}
 
Last edited:
Hello,

Would it be possible to make an event like that?

Second wife causes first wife's children to be disowned (made bastards) so her children would inherit.

H.
First, hiya. :D It's great you're here and thinking of stuff like this. God knows we could use some divorce events and more family scheming.

Second, I'm not sure about the historicity of what you're proposing. Annulments were common enough (consang, heatheny, sexless) but canon law generally (always?) came down on the side of recognizing the children born of a purported marriage as legitimate. You'd need to rephrase the text not to delegitimize them but simply to disinherit them.

[Hmm, or claim evidence of the wife's infidelity. Qv.]
[edit: I stand corrected. :D]

Third, you couldn't possibly leave it at those triggers. First, there would simply have to be a living son by the current wife. Second, the king can't be just. Third, he'd either need to be in love with his current wife or weak-willed. She'd need to be a bitch on wheels. If you go with the fabricated infidelity path, he couldn't be wise, &c., and she'd need a high intrigue and a high intrigue education. &c.

Fourth, you'd really piss off players by not giving them an opt out. :)
 
Last edited:
Hi,

The triggers I made were just for testing if this would work.
I agree more complex triggers are necessary - ruler is weak-willed, wife is evil, has high intrigue, has a living son...

Regarding history... wasn't this a case with Henry VIII and Anne Boleyn... I am sure if he hadn't killed her Elizabeth would inherit him and not Mary...
But these were women... I don't know what would happen if there was a son involved... but in any case it did happen, I think... :)

H.
 
Historically this isn't to far off, just take a look at de Hauteville in 1066. The children of Robert Guiscard's first marriage, which was annulled on grounds of consanguinity (a common excuse in those days) resulted in the children of his first marriage (Bohemond and one daughter) being barred from the inheritance (=became bastards in game).

Giving them the bastard trait is the only way of preventing children from a first marriage to inherit, unless of course you make another option like sent them to a monastery (=kill them).
 
Ooooh very interesting.

Ayeshteni
 
Giving them the bastard trait is the only way of preventing children from a first marriage to inherit, unless of course you make another option like sent them to a monastery (=kill them).

But if you go with that, you need to make sure there's an opt out for the player that the AI will pick 0% of the time. Otherwise, you run the risk of someone at scenario start getting killed off by their stepmom.
 
But if you go with that, you need to make sure there's an opt out for the player that the AI will pick 0% of the time. Otherwise, you run the risk of someone at scenario start getting killed off by their stepmom.

The children of the stepmother are of the same dynasty since they have the same father, so for a player there is no problem of a game ending because you are inherited by someone from another dynasty.

And if he adds some more conditions/modifiers the event won't fire that often. And there aren't that much stepmothers at the start of the game.

Also currently the event has just one effect with 100% certainty. He could make it a bit more random like this

Code:
action_a = { #Ah, I hate you !
		effect = { type = random_list
			40 = { type = add_trait value = bastard }
			30 = { type = add_trait value = stressed }
			30 = { type = add_trait value = vengeful }
		}
	}
 
The children of the stepmother are of the same dynasty since they have the same father, so for a player there is no problem of a game ending because you are inherited by someone from another dynasty.

And if he adds some more conditions/modifiers the event won't fire that often. And there aren't that much stepmothers at the start of the game.

Also currently the event has just one effect with 100% certainty. He could make it a bit more random like this

Code:
action_a = { #Ah, I hate you !
		effect = { type = random_list
			40 = { type = add_trait value = bastard }
			30 = { type = add_trait value = stressed }
			30 = { type = add_trait value = vengeful }
		}
	}
I think the certitude is kinda intentional. :D And it's not like the kid gets a say in whether he's a bastard or not unless he's PC.

Also, I get what you're saying, but I was talking about the situation where a player has a living ruling father (which would generally only happen at the beginning of the game, admittedly, but in some situations could happen at other times.) If that living ruling father suddenly killed the player (especially if there was no explanation given), I could see players being rather put out.
 
Regarding history... wasn't this a case with Henry VIII and Anne Boleyn... I am sure if he hadn't killed her Elizabeth would inherit him and not Mary...
But these were women... I don't know what would happen if there was a son involved... but in any case it did happen, I think... :)

H.

I can't comment on the event per se, but Mary inherited before Elizabeth because she was older, both their mothers had been gotten rid off. Their elder brother Edward inherited first and ruled for a short period. When he died without issue, the throne passed to his eldest half sister Mary, and then to Elizabeth.
 
I can't comment on the event per se, but Mary inherited before Elizabeth because she was older, both their mothers had been gotten rid off. Their elder brother Edward inherited first and ruled for a short period. When he died without issue, the throne passed to his eldest half sister Mary, and then to Elizabeth.

Edward was younger than Elizabeth and Mary:p
 
Giving them the bastard trait is the only way of preventing children from a first marriage to inherit, unless of course you make another option like sent them to a monastery (=kill them).
Excommunicate them if they are Christian, although it only applies to them, not their descendants.