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

Scripted effect

second_camp_officer_title_revoked_effect

second_camp_officer_title_revoked_effect = yes

game/common/scripted_effects/00_camp_officer_effects.txt, line 142 (18 lines). No parameters.

second_camp_officer_title_revoked_effect is a scripted effect in Crusader Kings III, written at line 142 of its file. It takes no parameters: second_camp_officer_title_revoked_effect = yes. The game's script calls it in 1 place, among them Second (court position). Patch 1.20.1.2, from game/common/scripted_effects/00_camp_officer_effects.txt.

What it does

  • basic_revoked_camp_officer_effect = yes
  • scope:employee:
    • If loyalty dependent on position is scope:liege › scope:liege:
      • remove_hook = { target = scope:employee type = loyalty_hook }
    • If has the Modifier: Working Self to Death: Loses “Working Self to Death”

• 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 (18 lines of game script)
second_camp_officer_title_revoked_effect = {
	basic_revoked_camp_officer_effect = yes
	scope:employee = {
		if = {
			limit = { var:loyalty_dependent_on_position ?= scope:liege }
			scope:liege = {
				remove_hook = {
					target = scope:employee
					type = loyalty_hook
				}
			}
		}
		if = {
			limit = { has_character_modifier = ep3_laamp_flavour_ewan_2071_b_work_self_to_death_modifier }
			remove_character_modifier = ep3_laamp_flavour_ewan_2071_b_work_self_to_death_modifier
		}
	}
}

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

Where it is used

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

Court positions (1)

Source: game/common/scripted_effects/00_camp_officer_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?