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

Scripted effect

basic_revoked_camp_officer_effect

basic_revoked_camp_officer_effect = yes

game/common/scripted_effects/00_camp_officer_effects.txt, line 65 (64 lines). No parameters.

basic_revoked_camp_officer_effect is a scripted effect in Crusader Kings III, written at line 65 of its file. It takes no parameters: basic_revoked_camp_officer_effect = yes. The game's script calls it in 27 places, among them archer_captain_camp_officer_title_revoked_effect (scripted effect), armorer_camp_officer_title_revoked_effect (scripted effect) and camelry_captain_camp_officer_title_revoked_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_camp_officer_effects.txt.

The comment above it in the file

Basic effect for losing a court position

What it does

  • scope:employee: Opinion: Revoked My Officer Position
  • scope:employee:
    • remove_opinion = { target = scope:liege modifier = made_me_officer_opinion }
  • scope:liege › Every Courtier:

• 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 (64 lines of game script)
basic_revoked_camp_officer_effect = {
	scope:employee = {
		add_opinion = {
			modifier = revoked_camp_officer_opinion
			target = scope:liege
		}
	}
	# Lose whatever you might have gained.
	scope:employee = {
		remove_opinion = {
			target = scope:liege
			modifier = made_me_officer_opinion
		}
	}
	scope:liege = {
		# If they now dislike us sufficiently, then set up a potential rivalry.
		hidden_effect = {
			if = {
				limit = {
					reverse_opinion = {
						target = scope:employee
						value <= -50
					}
					can_set_relation_potential_rival_trigger = { CHARACTER = scope:employee }
				}
				set_relation_potential_rival = scope:employee
			}
		}
		# Plus, some ripple consequences.
		every_courtier = {
			limit = {
				this != scope:employee
			}
			# Friends'n'lovers.
			if = {
				limit = {
					has_any_moderate_good_relationship_with_character_trigger = { CHARACTER = scope:employee }
				}
				remove_opinion = {
					target = scope:liege
					modifier = made_friend_officer_opinion
				}
			}
			# Foes...
			if = {
				limit = {
					has_any_moderate_bad_relationship_with_character_trigger = { CHARACTER = scope:employee }
				}
				remove_opinion = {
					target = scope:liege
					modifier = made_foe_officer_opinion
				}
			}
			# ... and family who are not foes.
			else_if = {
				limit = { is_close_or_extended_family_of = scope:employee }
				remove_opinion = {
					target = scope:liege
					modifier = made_family_officer_opinion
				}
			}
		}
	}
}

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 basic_revoked_camp_officer_effect.

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?