0 of 0

File information

Last updated

Original upload

Created by

Ndvr

Uploaded by

Ndvr

Virus scan

Safe to use

Tags for this mod

About this mod

Adds "Hotkeys Extended" mod support to "Cloud Storage Warehouse" mod, adding items from new hotkeys to blacklist when using Auto storage mod

Requirements
Permissions and credits
Cloud Storage Warehouse adds an useful feature of autostoring your inventory to container, while ignoring items set as Quick Keys (F1 menu) so that you won't accidentally store your equipment, potions, scrolls and other often used things.

Hotkeys Extended mod adds a lot of new hotkeys, but they are ignored by Cloud Storage Warehouse mod, and items set within this new quickkeys are automatically stored.

This mod adds support between them - now items set for quickkeys from Hotkeys Extended won't be autostored when using Autostore from Cloud Storage Warehouse.

Important: mod overrides dofile function (only for tw.cws_blacklist path, in every other instances basic function is returned), so it may conflict with other mods, where dofile is overrided.

In case this mod causes troubles, you can delete this mod and manually add support by editing Cloud Storage Warehouse file:

In file

ModOrganizer2\mods\Cloud Storage Warehouse - storage resource for packrats\MWSE\mods\tw_cloud_storage\main.lua
after line

local blacklist = dofile("tw.cws_blacklist")
add this

tes3.player.data.quickKeys = tes3.player.data.quickKeys or {}
dataQuickKeys = tes3.player.data.quickKeys

if dataQuickKeys then
  local types = { "quick_", "quick2", "quickH", "quickA", "quickA2", "quickAH", "quickB", "quickB2", "quickBH" }
  for i=1, 10 do
for _, type in ipairs(types) do
if (dataQuickKeys[type][i].id) then
  blacklist[ dataQuickKeys[type][i].id ] = true
end
end
  end
end