Project Zomboid

Project Zomboid

[B41/B42] Mechanical Dial Lock
17 Comments
Lil Boogie 10 May @ 4:43pm 
this doesnt sync up in MP
Cuckoo 26 Jan @ 7:29am 
Really nice work!

Perhaps if the player has a stethoscope, they should hear a louder click when they've aligned with the correct number.
Островський 2 Jan @ 12:18pm 
Does this mod let you open the safes in the chief's office at the Muldraugh PD in v42?
Deon ☣ 2 Jan @ 2:44am 
Thank you. I just learnt how to apply new rightclick options to existing sprites (working on arcade machine mod). I will try it tonight!
El1oN  [author] 2 Jan @ 2:26am 
@Deon ☣ You can use it as a dependency and add your own sprites like this, in a client lua script:

local MechanicalDialLock = require("MechanicalDialLock_ContextMenu");

--- these can be the same sprite
MechanicalDialLock.SafeSprites["closed_state_sprite"] = "open_state_sprite";
UNA EN VERSION DIGITAL ELECTRONICA CON TECLADO NUMERICO Y SONIDO LLAMADA SEGURITY BOX CON UN SISTEMA DE BLOQUEO CON LLAVE O TARGETA DIGITAL ELECTRONICA
Deon ☣ 1 Jan @ 9:41am 
And I am bad at coding, but I can easily make sprites and models :).

Could you make a version where open/closed sprites are the same? With ability to swap them? Then I can provide updated sprites.
El1oN  [author] 1 Jan @ 9:24am 
Sigur, dar nu cred ca voi face sprite-uri pentru cand sunt deschise, pentru ca nu stiu sa desenez.
Deon ☣ 1 Jan @ 8:44am 
Thank you for the update!

There are existing safes (tiles) on maps in B42, is it possible to make them work using this framework?
Mouse 5 Jun, 2024 @ 4:12pm 
Can I use this lock for a selfbuild gate or door ?
AkiraTakasahki 24 Apr, 2024 @ 6:19am 
Hi.. Just want to inform that I think after the Building Menu recent update, the mechanical dial lock did not prompt when select Set Code. Would be grateful if there is a mod update. Thanks.
RangerZero2 21 Mar, 2024 @ 4:26pm 
I set a combination, open, close then quite the game.
When I come back, I only have the "set code" option. :(
Teddybear1848 3 Mar, 2024 @ 11:32pm 
on my server with the sprites the doors show closed when open, and vice versa
Blessed Mother 27 Jan, 2024 @ 4:49pm 
Neat! Do these spawn in at locations or are just meant to be built?
Bambino 27 Jan, 2024 @ 6:40am 
Is there a method to crack the safe in the case that you want to steal another players items?
WATTO ROCKS 26 Jan, 2024 @ 8:03pm 
this is nice!!! can you do a lock or padlock for any door?