Newbiespud Posted April 26, 2021 Share Posted April 26, 2021 I've had a couple of issues now where, despite having loved grafts and hated grafts in the Compendium and everything else seeming to work right, characters that originate in mods don't register social events - not Love, not Hate, not even that you've met. Take this boss version of Rook, for instance, a character def created by a file in my mod. Despite us clearly meeting and talking, there is absolutely no social connection aspect to the agent, just health and morale. The character portrait in the corner doesn't even indicate that he's neutral to me. Other brand-new character defs I've tried to add, since deleted, also ran into this problem, and up until now I assumed it was a mistake on my end. But looking at other files that use Content.AddCharacterDef, I haven't been able to tell what I'm missing that might cause this. So now I'm wondering: Is there an issue that prevents modded characters from gaining a social connection aspect? Link to comment Share on other sites More sharing options...
RageLeague Posted April 27, 2021 Share Posted April 27, 2021 You probably forgot to inherit the base def for your modded characters. All characters inheriting the NPC_BASE has a social connections aspect. My modded characters work fine. Link to comment Share on other sites More sharing options...
Newbiespud Posted April 27, 2021 Author Share Posted April 27, 2021 25 minutes ago, RageLeague said: You probably forgot to inherit the base def for your modded characters. All characters inheriting the NPC_BASE has a social connections aspect. My modded characters work fine. Weirdly, setting base_def = "NPC_BASE" didn't resolve the problem, but manually adding aspects = { social_connections = true,} to the def did. Link to comment Share on other sites More sharing options...
RageLeague Posted April 27, 2021 Share Posted April 27, 2021 You need to call CharacterDef:InheritBaseDef() to actually do stuff Link to comment Share on other sites More sharing options...
Newbiespud Posted April 27, 2021 Author Share Posted April 27, 2021 44 minutes ago, RageLeague said: You need to call CharacterDef:InheritBaseDef() to actually do stuff Ah. Well, monkey see, monkey do, monkey don't see, monkey don't do. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.