Scripted effect
contract_lovers_pox_from
contract_lovers_pox_from = { PARTNER = … }game/common/scripted_effects/20_health_effects.txt, line 962 (7 lines). Parameters: $PARTNER$.
contract_lovers_pox_from is a scripted effect in Crusader Kings III, written at line 962 of its file. A call passes 1 parameter: PARTNER. The game's script calls it in 2 places, among them health.1200 (event) and risk_of_std_from_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.
The comment above it in the file
If partner has lover's pox, the character gets it through an event. Needs argument PARTNER
What it does
If
- scope:infecting_partner: Has the Trait: Lover's Pox
Then
contract_disease_notify_effect = { DISEASE = lovers_pox }
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (7 lines of game script)
contract_lovers_pox_from = {
$PARTNER$ = { save_scope_as = infecting_partner }
if = {
limit = { scope:infecting_partner = { has_trait = lovers_pox } }
contract_disease_notify_effect = { DISEASE = lovers_pox }
}
}As written in game/common/scripted_effects/20_health_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls contract_lovers_pox_from.
Events (1)
Scripted effects (1)
Source: game/common/scripted_effects/20_health_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.