@draghi posted a new topic, subject "Walking on Boat Hulls, or around a boat-type vehicle gives Wet debuff and plays water splash sound effect". It read:

   Hello, it would seem walking around a boat vehicle constantly gives the wet debuff, walking on a boat interior shouldn't keep you dry?

Then @mlangsdorf (mlangsdorf) said

    Yes, you're absolutely right and I would fix this if I could figure out where in the code the morale buff is applied. I don't think it's in the vehicle code and I'm pretty sure it's not in the suffer() code. I haven't found it anywhere else but I haven't looked hard.

So @int_ua (Serhiy Zahoriya) replied

    Isn't it a problem of them being not boardable?

So @GiggleGrassGatherer replied

    Seems to be it. I used inflatable boat couple days ago, and it was strange. Sometimes it allowed me to board it from one of top tiles only, and vertical movement only, any other approach resulted in “do you really want to drown in that deep water?”. Sometimes it was diagonal movement that did the trick. Sometimes it made my character wet (other place, with shallow water), sometimes it didn't. There's definitely something wrong with boarding boats but i couldn't catch the pattern.

So @mlangsdorf (mlangsdorf) replied

    No, it's a problem with the code that applies the wetness morale penalty not checking if you're in a watertight vehicle. Boardable has nothing to do with it.

To which @int_ua (Serhiy Zahoriya) replied

    I opened code to check different function but noticed the drenching code in player.cpp and it already checks `if ( !in_vehicle )`  
    Maybe that `in_vehicle` variable is not set correctly somewhere, IDK. Will check later.

So @mlangsdorf (mlangsdorf) replied

    Thanks, I'd missed that code. Fix posted: https://github.com/CleverRaven/Cataclysm-DDA/pull/40026


{'source': 'discourse', 'url': 'https://discourse.cataclysmdda.org/t/walking-on-boat-hulls-or-around-a-boat-type-vehicle-gives-wet-debuff-and-plays-water-splash-sound-effect/23433', 'title': 'Walking on Boat Hulls, or around a boat-type vehicle gives Wet debuff and plays water splash sound effect', 'views': 493, 'has_accepted_answer': True, 'word_count': 271, 'like_count': 5, 'reply_count': 5, 'participant_count': 4, 'posts': 7, 'tags': '', 'author': '@draghi', 'participants': '@draghi, @mlangsdorf (mlangsdorf), @int_ua (Serhiy Zahoriya), @GiggleGrassGatherer', 'image_url': [None], 'created_at': '2020-04-27T16:32:48.315Z', 'last_posted_at': '2020-04-30T11:16:14.210Z'}