Skip to content

OpenMW Lua mod that equips a light from the player's inventory when a hotkey is pressed.

Notifications You must be signed in to change notification settings

pharispharispharis/light-hotkey

Repository files navigation

Description

When a hotkey (default 'v') is pressed a light from the players inventory will be equipped and their currently equipped shield, if any, will be stored to be automatically re-equipped when the hotkey is pressed again. By pressing alt > hotkey the player can assign the currently equipped light as their preferred light; the preferred light will be prioritized whenever a light is equipped using the hotkey. Preferred light and saved shield will be preserved between sessions, though it may get confused between multiple objects with the same Id in the player's inventory.

Requirements

This mod uses OpenMW Lua and requires OpenMW 0.48 or higher.

Known Issues/Incompatibilities

None currently known. If any issues are found report them in one of three places:

Credits/Usage

Thanks to the authors of Torch Hotkey (Remiros, Greatness7, NullCascade) for the original idea and of course also to the OpenMW Devs, without whom this mod would not be possible. Thanks to Phi as well as I borrowed the hotkey setting code from them.

Do whatever you want with it as long as money isn't involved. Credit is appreciated but not required.

About

OpenMW Lua mod that equips a light from the player's inventory when a hotkey is pressed.

Topics

Resources

Stars

Watchers

Forks