Hi I'm thinking about making a mod that adds a few perks to the game. There a few points in the vanilla game that I would like have these perks appear in dialogue and offer alternate solutions for quests like the other perks, special, or skills.
I'm fairly new to using the GECK, but I am able to directly change the vanilla quests to add these options. The reason I am asking for help is mostly because I know directly editing the vanilla quest's dialogue is a bad idea due to it causing incompatibilities with other plug ins that edit the same NPC/quest. I also know that you can use scripts to add topics whenever tagging "Top-Level" isn't good enough.
What I need help with is:
1. How would I go about adding topics via scripts in the first place
2. How would I add my own topics (with scripts) after choosing a vanilla topic (let's use the line where you lie to Marjorie about being a cannibal from "Beyond the Beef" as an example. Say I wanted to have the option to apologize for lying after saying the lie, how would I add that topic using only a script.)
3. Can I/How do I add more choices to existing choice branches (Example, the white glove food vendor in the gourmand will give two choices after the greeting, either "goodbye" or "let me see what you have". I want to add a third choice to that with a script, so I don't have compatibility issues with any other mods that edit that NPC's dialogue.)