Posts: 437
Thanks: 5336 in 22 Posts
20 Achievements
The easiest and safest way to do it is:
Code:
sim.Motives.ChangeValue(motive, amount);
Where "motive" is a CommodityKind (an enum representing many different visible and invisible motives) and "amount" is the amount of points you want to add to it. If you want to decrease the CommodityKind, make "amount" negative.
"The Internet is the first thing that humanity has built that humanity doesn't understand, the largest experiment in anarchy that we have ever had." - Eric Schmidt
If you enjoy the mods I put out, consider supporting me on patreon:
www.patreon.com/Gamefreak130