Register

Lock & Key

An Add-on Module for Foundry Virtual Tabletop

Author: Saibot Project Source: Project URL Versions 10+ (Verified 11) Last Updated 2 weeks ago

A module to handle locking and unlocking of doors and tokens

Basic use:

A GM can shift+right-click doors and loot containers (PF2e or Item Piles) to create a new key for them in the item sections. Every player that has a key in their inventory can lock or unlock matching doors and tokens with a right-click. Locked tokens can not be looted. Players can attempt to pick a lock by shift+right-clicking a lock and try to break a lock by alt+right-clicking it.

A tutorial for some of the features can be found here:

Since v2.0.0 Lock & Key can also handle Pickpocketing!

GM controls

A GM can alt+right-click lockable tokens to lock or unlock them.

The key IDs of doors, tokens and keys can be copied and pasted into one another to connect them. To copy or paste a keys IDs right click it in the item section and choose one of the options from the context menu. To copy a tokens or doors IDs ctrl+right-click them and to paste them ctrl+left-click them.

Examples:

- I. Copy Door A's key IDs and paste them into Loot Token B (or vice versa). All keys that can unlock/lock Door A can now also unlock/lock Loot Token B (or vice versa).
- II. Copy Door A's key IDs and paste them into Key B (or vice versa). Key B can now unlock/lock Door A.
- III. Copy Key A's key IDs and paste them into Key B. All doors that can be opened by Key A can now also be opened by Key B (but not the other way around).

All of these controlls can also be achieved through the included macros or through key bindings.


Settings:

World:

Client:

Keys(separate tab):

Walls/Tokens(separate tab):

Tokens/Items:

Compatibility:

The module should be compatible with most game systems on Foundry v10 and v11, though a few features are only available for the Pf2e system or in combination with other modules. If you encounter any bugs please let me know. I am also happy to add further game systems. (Issues can give you additional informations)

Explicit compatability:

Languages:

The module contains an English, a German, a Chinese (thanks to feederze and Thousand (_thousand@Discord)), and a French (thanks to MastaGooz) translation. If you want additional languages to be supported let me know.


If you have suggestions, questions, or requests for additional features please let me know.

Categories

Available Versions

  1. Version 2.7.7

    2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  2. Version 2.7.6

    3 weeks, 4 days ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  3. Version 2.7.5

    3 weeks, 4 days ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  4. Version 2.7.4

    1 month ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  5. Version 2.7.3

    1 month, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  6. Version 2.7.2

    1 month, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  7. Version 2.7.1

    1 month, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  8. Version 2.7.0

    1 month, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  9. Version 2.6.1

    1 month, 4 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  10. Version 2.6.0

    1 month, 4 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  11. Version 2.5.4

    2 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  12. Version 2.5.3

    3 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  13. Version 2.5.2

    3 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  14. Version 2.5.1

    3 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  15. Version 2.5.0

    3 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  16. Version 2.4.4

    3 months, 2 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  17. Version 2.4.3

    3 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  18. Version 2.4.2

    4 months ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  19. Version 2.4.1

    4 months ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  20. Version 2.4.0

    4 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  21. Version 2.3.3

    4 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  22. Version 2.2.8

    4 months, 3 weeks ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  23. Version 2.1.1

    5 months ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  24. Version 2.0.12

    5 months ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  25. Version 1.12.9

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  26. Version 1.11.5

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  27. Version 1.11.4

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  28. Version 1.10.9

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  29. Version 1.10.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  30. Version 1.9.13

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  31. Version 1.8.2

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  32. Version 1.7.1

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  33. Version 1.6.2

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  34. Version 1.5.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  35. Version 1.4.1

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  36. Version 1.3.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  37. Version 1.2.2

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  38. Version 1.1.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  39. Version 1.0.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes