Stellaris planet_happiness command

This command adds a modifier with <span class="parameter parameter-primary">Amount</span> happiness to the selected planet. The default is 100.
Command syntax
planet_happiness <span class="parameter parameter-primary">Amount</span>
Example
planet_happiness 35
How to open the console in Stellaris
Press the ~ / ` key to open the command console. This key is located at the top left of the keyboard, usually under the F1 or ESC key. Type the command and press the Enter key.