CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

remove_inefficient_census_modifier_effect

remove_inefficient_census_modifier_effect = yes

game/common/scripted_effects/00_county_corruption_effects.txt, line 1234 (25 lines). No parameters.

remove_inefficient_census_modifier_effect is a scripted effect in Crusader Kings III, written at line 1234 of its file. It takes no parameters: remove_inefficient_census_modifier_effect = yes. The game's script calls it in 3 places, among them marshal_remove_random_county_corruption_modifier_effect (scripted effect), remove_every_county_corruption_modifier_effect (scripted effect) and remove_random_county_corruption_modifier_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_county_corruption_effects.txt.

What it does

  • Their holder:
    • If a check the game hides passes: the same again (1 line)
      • scope:county: The county loses the modifier “Inefficient Census”

      Otherwise

      • scope:county: The county loses the modifier “Inefficient Census”

• 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 (25 lines of game script)
remove_inefficient_census_modifier_effect = {
	save_scope_as = county
	holder = {
		if = {
			limit = {
				exists = scope:marshal_removal
			}
			send_interface_message = {
				type = msg_county_corruption_good_increase_control
				title = remove_county_corruption.message.marshal_removal
				left_icon = scope:county
				right_icon = scope:councillor

				scope:county = {
					remove_county_modifier = county_corruption_inefficient_census_modifier
				}
			}
		}
		else = {
			scope:county = {
				remove_county_modifier = county_corruption_inefficient_census_modifier
			}
		}
	}
}

As written in game/common/scripted_effects/00_county_corruption_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls remove_inefficient_census_modifier_effect.

Source: game/common/scripted_effects/00_county_corruption_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?