CK3Cheats.com

effect = { every_courtier_or_guest = { set_culture = global_var:char_culture }} Console Command

Documentation and examples for the effect = { every_courtier_or_guest = { set_culture = global_var:char_culture }} command in Crusader Kings III.

effect = { every_courtier_or_guest = { set_culture = global_var:char_culture }}

Scripting

This command changes the culture of every courtier and guest to match their ruler's culture.

Overview

The effect = { every_courtier_or_guest = { set_culture = global_var:char_culture } command is a script command that has a specific impact on the courtiers (nobles who serve a ruler) and guests in the game.

This command changes their culture to match that of their ruler's defined culture.

The command breaks down as follows:

  • effect = {: This signifies the start of an 'effect' block of code, defining an outcome or alteration that's set to take place in the game.
  • every_courtier_or_guest = {: This further specifies whom the effect will apply to. In this case, it refers to all courtiers or guests.
  • set_culture =: This code instructs the game to change (set) the culture of the designated characters.
  • global_var:char_culture }: This specifies the new culture value to be assigned to the characters. global_var:char_culture is a variable that would be defined earlier in the script or game and would correspond to the ruler's culture.

This command could be useful in scenarios where a player wishes to force a cultural uniformity within their court, perhaps to minimize the potential for internal conflict, promote a specific culture over others, or for role play purposes.