StellarisDB

Federation Code

Tier 1 society technology · Statecraft
SocietyTier 1Statecraft

Federation Code is a tier 1 society technology (Statecraft) in Stellaris 4.5.2. Its base cost is 1,250 research. It needs Colonial Centralization. It leads to Xeno Diplomacy. Console: research_technology tech_federation_code.

Federation CodeStatecraft· tier 11,250
Base cost
1,250
Area
Society
Tier
1
Draw weight
85
Path from start
3 techs, 4,750 research
ID
tech_federation_code

What Federation Code does

Modifiers as the game prints them, from the technology's modifier block; then the unlock lines its research card shows.

  • -25%Diplomatic Agreement Influence Upkeep
  • Unlocks Diplomacy: Form Federation

What Federation Code unlocks

Everything in the game files that lists this technology as a prerequisite; “condition” marks objects that check for it in their conditions instead.

Diplomatic action · 1
  • Action Invite To Federationcondition

How to get Federation Code

Research in Stellaris is drawn: each area offers 3 cards at a time, weighted by each technology's draw weight (here 85) and its weight modifiers.

The whole research path: 3 technologies, 4,750 base research with this one
  1. Unified Governmentstarting tech
  2. Societal Unification1,000 · tier 1
  3. Colonial Centralization2,500 · tier 2
Conditions (potential)

What Federation Code leads to

Technologies that list it as a prerequisite.

In the game

A Federation must be more than goodwill and shared ambition. This code provides the groundwork for a unified interstellar order, ensuring cooperation and stability among its members.

Console command

Typed in the game's console (the ~ key); achievements are off for that game.

research_technology tech_federation_code
Draw weight script, as in common/technology/00_soc_tech.txt
factor = 2
modifier = {
	factor = 2
	is_galactic_community_member = yes
}
modifier = {
	factor = 2
	has_ethic = ethic_fanatic_xenophile
}
modifier = {
	factor = 1.25
	has_ethic = ethic_xenophile
}
modifier = {
	factor = 0.5
	has_ethic = ethic_xenophobe
}
modifier = {
	factor = 0.25
	has_ethic = ethic_fanatic_xenophobe
}

Federation Code: questions

How do I get Federation Code in Stellaris?

Research Colonial Centralization first (3 technologies in the whole chain); then Federation Code can be drawn as one of the 3 society research options. It also has conditions (see Requirements on this page).

What does Federation Code do?

It gives -25% Diplomatic Agreement Influence Upkeep. It unlocks Action Invite To Federation (diplomatic action). It leads to Xeno Diplomacy.

What is the ID of Federation Code?

The technology's ID is tech_federation_code. To get it with the console: research_technology tech_federation_code (Stellaris 4.5.2).

How much does Federation Code cost?

1,250 society research before modifiers. In game the cost grows with empire size (+0.2% per point above the base, common/defines) and the galaxy's tech cost setting.

Source: common/technology/00_soc_tech.txt and localisation/english, Stellaris Cygnus v4.5.2 (9776). Base numbers before empire-size and difficulty modifiers.

Spotted a mistake on this page?