Register

Lock & Key

An Add-on Module for Foundry Virtual Tabletop

Author: Saibot Project Source: Project URL Versions 10+ (Verified 11) Last Updated 1 year 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.5.4

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

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

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

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

    11 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  6. Version 2.4.4

    11 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  7. Version 2.4.3

    11 months, 1 week ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  8. Version 2.4.2

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

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

    1 year ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  11. Version 2.3.3

    1 year ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  12. Version 2.2.8

    1 year ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  13. Version 2.1.1

    1 year ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  14. Version 2.0.12

    1 year ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes
  15. Version 1.12.9

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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