I created two quest alias, one simply referring to the JunkChest. The other, SellItem I created as Find Matching Reference with Match Condition:
Note: this isn't a script, I'm just using this box to make this info look clearerCondition Item:GetInContainer Reference:"QutChestJunk"Run on Quest Alias: JunkChest
Now I have two dialogue paths, one for selling the item, and one for saying that the chest is empty. The empty chest path has the following condition:
DoesNotExist == 1Run on Quest Alias: SellItem
PROBLEM # 1: I only ever get the empty chest dialogue, which indicates to me that either the Alias SellItem isn't being picked properly or that DoesNotExist isn't that right condition for that dialogue node (I tried finding a ContainerEmpty condition or something similar, but no luck)
PROBLEM # 2: The CK doesn't like the script fragment I have on the dialogue option that something got sold.
Game.JunkChest.RemoveItem(SellItem, 1)Game.GetPlayer().AddItem(Gold001, (SellItem.GetGoldValue()));including these properties so you see that I set them!ReferenceAlias Property SellItem AutoReferenceAlias Property JunkChest AutoMiscObject Property Gold001 Auto
I've tried several different iterations of the above script, but it doesn't like the functions RemoveItem and GetGoldValue, saying they don't exist.
Any thoughts?

