Loner is listed under Base Game. Pack context is included because some traits are not available in a base-game-only save.

Command pair

ActionCommandScope
Add traittraits.equip_trait trait_LonerSelected Sim
Remove traittraits.remove_trait trait_LonerSelected Sim

Quick check

Open the cheat console, enter testingcheats true, select the intended Sim, and then run the command. If the trait does not appear, confirm the internal name and whether the relevant pack is installed.

Copy-ready reference

traits.equip_trait trait_Loner

traits.remove_trait trait_Loner

Back to Create-a-Sim cheats