Scripted effect · Khans of the Steppe files
settlement_issue_on_create_effect
settlement_issue_on_create_effect = yesgame/common/scripted_effects/09_mpo_settlement_issue_effects.txt, line 30 (22 lines). No parameters.
settlement_issue_on_create_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 30 of its file. It takes no parameters: settlement_issue_on_create_effect = yes. The game's script calls it in 10 places, among them nomadic_migration_contract_1 (contract), nomadic_migration_contract_10 (contract) and nomadic_migration_contract_2 (contract). Patch 1.20.1.2, from game/common/scripted_effects/09_mpo_settlement_issue_effects.txt.
What it does
scope:contract.task_contract_location.county:- The county gains the modifier “Ongoing Settlement Contract”
- Monthly county control decline -0.15/month
- The county gains the modifier “Ongoing Settlement Contract”
scope:contract.task_contract_taker:- Else, if played by the AI › scope:contract:
invalidate_contract = yes
• 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 (22 lines of game script)
settlement_issue_on_create_effect = {
scope:contract.task_contract_location.county = {
add_county_modifier = ongoing_settlement_contract
}
scope:contract.task_contract_taker = {
if = {
limit = {
is_ai = yes
is_available = yes
}
accept_task_contract = scope:contract
}
else_if = {
limit = {
is_ai = yes
}
scope:contract = {
invalidate_contract = yes
}
}
}
}As written in game/common/scripted_effects/09_mpo_settlement_issue_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls settlement_issue_on_create_effect.
Task contracts (10)
- nomadic_migration_contract_1
- nomadic_migration_contract_10
- nomadic_migration_contract_2
- nomadic_migration_contract_3
- nomadic_migration_contract_4
- nomadic_migration_contract_5
4 more
- nomadic_migration_contract_6
- nomadic_migration_contract_7
- nomadic_migration_contract_8
- nomadic_migration_contract_9
Source: game/common/scripted_effects/09_mpo_settlement_issue_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.