Skip to content

Commit

Permalink
Organize media & add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamlogic22 committed Nov 1, 2024
1 parent 2fb1e18 commit 7e90fc7
Show file tree
Hide file tree
Showing 45 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Core/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ local Name, T = ...
local LSM = LibStub("LibSharedMedia-3.0")

local function LoadMedia()
local ListPrefix = "|TInterface\\AddOns\\MoonMedia\\Logo.tga:16:16:0:0:50:50:4:46:4:46|t"
local Path = [[Interface\AddOns\MoonMedia\]]
local ListPrefix = [[|TInterface\AddOns\MoonMedia\Media\%s\Tag.tga:16:16:0:0:50:50:4:46:4:46|t%s]]
local Path = [[Interface\AddOns\MoonMedia\Media\%s\%s]]

for setName in next, T.Sounds do
if T.db.sets[setName] then
for _, info in ipairs(T.Sounds[setName]) do
LSM:Register("sound", ListPrefix .. info.key, Path .. info.file)
LSM:Register("sound", format(ListPrefix, setName, info.key), format(Path, setName, info.file))
end
end
end
Expand Down
Binary file added Media/Mario/Tag.tga
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added Media/Red/Tag.tga
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7e90fc7

Please sign in to comment.