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
|
## 1.3.0
|
||||||
### New features
|
### 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)
|
- 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",
|
"name": "smart-doors",
|
||||||
"title": "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.",
|
"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",
|
"minimumCoreVersion" : "9.238",
|
||||||
"compatibleCoreVersion" : "9",
|
"compatibleCoreVersion" : "9",
|
||||||
"authors": [
|
"authors": [
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
],
|
],
|
||||||
"url": "https://github.com/manuelVo/foundryvtt-smart-doors",
|
"url": "https://github.com/manuelVo/foundryvtt-smart-doors",
|
||||||
"manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-smart-doors/master/module.json",
|
"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",
|
"readme": "https://github.com/manuelVo/foundryvtt-smart-doors/blob/master/README.md",
|
||||||
"changelog": "https://github.com/manuelVo/foundryvtt-smart-doors/blob/master/CHANGELOG.md",
|
"changelog": "https://github.com/manuelVo/foundryvtt-smart-doors/blob/master/CHANGELOG.md",
|
||||||
"bugs": "https://github.com/manuelVo/foundryvtt-smart-doors/issues",
|
"bugs": "https://github.com/manuelVo/foundryvtt-smart-doors/issues",
|
||||||
|
|||||||
@@ -6,10 +6,15 @@ export function registerKeybindings() {
|
|||||||
game.keybindings.register(settingsKey, "toggleSecretDoor", {
|
game.keybindings.register(settingsKey, "toggleSecretDoor", {
|
||||||
name: "smart-doors.keybindings.toggleSecretDoor.name",
|
name: "smart-doors.keybindings.toggleSecretDoor.name",
|
||||||
hint: "smart-doors.keybindings.toggleSecretDoor.hint",
|
hint: "smart-doors.keybindings.toggleSecretDoor.hint",
|
||||||
onDown: () => toggleSecretDoor = true,
|
onDown: handleToggleSecretDoor,
|
||||||
onUp: () => toggleSecretDoor = false,
|
onUp: handleToggleSecretDoor,
|
||||||
restricted: true,
|
restricted: true,
|
||||||
editable: [{key: "AltLeft"}],
|
editable: [{key: "AltLeft"}],
|
||||||
precedence: -1,
|
precedence: -1,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function handleToggleSecretDoor(event) {
|
||||||
|
toggleSecretDoor = !event.up;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user