Hi, I love this mod, thanks for making it! However, it doesn't work with Tamriel Data signposts, or Swappable Texture Signposts. I took a bit of time to fix it, and while doing that I rewrote your OnSign function to be a bit more expandable. Just add to the signsToHide and bannersToHide tables to add support for whatever else.
local signsToHide = { "^active_sign_", -- Vanilla "^T_Com_Set%a%a%a?_SignWay", -- Tamriel Data "^STS_sign", -- Swappable Texture Signposts }
local bannersToHide = { "^Act_banner", "^furn_banner", "^furn_sign_", }
local function hideTooltipFromList(id, hideList) for _, item in pairs(hideList) do if id:match(item) then return true end end return false end
local function onSign(e) if e.reference and e.reference.id then if config.roadsigns and hideTooltipFromList(e.reference.id, signsToHide) then e.tooltip.visible = false return end
if config.banners and hideTooltipFromList(e.reference.id, bannersToHide) then e.tooltip.visible = false return end end end
NOTE: with v2.0, I named the folder to be put in MWSE/mods OEA4 Sign by mistake, while the prior one was OEA4 *Signs*. overwrite as usual and/or rename, I'm not making a new version just for that.
4 comments