I'd rather do it properly this go around. I know I'd need to edit NPC dialogue (of course, lol.). But how exactly would I add the key and remove the gold? Sorry, it's probably quite simple.


Cant figure them out for the life of me!




I'll be leaving soon, so I won't be here to reply. But any info you can share would be most appreciated. 
Is the rest of my code correct, it compiled without issue so the syntax must be good.;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment;NEXT FRAGMENT INDEX 1Scriptname TIF__01002DD5 Extends TopicInfo Hidden;BEGIN FRAGMENT Fragment_0Function Fragment_0(ObjectReference akSpeakerRef)Actor akSpeaker = akSpeakerRef as Actor;BEGIN CODEgame.getplayer().removeitem(gold, HDSolitudeBasemant.value as int);END CODEEndFunction;END FRAGMENT;END FRAGMENT CODE - Do not edit anything between this and the begin commentMiscObject Property Gold Auto int Property GoldAmount Auto
Here's my code now. I'm just trying to get it to remove the gold atm. It's not working. It complies, but doesn't do anything in game. I set the properties properly. Lol.