Skip to content

Commit

Permalink
Render triggers under a different name in Loenn
Browse files Browse the repository at this point in the history
  • Loading branch information
maddie480 committed Jun 25, 2024
1 parent 826015a commit 54af0a5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Loenn/libraries/undeadnaminator.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
local uiu = require("ui.utils")
local utils = require("utils")

-- with the power of jank OlympUI hooks, I shall make that max480 fellow disappear!
uiu.hook(utils, {
humanizeVariableName = function(orig, name)
if string.sub(name, 1, 14) ~= "MaxHelpingHand" then
return orig(name)
end
-- render MaxHelpingHand as "Maddie Helping Hand"
return "Maddie" .. string.sub(orig(name), 4)
end
})

0 comments on commit 54af0a5

Please sign in to comment.