Thank you so much for the reply!
I have very limited understanding of scripts though, and I have some questions about the one you posted:
-Where in the script do I specify how much gold I want the merchant to maintain? Or am I not supposed to... does it just work based on how much is already in the container?
-Do I need to change any reference names so it points to a specific container?
-Is the script supposed to be attached to the merchant's container?
I went ahead and attached the script to my merchant's container... but I did not observe any changes in game. It didn't seem like the gold amount was being controlled or altered in any way. I'm not suggesting your script doesn't work... its likely I'm doing something wrong or don't understand the script too well.
If you attached the script directly to the container, it should be on every reference of that container as well.
Where you attach the scripts, there should be a button called "Properties". Click on it (make sure you selected the script first). Near the bottom of the new window, there'll be a button labelled "Auto-fill All", click on that as well. You should get a prompt telling you 1 property was auto filled. There'll still be one property that wasn't filled: gold_amount. That's the amount of gold your container should hold, click on "Edit Value" and enter an integer value.
Hopefully that made sense, I'm not very good with directions.