Originally Posted by
Melooo182
but the daughter will still be able to produce heir of royal blood
Her husband is a pervented drunkard with Girls>1 and an adultress (just like her father) and she is a dyke woman. Their child is not hers...
There are many cases and I was thinking of something like this (yeah, I know I should have added "Trigger" lines):
In EDCT:
Code:
;------------------------------------------
WhenToTest BecomesFactionLeader
Condition Trait PossibleHeir = 1
Affects PossibleHeir -1 Chance 100
;------------------------------------------
WhenToTest AcceptBribe
Condition Trait PossibleHeir = 1
Affects PossibleHeir -1 Chance 100
;------------------------------------------
;------------------------------------------
WhenToTest CharacterTurnEnd
Condition Trait PossibleHeir = 1
Affects PossibleHeir 1 Chance 100
;------------------------------------------
WhenToTest CharacterTurnEnd
Condition IsGeneral
and not IsFactionLeader
and FactionType england
and OriginalFactionType england
and FatherTrait Factionleader = 1
Affects PossibleHeir 1 Chance 100
;------------------------------------------
WhenToTest CharacterTurnEnd
Condition IsGeneral
and not IsFactionLeader
and FactionType england
and OriginalFactionType england
and FatherTrait FactionRegent = 1
Affects PossibleHeir 1 Chance 100
;------------------------------------------
WhenToTest CharacterTurnEnd
Condition IsGeneral
and FactionType france
and OriginalFactionType england
and FatherTrait Factionleader = 1
Affects PossibleHeir 1 Chance 100
;repeat for other factions
;------------------------------------------
WhenToTest CharacterTurnEnd
Condition IsGeneral
and FactionType france
and OriginalFactionType england
and FatherTrait FactionRegent = 1
Affects PossibleHeir 1 Chance 100
;repeat for other factions
;------------------------------------------
;------------------------------------------
WhenToTest CharacterTurnEnd
Condition Trait NoHeirYet = 1
and I_EventCounter NoHeirSet = 0
Affects NoHeirYet -1 Chance 100
;------------------------------------------
WhenToTest CharacterTurnEnd
Condition IsFactionLeader
and I_EventCounter NoHeirSet = 1
and Trait NoHeirYet = 0
Affects NoHeirYet 1 Chance 25
In CS:
Code:
monitor_event PreFactionTurnStart ;not FactionType slave
set_event_counter NoHeirSet 1
end_monitor
monitor_event CharacterTurnStart Trait PossibleHeir = 1
set_event_counter NoHeirSet 0
end_monitor
But it does not deserve "these CPU cycles" .