Custom Journal Entries - AnduoGames/ThirdCrisisModding GitHub Wiki

// Create a new JournalEntry and add it to the JournalManager.
var journalEntry = ScriptableObject.CreateInstance<JournalEntry>();
journalEntry.Name = "Modded Entry";
journalEntry.Category = "Modded Category";
journalEntry.Contents = "Modded Contents";

// journalEntry.ID is a property that generates a string out of the category and name.
JournalManager.All.Add(journalEntry.ID, journalEntry);

// Add the entry to the player's journal.
JournalManager.AddEntry(journalEntry.ID, true, true);