guillaumearm / PathToTarkov

The Tarkov open-world experience (spt)
https://hub.sp-tarkov.com/files/file/569-path-to-tarkov
MIT License
4 stars 6 forks source link

Suggestion: Replace override path from the trader description to their actual location field #17

Open NarcoticsRx opened 3 months ago

NarcoticsRx commented 3 months ago

https://github.com/guillaumearm/PathToTarkov/blob/96a773277a45dbdbfece2015747306b77c94c59b/src/traders-controller.ts#L52

Alternatively, you could use:

const localeId = `${traderId} Location`;

This is preferrable imo, though it does probably limit the length of the strings you would be able to use comparatively - but trader descriptions are cool, so I prefer to keep those intact. (;