Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 697950e22a | |||
| 78d41d2a40 |
@@ -1,3 +1,8 @@
|
||||
## 1.3.1
|
||||
### Bugfixes
|
||||
- The keybinding to toggle secret doors no longer supresses other keybindings that are assigned to the same key
|
||||
|
||||
|
||||
## 1.3.0
|
||||
### New features
|
||||
- The keybinding for the Toggle Secret Door feature can now be reconfigured via Foundries keybinding configuration (the default key has changed to AltLeft)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "smart-doors",
|
||||
"title": "Smart Doors",
|
||||
"description": "Makes doors smarter. Allows doors to synchronize across multiple scenes and sends chat messages when players try to open locked doors.",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"minimumCoreVersion" : "9.238",
|
||||
"compatibleCoreVersion" : "9",
|
||||
"authors": [
|
||||
@@ -30,7 +30,7 @@
|
||||
],
|
||||
"url": "https://github.com/manuelVo/foundryvtt-smart-doors",
|
||||
"manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-smart-doors/master/module.json",
|
||||
"download": "https://github.com/manuelVo/foundryvtt-smart-doors/archive/v1.3.0.zip",
|
||||
"download": "https://github.com/manuelVo/foundryvtt-smart-doors/archive/v1.3.1.zip",
|
||||
"readme": "https://github.com/manuelVo/foundryvtt-smart-doors/blob/master/README.md",
|
||||
"changelog": "https://github.com/manuelVo/foundryvtt-smart-doors/blob/master/CHANGELOG.md",
|
||||
"bugs": "https://github.com/manuelVo/foundryvtt-smart-doors/issues",
|
||||
|
||||
@@ -6,10 +6,15 @@ export function registerKeybindings() {
|
||||
game.keybindings.register(settingsKey, "toggleSecretDoor", {
|
||||
name: "smart-doors.keybindings.toggleSecretDoor.name",
|
||||
hint: "smart-doors.keybindings.toggleSecretDoor.hint",
|
||||
onDown: () => toggleSecretDoor = true,
|
||||
onUp: () => toggleSecretDoor = false,
|
||||
onDown: handleToggleSecretDoor,
|
||||
onUp: handleToggleSecretDoor,
|
||||
restricted: true,
|
||||
editable: [{key: "AltLeft"}],
|
||||
precedence: -1,
|
||||
});
|
||||
}
|
||||
|
||||
function handleToggleSecretDoor(event) {
|
||||
toggleSecretDoor = !event.up;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user