Skip to content

Commit ff9bfe1

Browse files
committed
key bind --> KeyBind
1 parent c2bdb6c commit ff9bfe1

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

MouseDrag/Options.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ public enum ActivateTypes
2424
public Options()
2525
{
2626
activateType = config.Bind("activateType", defaultValue: ActivateTypes.AlwaysActive.ToString(), new ConfigurableInfo("Controls are active when this condition is met. Always active in sandbox.", null, "", "Active when"));
27-
activateKey = config.Bind("activateKey", KeyCode.None, new ConfigurableInfo("Key bind to activate controls when \"" + ActivateTypes.KeyBindPressed.ToString() + "\" is selected.", null, "", "Key bind"));
28-
pauseOneKey = config.Bind("pauseOneKey", KeyCode.None, new ConfigurableInfo("Key bind to pause/unpause the object/creature which you're currently dragging.", null, "", "Pause/unpause"));
29-
pauseAllCreaturesKey = config.Bind("pauseAllCreaturesKey", KeyCode.None, new ConfigurableInfo("Key bind to pause/unpause all creatures except Player and SlugNPC.\nIndividually paused creatures remain paused.", null, "", "Pause all creatures"));
30-
unpauseAllKey = config.Bind("unpauseAllKey", KeyCode.None, new ConfigurableInfo("Key bind to unpause all objects/creatures, including individually paused creatures.", null, "", "Unpause all"));
31-
deleteOneKey = config.Bind("deleteOneKey", KeyCode.None, new ConfigurableInfo("Key bind to delete the object/creature which you're currently dragging.", null, "", "Delete"));
32-
deleteAllCreaturesKey = config.Bind("deleteAllCreaturesKey", KeyCode.None, new ConfigurableInfo("Key bind to delete all creatures in current room except Player and SlugNPC.", null, "", "Delete all creatures"));
33-
deleteAllObjectsKey = config.Bind("deleteAllObjectsKey", KeyCode.None, new ConfigurableInfo("Key bind to delete all objects/creatures in current room except Player and SlugNPC.", null, "", "Delete all"));
27+
activateKey = config.Bind("activateKey", KeyCode.None, new ConfigurableInfo("KeyBind to activate controls when \"" + ActivateTypes.KeyBindPressed.ToString() + "\" is selected.", null, "", "KeyBind"));
28+
pauseOneKey = config.Bind("pauseOneKey", KeyCode.None, new ConfigurableInfo("KeyBind to pause/unpause the object/creature which you're currently dragging.", null, "", "Pause/unpause"));
29+
pauseAllCreaturesKey = config.Bind("pauseAllCreaturesKey", KeyCode.None, new ConfigurableInfo("KeyBind to pause/unpause all creatures except Player and SlugNPC.\nIndividually paused creatures remain paused.", null, "", "Pause all creatures"));
30+
unpauseAllKey = config.Bind("unpauseAllKey", KeyCode.None, new ConfigurableInfo("KeyBind to unpause all objects/creatures, including individually paused creatures.", null, "", "Unpause all"));
31+
deleteOneKey = config.Bind("deleteOneKey", KeyCode.None, new ConfigurableInfo("KeyBind to delete the object/creature which you're currently dragging.", null, "", "Delete"));
32+
deleteAllCreaturesKey = config.Bind("deleteAllCreaturesKey", KeyCode.None, new ConfigurableInfo("KeyBind to delete all creatures in current room except Player and SlugNPC.", null, "", "Delete all creatures"));
33+
deleteAllObjectsKey = config.Bind("deleteAllObjectsKey", KeyCode.None, new ConfigurableInfo("KeyBind to delete all objects/creatures in current room except Player and SlugNPC.", null, "", "Delete all"));
3434
forceMouseVisible = config.Bind("forceMouseVisible", defaultValue: true, new ConfigurableInfo("Makes Windows mouse pointer always be visible in-game when tools are active.", null, "", "Force mouse visible"));
3535
releaseGraspsPaused = config.Bind("releaseGraspsPaused", defaultValue: true, new ConfigurableInfo("When creature is paused, all grasps (creatures/items) are released.", null, "", "Pausing releases grasps"));
3636
updateLastPos = config.Bind("updateLastPos", defaultValue: true, new ConfigurableInfo("Reduces visual bugs when object is paused, but slightly affects drag behavior.", null, "", "Update BodyChunk.lastPos"));

MouseDrag/Tools.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static void UpdateActivated(RainWorldGame game)
2727
}
2828
prevPaused = paused;
2929

30-
//set activated controls, key bind is checked in RainWorldGameRawUpdateHook
30+
//set activated controls, keybind is checked in RainWorldGameRawUpdateHook
3131
if (activeType == Options.ActivateTypes.DevToolsActive)
3232
activated = game.devToolsActive;
3333
if (activeType == Options.ActivateTypes.AlwaysActive)
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)