Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Locks for vehicle doors

Open LordZanos opened this issue 5 years ago • 10 comments

Is your feature request related to a problem? Please describe.

Currently, human enemies can open the doors of a vehicle. Not a big deal normally, but when fighting hordes mixed with feral humans, who can use doors, it's quite annoying to have them simply walk up and open your armored vehicles door and hop in. And by annoying I mean lethal.

Describe the solution you'd like

We currently have cargo locks that allow you to lock some vehicle storage containers to prevent NPCs from opening them, it would be nice to have a door lock part as well.

Describe alternatives you've considered

Well, I could remove all the doors from my car and just weld myself into it, killdozer style.

Additional context

As a side note I think it's weird that enemies can just hop into fast moving vehicles if they happen to be next to a door while it's open.

LordZanos avatar Dec 19 '20 23:12 LordZanos

Sure, it could have the tradeoff that it increases how long it takes to open and close the door since you have to retrieve your keys and use them to lock or unlock the door every time you interact with it. Ideally this would be coupled with a system that hands out a unique id to different keys and locks so they're paired and you can only unlock doors that you have the key for.

kevingranade avatar Dec 20 '20 00:12 kevingranade

Or locking/unlocking a door could be an action like closing curtains. That way you could still forget to lock the door, like the chump you know you are.

Svankensen avatar Dec 20 '20 00:12 Svankensen

There seems to be a rudimentary implementation of this in-game already with the cargo_lock item. This makes the storage space inaccessible to npcs, does that also make them unable to open the door? All vehicle doors have at least some storage so will always be valid targets for cargo_lock,

emptytriangle avatar Dec 21 '20 06:12 emptytriangle

I don't believe it makes the doors unopenable, and cargo_lock is only applicable to specific items, not any item with storage space. It can be installed on hatches, but not doors.

LordZanos avatar Dec 21 '20 13:12 LordZanos

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

stale[bot] avatar Jan 20 '21 15:01 stale[bot]

I second the idea that doors locking work like curtains as explained in the comments above.

matt32106 avatar May 10 '21 21:05 matt32106

See #48902 (@Igryn) for further comments.

actual-nh avatar May 19 '21 23:05 actual-nh

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

stale[bot] avatar Jun 22 '21 17:06 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

stale[bot] avatar Mar 02 '22 23:03 stale[bot]

#61087 was attributed to a different issue but almost perfectly matches this one, taking the "curtain style" approach from the comments.

Numbuh474 avatar Sep 21 '22 06:09 Numbuh474

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

github-actions[bot] avatar Jan 04 '23 19:01 github-actions[bot]