Scripted effect · Silk and Silver files
luxury_contract_standard_creature_effect
luxury_contract_standard_creature_effect = { PROVINCE = … }game/common/scripted_effects/gdp_domicile_artifact_creation_scripted_effects.txt, line 608 (39 lines). Parameters: $PROVINCE$.
luxury_contract_standard_creature_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 608 of its file. A call passes 1 parameter: PROVINCE. The game's script calls it in 2 places, among them create_creature_artifact_effect (scripted effect) and Create Domicile Artifact (interaction). Patch 1.21.0, from game/common/scripted_effects/gdp_domicile_artifact_creation_scripted_effects.txt.
What it does
- 1 of 5 things will happen:
- 22%: Nothing else happens
- 22%: Nothing else happens
- 22%: Nothing else happens
- 11%: Nothing else happens
- 22% (base chance; changed in play): Nothing else happens
• 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 (39 lines of game script)
luxury_contract_standard_creature_effect = {
random_list = {
10 = { # peacock
trigger = {
$PROVINCE$ = { luxury_contract_creature_peacock_trigger = yes }
NOT = { scope:reserved_type ?= flag:peacock }
}
set_variable = { name = animal_type value = flag:peacock years = 3 }
}
10 = { # parrot
trigger = {
$PROVINCE$ = { luxury_contract_creature_parrot_trigger = yes }
NOT = { scope:reserved_type ?= flag:parrot }
}
set_variable = { name = animal_type value = flag:parrot years = 3 }
}
10 = { # cockatoo
trigger = {
$PROVINCE$ = { luxury_contract_creature_cockatoo_trigger = yes }
NOT = { scope:reserved_type ?= flag:cockatoo }
}
set_variable = { name = animal_type value = flag:cockatoo years = 3 }
}
5 = { # monkey
trigger = {
$PROVINCE$ = { luxury_contract_creature_monkey_trigger = yes }
NOT = { scope:reserved_type ?= flag:monkey }
}
set_variable = { name = animal_type value = flag:monkey years = 3 }
}
10 = { # crane - fallback
modifier = {
factor = 0.1
scope:reserved_type ?= flag:crane
}
set_variable = { name = animal_type value = flag:crane years = 3 }
}
}
}As written in game/common/scripted_effects/gdp_domicile_artifact_creation_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls luxury_contract_standard_creature_effect.
Character interactions (1)
- Create Domicile Artifact
Scripted effects (1)
Source: game/common/scripted_effects/gdp_domicile_artifact_creation_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.