Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upSafe cracking never fails. #9695
Comments
This comment has been minimized.
This comment has been minimized.
|
Dexterity and perhaps mechanics? EDIT:: Or even possibly perception? |
This comment has been minimized.
This comment has been minimized.
IFailAtGaming
commented
Oct 26, 2014
|
perception makes more sense honestly, if you can check for mutations it should also check for the earing ones |
This comment has been minimized.
This comment has been minimized.
|
Checking for mutations would be trivial, and I'd say there's room for both DX and PE. Probably weighted (2*PE + DX) / 3 + Mech + (hearing bonuses/penalties) > (safe value to be determined). Where to stick the RNG in there is up for discussion. |
KA101
added
<Bug>
Game: Balance
labels
Oct 26, 2014
This comment has been minimized.
This comment has been minimized.
|
I think mech. (+Int/Per) should determine minimal threshold for safecracking, when |
This comment has been minimized.
This comment has been minimized.
|
Yeah, I also thought about that. I couldn't really come up witha feasible formula to determine success, though. |
This comment has been minimized.
This comment has been minimized.
Long Action protection, but I could accept folks not having the stats giving up in frustration. |
This comment has been minimized.
This comment has been minimized.
|
in nethack, it's possible to be unable to pick a lock at all, in which case you have to resort to other ways to get the chest/door open. I'm thinking we might want some characters to be unable to crack a safe, and make them go find a torch or power tools. of course, that would mean implementing those alternate methods. |
This comment has been minimized.
This comment has been minimized.
|
@i2amroy had a blowtorch PR at one point but it seems to have fallen by the wayside. |
This comment has been minimized.
This comment has been minimized.
|
Ancient issue, while there is no failure for safes now still, the useless code mentioned has been removed. And there are now checks and requirements for normal safe cracking. (gunsafees are different). See: http://www.wiki.cataclysmdda.com/index.php?title=Lockpicking So think this could be closed now right? |
BevapDin commentedOct 26, 2014
iexamine::safehas a booleansuccesswhich controls whether the safe cracking was successful, but that variable starts with true and is never set to anything else. Therefor the non-success branch is never run and the safe is always opened.I suggest to either removing the variable and the check completely, keeping the current behavior without useless code.
Or adding some kind of check (based on dexterity?).
The PR "No safecracking when deaf" does not affect this.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.