Scripted effect · Silk and Silver files
gdp_republic_unrest_district_shutdown_modifier_effect
gdp_republic_unrest_district_shutdown_modifier_effect = yesgame/common/scripted_effects/gdp_republic_effects.txt, line 1693 (14 lines). No parameters.
gdp_republic_unrest_district_shutdown_modifier_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1693 of its file. It takes no parameters: gdp_republic_unrest_district_shutdown_modifier_effect = yes. The game's script calls it in 1 place, among them Capital Uprising: The Closed Quarter (event gdp_republic_unrest.0111). Patch 1.21.0, from game/common/scripted_effects/gdp_republic_effects.txt.
The comment above it in the file
Applies a tax penalty modifier to the capital county based on which district is shut down
What it does
- Their capital county › Depending on closed district.district type:
- When closed district.district type is district type:guild district:
- The county gains the modifier “Guild District: Closed” for 5 years
- Artisan Taxes -25%
- The county gains the modifier “Guild District: Closed” for 5 years
- When closed district.district type is district type:market district:
- The county gains the modifier “Market District: Closed” for 5 years
- Urban Taxes -25%
- The county gains the modifier “Market District: Closed” for 5 years
- When closed district.district type is district type:port district:
- The county gains the modifier “Port District: Closed” for 5 years
- Maritime Taxes -25%
- The county gains the modifier “Port District: Closed” for 5 years
- When closed district.district type is district type:bureaucratic district:
- The county gains the modifier “Bureaucratic District: Closed” for 5 years
- Civic Taxes -25%
- The county gains the modifier “Bureaucratic District: Closed” for 5 years
- When closed district.district type is district type:temple district:
- The county gains the modifier “Religious Enclave District: Closed” for 5 years
- Religious Taxes -25%
- The county gains the modifier “Religious Enclave District: Closed” for 5 years
- When closed district.district type is district type:entertainment district:
- The county gains the modifier “Entertainment District: Closed” for 5 years
- Urban Taxes -25%
- The county gains the modifier “Entertainment District: Closed” for 5 years
- When closed district.district type is district type:urban housing district:
- The county gains the modifier “Housing District: Closed” for 5 years
- Urban Taxes -25%
- The county gains the modifier “Housing District: Closed” for 5 years
- When closed district.district type is district type:guild district:
• 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)
gdp_republic_unrest_district_shutdown_modifier_effect = {
capital_county = {
switch = {
trigger = scope:closed_district.district_type
district_type:guild_district = { add_county_modifier = { modifier = gdp_republic_unrest_guild_district_shutdown years = 5 } }
district_type:market_district = { add_county_modifier = { modifier = gdp_republic_unrest_market_district_shutdown years = 5 } }
district_type:port_district = { add_county_modifier = { modifier = gdp_republic_unrest_port_district_shutdown years = 5 } }
district_type:bureaucratic_district = { add_county_modifier = { modifier = gdp_republic_unrest_bureaucratic_district_shutdown years = 5 } }
district_type:temple_district = { add_county_modifier = { modifier = gdp_republic_unrest_temple_district_shutdown years = 5 } }
district_type:entertainment_district = { add_county_modifier = { modifier = gdp_republic_unrest_entertainment_district_shutdown years = 5 } }
district_type:urban_housing_district = { add_county_modifier = { modifier = gdp_republic_unrest_urban_housing_district_shutdown years = 5 } }
}
}
}As written in game/common/scripted_effects/gdp_republic_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls gdp_republic_unrest_district_shutdown_modifier_effect.
Events (1)
- Capital Uprising: The Closed Quarter
gdp_republic_unrest.0111
Source: game/common/scripted_effects/gdp_republic_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.