test_achievement Console Command
Documentation and examples for the test_achievement command in Stellaris.
test_achievement
This command tests achievement conditions to see if they've been met without actually unlocking the achievement.
| Parameter | Description |
|---|---|
Achievement IDrequired | The ID of the achievement you wish to test. |
Command builder
Fill in the parameters to build a ready-to-paste test_achievement command.
Examples
Here is an example of how to use test_achievement.
This command tests the 'Colonize a Planet' achievement.
In-depth description
The test_achievement command in Stellaris is used primarily for debugging purposes by game developers.
It lets you test a specific achievement trigger to see if the correct conditions prompt the achievement to be awarded, ensuring its functionality.
This command will trigger a specific achievement that you specify by its internal ID, without fulfilling the normal requirements.
The command does not directly affect gameplay, but it's quite useful for game developers or mod creators who are testing new achievements or troubleshooting existing ones.
The game has a lot of moving parts and conditions to monitor; something as small as a typo or the wrong condition set in an achievement can prevent it from triggering.