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

мНет описания правки
мНет описания правки
Строка 70: Строка 70:
             result = result .. formatContent(child)
             result = result .. formatContent(child)
         elseif child["!type"] == "NestedSelector" and child.tableId then
         elseif child["!type"] == "NestedSelector" and child.tableId then
             result = result .. handleNestedSelector(child)
             result = result .. handleNestedSelector(child, true)
         elseif child["!type"] == "GroupSelector" then
         elseif child["!type"] == "GroupSelector" then
             result = result .. handleGroupSelector(child)
             result = result .. handleGroupSelector(child)
Строка 150: Строка 150:
     for _, child in ipairs(allSelector.children) do
     for _, child in ipairs(allSelector.children) do
         if child["!type"] == "NestedSelector" and child.tableId then
         if child["!type"] == "NestedSelector" and child.tableId then
             result = result .. handleNestedSelector(child)
             result = result .. handleNestedSelector(child, true)
         elseif child.id then
         elseif child.id then
             result = result .. formatContent(child)
             result = result .. formatContent(child)