- Fixed tile config sizing
- Added Italien translation (thanks to Landscape)
- Updated polish translation (thanks to Lioheart)
- Added world setting Enable Pickpocketing to enable/disable the Pick pocket feature
- Added world setting setting Default Item Pick pocket DC to set a default DC for pickpocketable items
- Improved the Key creation menu for the GM, so that it is now also possible to directly choose the keys image
- The tag
@Item
can now be used in roll formulas, for example to refer to use lock pick items - Added world setting Use Key select dialog by default to use the Key use Dialog by default
- Added Lock setting Key use Dialog to popup a dialog on key use in which the player has to select the used key(s), usefull for puzzles
- Added a weight and items taken display to the pick pocket dialog
- Added world setting Remove Lockpick to replace the Remove Lockpick on critical fail setting, allowing for more detailed conditions
- Added world setting Default Item Pick pocket DC to set the default Item Pick pocket DC modifier
- Added world setting(s) Pick pocket item limit (critical/failure) to limit the amount of items that can be taken with the pick pocket dialog (for success/critical success/failure)
- Added world setting(s) Pick pocket item weight limit (critical/failure) to limit the items that can be taken with the pick pocket dialog by their weight (for success/critical success/failure)
- Added world setting Pick pocket cooldown to set a per user cooldown to pick pocket attempts
- The out of reach message will no longer reveal the name of tokens whos name should be hidden
- Added Set Pickpocket DC macro (thanks to fedeicodip)
- Tokens can no longer loot themselves
- Container items will now be deleted when looted if the quantity can't be set to 0
- Small bug fix
- Small bug fixes
- Small improvement/bug fix
- Small bug fix for system rolls, the second one
- Small bug fix for system rolls
- Updated japanese translation (thanks to doumoku)
- Compatibility fix for Tidy 5e Sheets
- Small bug fix
- Small bug fix
- Updated polish translation (thanks to Lioheart)
- Added item setting Pick pocket DC mod to adjust the pick pocket DC per item
- Key IDs for locks can now be seperated by "&" to require mutliple keys at the same time
- Added token setting Custom loot formula to override the gloabel pick pocket formula
- Added world setting Show DCs in interaction menu to add the DCs of available checks to the interaction menu
- Added world setting Auto reset lock pick attempts to set the rule for when lock pick attempts are to be reset
- Added world setting Pick pocket crit DC threshold to set the maximum DC for pickpocketing that can be overcome by crits
- Added world setting Pick pocket item types to filter which item types can be pick pocketed
- Added world setting Loot filter to limit items that can be looted via pick pocketing to items in bags/containers called "Loot"
- Added client setting Double click to pick pocket to adjust controls
- Some bug fixes
- Fixed small bug in @skills section for roll formulas
- Updated polish translation (thanks to Lioheart)
- Matt trigger "Tiles under Door" should now work correctly
- Cleaned up translation files
- Fixed bug that caused some clicks to not register correctly
- Fixed bug that caused chosen default sound not to be applied to new doors
- Added Portuguese Brazil translation (thanks to Andersants)
- v12 Compatibility
- Fixed bug with Item piles recognition of prototype tokens
- Fixed error in module.json (thanks to adracea)
- Added japanese translation (thanks to doumoku)
- Updated russian translation (thanks to maragondi)
- Added russian translation (thanks to maragondi)
- Added tiles a valid targets for MATT actions and filters
- Added polish translation (thanks to Lioheart)
- Small bug fix for free lock circumvent spell recognition
- Whenever a lock is locked via Lock & Key the attached Puzzle Lock is now also locked
- Small bug fix
- Fixed pick pocketing bug for Pf2e rules (thanks to HaHussain)
- Fixed item piles recognition
- Improved lock tile behaviour to prevent annoying popups
- Added setting Dead tokens lootable to make all dead tokens (except item piles) lootable without having to roll
- Fixed bug that caused faulty tab to be added to MATTs tile Triggers tab
- Improved tile state switching
- Added tiles as lockable objects:
- Tiles now have an open and a closed state and the settings "Open Image" and "Closed Image"
- Tiles can be locked, causing their state to be locked
- Tiles state can be toggle from the HUD
- Added setting Mention Pick Pocket details to add more informations to the pick pocket chat messages
- Pick pocketing can now trigger Monk's Active Tile Triggers
- Compatibility update for new version of Tidy 5e Sheet
- Small bug fix
- Added world setting Allow all interactions to allow even impossible actions (pick, break, custom, pickpocket)
- If only one Lock & Key setting is present it will now be displayed in Indentity tab instead of a separate tab
- The trigger tab for MATT compatibility will no longer show up in subtabs
- replaced setting Use Pf2e roll system with Use system rolls. This system now works Pf2e and DSA5e (thanks to Plushtoast)
- Added compatibility for Tidy 5e rewrite
- Added support for DSA and SWADE
- Added option to only show items settings for specific subtypes (currently only available for DSA, will be added to other systems based on requests)
- Fixed bug with lock on close feature
- The enter key will now work in the password dialog
- Added
@skills
to roll formulas, allowing formulas to reference skills in systems where skills a saved as items (e.g. Warhammer4e, DSA5e, Stars without Number...) - Added
@DC
to roll formulas, allowing formulas to reference the targets DC
- Fixed bug that caused item piles that were turned back into normal tokens to still be seen as item piles by Lock & Key
- Fixed bug that caused the create key action to make tokens locked even if no key was created
- The Lock & Key tab in the item sheets will no longer have symbol but be titled with the full name to be more in line with the sheet design
- Fixed Pf2e ui bug in item tabs
- Added world setting Key creation id option to show an option for the keys id in the key creation menu
- Added door lock setting Lock on close to lock this door when it is closed
- Added two macros to customise key creation (Create new key with hovered locks IDs & Create new custom key)
- Improved general system compatibility
- Added options to the identity addition api
- Added api to allow players to enter their identity (name/id of token/actor/user)
- Fixed bug that prevented pick pocketing from trigering correctly under some circumstances
- Fixed bug that prevented the GM controls from appearing in the settings
- Added default keys for Pick pocket and Change password
- Improved validation checks for change password
- Add key binding for change password (of hovered lock)
- Fixed Pf2e specific roll bug
- Added lock setting Identities to use identities (IDs and Names of Tokens/Actors/User) to unlock this lock
- Added lock setting Password changeable to allow players to change this locks password if they have a valid password (only useable with the popup-menu control sceme)
- Fixed bug that allowed GMs to accidentally lock incompatible tokens
- Added world setting Pick pocket default DC formula: to set the formula by which the default Pick Pocket DC is calculated
- Added world setting Auto update Pick Pocket DC: to set if Perception rolls should be registered and used as the new Pick Pocket DC
- Added world setting Perception key-word: to set they key-word used to recognise perception rolls
- Added macro to reset Pick Pocket DCs to default
- Replaced "Lock & Key" in tabs with abreviated version "L&K" to improve gui
- Added icons for some macros
- Error fix for previous update
- Improved compatibility with DDB Importer items
- Some small ui improvements and a bit of debug macro code
- Updated French translation (thanks to MastaGooz)
- Added missing translation for custom check fail popup
- Improvements for the take inventory/transfer items window and api
- Improved Pick pocketing support for Custom System Builder
- Updated French translation (thanks to MastaGooz)
- Added Pick pocketing support for Custom System Builder (maybe?)
- Improved MATT actions
- Added Matt action to offer the Inventory of a token to a player
- Added missing translation for custom check interaction button
- Added world setting Default lock sound to set the default sound used for Doors and lockable Tokens
- Added world setting Default key folder to set the default folder the key creation menu selects
- Added world setting Limit key folders to only show the chosen default key folder and its sub folders in the key creation menu
- Added world setting Default lock dc to set the lock dc of nely created locks
- Added world setting Default lock break dc to set the lock break dc of newly created locks
- Added world setting Custom check name to set the name of a third custom check type for circumbenting locks
- Added world setting Custom check formula to set the formula of the custom check
- Added world setting Default custom check DC to set the custom check dc of newly created locks
- Added Key Custom Check to trigger the custom check
- Added Token setting for custom check DC
- Added Token setting for additional Custom Check formula
- Added Token setting to override world Custom Check formula
- New feature: Pickpocketing
- Added world setting Pick pocket formula to set the formula used for pick pocketing
- Added world setting Pick pocket default DC to set the default DC for pick pocketing
- Added Key to trigger Pick pocketing
- Added Token setting Pick pocket formula to add to the world pick pocketing formula
- Added Token setting Override Pick pocket lock formula to verride world pick pocket formula
- Added Token setting Pick pocket DC to set the DC of pick pocket checks against this token
- Added new API (
game.modules.get("LocknKey").api
) - Added a few example macros
- Fixed bug that prevented sheet settings from loading
- Removed some things accidentally released in the last version
- Fixed error that showed up when opening the wrold default token menu
- Fixed bug, so that only Lock & Key compatible can be locked with alt+right-click
- Fixed bug that caused the lock interaction to pop up for not lock objects
- Added missing translation string
- Added French translation (thanks to MastaGooz)
- Fixed controls bug with 3D Canvas (Big thanks to TheRipper93)
- Fixed faulty D&D 5e formulas
- Added new macro
Update Lock & Key world formulas
D&d 5e users using the default Lock & Key Lock break or Lock pick formula should either use the above formula or manually enter these formulas:
- Lockpick roll formula:
1d20 + @actor.system.abilities.dex.mod + @actor.system.tools.thief.prof.flat + @actor.system.tools.thief.bonus
- Break lock roll formula: '1d20 + @actor.system.abilities.str.mod + @actor.system.skills.ath.prof.flat'
- Added world setting Setting item types to set forwhich item types the settings tab should bbe displayed
- Added custom actions for MATT:
- Added action Lock to lock a Door/Token
- Added action Unlock to unlock Door/Token
- Added action Toggle lock to toggle a Door/Token
- Added filter Filter by lock state to filter by the lock state (locked/unlocked)
- Added crit system dependent settings
- Added d10 crit limit setting for d10 pool >=8 and reroll on 10
- Preperation for cross compatibility with planned perceptive MATT triggers
- Added support for the Call of Cthulhu 7e system
- Added partial support for the Chronicles of Darkness 2e system
- Improved MATT integration, MATT trigered dialogs should now be displayed for the correct user
- Fixed missing translation for MATT trigger conditions
- Fixed bug that prevented set tile trigger ids to be displayed for lockable tokens
- Added Lock setting Lockpicking attempts left to limit the amount of lock pick attempts for this lock
- Added World setting Default Lock pick attempts to set with how many lock pick attempts a lock normally starts
- Added World setting Lock circumvention keywords to set keywords used to identify effects that allow players to circumvent locks (e.g. the spell "Knock")
- Added Client Setting Lock circumvention indicator position to set where in the token HUD the Lock circumvention indicator should be displayed
- Added Lock setting Can be circumvented to set wether this lock can be circumvented by certain effects (e.g. the spell "Knock")
- Added compatibility with Monk's Active Tile Triggers
- Adds additional Lock & Key related triggers for doors and lockable tokens (adds a new triggers tab to lockable tokens)
- Adds a textbox to enter the tile which should be triggered for lockable tokens
- The following landings can be optionally used to differentiate between the different Lock & Key triggers:
LockuseKey
,LockusePasskey
,LockusePick
,LockuseBreak
,LockuseFree
- Improved compatibility with Item Piles
- Fixed bug with the success/failure detection under certain conditions
- Fixed bug that prevented item pile locks from being broken
- Bug fix to prevent error when a lock pick is removed
- Added new crit systems for Warhammer Fantasy Roleplay 4e
- Added default ids/formulas/types for D&D 3.5e
- The Lock jammed and Broke lockpick popups will no longer overlap when triggered by the same interaction
- Changed the standard Pick lock hotkey to prevent overlap with Pf2e system
- Improved compatibility with Item Piles
- Locked containers should now correctly display their popup messages and play their sounds
- Improved compatibility with Item Piles
- Containers will now be item pile locked/unlocked when using lock & key locking/unlocking
- Improvements for the German translation (thanks to gsterling)
- Improved compatibility with Item Piles
- Containers and Vaults should now be lockable
- Containers locked by Item Piles will now be automatically unlocked when unlocked with Lock & Key
- Fixed small translation error
- Added Item setting Replacement items to set items that get consumed instead of this item when a roll fails
- Improved crit calculation for the Pf2e crit system
- Small bug fix
- Added additional IDs of lock pick items for Pf2e (thanks to ottyn)
- will only be added when using the system defaults ("") or resetting the settings
- Updated IDs: zvLyCVD8g2PdHJAc;6nrCxNQFycUVFOV2;Ejmv9IHGp9Ad9dgu;QnuL1UEot8ptWNb1;spqcRLBsMOC9WTcd;fprUZviW8khm2BLo;AFE073UYI0mkWuUs
- The tab bar of token settings should be less likely to overflow when multiple modules add tabs
- Updated the Chinese translation (thanks to Thousand (_thousand@Discord))
- Improved arms reach integration
- Fixed bug with Pf2e roll integration
- Fixed critical result identification bug
- Wall settings will now appear in their own tab and the settings sheet will fit on your screen again
- Improved visual compatibility with modules like Tidy5e sheets (Thanks to Ikabodo)
- Added support for the Perceptive module
- A "Peek lock" option will be added to the lock interaction menu
- Fixed bug for v10 regarding left clicking doors
- Improved Item Piles integration
- There is a small chance, that previously locked item piles will not unlock correctly, in this case:
- Click configure at the top border of the character sheet of the item pile
- Check the "Enabled" option
- Update document
- or select the token and execute this macro:
- canvas.tokens.controlled[0].document.setFlag("item-piles", "data.enabled", true)
- There is a small chance, that previously locked item piles will not unlock correctly, in this case:
- Fixed libwrapper warning with Monks enhanced journals
- Some bug fixes for v10 and the Sandbox system
- Fixed bug in relation to lockpick items in the Sandbox module
- Added "no matching key" popup
- Lock interaction popup will now only show up if the interacting token is within interaction range
- Added option Show all lock interactions to show even unavailable options the interaction popup
- Impossible interaction options (if for example a DC is set to -1) will no longer show up in the popup
- Added Control Keys for Lock interactions (for both GM and player controls)
- Added client setting Control sceme to either use the standard controls to interact with doors or to get a pop up when right-clicking a lock
- Added world setting Key creation menu to create a menu when creating a new key, allowing the GM to choose the name and folder of the new item
- Added world setting Key name as ID to use the keys name as an additional ID when interacting with locks
- Added world setting Mention lockpick item to give additional information in the chat regarding the used item when picking a lock
- Added lock setting Special lockpick to set a special lockpick required to pick this lock
- Fixed bug/improved compatibility for the Sandbox system
- Added support for the Sandbox system
- Updated translation (thanks to feederze)
- Added Lock jamming
- World settings:
- Jam lock on critical lockpick fail to automatically set locks as jammed
- Keys can't be used on jammed locks to prevent matching keys from being used on jammed locks
- Lock settings:
- Jammed to set this lock as jammed preventing it from being picked
- World settings:
- Small fix for Item-Piles compatibility
- Added Macros for player and GM actions
- Added Lock setting Custom Popups to set custom Popup messages for certain player actions
- Added Token Lock setting Lock Sound to set the sound set used for interactions with this lock
- Added Chinese translation (thanks to feederze)
- Fixed a few translations bugs/typos (thanks to cadowtin)
- Fixed a few UI bugs
- Improved Pf2e integration (thanks to cadowtin)
- New setting Use Pf2e roll system to use the Pf2e system instead of the Lock & Key roll and crit settings
- Should be fully compatible with the Pf2e rules system
- Added Multi-success during combat only to disablerequired multi success outside of combat
- Added quantity check for Lockpicks (in most systems, some systems are weird)
- Added passwords for locks
- Removed "Not a lock" message to reduce unnecessary popups
- Several small bug fixes and improvements
- Improved behaviour when a player tries to interact with a object that is not a lock or a lock that is out of reach
- Added Critical rolls world setting
- No crits to disable crits
- Nat crits to crit on a nat 1 or nat 20
- Nat crit & +-10 to crit on a not 1, nat 20 or 10 below or above the dc
- Added Lock pick successes required setting to locks
- Before a lock can be locked/unlocked this many successes have to be accumulated
- Crits will count as two successes
- Also shows the GM how many successes have already been accumulated and allows GMs to change this number
- Added World setting Remove Lockpick on critical fail
- Added Key setting Remove on use to remove the key on use (or reduce the stack by one)
- Fixed some Token sheet UI bugs
- Added Lockable setting to doors (doors are still lockable by GM, independent of this setting)
- Improved Lockpicking
- World setting Lockpick item now allows for multiple item names/IDs
- Added on token/item Lockpick formula setting which will be added to Lockpick rolls
- Added Lockpick formula override setting to tokens, which will override the worlds Lockpick formula instead of appending it
- Added Lockpick formula override setting to items, which will override the worlds and the tokens Lockpick formula instead of appending it
- Added Lockbreacking
- Player can attempt to break locks by alt+rightclicking them
- Added World setting to break locks on lock break action (lock can only be locked by gm)
- Added World setting Lockbreak roll formula
- Added on token/item Lockbreak formula setting which will be added to Lockpick rolls
- Added Lockbreak formula override setting to tokens, which will override the worlds Lockpick formula instead of appending it
- Added Lockbreak formula override setting to items, which will override the worlds and the tokens Lockpick formula instead of appending it
- Lock settings will only show up in lockable tokens
- Fixed bug in Item sheets, that caused tab to reset upon data update
- Fixed bug that caused popups not to show up for doors
- Improved Arms reach integration
- Included item support for Cyberpunk Red (thanks to diwako)
- Improved compatibility (other developers should now be able to easily interface with the module)
- Added chatmessage for lock pick success/fail
- fixed bug where item setting did not show up correctly in some cases
- fixed buug where under some cases locked tokens did not behave correctly
- several small bug fixes
- Compatibility with Rideable
- Generell improvements
- Added lockpicking
- Locks now have a lockpick dc setting
- New World setting: Lockpick item
- New World setting: Lockpick formula
- Player can try to shift+right-click a start an attempt at picking it (starts Lockpick formula)
- Popups, sounds, chat messages for lockpicking
- Fixed small bug where changes in an ItemPile sheet were not synched correctly
A wrongly named file prevented some users from installing v1.0.0. This bug was "stealth" fixed in v1.0.0.
First release on Foundry