CaesarTheRome Posted August 27, 2021 Share Posted August 27, 2021 (edited) Hello, So I've been messing with modding for the last few weeks and I have an idea to make the " Heard any rumors" dialogue option within Innkeepers/barkeeps dialogue trees cost a bit of gold. However the guides and references online generally relate to player created NPC's and not already existing lines of dialogue/NPC's such as Delphine etc. My goal here is to learn exactly how to preserve the original dialogue option but simply add a cost of 10 to 15 gold. I have found the specific dialogue trees within CK, but am stuck at that spot because im not sure how to proceed adding the scripts necessary to make the "removeitem" function work correctly. Any help would be appreciated. Edited August 27, 2021 by CaesarTheRome Link to comment Share on other sites More sharing options...
Dromundas Posted August 28, 2021 Share Posted August 28, 2021 I noticed that this type of dialogue is found on different quests relating to each rumor, which could become a mess for compatibility. But to preserve the original dialogue, you can edit the papyrus fragment found on the dialogue. You could also add a cost to the dialogue option text so it's known beforehand, and you can add a condition to the dialogue itself so it doesn't appear if the player lacks gold. If you don't then the game will take less than ten or zero and still work.You could use this in the fragment which avoids setting any properties for this action. You need to add this along with whatever is already found there or the quest alert won't work. akSpeaker.GetDialogueTarget().RemoveItem(Game.GetForm(0x0000000F), 10) Sources:https://www.creationkit.com/index.php?title=RemoveItem_-_ObjectReferencehttps://www.creationkit.com/index.php?title=GetDialogueTarget_-_Actorhttps://www.creationkit.com/index.php?title=GetForm_-_Game Link to comment Share on other sites More sharing options...
Recommended Posts