Scripted effect · Silk and Silver files
merchant_company_law_remove_purpose_effect
merchant_company_law_remove_purpose_effect = yesgame/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 244 (6 lines). No parameters.
merchant_company_law_remove_purpose_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 244 of its file. It does, in the game's words: Loses “Company Law”. It takes no parameters: merchant_company_law_remove_purpose_effect = yes. The game's script calls it in 3 places, among them on_game_start_after_lobby (on action), on_perks_refunded (on action) and merchant_company_law_purpose_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.
The comment above it in the file
Merchant Company Purpose Management
What it does
• 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 (6 lines of game script)
merchant_company_law_remove_purpose_effect = {
remove_character_modifier = merchant_company_law_family_modifier
remove_character_modifier = merchant_company_law_artisan_modifier
remove_character_modifier = merchant_company_law_creditor_modifier
remove_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_remove_purpose_effect.
On actions (the game's own hooks) (2)
- on_game_start_after_lobby
- on_perks_refunded
Scripted effects (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.