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

Scripted effect · The Fate of Iberia files

invite_special_guest_to_activity_effect

invite_special_guest_to_activity_effect = yes

game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 1409 (25 lines). No parameters.

invite_special_guest_to_activity_effect is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 1409 of its file. It takes no parameters: invite_special_guest_to_activity_effect = yes. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.

What it does

  • If

    a check the game hides

    Then

    • scope:the_special_guest:
      • add_to_activity = scope:activity

• 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)
invite_special_guest_to_activity_effect = {
	if = {
		limit = {
			exists = var:special_guest
		}

		var:special_guest = {
			save_scope_as = the_special_guest
		}

		save_scope_as = sender

		scope:the_special_guest = {
			add_to_activity = scope:activity

			set_variable = {
				name = booked_for_a_party
				value = scope:sender
				days = 20
			}
		}
		
		remove_variable = special_guest
	}
}

As written in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.

Where it is used

No file of common/, events/ or history/ calls it.

Source: game/common/scripted_effects/03_dlc_fp2_scripted_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?