Lillysdad2009 Posted September 3, 2015 Share Posted September 3, 2015 Can anyone help me with changing the amount of gold that I give to the beggars and children. I can't seem to find what controls the amount, the only thing I can find that shows a relation to the beggar and the amount of gold. Is the (1 gold) part of the dialogue. Any help would be super duper. Link to comment Share on other sites More sharing options...
KunoMochi Posted September 3, 2015 Share Posted September 3, 2015 I looked at one of the beggars in Whiterun (Brenuin) and went through his dialogue. There's a Papyrus script fragment associated with the "Here. Have a gold piece. (1 gold)" favor dialogue that states: Game.GetPlayer().RemoveItem(Gold, 1) akspeaker.additem(gold, 1) That looks like it is controlling how much gold is being taken out of your pocket and putting into the speaker actor. In this case, it is removing 1 gold piece from the player and adding 1 gold piece for Brenuin. I suspect that if you want it to have it changed to 10 gold pieces, you'd have to change it to this instead: Game.GetPlayer().RemoveItem(Gold, 10) akspeaker.additem(gold, 10) Note the 1 has been changed to 10. You may have to go through and change that for every beggar NPC. I don't know if there may be a better way to go about it. Link to comment Share on other sites More sharing options...
sLoPpYdOtBiGhOlE Posted September 3, 2015 Share Posted September 3, 2015 I'm curious why they originally used 2 function calls to give a piece of gold.. Game.GetPlayer().RemoveItem(Gold, 1, false, akSpeaker) Link to comment Share on other sites More sharing options...
KunoMochi Posted September 3, 2015 Share Posted September 3, 2015 I suspect that the coding wasn't there yet for the RemoveItem function when they first implemented it. I could be wrong, though, as I only started getting into all of this a couple of months ago. lol Link to comment Share on other sites More sharing options...
Lillysdad2009 Posted September 9, 2015 Author Share Posted September 9, 2015 Thank you very much, I couldn't find the fragment anywhere. I will take a look at it and see what happens. Link to comment Share on other sites More sharing options...
Lillysdad2009 Posted September 9, 2015 Author Share Posted September 9, 2015 Now that you have helped me locate the fragment. Everything works perfectly. Kudos! Link to comment Share on other sites More sharing options...
Recommended Posts