Module:Inventory slot: Difference between revisions

m
Probs isn't enough of a change, since I just realized mod:id is the issue
mNo edit summary
m (Probs isn't enough of a change, since I just realized mod:id is the issue)
 
Line 328: Line 328:
if aliases or modData.aliases then
if aliases or modData.aliases then
local id = frame.name
local id = frame.name
if frame.mod then
-- (maybe) temp hardcode
id = frame.mod .. ':' .. id
if frame.mod and frame.mod == 'gm4' then
local section = modData.atlas.ids[id].section
-- the more important part being, do not use mod:id as the full name... wtf
frame.module = modData.atlas.sections[section].name
local section = gm4atlas.ids[id].section
frame.module = gm4atlas.sections[section].name
modData.atlas = gm4atlas
modData.aliases = gm4aliases
end
end
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits