From a27aa8e55b00c6141a6fbf89f5cc9c13f9e69a99 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Thu, 13 Aug 2020 20:43:54 -0400 Subject: [PATCH] SI --- src/002-config/mousetrapConfig.js | 16 ++++++++-------- src/npc/children/childInteract.tw | 8 ++++---- src/npc/infants/infantInteract.tw | 4 ++-- src/uncategorized/slaveInteract.tw | 8 ++++---- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/002-config/mousetrapConfig.js b/src/002-config/mousetrapConfig.js index 6d67333edcc..17135f873a4 100644 --- a/src/002-config/mousetrapConfig.js +++ b/src/002-config/mousetrapConfig.js @@ -274,24 +274,24 @@ App.UI.Hotkeys.add("nextLink", { $("#story-caption #nextButton a.macro-link").trigger("click"); }, combinations: ["space"], uiName: "Continue/Back" }); -App.UI.Hotkeys.add("prevSlave", { +App.UI.Hotkeys.add("prev-slave", { callback: function() { - $("#prevSlave a.macro-link").trigger("click"); + $("#prev-slave a.macro-link").trigger("click"); }, combinations: ["left", "q"], uiName: "Previous Slave" }); -App.UI.Hotkeys.add("nextSlave", { +App.UI.Hotkeys.add("next-slave", { callback: function() { - $("#nextSlave a.macro-link").trigger("click"); + $("#next-slave a.macro-link").trigger("click"); }, combinations: ["right", "e"], uiName: "Next Slave" }); -App.UI.Hotkeys.add("prevChild", { +App.UI.Hotkeys.add("prev-child", { callback: function() { - $("#prevChild a.macro-link").trigger("click"); + $("#prev-child a.macro-link").trigger("click"); }, combinations: ["left", "q"], uiName: "Previous Child" }); -App.UI.Hotkeys.add("nextChild", { +App.UI.Hotkeys.add("next-child", { callback: function() { - $("#nextChild a.macro-link").trigger("click"); + $("#next-child a.macro-link").trigger("click"); }, combinations: ["right", "e"], uiName: "Next Child" }); App.UI.Hotkeys.add("walkpast", { diff --git a/src/npc/children/childInteract.tw b/src/npc/children/childInteract.tw index 0b0609be3f4..4c02a0d67b6 100644 --- a/src/npc/children/childInteract.tw +++ b/src/npc/children/childInteract.tw @@ -19,21 +19,21 @@ <center> <span class="hotkey"> - <<print App.UI.Hotkeys.hotkeys("prevChild")>> + <<print App.UI.Hotkeys.hotkeys("prev-child")>> </span> -<span id="prevChild"> +<span id="prev-child"> <b> <<link "Prev" "Previous Child In Line">><</link>> </b> </span> <b><u>@@.pink;$activeChild.slaveName@@</u></b> -<span id="nextChild"> +<span id="next-child"> <b> <<link "Next" "Next Child In Line">><</link>> </b> </span> <span class="hotkey"> - <<print App.UI.Hotkeys.hotkeys("nextChild")>> + <<print App.UI.Hotkeys.hotkeys("next-child")>> </span> </center> <br> diff --git a/src/npc/infants/infantInteract.tw b/src/npc/infants/infantInteract.tw index a19f07c1122..8f77e8fd46e 100644 --- a/src/npc/infants/infantInteract.tw +++ b/src/npc/infants/infantInteract.tw @@ -13,13 +13,13 @@ <center> @@.cyan;[â†,Q] @@ -<span id="prevChild"> +<span id="prev-child"> <b> <<link "Prev" "Previous Child In Line">><</link>> </b> </span> <span class='slave-name'>$activeChild.slaveName</span> -<span id="nextChild"> +<span id="next-child"> <b> <<link "Next" "Next Child In Line">><</link>> </b> diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw index 991607d0027..cfa3518ba01 100644 --- a/src/uncategorized/slaveInteract.tw +++ b/src/uncategorized/slaveInteract.tw @@ -63,9 +63,9 @@ </div> <</if>> <span class="hotkey"> - <<print App.UI.Hotkeys.hotkeys("prevSlave")>> + <<print App.UI.Hotkeys.hotkeys("prev-slave")>> </span> - <span id="prevSlave" style="font-weight:bold"> + <span id="prev-slave" style="font-weight:bold"> <<link "Prev" "Slave Interact">><<set $activeSlave = getSlave(_slavesInLine[0])>><</link>> </span> @@ -73,11 +73,11 @@ <<= getSlave($AS).slaveName>> </span> - <span id="nextSlave" style="font-weight:bold"> + <span id="next-slave" style="font-weight:bold"> <<link "Next" "Slave Interact">><<set $activeSlave = getSlave(_slavesInLine[1])>><</link>> </span> <span class="hotkey"> - <<print App.UI.Hotkeys.hotkeys("nextSlave")>> + <<print App.UI.Hotkeys.hotkeys("next-slave")>> </span> </p> <div class="tab-bar"> -- GitLab