Scripted effect · Silk and Silver files
merchant_company_law_purpose_effect
merchant_company_law_purpose_effect = yesgame/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 251 (20 lines). No parameters.
merchant_company_law_purpose_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 251 of its file. It takes no parameters: merchant_company_law_purpose_effect = yes. The game's script calls it in 5 places, among them Artisan (law), Caravaneer (law) and Creditor (law). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (20 lines of game script)
merchant_company_law_purpose_effect = {
hidden_effect = {
merchant_company_law_remove_purpose_effect = yes
gdp_update_usury_reputation_effect = yes
if = {
limit = {
government_has_flag = government_is_merchant
has_perk = sanctioned_loopholes_perk
}
switch = {
trigger = has_realm_law
company_purpose_family = { add_character_modifier = merchant_company_law_family_modifier }
company_purpose_artisan = { add_character_modifier = merchant_company_law_artisan_modifier }
company_purpose_creditor = { add_character_modifier = merchant_company_law_creditor_modifier }
company_purpose_caravaneer = { add_character_modifier = merchant_company_law_caravaneer_modifier }
}
}
}
}As written in game/common/scripted_effects/gdp_merchant_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls merchant_company_law_purpose_effect.
Laws (4)
Lifestyle perks (1)
Source: game/common/scripted_effects/gdp_merchant_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.