Barotrauma icon indicating copy to clipboard operation
Barotrauma copied to clipboard

Talent, Traveling Salesman, is not working

Open BigMike3180 opened this issue 3 years ago • 2 comments

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

BigMike3180 avatar Aug 17 '22 03:08 BigMike3180

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.

gerakis avatar Sep 11 '22 21:09 gerakis

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: @.***>

BigMike3180 avatar Sep 12 '22 00:09 BigMike3180

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.

JeroonBosch avatar Oct 17 '22 08:10 JeroonBosch

Mitigated the issue in https://github.com/Regalis11/Barotrauma-development/commit/4500de7d2a23f38e17a532668b051b2214281b98

3e849f2e5c avatar Oct 27 '22 10:10 3e849f2e5c

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.

NilanthAnimosus avatar Nov 30 '22 21:11 NilanthAnimosus

Do we want multiple captains having the same talent stack? @JeroonBosch

3e849f2e5c avatar Dec 05 '22 12:12 3e849f2e5c

No, I think stacking doesn't make sense here @3e849f2e5c

JeroonBosch avatar Dec 07 '22 08:12 JeroonBosch

Adjusted in https://github.com/Regalis11/Barotrauma-development/commit/db7a7f0895d5b94a29b6ca25dcf8f8595cc908ae

3e849f2e5c avatar Dec 07 '22 08:12 3e849f2e5c

Tested against talent-fixes-7 commit https://github.com/Regalis11/Barotrauma-development/commit/9eb527b16fa464005755a4f5740234e34035ba54 no issues found, closing.

NilanthAnimosus avatar Dec 09 '22 15:12 NilanthAnimosus