Pretty sure this is the relevant code for the Character Delete methods, from my 'favorite' class, GameManager.
I'm not sure what you were expecting, the code is mostly just here to cleanup every reference point possible.
Oh, I'm an idiot. So, Good news! I solved the problem (ish). If you want to add starting traits to your Goblins and Woman, I can give you the code here.
C:
private static bool getFlag()
{
bool flag;
GameManager gameManager = GameManager.Instance;
flag = gameManager.GetPlayEventFlag("Initialization");
return flag;
}
Then just add something like this
C:
if (!getFlag())
{
character.AddTrait("TRAIT_ID");
}
To the Initialize() method, and you are golden.
If you want to get Orcs and Sisters instead, that will take a bit more work, particularly if you want to just replace the ones as they come in. But if you just want to have them on hand. . . That I can do for you pretty easy.
This only will work on the Woman file to start with if you don't want copies everywhere.
View attachment 4386990
Ignore any weird goblin color, my character.cs scripts are the same.
This was my nested if statement:
C:
if (!getFlag())
{
character.AddTrait("Damage0");
if (character.DataId == "Woman1")
{
GameManager gameManager = GameManager.Instance;
gameManager.NewCharacter("Orc", "None", "List", 0, 0, 0, -1);
}
}
}
Same method as above to ensure every time a Woman1 pops up it doesn't cause an Orc to spawn in base. Feel free to use Orc_Start with an Orc_Start.character file or whatever you want. You can also just add more NewCharacter("Oni",... ) and what have you as well.
Edit: For those who just want the Woman file I gave as an example (with Damage0 being changed to Damage1 if you don't want to create a new TraitID), here you go.
Edit 2: I strongly advise you not to put Woman1 in the NewCharacter field.