Hi there! I'm trying to create some events that trigger or erase based on two factors: the marriage status of the player character, and who their spouse is. Specifically, I'm trying to create some npc/npc romance events that will only happen if the player is already married, and won't happen if one of the NPCs involved is already married to the character. While I could copy the same event with multiple spouse triggers, ideally I'd like to keep this mod as simple as possible and just have the initial events triggered by the marriage event (if there is a single Event ID for it) and erased if married to an involved NPC. However, looking through the XNB files I can't seem to locate the marriage event to find the ID. Is there an ID for that event at all?
Here's a handy list that contains a lot of ID's https://docs.google.com/spreadsheets/d/1CpDrw23peQiq-C7F2FjYOMePaYe0Rc9BwQsj3h6sjyo/edit
I'm starting with XNB edits, I'm not super familiar with the method to create mods in Content Patcher.
Content Patcher is just a small step up from XNB modding and it will solve your issue You can make the event trigger like this: Code: { "LogName": "Marriage Trigger", "Action": "EditData", "Target": "Data/Events/<where the event will take place>", "When": { "Relationship": "Abigail:Married, Leah:Married, Maru:Married, Haley:Married, Emily:Married, Penny:Married, Elliott:Married, Sebastian:Married, Shane:Married, Sam:Married, Alex:Married, Harvey:Married", }, "Entries": { <Create your event here> }, }, If you want some help.. it's very similar to my Debauchery Mod i'm developing. You can join us in the Stardew Valley modding discord