The default example only adds the trader to the trading menu, but doesn't display the trader in ragfair too (like how the default traders are). With this PR, the trader's inventory is also available in ragfair.
Reviewed-on: #12
Co-authored-by: Merijn Hendriks <senko-san@noreply.dev.sp-tarkov.com>
Co-committed-by: Merijn Hendriks <senko-san@noreply.dev.sp-tarkov.com>
Move some code to new class `traderHelper`
More comments
Added example of constructing weapon from scratch
exposed trader update time as parameter instead of hard coding
Add additional example for adding singular item with different params
Added ability to add buy restrictions to items