Scripted effect
contract_great_pox_from
contract_great_pox_from = { PARTNER = … }game/common/scripted_effects/20_health_effects.txt, line 971 (14 lines). Parameters: $PARTNER$.
contract_great_pox_from is a scripted effect in Crusader Kings III, written at line 971 of its file. A call passes 1 parameter: PARTNER. The game's script calls it in 2 places, among them health.1201 (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 great pox, the character gets it through an event. Needs argument PARTNER
What it does
If
scope:infecting_partner:One of these
- Has the Trait: Lover's Pox
or
Has the Trait: Great Pox
Then
contract_disease_notify_effect = { DISEASE = great_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 (14 lines of game script)
contract_great_pox_from = {
$PARTNER$ = { save_scope_as = infecting_partner }
if = {
limit = {
scope:infecting_partner = {
OR = {
has_trait = early_great_pox
has_trait = great_pox
}
}
}
contract_disease_notify_effect = { DISEASE = great_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_great_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.