Talent, Traveling Salesman, is not working
Disclaimers
- [X] I have searched the issue tracker to check if the issue has already been reported.
- [X] My issue happened while using mods.
What happened?
The perk traveling salesman no longer provides the 4 items on sale. Only the default one item is on sale. The 500 mks is also not added upon reaching a new station.
Reproduction steps
The only "mod" I used was a custom-edited vanilla sub.
Bug prevalence
Happens every time I play
Version
0.18.15.0
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response
I think I figured out what is happening. If you get to a new station (first time only) you get the 500 marks, but you do not get the extra sales. If you revisit an older station you have been to before you do not get the money, but you do get the extra sales.
Its like someone used an if/else statement when they shouldn't have.
Ok that sounds right, because the play through where I was having this issue I wasn’t getting sales until they would “randomly” pop up, probably revisiting the station and I didn’t connect the dots at the time. I also noticed sales DO appear for new spawning stations.
Keep up the good work, love the game! -Michael
On Sun, Sep 11, 2022 at 5:30 PM gerakis @.***> wrote:
I think I figured out what is happening. If you get to a new station (first time only) you get the 500 marks, but you do not get the extra sales. If you revisit and older station you have been to before you do not get the money, but you do get the extra sales.
Its like someone used an if/else statement when they shouldn't have.
— Reply to this email directly, view it on GitHub https://github.com/Regalis11/Barotrauma/issues/9720#issuecomment-1243046938, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2R7DPBAWRJOTESM72GQGVTV5ZFNZANCNFSM56X67EZQ . You are receiving this because you authored the thread.Message ID: @.***>
No longer has the 500Mk gained upon reaching a new station, but the 4 extra items on sale effect still exists in this talent in the rework.
Likely the extra sales bug is still relevant.
Mitigated the issue in https://github.com/Regalis11/Barotrauma-development/commit/4500de7d2a23f38e17a532668b051b2214281b98
Tested against release commit https://github.com/Regalis11/Barotrauma-development/commit/2b57faa07493e732f98261ead832ba904168f57b
Each player/AI with the talent adds additional (+3) instances of store deals. Is this intended? Otherwise the fixes/mitigation does work. if its intended this issue can be closed as completed.
Do we want multiple captains having the same talent stack? @JeroonBosch
No, I think stacking doesn't make sense here @3e849f2e5c
Adjusted in https://github.com/Regalis11/Barotrauma-development/commit/db7a7f0895d5b94a29b6ca25dcf8f8595cc908ae
Tested against talent-fixes-7 commit https://github.com/Regalis11/Barotrauma-development/commit/9eb527b16fa464005755a4f5740234e34035ba54 no issues found, closing.