So I wrote this script from dialogue, and it won't work. I was hoping someone might know a way to do this.
Scriptname TraderJoe extends ReferenceAlias Alias Property dunUniqueButterflyInajar Auto MiscObject Property ItemReward Auto Int Property Multiplier Auto =1Alias Property Burke Auto function goldtrader() Burke.GetReference().AddItem(dunUniqueButterflyInajar.GetReference()) Game.GetPlayer().AddItem(ItemReward, 500 * multiplier) Multiplier = Multiplier + 1endFunction
