I’ve made 2 shops, one sell sword, and another one for armors.
I can purchase from both of 'em but when I try to sell a sword to the armorer, it won’t appear in the list
There are a few clever students who have worked this out. My favorite is here:
Hello all! First post, loving the series. I saw a couple episodes back somebody was asking about how to sell items and buy them back, and I have implemented that with a couple simple changes. I wanted to wait until the end to make sure it was going to work with Sam’s code. It’s actually just a change to the GetAvailableConfigs function, and a small tweak to the StockItemConfig class to accommodate.
Also, apologies in advance if my code style looks different, I am not a fan of having the curly b…
2 Likes
system
Closed
July 18, 2022, 10:52pm
3
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.