selfish functions

This commit is contained in:
Lilian Jónsdóttir 2020-08-22 12:06:48 -07:00
parent 945befe3df
commit bb0ab90d64

View file

@ -162,7 +162,7 @@ template:createExclusionsPage({
callback = (function() callback = (function()
local CellNames = {} local CellNames = {}
for cell, _ in pairs(tes3.dataHandler.nonDynamicData.cells) do for cell, _ in pairs(tes3.dataHandler.nonDynamicData.cells) do
table.insert(CellNames, string.lower(cell)) table.insert(CellNames, cell:lower())
end end
return CellNames return CellNames
end) end)
@ -172,7 +172,7 @@ template:createExclusionsPage({
callback = function() callback = function()
local factions = {} local factions = {}
for _, faction in pairs(tes3.dataHandler.nonDynamicData.factions) do for _, faction in pairs(tes3.dataHandler.nonDynamicData.factions) do
table.insert(factions, string.lower(faction.id)) table.insert(factions, faction.id:lower())
end end
return factions return factions
end end
@ -182,7 +182,7 @@ template:createExclusionsPage({
callback = function() callback = function()
local classes = {} local classes = {}
for _, class in pairs(tes3.dataHandler.nonDynamicData.classes) do for _, class in pairs(tes3.dataHandler.nonDynamicData.classes) do
table.insert(classes, string.lower(class.id)) table.insert(classes, class.id:lower())
end end
return classes return classes
end end