Hey everyone, new player, first time poster, first time modder.
I'm wanting to get into modding and I want to start small. I was thinking maybe adding traits would be a good place to start. I'm looking around at the XML files right now, but from what I can gather, the actual effects of the traits may require some C# coding?
For example if we look at Psychopath:
I don't see where the the game would be able to pick up the logic for the actual trait from just this.
Am I wrong in my assumption here?
If not, anyone got an example I can look at?
Thanks.
I'm wanting to get into modding and I want to start small. I was thinking maybe adding traits would be a good place to start. I'm looking around at the XML files right now, but from what I can gather, the actual effects of the traits may require some C# coding?
For example if we look at Psychopath:
Code Select
<TraitDef>
<defName>Psychopath</defName>
<commonality>0.2</commonality>
<degreeDatas>
<li>
<label>psychopath</label>
<description>NAME has no empathy. The suffering of others doesn't bother HIM at all. HECAP doesn't mind if others are butchered, left unburied, imprisoned, or sold to slavery - unless it affects HIM. HECAP also feels no mood boost from socializing.</description>
</li>
</degreeDatas>
</TraitDef>
I don't see where the the game would be able to pick up the logic for the actual trait from just this.
Am I wrong in my assumption here?
If not, anyone got an example I can look at?
Thanks.