Stellaris effect set_planet_flag = Console Command

Documentation and detailed help with working examples.

effect set_planet_flag = Command

Developer

This command sets the flag of the selected planet with the specified flag ID.

effect set_planet_flag = [Flag ID]

Parameters

Flag ID
ID
The ID of the flag you want to set on the selected planet.

Examples

Here are examples of how to use effect set_planet_flag =.

effect set_planet_flag = titanic_life_can_build
This command sets the selected planet's flag to Titanic Life Can Build.
Looking for Stellaris console commands?

Search our complete list!

Quick Overview

The effect set_planet_flag command is used to set a specific flag on the selected planet. Flags are used in game mechanisms to tag specific attributes, states, or conditions to a planet.

This command helps in marking those states in the game's code and manipulating game behavior accordingly. The [flag id] refers to the specific flag you wish to set on the planet.

For example, it could designate a planet as a homeworld or as a colony.

In-Depth Description

The effect set_planet_flag = command in Stellaris is used to apply a specific tag or label (referred to as a flag) to a particular planet in the game.

This command works by associating the selected flag ID with the planet that you select.

Every planet in Stellaris can have certain flags associated with it. Flags are labels that the game's code uses to track various conditions and statuses. They can influence various aspects of the planet such as its resource output, population growth, happiness, and more.

To use this command, you first need to select the desired planet and know the specific flag ID that you want to apply. The command should be typed into the console in the following format: effect set_planet_flag = [flag id].

How to Open the Command Console

In Stellaris, cheats are executed from the command console, a text box that you type commands into.

To open the command console press the ~(tilde) key, which is typically located under ESC (escape).

If your keyboard does not have that key, or pressing ~ does not work, try the following keys:

  • ~
  • SHIFT + 2
  • SHIFT + 3
  • ALT + 2 + 1

Type your command into the console, and then press ENTER .

Was this helpful?