Модуль:Entity Sprite/all: различия между версиями

Нет описания правки
Нет описания правки
Строка 197: Строка 197:


return true
return true
end
local function filterSpriteData(spriteData, prototypeData, whitelistSet, blacklistSet)
local result = {}
for id, entry in pairs(spriteData) do
local protoEntry = prototypeData and prototypeData[id] or entry
if shouldIncludeEntry(protoEntry, whitelistSet, blacklistSet) then
result[id] = entry
end
end
return result
end
end