New skill: Lockpicking

First of all I want ot thanks DarklingWolf and everyone, who took development of this branch of Cataclysm. Great job guys.

When I heard, that Cataclysm development continues in CataclysmDDA, I decided to play it again after a year. I tried many new additions and I think that I found only small part of new features. But I think it needs one feature that I didn’t find: Lockpicking.


I have created a new character, took quest to retrieve a dog from the NPC’s house, raided nearby shops, hid in the bathroom, smoked some weed and read books all day. When the night came I creeped through zombie infested (probably) streets to the house where poor dog was. I came to the front door, reached it and… What? Locked? That dumbass forgot to took his dog, but didn’t forget to lock his froont door and make sure that all windows are closed? And he didn’t give me the keys? For a moment I thought of abandoning his request, but when I imagined the dog, starving alone in locked house, I decided to free poor creature. I rammed into door with all my strenght. Then the horde came and ate me. The End.

[hr]
[size=12pt]What is lockpicking:[/size]
This is a skill and an action you can perform on locked doors, containers and probably other things using lockpics. It will be more silent than smashing and even prying open closed doors and containers, but it will take more time.

[size=12pt]How is it works:[/size]
How to start picking lock:
activate lockpick on something locked.
Mechanics of lockpicking:
Locked object has two parameters: difficulty and complexivity. Difficulty is how hard given lock is; complexivity is how much work is needed to open it. For example simple lock which can be opened using only a finger but requires one hungred revolutions to unlock have very low difficulty but large complexivity.
One lockpicking action takes 1 minute or 1000 action points (if you want character speed to effect lockpicking speed). It compares your lockpicking check (which equals [tt] + [0Dex, 0.5Dex][/tt]) with lock difficulty. If your result is less than difficulty then you fail. Usually you just lose all your progress and should start again, but some object can have special penalty for failed lockpicking: ring an alarm, electrocut you, explode, made large amount of noise jam the lock and others.
If you succeeded your lockpicking check you will add [tt] − difficulty[/tt] progress points. Yes, even if you succeded, you can make no progress.
After that, check your if amount of progress points larger or equal lock comlexivity. If so, lock is opened, if not — new lockpicking action starts immediately. You cannot stop picking a lock as you cannot stop crafting or building. So you don’t know amount of time it will take beforehand. As other actions this is interruptible by monsters or other conditions. If you agrees to stop picking a lock when prompted, you lose all progress you made, but don’t suffer consequences of failing.
For each lockpicking action you didn’t fail you will get a little amount of experience. For action where you have opened the lock, you get much larger amount of experience. You don’t get any experience if you fail a lockpicking check that round. This is to prevent players from finding hard lock without penalties for failing and grind experience to gain high level of lockpicking.


Kevin is tired by having to run from a horde each time he barges into closed house to loot it. He decided to get some experience in picking locks so he may slip into houses unnoticed. He found locked wardrobe inside house. It has a simple lock with difficulty of 1 and comlexivity of 3. Armed with improvised lockpick he made on a spot, Kevin begins to pick lock. As he have average dexterity of 8 and no experience with lockpicking his roll will be [tt]0 + [0, 4][/tt]. He rolls 3, which good enough to beat the difficulty of 1, and he gets 3 − 1 = 2 progress points and get a little experience. It is less than comlexivity of 3, so next lockpicking action immediately starts. He rolls 1, enough to beat the difficulty, but he gets [tt]1 − 1 = 0[/tt] points and didn’t make any progress this action, but still gets experience. On next action he rolls 3 again, gets [tt]3 − 1 = 2[/tt] progress point raising his total to 4. This is more than 3, so the lock is opened and Kevin gets experience for this action and for opening the lock. Also he get access to stuff inside! He have a speed of 100, so his three lockpicking actions took 3 minutes total.

[spoiler=Draft plan for implementation:]
Legend:

[ul][li][ ! ] — CORE feature. Absolutely needed.[/li]
[li][ + ] — GOOD to have around. Should be implemented after core features.[/li]
[li][ ? ] — MAYBE will be implemented. Unnesessary changes to other aspects of the game and bonus features.[/li][/ul]

[ ! ] Dummy skill, should be able to distribute points to it during character creation, should show in character screen.
[ ! ] LOCKED atribute. Should have difficulty and complexivity fields and fail penalty.
[ ! ] Lockpick item, should be able to use it with ‘a’. It should check if object is LOCKED and react accordingly: start lockpicking or give a message “This isn’t locked” or whatever… Should be craftable. No skkills needed.
[ ! ] Lockpicking process. Time skip, interrupts, mechanics, experience gain.
[ + ] Locked container support. (I think we already have supply crate you can pry with a crowbar, but ability to unlock a freezer in bar would be nice!)
[ + ] Terrain generation. Chance for doors to be locked. Easy locks on wardrobes and inside doors in houses, a little harder on outside doors, hard locks on pharmacies and weapon shops…
[ + ] Different lockpicks: lockpick set can be crafted with lockpicking and mechanics, gives you [0.25Dex, 0.75Dex] random bonus instead of default.
[ ? ] Locked vehicles.
[ ? ] One sided locks: As I remember we have something similar with windows, where we cannot open them from outside. So the door may be openable from one side, but reqire lockpicking from another (Your everyday lock). Or pickable from one and only pryable/smashable from another (padlock). Or openable from one side and smashable from another (Bolted door).
[ ? ] Balance prying: some doors can be more easily pried than picked (outside house doors, the are thin and could be pried faster than picked) or othewise (iron doors to ammo storage)
[ ? ] Picking one from a set of double doors opens both.[/spoiler]
[hr]

