Модуль:Сущность: различия между версиями

мНет описания правки
Нет описания правки
 
(не показаны 2 промежуточные версии этого же участника)
Строка 283: Строка 283:
         end
         end
     end
     end
     for name in string.gmatch(id, "[^,]+") do
     for name in string.gmatch(id, "[^,]+") do
         local n = trim(name)
         local n = trim(name)
         if n ~= "" then
         if n ~= "" and n ~= id then
             if componentDefs[n] ~= nil then foundComponents[n] = true end
             if componentDefs[n] ~= nil then
             if componentDefs[n] == nil and prototypeDefs[n] == nil then foundComponents[n] = true end
                foundComponents[n] = true
             elseif prototypeDefs[n] ~= nil then
                foundPrototypes[n] = true
            end
         end
         end
     end
     end