CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.71k stars 4.2k forks source link

Naked standard size character can't sit in prison bus driver's seat #74560

Open PatrikLundell opened 5 months ago

PatrikLundell commented 5 months ago

Describe the bug

I'm trying to drive a prison bus (or at least see if I can drive it), but am unable to enter the driver's seat despite having dropped all items, including clothing.

Attach save file

Hawaiian Ocean View-trimmed.tar.gz

Steps to reproduce

  1. Try to enter the driver's seat. Fail.
  2. Go to the door and drop the rest of the clothing.
  3. Return to the seat and try to enter it.
  4. Fail.

Expected behavior

I expect a normal character to be able to enter the driver's seat of all normal vehicles.

Screenshots

No response

Versions and configuration

Additional context

The cramped space is a PITA even in the normal case.

My character got trapped in the back seat of his vehicle earlier in this session: managed to move from driver's seat to the middle back seat, but not back. Fortunately, there was space to drop items, or my character would have been permanently trapped due to the buggy cramped space code.

Is it realistic? Yes. Is it fun? No, not in the least.

worm-girl commented 5 months ago

Crossposting that the best solution is probably:

1) Add 10 or 20 liters of capacity to all applicable seat and cargo spaces. The original values were guesstimates based on the fact that a seat can hold a person, and at the time a bit more than a person was only like 72 liters. People are bigger now, seats should be, too.

2) Remove the bit of code that checks for adjacent unroofed accessible tiles when trying to grant a space a small capacity bonus. This is confusing people. It should only check the target tile to see if it's unroofed.

PatrikLundell commented 5 months ago

10-20 liters added to a 72 liter base is FAR too little, as it still won't allow a tall normal weight human to fit, let alone a fat one, and that's before they actually wear any clothes. An overweight 2 meter tall human wearing normal cop equipment should fit, as a bare minimum. An obese one ought to be able to cram itself into the seat. I don't know at which obesity level above that you should start to require stripping, but it seems very obese people are actually able to use cars without having to strip naked.

worm-girl commented 5 months ago

10-20 liters added to a 72 liter base is FAR too little, as it still won't allow a tall normal weight human to fit, let alone a fat one,

If you review the current seat capacities, you will see that they're around 85-100 liters each, so it would be adding 20 to that, not to 72.

Ideally a standard bucket seat should be a cramped fit for a tall person and impossible for a tall (180cm+) person with a large backpack, but comfortable for someone of nominal height and weight with no backpack. Recliners and bench seats should be more permissive. It shouldn't be too hard to dial the sizes in based on that logic. This is something anyone could work out by adjusting the json values and trying differently sized and equipped characters.