I am waiting for your suggestion, corrections and general opinions.

Lock picks are in game.

Also no more skills, that would break JUST ABOUT FUCKING EVERYTHING IN THE GAME.

I know, I’ve tried adding skills.

Yeah, lockpicks already exist and use the mechanics skill.

I don’t think lockpicking would have any value as a independent skill, given that you can just break a window with a rock or crowbar the door open in most places.

I found that out via code-diving. Is the Mechanics-basis stated somewhere?

(Seeing as one can break them now, I don’t think they’re repairable, and they aren’t that common, I’d want players to know that it’s not a straight Dex check or something. Felt like it was back in 02 Feb.)

Hmm,… I’ve never seen a lockpick, but I suppose they wouldn’t be just lying around everywhere. Can they be crafted?

I’m new to this version of the game, and it’s been awhile since I played the old Cataclysm. But I didn’t seem to have any problem finding unlocked doors back then. Now? I almost never find a door that’s unlocked. Is it just my imagination, or was that a deliberate change to the game?

It just seems so weird to me that everyone has carefully locked their doors before dying to the zombie horde. Wouldn’t there be a few people who forgot to lock up behind them as they were running away? Now, especially with the static spawn option, I feel forced to start with enough Mechanics skill to craft a crowbar, since I can’t seem to do anything at all without it.

It’s no big deal, certainly, but it does seem kind of odd to me.

Most front doors around here lock themselves when you close them
And anyway, you can just smash the window and go in that way. A crowbar makes about as much noise as breaking a window.

I do think the number of locked doors is a “wee” bit unrealistic myself, having lived for many years in the setting area. But I’m more concerned about the gameplay balance. After all, this IS the future, and people do seem to be growing increasingly more paranoid.

And a disaster seems like exactly the sort of situation where you would want to lock your doors to deter looters, right? :stuck_out_tongue:

Edit :- Failure to read properly, sorry.

Edit 2 :- Actually maybe not, is it currently possible to craft picklocks? and if not is there a chance they could be added?

[quote=“GlyphGryph, post:8, topic:514”]I do think the number of locked doors is a “wee” bit unrealistic myself, having lived for many years in the setting area. But I’m more concerned about the gameplay balance. After all, this IS the future, and people do seem to be growing increasingly more paranoid.

And a disaster seems like exactly the sort of situation where you would want to lock your doors to deter looters, right? :P[/quote]

Let’s blend those two things together. Some people, either because they just didn’t always lock up, or because they ran off in a hurry, have left their houses unlocked. Other people have not only locked their doors, but armed the futuristic security systems they had installed as paranoia spiked. Robot guard dogs, alarms on the doors and windows that will alert zombies and also summon automated security response forces, steel traps if a crook does get inside to lock them in, the kinds of things people install when they have something worth hiding or protecting.

Ah, I didn’t realize that. I knew that using a crowbar would make some noise, but I thought it would be much less than smashing a window. Heck, I’d be far better off to smash a back window, then, rather than move around to the front of the house, since that’s always closer to the zombies, plus giving me a far better chance of being spotted.

It’s probably a bit quieter. But not enough that you should just ignore houses because you can’t pry the door open.

taping up a window from the outside could/would make smashing it quieter, no?

wait, that was rhetorical, i had an actual question, smashing windows from the rear of the house already seems to cause less attention than when you smash front windows … does the game use sound-maps like it does with smell … or is what i was noticing because of the distance to the monsters?

p.s. drop frequency seems to be about right. some games i find 3 right away, in others none. making it ‘more even’ would make it less cataclysmic imo. its like with the sci labs. i have 7 now, earlier, with more exploration, i found none. earlier i had honey galore, now there is one hive mocking me from the middle of a swamp. thanks for the great mod btw!

It’s not that so much, but if the noise is even comparable, I could forget about needing a crowbar entirely (at least at the start of the game), which would mean I wouldn’t have to take a point in Mechanics skill at start-up.

Doors are almost always closer to the zombie horde (I’ve been playing with the static spawn option), and I frequently get spotted, anyway, when I try to go around to the front of a house to pry open the door. If I can smash a back window - which is further away from the zombies, plus I’m usually hidden from them - and make a comparable amount of sound, I can’t imagine why I wouldn’t do that.

After all, sound must be related to distance, I’d think. I was only using a crowbar because I thought it must be much quieter.